unable to remove partially installed packages












0















naushad@naushad-Inspiron-14-3467:~$ sudo apt-get -f install
[sudo] password for naushad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
oem-touchpad-synaptics-enable-right-button-1584632
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 12.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 207666 files and directories currently installed.)
Removing oem-touchpad-synaptics-enable-right-button-1584632 (2) ...
sed: can't read usr/share/X11/xorg.conf.d/50-synaptics.conf: No such file or directory
dpkg: error processing package oem-touchpad-synaptics-enable-right-button-1584632 (--remove):
installed oem-touchpad-synaptics-enable-right-button-1584632 package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
oem-touchpad-synaptics-enable-right-button-1584632
E: Sub-process /usr/bin/dpkg returned an error code (1)
naushad@naushad-Inspiron-14-3467:~$


I have also tried these codes but doesn't work.



sudo apt-get update    
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update && sudo apt-get upgrade
sudo dpkg --configure -a
sudo apt-get install -f









share|improve this question









New contributor




Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Try and re-install it again so that file exist, then remove it...

    – George Udosen
    yesterday











  • which code i use for re-install

    – Nafis Alam
    yesterday











  • Please run apt search oem-touchpad* and post the results...

    – George Udosen
    yesterday











  • naushad@naushad-Inspiron-14-3467:~$ apt search oem-touchpad Sorting... Done Full Text Search... Done oem-touchpad-synaptics-enable-right-button-1584632/now 2 all [installed,local] Enable synaptics Clickpad in Xorg.conf naushad@naushad-Inspiron-14-3467:~$

    – Nafis Alam
    yesterday











  • actually sir wifi and bluetooth is not working. in wifi setting written as make sure you have a wifi adapter plugged and turned on. some days before its working fine.

    – Nafis Alam
    yesterday
















0















naushad@naushad-Inspiron-14-3467:~$ sudo apt-get -f install
[sudo] password for naushad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
oem-touchpad-synaptics-enable-right-button-1584632
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 12.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 207666 files and directories currently installed.)
Removing oem-touchpad-synaptics-enable-right-button-1584632 (2) ...
sed: can't read usr/share/X11/xorg.conf.d/50-synaptics.conf: No such file or directory
dpkg: error processing package oem-touchpad-synaptics-enable-right-button-1584632 (--remove):
installed oem-touchpad-synaptics-enable-right-button-1584632 package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
oem-touchpad-synaptics-enable-right-button-1584632
E: Sub-process /usr/bin/dpkg returned an error code (1)
naushad@naushad-Inspiron-14-3467:~$


I have also tried these codes but doesn't work.



sudo apt-get update    
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update && sudo apt-get upgrade
sudo dpkg --configure -a
sudo apt-get install -f









share|improve this question









New contributor




Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





















  • Try and re-install it again so that file exist, then remove it...

    – George Udosen
    yesterday











  • which code i use for re-install

    – Nafis Alam
    yesterday











  • Please run apt search oem-touchpad* and post the results...

    – George Udosen
    yesterday











  • naushad@naushad-Inspiron-14-3467:~$ apt search oem-touchpad Sorting... Done Full Text Search... Done oem-touchpad-synaptics-enable-right-button-1584632/now 2 all [installed,local] Enable synaptics Clickpad in Xorg.conf naushad@naushad-Inspiron-14-3467:~$

    – Nafis Alam
    yesterday











  • actually sir wifi and bluetooth is not working. in wifi setting written as make sure you have a wifi adapter plugged and turned on. some days before its working fine.

    – Nafis Alam
    yesterday














0












0








0








