I tried installing webmin through the apt-get
method. Then I tried reinstalling it because I messed up the config without backing it up. So I removed it and then tried to install it.
My full log:
root@278420-1484:~# apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
webmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/15.2 MB of archives.
After this operation, 161 MB of additional disk space will be used.
(Reading database ... 37754 files and directories currently installed.)
Preparing to unpack .../archives/webmin_1.820_all.deb ...
Port 10000 is already in use
dpkg: error processing archive /var/cache/apt/archives/webmin_1.820_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
/var/cache/apt/archives/webmin_1.820_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@278420-1484:~#
I already tried apt-get clean
, apt-get update
and other methods I found on the internet but nothing got it to work. Please help me.
perl
and a few other things), and found it a lot easier than trying to install throughapt-get
. – Nov 30 '16 at 18:24root@278420-1484:~# dpkg --install webmin_1.660_all.deb (Reading database ... 37754 files and directories currently installed.) Preparing to unpack webmin_1.660_all.deb ... Port 10000 is already in use dpkg: error processing archive webmin_1.660_all.deb (--install): subprocess new pre-installation script returned error exit status 2 Errors were encountered while processing: webmin_1.660_all.deb
– Guchen Nov 30 '16 at 19:34{}
button in the editor toolbar) will be much more readable there; alternatively you can use a pastie service for longer listings and include the link of your pastie in your question. Overall it’s best to have everything relevant in one place. Additionally, comments may be deleted for various reasons. Thanks. – David Foerster Nov 30 '16 at 21:08dpkg
. – Nov 30 '16 at 21:43apt-get
anddpkg
are not the problems here. – Nov 30 '16 at 21:43