Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am having a dependency problem dpkg installing webmin 1.510 (deb) package on Ubuntu 10.04, as seen in the screenshot.

I do not know where to look to find info about what dependencies are needed.

alt text

share|improve this question
    
Please do remember that using Webmin on Ubuntu is not recommended or supported (and the webmin package was removed from the official Debian/Ubuntu repositories because of several quality issues with it). –  JanC Aug 20 '10 at 8:17
    
@Jan: Point taken. In the case of this question it was a matter of not following proper installation procedure. As the project continues to be updated I hope the past issues of concern will be mitigated. The latest version is doing wonders on my Ubuntu install. –  John K Aug 20 '10 at 14:04

1 Answer 1

up vote 2 down vote accepted

The answer for dependencies is actually listed here: http://www.webmin.com/deb.html

If Debian complains about missing dependencies, you can install them with the command :

apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl

If you are installing on Ubuntu and the apt-get command reports that some of the packages cannot be found, edit /etc/apt/sources.list and make sure the lines ending with universe are not commented out.

I followed the instructions and uncommented "universe" lines in /etc/apt/sources.list which were indeed commented out as the instructions suggested (the file contains more info if you read it). Note: Only two universe lines were commented out in my file but others were not. I made sure all universe lines were uncommented in the entire file and then saved it.

After following the above instructions dpkg still failed to install webmin, with same message, then I used the following apt-get force command with no package name. It pushed everything through that didn't go through prior, including the webmin:

sudo apt-get -f install

Success! :)


Note: I found this only minutes after posting the question.
Turns out I was looking for Ubuntu help on the web site menu, but needed to choose Debian help since I'm using the Debian installer.

share|improve this answer
    
I would delete the question. or edit it to be more generic so it is more helpful: Troubleshooting dependencies? –  myusuf3 Aug 12 '10 at 23:22
    
@gc: Added more info to the title, but the nature of the question is very generic. Others that stumble upon this same issue will find relevant info here considering the questions & answers combined. Deleting a question robs users from benefiting from it in the future! –  John K Aug 12 '10 at 23:40
    
I would leave the question, other users may find it useful. Just try to make everything as generic as possible so it benefits most users. –  Li Lo Aug 12 '10 at 23:52

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.