naushad@naushad-Inspiron-14-3467:~$ sudo apt-get -f install
[sudo] password for naushad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
oem-touchpad-synaptics-enable-right-button-1584632
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 12.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 207666 files and directories currently installed.)
Removing oem-touchpad-synaptics-enable-right-button-1584632 (2) ...
sed: can't read usr/share/X11/xorg.conf.d/50-synaptics.conf: No such file or directory
dpkg: error processing package oem-touchpad-synaptics-enable-right-button-1584632 (--remove):
installed oem-touchpad-synaptics-enable-right-button-1584632 package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
oem-touchpad-synaptics-enable-right-button-1584632
E: Sub-process /usr/bin/dpkg returned an error code (1)
naushad@naushad-Inspiron-14-3467:~$


I have also tried these codes but doesn't work.



sudo apt-get update    
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update && sudo apt-get upgrade
sudo dpkg --configure -a
sudo apt-get install -f









share|improve this question









New contributor




Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.












naushad@naushad-Inspiron-14-3467:~$ sudo apt-get -f install
[sudo] password for naushad:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
oem-touchpad-synaptics-enable-right-button-1584632
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 12.3 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 207666 files and directories currently installed.)
Removing oem-touchpad-synaptics-enable-right-button-1584632 (2) ...
sed: can't read usr/share/X11/xorg.conf.d/50-synaptics.conf: No such file or directory
dpkg: error processing package oem-touchpad-synaptics-enable-right-button-1584632 (--remove):
installed oem-touchpad-synaptics-enable-right-button-1584632 package post-removal script subprocess returned error exit status 2
Errors were encountered while processing:
oem-touchpad-synaptics-enable-right-button-1584632
E: Sub-process /usr/bin/dpkg returned an error code (1)
naushad@naushad-Inspiron-14-3467:~$


I have also tried these codes but doesn't work.



sudo apt-get update    
sudo apt-get clean
sudo apt-get autoremove
sudo apt-get update && sudo apt-get upgrade
sudo dpkg --configure -a
sudo apt-get install -f






package-management






share|improve this question









New contributor




Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.











share|improve this question









New contributor




Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









share|improve this question




share|improve this question








edited yesterday









George Udosen

21.2k94570




21.2k94570






New contributor




Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.









asked yesterday









Nafis AlamNafis Alam

1




1




New contributor




Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.





New contributor





Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.






Nafis Alam is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.













  • Try and re-install it again so that file exist, then remove it...

    – George Udosen
    yesterday











  • which code i use for re-install

    – Nafis Alam
    yesterday











  • Please run apt search oem-touchpad* and post the results...

    – George Udosen
    yesterday











  • naushad@naushad-Inspiron-14-3467:~$ apt search oem-touchpad Sorting... Done Full Text Search... Done oem-touchpad-synaptics-enable-right-button-1584632/now 2 all [installed,local] Enable synaptics Clickpad in Xorg.conf naushad@naushad-Inspiron-14-3467:~$

    – Nafis Alam
    yesterday











  • actually sir wifi and bluetooth is not working. in wifi setting written as make sure you have a wifi adapter plugged and turned on. some days before its working fine.

    – Nafis Alam
    yesterday



















  • Try and re-install it again so that file exist, then remove it...

    – George Udosen
    yesterday











  • which code i use for re-install

    – Nafis Alam
    yesterday











  • Please run apt search oem-touchpad* and post the results...

    – George Udosen
    yesterday











  • naushad@naushad-Inspiron-14-3467:~$ apt search oem-touchpad Sorting... Done Full Text Search... Done oem-touchpad-synaptics-enable-right-button-1584632/now 2 all [installed,local] Enable synaptics Clickpad in Xorg.conf naushad@naushad-Inspiron-14-3467:~$

    – Nafis Alam
    yesterday











  • actually sir wifi and bluetooth is not working. in wifi setting written as make sure you have a wifi adapter plugged and turned on. some days before its working fine.

    – Nafis Alam
    yesterday

















Try and re-install it again so that file exist, then remove it...

– George Udosen
yesterday





Try and re-install it again so that file exist, then remove it...

– George Udosen
yesterday













which code i use for re-install

– Nafis Alam
yesterday





which code i use for re-install

