sed -i '$a deb http://download.webmin.com/download/repository sarge contrib' /etc/apt/sources.list
wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
apt-get update
apt-get install webmin -y
Results in this:
OK (key added)
Hit:1 http://se.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://se.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://se.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://security.ubuntu.com/ubuntu xenial-security InRelease
Ign:5 http://download.webmin.com/download/repository sarge InRelease
Get:6 http://download.webmin.com/download/repository sarge Release [9,542 B]
Ign:7 https://download.owncloud.org/download/repositories/stable/Ubuntu_14.04 InRelease
Hit:8 https://download.owncloud.org/download/repositories/stable/Ubuntu_14.04 Release
Get:10 http://download.webmin.com/download/repository sarge Release.gpg [189 B]
Get:11 http://download.webmin.com/download/repository sarge/contrib amd64 Packages [1,232 B]
Get:12 http://download.webmin.com/download/repository sarge/contrib i386 Packages [1,232 B]
Get:13 http://download.webmin.com/download/repository sarge/contrib all Packages [1,232 B]
Fetched 13.4 kB in 2s (5,680 B/s)
Reading package lists... Done
W: https://download.owncloud.org/download/repositories/stable/Ubuntu_14.04/Release.gpg: Signature by key BCECA90325B072AB1245F739AB7C32C35180350A uses weak digest algorithm (SHA1)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfontenc1 libtcl8.6 libtk8.6 libxaw7 libxcb-shape0 libxcomposite1 libxft2 libxi6 libxmu6 libxss1 libxt6 libxtst6 libxv1 libxxf86dga1
tcl-expect tcl8.6 tk8.6 x11-utils xbitmaps xterm
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
webmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.2 MB of archives.
After this operation, 157 MB of additional disk space will be used.
Get:1 http://download.webmin.com/download/repository sarge/contrib amd64 webmin all 1.791 [28.2 MB]
Err:1 http://download.webmin.com/download/repository sarge/contrib i386 webmin all 1.791
Hash Sum mismatch
Get:1 http://download.webmin.com/download/repository sarge/contrib i386 webmin all 1.791 [28.2 MB]
Err:1 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791
Hash Sum mismatch
Err:1 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791
Hash Sum mismatch
Fetched 56.3 MB in 7s (7,533 kB/s)
E: Failed to fetch http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@owncloud:~# apt-get --fix-missing
E: Command line option --fix-missing is not understood in combination with the other options
root@owncloud:~# apt-get install webmin --fix-missing
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
libfontenc1 libtcl8.6 libtk8.6 libxaw7 libxcb-shape0 libxcomposite1 libxft2 libxi6 libxmu6 libxss1 libxt6 libxtst6 libxv1 libxxf86dga1
tcl-expect tcl8.6 tk8.6 x11-utils xbitmaps xterm
Use 'sudo apt autoremove' to remove them.
The following NEW packages will be installed:
webmin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.2 MB of archives.
After this operation, 157 MB of additional disk space will be used.
Get:1 http://download.webmin.com/download/repository sarge/contrib amd64 webmin all 1.791 [28.2 MB]
Err:1 http://download.webmin.com/download/repository sarge/contrib i386 webmin all 1.791
Hash Sum mismatch
Get:1 http://download.webmin.com/download/repository sarge/contrib i386 webmin all 1.791 [28.2 MB]
Err:1 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791
Hash Sum mismatch
Err:1 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791
Hash Sum mismatch
Fetched 56.3 MB in 49s (1,142 kB/s)
E: Failed to fetch http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb Hash Sum mismatch
E: Internal Error, ordering was unable to handle the media swap
Can you post your /etc/apt/sources.list file, or at least the lines for Webmin?
Sure, here it is:
deb http://download.webmin.com/download/repository sarge contrib
Now this happened on another server:
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://webmin.mirror.somersettechsolutions.co.uk sarge Release: The following signatures were invalid: BADSIG D97A3AE911F63C51 Jamie Cameron jcameron@webmin.com
W: Failed to fetch http://webmin.mirror.somersettechsolutions.co.uk/repository/dists/sarge/Release
W: Some index files failed to download. They have been ignored, or old ones used instead.
You need to remove that line from
/etc/apt/sources.listforhttp://webmin.mirror.somersettechsolutions.co.uk, runapt-get clean, and then re-try the install.I did what you said, and it's still and issue:
Reading package lists... Done
W: http://download.owncloud.org/download/repositories/stable/xUbuntu_16.04/Release.gpg: Signature by key BCECA90325B072AB1245F739AB7C32C35180350A uses weak digest algorithm (SHA1)
W: GPG error: http://webmin.mirror.somersettechsolutions.co.uk/repository sarge Release: The following signatures were invalid: BADSIG D97A3AE911F63C51 Jamie Cameron jcameron@webmin.com
W: The repository 'http://webmin.mirror.somersettechsolutions.co.uk/repository sarge Release' is not signed.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Odd that webmin.mirror.somersettechsolutions.co.uk is being mentioned even though it was removed from sources.list?
Lol, oops! :)
Independent from the outdated mirror I can confirm that it is not feasible to install webmin from the repository on Ubuntu 16.04 LTS. The same applies to cloudmin (via the script).
There are "Hash Sum mismatch" errors. I confirmed this with two fresh Ubuntu 16.04 LTS installations on different providers (e.g. Digital Ocean). So it can not be an issue with the installation. With older versions of Ubuntu I never had that issue.
Furthermore I tried a lot of things (e.g. deleting the cache folder, apt-get clean etc.). Nothing helps.
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
webmin-security-updates webmin-server-manager webmin-virtual-server-mobile
webmin-virtual-server-theme
0 upgraded, 4 newly installed, 0 to remove and 0 not upgraded.
Need to get 4,571 kB of archives.
After this operation, 1,490 kB of additional disk space will be used.
Get:1 http://cloudmin.virtualmin.com/kvm/debian binary/ webmin-security-updates 4.1 [24.3 kB]
Err:1 http://cloudmin.virtualmin.com/kvm/debian binary/ webmin-security-updates 4.1
Hash Sum mismatch
Get:2 http://cloudmin.virtualmin.com/kvm/debian binary/ webmin-server-manager 8.4.kvm [2,178 kB]
Err:2 http://cloudmin.virtualmin.com/kvm/debian binary/ webmin-server-manager 8.4.kvm
Hash Sum mismatch
Get:3 http://cloudmin.virtualmin.com/kvm/debian binary/ webmin-virtual-server-mobile 2.3 [65.2 kB]
Err:3 http://cloudmin.virtualmin.com/kvm/debian binary/ webmin-virtual-server-mobile 2.3
Hash Sum mismatch
Get:4 http://cloudmin.virtualmin.com/kvm/debian binary/ webmin-virtual-server-theme 9.2 [2,303 kB]
Err:4 http://cloudmin.virtualmin.com/kvm/debian binary/ webmin-virtual-server-theme 9.2
Hash Sum mismatch
Fetched 4,571 kB in 2s (1,778 kB/s)
E: Failed to fetch http://cloudmin.virtualmin.com/kvm/debian/binary/webmin-security-updates_4.1_all.deb Hash Sum mismatch
E: Failed to fetch http://cloudmin.virtualmin.com/kvm/debian/binary/webmin-server-manager_8.4.kvm_all.deb Hash Sum mismatch
E: Failed to fetch http://cloudmin.virtualmin.com/kvm/debian/binary/webmin-virtual-server-mobile_2.3_all.deb Hash Sum mismatch
E: Failed to fetch http://cloudmin.virtualmin.com/kvm/debian/binary/webmin-virtual-server-theme_9.2_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
.. install failed
Best regards,
Torsten
This is still being worked on - Ubuntu 16 changed the rules about what it considers valid for a repository.
Just confirming again on a new server:
root@owncloud:~# apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional 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 webmin
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 28.6 MB of archives.
After this operation, 159 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://se.archive.ubuntu.com/ubuntu xenial/main amd64 libnet-ssleay-perl amd64 1.72-1build1 [259 kB]
Get:3 http://se.archive.ubuntu.com/ubuntu xenial/universe amd64 libauthen-pam-perl amd64 0.16-3build2 [23.9 kB]
Get:4 http://se.archive.ubuntu.com/ubuntu xenial/main amd64 libio-pty-perl amd64 1:1.08-1.1build1 [30.2 kB]
Get:5 http://se.archive.ubuntu.com/ubuntu xenial/main amd64 libapt-pkg-perl amd64 0.1.29build7 [65.3 kB]
Get:6 http://se.archive.ubuntu.com/ubuntu xenial/universe amd64 apt-show-versions all 0.22.7 [29.6 kB]
Get:2 http://download.webmin.com/download/repository sarge/contrib amd64 webmin all 1.791 [28.2 MB]
Err:2 http://download.webmin.com/download/repository sarge/contrib i386 webmin all 1.791
Hash Sum mismatch
Get:2 http://download.webmin.com/download/repository sarge/contrib i386 webmin all 1.791 [28.2 MB]
Err:2 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791
Hash Sum mismatch
Err:2 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791
Hash Sum mismatch
Fetched 56.7 MB in 12s (4,574 kB/s)
E: Failed to fetch http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
With theese steps on a new server:
add 'deb http://download.webmin.com/download/repository sarge contrib' to sources.list
wget http://www.webmin.com/jcameron-key.asc
apt-key add jcameron-key.asc
apt-get update
apt-get install webmin
Thank you for working on it!
same problem with
Thank you for working on it
;-)
We're trying to figure this out, but as a work-around you can always run :
dpkg --install http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb
Thanks Jamie. Yes, that works. However, I would like to install Cloudmin. In this case it is not that easy.
Hello Jamie,
oh, seems a very interesting way to solve this problem.
But no time to test this evening.
I'll try tomorrow.
Thanks
;-)
Hello Jamie
Fail to install directly from http
so I make the download 1st.
dpkg say some dependencies are missing :
Now Webmin :
I need to reboot because nothing was on port 1000.
After reboot, Webmin is ok.
I can logon !
Thanks.
;-)
try now to install Virtualmin ...
I download the install.sh script.
FAILED to run, because the script try to install Usermin
and the apt-get failed, due to Hash Sum mismatch ...
Same problem of course...
Probably I can also manually download the usermin package and install it with DPKG.
But, I need Virtualmin ! ...
and I don't know where I can find the Vitrualmin package.
Thanks
;-)
Didier, you can find Virtualmin package here: http://www.webmin.com/vdownload.html .
Hello
Yes !
I download the Virtualmin package.
dpkg --install ...
and OK, all is normal !
Fine !
I can work now.
Just waiting the complete solution for the "apt-get update" because it's easier to upgrade Webmin and Virtualmin,
but it's not urgent because we can works with the "dpkg" bypass.
;-)
Thanks.
Hi,
I can confirm I am running into the exact same issue on 16.04LTS.
Thanks,
Kyle
Dear all,
I have the same issue.
Thanks
David Ng
This has been fixed for a week or so now, so closing this bug.
Just got this a minute ago during a installation on Ubuntu 16.04:
E: The repository 'http://download.webmin.com/download/repository sarge Release' does not have a Release file.
It's a clean DigitalOcean Server, so no issues with old repos and such.
This issue is not fixed.
Last edit: Daniel Hansson 2017-04-03
I am still getting used to linux.
I tried to do as Daniel Hansson had suggested for installing webmin but ran into errors.
~/download# wget http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb
--2016-05-03 09:41:35-- http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb
...
I tried
bharat@linuxhost:~/Public$ wget http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb
--2017-08-31 22:51:43-- http://download.webmin.com/download/repository/pool/contrib/w/webmin/webmin_1.791_all.deb
Resolving download.webmin.com (download.webmin.com)... 108.60.199.109
Connecting to download.webmin.com (download.webmin.com)|108.60.199.109|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-08-31 22:51:44 ERROR 404: Not Found.
It did not get downloaded!
I had continual failures when install webmin using:
deb http://download.webmin.com/download/repository sarge contrib
so I added this to sources.list instead
deb http://webmin.com/download/repository sarge contrib
and had a successful install everytime
I tried this problem on two different machines and could not install webmin successfully using
deb http://download.webmin.com/download/repository sarge contrib
not sure why this happens but it has installed perfectly