Fail webmin install, E: Package webmin has no installation candidate
Hey, i have had webmin running previously but i just recently installed Unbuntu server and i am now trying to install webmin.
after typing this to install webmin sudo apt-get install webmin it started doing its thing and then it halts. Giving me the following message "Package webmin is not available, but is referred to by another package. this may mean that the package is missing, had been obsoleted , or is only available from another source." The first thing i did after installing webmin was edit the sources.list cd /etc/apt/ then i tpyed sudo nano sources.list I uncommented everything with "deb" in front of it I also uncommented deb cdrom:[unbuntu-servers 9.10 _karmic koala_ i then typed this sudo wget http://prdownloads.sourceforge.net/w..._1.510_all.deb after getting that i typed this apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl libmd5-perl then i tryed to install it and got that error. Can any explain to me what is happening here? I also tryed install it using this tutorial http://www.freelydifferent.com/self-...dministration/ When i got to the part when i need to type sudo apt-get install update this is what happened W: Failed to fetch cdrom://unbuntu-server 9.10 _karmic_ koala_ect.... please use apt-cd to make this cdrom recognized by apt. If anyone could explain to me what is going on it would be much appreciated. -Thanks! |
/bump
Someone has gotta have a suggestion right? :) |
Hi cK'!
You get the following error message because you didn't modify your sources.list to add repositories. To do so, still on the same website, check this link: http://www.freelydifferent.com/self-...nchronisation/ at the end of this article, the part "Modify your sources.list:" will definitively help you. |
Hello,
First in the /etc/apt/sources.list file comment the cdrom line again by putting a # in front of it. You only need it if you are planning to look for packages on a CD which is hardly used when you have a decent internet connection. When you run Code:
sudo apt-get update Code:
sudo apt-get upgrade To install a package from the repository you run Code:
sudo apt-get install <packagename> It looks like you installed the dependencies needed (not sure because I don't use webmin) but that the webmin package itself is not in the repositories. But you downloaded it with the wget utility so it's on your drive. So basically all you need to do is change into the directory where you downloaded the file (deb) and run the following command: Code:
sudo dpkg -i <packagename> Kind regards, Eric |
Hey eric thanks so much for responding.
I followed your advice and it worked. I have not attempted to login via the internet though because i am "upgrading" packages. i will shortly though While i was editing my sources.list with nano i noticed some extreme lag For example if i wanted to move down a few lines with the arrow key it would lagg and say at the bottom (unknown command) sometimes rebooting my server would fix this but sometimes it doesn't. I never used to have this problem, its kinda weird and irritating. Hey Dudumom hows it going?? thanks so much for responding to my posts!!! I cant copy post a list of respositorys because i dont know how to open up web pages in unbuntu server. But i did follow erics advice and webmin did indeed install! |
Ok so i got this error when logging in from
username.dyndns.org:1000 Bad Request Server running in SSL mode Try <serverip:10000> I clicked on that link and it worked, doesn't this error have something to do with the perl?? I thought all my perl packages were installed correctly, is this an error or user error? |
Hi,
Glad you got it working. I don't know why you encounter that strange behavior with nano, it never happened to me. Since I'm not familiar with webmin and/or perl I don't have a clue why you got the Bad Request. I'm sure someone else here on LQ can shed some light into that. If you consider your problem solved (webmin installation) then mark the thread as such using the ThreadTools please. Kind regards, Eric |
Ok, thanks for your help! I think it is a common problem i will try to look it up for myself. If not i guess all start a new thread.
|
Hello,
No problem, glad to be of help. From the error messages you get I assume it has to do with the webserver itself rather then perl or webmin. It looks like it only accepts SSL connections. Kind regards, Eric |
Quote:
(I guess you mean username.dyndns.org:10000) Webmin use SSL encrypton to ensure the security of its panel, then, you are not able to log with: http://username.dyndns.org:10000 because this protocol is not safe. But with https://username.dyndns.org:10000, it will works as it use a secure protocol. Hence it is just a security feature. Have fun with it ! PS: You cannot indeed copy and paste a sources.list in this way. But usually, you monitor a server through SSH (Which allow copy and paste). |
Awesome thanks for the explanation, so i guess that little s matter huh?? hehe.
Anyway i got another question, i am using putty with my windows machine to connect to ssh, and i want to tunnel webmin through ssh ( I belivie this means when i start putty and login to my server i will be able to view port 10000 even though i only have the ssh port open on my router ) I am using this tutorial, http://support.suso.com/supki/SSH_Tutorial_for_Windows Now at the very bottom there is a section on tunneling. When i do what it says, put port 10000 in source port, then put username.dyndns.org:10000 in the proper setting and then i login to ssh, But i still cant view webmin. Is their a diffrent way to tunnel webmin through ssh ( in other words i only want my ssh port open on my router). |
All times are GMT -5. The time now is 08:19 PM. |