– Nafis Alam
yesterday













Please run apt search oem-touchpad* and post the results...

– George Udosen
yesterday





Please run apt search oem-touchpad* and post the results...

– George Udosen
yesterday













naushad@naushad-Inspiron-14-3467:~$ apt search oem-touchpad Sorting... Done Full Text Search... Done oem-touchpad-synaptics-enable-right-button-1584632/now 2 all [installed,local] Enable synaptics Clickpad in Xorg.conf naushad@naushad-Inspiron-14-3467:~$

– Nafis Alam
yesterday





naushad@naushad-Inspiron-14-3467:~$ apt search oem-touchpad Sorting... Done Full Text Search... Done oem-touchpad-synaptics-enable-right-button-1584632/now 2 all [installed,local] Enable synaptics Clickpad in Xorg.conf naushad@naushad-Inspiron-14-3467:~$

– Nafis Alam
yesterday













actually sir wifi and bluetooth is not working. in wifi setting written as make sure you have a wifi adapter plugged and turned on. some days before its working fine.

– Nafis Alam
yesterday





actually sir wifi and bluetooth is not working. in wifi setting written as make sure you have a wifi adapter plugged and turned on. some days before its working fine.

– Nafis Alam
yesterday










1 Answer
1






active

oldest

votes


















0














You original problem may be fixed with simple trick - you can create the needed file manually:



sudo mkdir -p /usr/share/X11/xorg.conf.d/
sudo touch /usr/share/X11/xorg.conf.d/50-synaptics.conf


and then use



sudo apt-get -f install





share|improve this answer























    Your Answer








    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "89"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    autoActivateHeartbeat: false,
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });






    Nafis Alam is a new contributor. Be nice, and check out our Code of Conduct.










    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123514%2funable-to-remove-partially-installed-packages%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes









    0














    You original problem may be fixed with simple trick - you can create the needed file manually:



    sudo mkdir -p /usr/share/X11/xorg.conf.d/
    sudo touch /usr/share/X11/xorg.conf.d/50-synaptics.conf


    and then use



    sudo apt-get -f install





    share|improve this answer




























      0














      You original problem may be fixed with simple trick - you can create the needed file manually:



      sudo mkdir -p /usr/share/X11/xorg.conf.d/
      sudo touch /usr/share/X11/xorg.conf.d/50-synaptics.conf


      and then use



      sudo apt-get -f install





      share|improve this answer


























        0












        0








        0







        You original problem may be fixed with simple trick - you can create the needed file manually:



        sudo mkdir -p /usr/share/X11/xorg.conf.d/
        sudo touch /usr/share/X11/xorg.conf.d/50-synaptics.conf


        and then use



        sudo apt-get -f install





        share|improve this answer













        You original problem may be fixed with simple trick - you can create the needed file manually:



        sudo mkdir -p /usr/share/X11/xorg.conf.d/
        sudo touch /usr/share/X11/xorg.conf.d/50-synaptics.conf


        and then use



        sudo apt-get -f install






        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered yesterday









        N0rbertN0rbert

        23.9k650112




        23.9k650112






















            Nafis Alam is a new contributor. Be nice, and check out our Code of Conduct.










            draft saved

            draft discarded


















            Nafis Alam is a new contributor. Be nice, and check out our Code of Conduct.













            Nafis Alam is a new contributor. Be nice, and check out our Code of Conduct.












            Nafis Alam is a new contributor. Be nice, and check out our Code of Conduct.
















            Thanks for contributing an answer to Ask Ubuntu!


            • Please be sure to answer the question. Provide details and share your research!

            But avoid



            • Asking for help, clarification, or responding to other answers.

            • Making statements based on opinion; back them up with references or personal experience.


            To learn more, see our tips on writing great answers.




            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1123514%2funable-to-remove-partially-installed-packages%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            Category:香港粉麵

            List *all* the tuples!

            Channel [V]