sudo apt-get install show unmet dependencies











up vote
3
down vote

favorite












I'm learning ubuntu from scratch as I do really like it, and in "hard" mode, only ssh access. I've managed to solve a lot of questions along the path but not this one.



When I was trying to install some package, I got unmet dependencies of that package (no matter which one, I've tried some and all of them show the same issue) and from webmin (package I downloaded, use sudo apt-get install webmin_1.810_all.deb but I did not install yet as it was showing unmet dependencies).



As I do get the webmin unmet dependencies with all packages I try this:



sudo apt-get install


and it also show the webmin unmet dependencies:



Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Tal vez quiera ejecutar «apt-get -f install» para corregirlo.
Los siguientes paquetes tienen dependencias incumplidas:
webmin : Depende: libnet-ssleay-perl pero no está instalado
Depende: libauthen-pam-perl pero no está instalado
Depende: libio-pty-perl pero no está instalado
Depende: apt-show-versions pero no está instalado
E: Dependencias incumplidas. Pruebe de nuevo usando -f.


So the question is, what's going on here? why I'm getting this, if the package was not installed? How do I remove this?



EDIT: changed language into english, used the answer proposition of solution and I get this:



sudo apt-get -f install
[sudo] password for administrador:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
libnet-ssleay-perl
The following NEW packages will be installed
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
libnet-ssleay-perl
0 to upgrade, 5 to newly install, 0 to remove and 3 not to upgrade.
1 not fully installed or removed.
Need to get 427 kB of archives.
After this operation, 1,734 kB of additional disk space will be used.
Do you want to continue? [Y/n]


Ok, I know this was caused by webmin unfinished install, so the question then is, how do I uninstall an unfinished installation of webmin, or how do I remove this dependencies if I don't want to install webmin (aka, using the "apt-get -f install")?



Thanks in advance.



PD: this server was restarted several times after the "try" of install webmin. Also, don't know if this is needed info but I'm using ubuntu server 14.04.5










share|improve this question
























  • @Bruni thanks for corrections.
    – Ilovelinux
    Sep 19 '16 at 9:36










  • I'd suggest to install the missing dependencies using Synaptic. I have checked for the dependencies you point at in your message and all of them are in there.
    – user123492
    Sep 19 '16 at 10:58












  • @user123492 I don't have Synaptic as I'm in ubuntu server, no desktop or GUI, only ssh. Anyway I know how to fix dependencies and install webmin but that is not what I'm asking.
    – Ilovelinux
    Sep 19 '16 at 11:50















up vote
3
down vote

favorite












I'm learning ubuntu from scratch as I do really like it, and in "hard" mode, only ssh access. I've managed to solve a lot of questions along the path but not this one.



When I was trying to install some package, I got unmet dependencies of that package (no matter which one, I've tried some and all of them show the same issue) and from webmin (package I downloaded, use sudo apt-get install webmin_1.810_all.deb but I did not install yet as it was showing unmet dependencies).



As I do get the webmin unmet dependencies with all packages I try this:



sudo apt-get install


and it also show the webmin unmet dependencies:



Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Tal vez quiera ejecutar «apt-get -f install» para corregirlo.
Los siguientes paquetes tienen dependencias incumplidas:
webmin : Depende: libnet-ssleay-perl pero no está instalado
Depende: libauthen-pam-perl pero no está instalado
Depende: libio-pty-perl pero no está instalado
Depende: apt-show-versions pero no está instalado
E: Dependencias incumplidas. Pruebe de nuevo usando -f.


So the question is, what's going on here? why I'm getting this, if the package was not installed? How do I remove this?



EDIT: changed language into english, used the answer proposition of solution and I get this:



sudo apt-get -f install
[sudo] password for administrador:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
libnet-ssleay-perl
The following NEW packages will be installed
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
libnet-ssleay-perl
0 to upgrade, 5 to newly install, 0 to remove and 3 not to upgrade.
1 not fully installed or removed.
Need to get 427 kB of archives.
After this operation, 1,734 kB of additional disk space will be used.
Do you want to continue? [Y/n]


Ok, I know this was caused by webmin unfinished install, so the question then is, how do I uninstall an unfinished installation of webmin, or how do I remove this dependencies if I don't want to install webmin (aka, using the "apt-get -f install")?



Thanks in advance.



PD: this server was restarted several times after the "try" of install webmin. Also, don't know if this is needed info but I'm using ubuntu server 14.04.5










share|improve this question
























  • @Bruni thanks for corrections.
    – Ilovelinux
    Sep 19 '16 at 9:36










  • I'd suggest to install the missing dependencies using Synaptic. I have checked for the dependencies you point at in your message and all of them are in there.
    – user123492
    Sep 19 '16 at 10:58












  • @user123492 I don't have Synaptic as I'm in ubuntu server, no desktop or GUI, only ssh. Anyway I know how to fix dependencies and install webmin but that is not what I'm asking.
    – Ilovelinux
    Sep 19 '16 at 11:50













up vote
3
down vote

favorite









up vote
3
down vote

favorite











I'm learning ubuntu from scratch as I do really like it, and in "hard" mode, only ssh access. I've managed to solve a lot of questions along the path but not this one.



When I was trying to install some package, I got unmet dependencies of that package (no matter which one, I've tried some and all of them show the same issue) and from webmin (package I downloaded, use sudo apt-get install webmin_1.810_all.deb but I did not install yet as it was showing unmet dependencies).



As I do get the webmin unmet dependencies with all packages I try this:



sudo apt-get install


and it also show the webmin unmet dependencies:



Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Tal vez quiera ejecutar «apt-get -f install» para corregirlo.
Los siguientes paquetes tienen dependencias incumplidas:
webmin : Depende: libnet-ssleay-perl pero no está instalado
Depende: libauthen-pam-perl pero no está instalado
Depende: libio-pty-perl pero no está instalado
Depende: apt-show-versions pero no está instalado
E: Dependencias incumplidas. Pruebe de nuevo usando -f.


So the question is, what's going on here? why I'm getting this, if the package was not installed? How do I remove this?



EDIT: changed language into english, used the answer proposition of solution and I get this:



sudo apt-get -f install
[sudo] password for administrador:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
libnet-ssleay-perl
The following NEW packages will be installed
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
libnet-ssleay-perl
0 to upgrade, 5 to newly install, 0 to remove and 3 not to upgrade.
1 not fully installed or removed.
Need to get 427 kB of archives.
After this operation, 1,734 kB of additional disk space will be used.
Do you want to continue? [Y/n]


Ok, I know this was caused by webmin unfinished install, so the question then is, how do I uninstall an unfinished installation of webmin, or how do I remove this dependencies if I don't want to install webmin (aka, using the "apt-get -f install")?



Thanks in advance.



PD: this server was restarted several times after the "try" of install webmin. Also, don't know if this is needed info but I'm using ubuntu server 14.04.5










share|improve this question















I'm learning ubuntu from scratch as I do really like it, and in "hard" mode, only ssh access. I've managed to solve a lot of questions along the path but not this one.



When I was trying to install some package, I got unmet dependencies of that package (no matter which one, I've tried some and all of them show the same issue) and from webmin (package I downloaded, use sudo apt-get install webmin_1.810_all.deb but I did not install yet as it was showing unmet dependencies).



As I do get the webmin unmet dependencies with all packages I try this:



sudo apt-get install


and it also show the webmin unmet dependencies:



Leyendo lista de paquetes... Hecho
Creando árbol de dependencias
Leyendo la información de estado... Hecho
Tal vez quiera ejecutar «apt-get -f install» para corregirlo.
Los siguientes paquetes tienen dependencias incumplidas:
webmin : Depende: libnet-ssleay-perl pero no está instalado
Depende: libauthen-pam-perl pero no está instalado
Depende: libio-pty-perl pero no está instalado
Depende: apt-show-versions pero no está instalado
E: Dependencias incumplidas. Pruebe de nuevo usando -f.


So the question is, what's going on here? why I'm getting this, if the package was not installed? How do I remove this?



EDIT: changed language into english, used the answer proposition of solution and I get this:



sudo apt-get -f install
[sudo] password for administrador:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
libnet-ssleay-perl
The following NEW packages will be installed
apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl
libnet-ssleay-perl
0 to upgrade, 5 to newly install, 0 to remove and 3 not to upgrade.
1 not fully installed or removed.
Need to get 427 kB of archives.
After this operation, 1,734 kB of additional disk space will be used.
Do you want to continue? [Y/n]


Ok, I know this was caused by webmin unfinished install, so the question then is, how do I uninstall an unfinished installation of webmin, or how do I remove this dependencies if I don't want to install webmin (aka, using the "apt-get -f install")?



Thanks in advance.



PD: this server was restarted several times after the "try" of install webmin. Also, don't know if this is needed info but I'm using ubuntu server 14.04.5







server apt package-management dependencies






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Sep 19 '16 at 15:14

























asked Sep 19 '16 at 9:13









Ilovelinux

681110




681110












  • @Bruni thanks for corrections.
    – Ilovelinux
    Sep 19 '16 at 9:36










  • I'd suggest to install the missing dependencies using Synaptic. I have checked for the dependencies you point at in your message and all of them are in there.
    – user123492
    Sep 19 '16 at 10:58












  • @user123492 I don't have Synaptic as I'm in ubuntu server, no desktop or GUI, only ssh. Anyway I know how to fix dependencies and install webmin but that is not what I'm asking.
    – Ilovelinux
    Sep 19 '16 at 11:50


















  • @Bruni thanks for corrections.
    – Ilovelinux
    Sep 19 '16 at 9:36










  • I'd suggest to install the missing dependencies using Synaptic. I have checked for the dependencies you point at in your message and all of them are in there.
    – user123492
    Sep 19 '16 at 10:58












  • @user123492 I don't have Synaptic as I'm in ubuntu server, no desktop or GUI, only ssh. Anyway I know how to fix dependencies and install webmin but that is not what I'm asking.
    – Ilovelinux
    Sep 19 '16 at 11:50
















@Bruni thanks for corrections.
– Ilovelinux
Sep 19 '16 at 9:36




@Bruni thanks for corrections.
– Ilovelinux
Sep 19 '16 at 9:36












I'd suggest to install the missing dependencies using Synaptic. I have checked for the dependencies you point at in your message and all of them are in there.
– user123492
Sep 19 '16 at 10:58






I'd suggest to install the missing dependencies using Synaptic. I have checked for the dependencies you point at in your message and all of them are in there.
– user123492
Sep 19 '16 at 10:58














@user123492 I don't have Synaptic as I'm in ubuntu server, no desktop or GUI, only ssh. Anyway I know how to fix dependencies and install webmin but that is not what I'm asking.
– Ilovelinux
Sep 19 '16 at 11:50




@user123492 I don't have Synaptic as I'm in ubuntu server, no desktop or GUI, only ssh. Anyway I know how to fix dependencies and install webmin but that is not what I'm asking.
– Ilovelinux
Sep 19 '16 at 11:50










2 Answers
2






active

oldest

votes

















up vote
1
down vote



accepted










sudo dpkg --configure -a
sudo apt-get autoremove
sudo apt-get clean
sudo apt-get update


If it doesnt work



sudo apt-get autoremove <package name>


Or
sudo apt purge



Try this






share|improve this answer





















  • This happened with me yesterday. I tried this many commands but unfortunately i did something wrong with ppa instructions and these above instructions also didn't solve my problem.i had to reinstall system :( ...if it works for u then its good
    – minigeek
    Sep 19 '16 at 16:57










  • This works. The first command show me exacly whitch is the problem, and sudo apt-get autoremove webmin uninstall the unfinished installation of webmin. Thanks. Also worths to mention that this command it's also usefull for this grep " install " /var/log/dpkg.log
    – Ilovelinux
    Sep 19 '16 at 18:12










  • Gud :) welcome to Ubuntu
    – minigeek
    Sep 19 '16 at 19:37


















up vote
0
down vote













I had the same issue.



The "universe" repositories were commented out in my /etc/apt/sources.list



To fix:



Edit and remove the "#" in the front of these lines:



deb http://us.archive.ubuntu.com/ubuntu/ <distro> universe
deb-src http://us.archive.ubuntu.com/ubuntu/ <distro> universe
deb http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe


Then:



apt update
apt full-upgrade -y
gdebi <package name> or apt install <package name>





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',
    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
    });


    }
    });














    draft saved

    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f826863%2fsudo-apt-get-install-show-unmet-dependencies%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    2 Answers
    2






    active

    oldest

    votes








    2 Answers
    2






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    1
    down vote



    accepted










    sudo dpkg --configure -a
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get update


    If it doesnt work



    sudo apt-get autoremove <package name>


    Or
    sudo apt purge



    Try this






    share|improve this answer





















    • This happened with me yesterday. I tried this many commands but unfortunately i did something wrong with ppa instructions and these above instructions also didn't solve my problem.i had to reinstall system :( ...if it works for u then its good
      – minigeek
      Sep 19 '16 at 16:57










    • This works. The first command show me exacly whitch is the problem, and sudo apt-get autoremove webmin uninstall the unfinished installation of webmin. Thanks. Also worths to mention that this command it's also usefull for this grep " install " /var/log/dpkg.log
      – Ilovelinux
      Sep 19 '16 at 18:12










    • Gud :) welcome to Ubuntu
      – minigeek
      Sep 19 '16 at 19:37















    up vote
    1
    down vote



    accepted










    sudo dpkg --configure -a
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get update


    If it doesnt work



    sudo apt-get autoremove <package name>


    Or
    sudo apt purge



    Try this






    share|improve this answer





















    • This happened with me yesterday. I tried this many commands but unfortunately i did something wrong with ppa instructions and these above instructions also didn't solve my problem.i had to reinstall system :( ...if it works for u then its good
      – minigeek
      Sep 19 '16 at 16:57










    • This works. The first command show me exacly whitch is the problem, and sudo apt-get autoremove webmin uninstall the unfinished installation of webmin. Thanks. Also worths to mention that this command it's also usefull for this grep " install " /var/log/dpkg.log
      – Ilovelinux
      Sep 19 '16 at 18:12










    • Gud :) welcome to Ubuntu
      – minigeek
      Sep 19 '16 at 19:37













    up vote
    1
    down vote



    accepted







    up vote
    1
    down vote



    accepted






    sudo dpkg --configure -a
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get update


    If it doesnt work



    sudo apt-get autoremove <package name>


    Or
    sudo apt purge



    Try this






    share|improve this answer












    sudo dpkg --configure -a
    sudo apt-get autoremove
    sudo apt-get clean
    sudo apt-get update


    If it doesnt work



    sudo apt-get autoremove <package name>


    Or
    sudo apt purge



    Try this







    share|improve this answer












    share|improve this answer



    share|improve this answer










    answered Sep 19 '16 at 16:55









    minigeek

    845412




    845412












    • This happened with me yesterday. I tried this many commands but unfortunately i did something wrong with ppa instructions and these above instructions also didn't solve my problem.i had to reinstall system :( ...if it works for u then its good
      – minigeek
      Sep 19 '16 at 16:57










    • This works. The first command show me exacly whitch is the problem, and sudo apt-get autoremove webmin uninstall the unfinished installation of webmin. Thanks. Also worths to mention that this command it's also usefull for this grep " install " /var/log/dpkg.log
      – Ilovelinux
      Sep 19 '16 at 18:12










    • Gud :) welcome to Ubuntu
      – minigeek
      Sep 19 '16 at 19:37


















    • This happened with me yesterday. I tried this many commands but unfortunately i did something wrong with ppa instructions and these above instructions also didn't solve my problem.i had to reinstall system :( ...if it works for u then its good
      – minigeek
      Sep 19 '16 at 16:57










    • This works. The first command show me exacly whitch is the problem, and sudo apt-get autoremove webmin uninstall the unfinished installation of webmin. Thanks. Also worths to mention that this command it's also usefull for this grep " install " /var/log/dpkg.log
      – Ilovelinux
      Sep 19 '16 at 18:12










    • Gud :) welcome to Ubuntu
      – minigeek
      Sep 19 '16 at 19:37
















    This happened with me yesterday. I tried this many commands but unfortunately i did something wrong with ppa instructions and these above instructions also didn't solve my problem.i had to reinstall system :( ...if it works for u then its good
    – minigeek
    Sep 19 '16 at 16:57




    This happened with me yesterday. I tried this many commands but unfortunately i did something wrong with ppa instructions and these above instructions also didn't solve my problem.i had to reinstall system :( ...if it works for u then its good
    – minigeek
    Sep 19 '16 at 16:57












    This works. The first command show me exacly whitch is the problem, and sudo apt-get autoremove webmin uninstall the unfinished installation of webmin. Thanks. Also worths to mention that this command it's also usefull for this grep " install " /var/log/dpkg.log
    – Ilovelinux
    Sep 19 '16 at 18:12




    This works. The first command show me exacly whitch is the problem, and sudo apt-get autoremove webmin uninstall the unfinished installation of webmin. Thanks. Also worths to mention that this command it's also usefull for this grep " install " /var/log/dpkg.log
    – Ilovelinux
    Sep 19 '16 at 18:12












    Gud :) welcome to Ubuntu
    – minigeek
    Sep 19 '16 at 19:37




    Gud :) welcome to Ubuntu
    – minigeek
    Sep 19 '16 at 19:37












    up vote
    0
    down vote













    I had the same issue.



    The "universe" repositories were commented out in my /etc/apt/sources.list



    To fix:



    Edit and remove the "#" in the front of these lines:



    deb http://us.archive.ubuntu.com/ubuntu/ <distro> universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ <distro> universe
    deb http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe


    Then:



    apt update
    apt full-upgrade -y
    gdebi <package name> or apt install <package name>





    share|improve this answer



























      up vote
      0
      down vote













      I had the same issue.



      The "universe" repositories were commented out in my /etc/apt/sources.list



      To fix:



      Edit and remove the "#" in the front of these lines:



      deb http://us.archive.ubuntu.com/ubuntu/ <distro> universe
      deb-src http://us.archive.ubuntu.com/ubuntu/ <distro> universe
      deb http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe
      deb-src http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe


      Then:



      apt update
      apt full-upgrade -y
      gdebi <package name> or apt install <package name>





      share|improve this answer

























        up vote
        0
        down vote










        up vote
        0
        down vote









        I had the same issue.



        The "universe" repositories were commented out in my /etc/apt/sources.list



        To fix:



        Edit and remove the "#" in the front of these lines:



        deb http://us.archive.ubuntu.com/ubuntu/ <distro> universe
        deb-src http://us.archive.ubuntu.com/ubuntu/ <distro> universe
        deb http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe
        deb-src http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe


        Then:



        apt update
        apt full-upgrade -y
        gdebi <package name> or apt install <package name>





        share|improve this answer














        I had the same issue.



        The "universe" repositories were commented out in my /etc/apt/sources.list



        To fix:



        Edit and remove the "#" in the front of these lines:



        deb http://us.archive.ubuntu.com/ubuntu/ <distro> universe
        deb-src http://us.archive.ubuntu.com/ubuntu/ <distro> universe
        deb http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe
        deb-src http://us.archive.ubuntu.com/ubuntu/ <distro>-updates universe


        Then:



        apt update
        apt full-upgrade -y
        gdebi <package name> or apt install <package name>






        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited Mar 17 at 13:27









        Thomas

        3,48081427




        3,48081427










        answered Mar 17 at 12:56









        Jay C. Theriot

        16




        16






























            draft saved

            draft discarded




















































            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.





            Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


            Please pay close attention to the following guidance:


            • 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%2f826863%2fsudo-apt-get-install-show-unmet-dependencies%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

            flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

            Mangá

            Eduardo VII do Reino Unido