Menu

#4742 Webmin install fails on Ubuntu 16.04

1.791
closed-fixed
nobody
None
5
2017-10-25
2016-04-23
No

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

Discussion

1 2 > >> (Page 1 of 2)
  • Jamie Cameron

    Jamie Cameron - 2016-04-24

    Can you post your /etc/apt/sources.list file, or at least the lines for Webmin?

     
  • Daniel Hansson

    Daniel Hansson - 2016-04-24

    Sure, here it is:

    deb http://download.webmin.com/download/repository sarge contrib

     
  • Jamie Cameron

    Jamie Cameron - 2016-04-24

    You need to remove that line from /etc/apt/sources.list for http://webmin.mirror.somersettechsolutions.co.uk , run apt-get clean , and then re-try the install.

     
  • Daniel Hansson

    Daniel Hansson - 2016-04-24

    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.

     
  • Jamie Cameron

    Jamie Cameron - 2016-04-24

    Odd that webmin.mirror.somersettechsolutions.co.uk is being mentioned even though it was removed from sources.list?

     
  • Daniel Hansson

    Daniel Hansson - 2016-04-24

    Lol, oops! :)

     
  • Jamie Cameron

    Jamie Cameron - 2016-04-27

    This is still being worked on - Ubuntu 16 changed the rules about what it considers valid for a repository.

     
  • Didier Misson

    Didier Misson - 2016-05-01

    same problem with

    Err:1 http://download.webmin.com/download/repository sarge/contrib all webmin all 1.791                                                                                   
      Hash Sum mismatch
    

    Thank you for working on it
    ;-)

     
  • Torsten Kneuss

    Torsten Kneuss - 2016-05-01

    Thanks Jamie. Yes, that works. However, I would like to install Cloudmin. In this case it is not that easy.

     
  • Didier Misson

    Didier Misson - 2016-05-01

    Hello Jamie,
    oh, seems a very interesting way to solve this problem.
    But no time to test this evening.
    I'll try tomorrow.
    Thanks
    ;-)

     
  • Didier Misson

    Didier Misson - 2016-05-02

    Hello Jamie

    Fail to install directly from http
    so I make the download 1st.

    ~/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
    ...
    

    dpkg say some dependencies are missing :

    apt-get install libnet-ssleay-perl libauthen-pam-perl libio-pty-perl apt-show-versions
    

    Now Webmin :

    # dpkg --install webmin_1.791_all.deb 
    (Reading database ... 91233 files and directories currently installed.)
    Preparing to unpack webmin_1.791_all.deb ...
    Unpacking webmin (1.791) over (1.791) ...
    Setting up webmin (1.791) ...
    Webmin install complete. You can now login to https://vtr01:10000/
    as root with your root password, or as any user who can use sudo
    to run commands as root.
    Processing triggers for ureadahead (0.100.0-19) ...
    Processing triggers for systemd (229-4ubuntu4) ...
    

    I need to reboot because nothing was on port 1000.

    After reboot, Webmin is ok.
    I can logon !

    Thanks.
    ;-)

     
  • Didier Misson

    Didier Misson - 2016-05-02

    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 ...

     # sh ./install.sh
    Checking for Perl
    found Perl at /usr/bin/perl
    
    
    Welcome to the Virtualmin GPL installer, version 1.1.4
    ...
    
    E: Failed to fetch http://download.webmin.com/download/repository/pool/contrib/u/usermin/usermin_1.701_all.deb  Hash Sum mismatch
    
    E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
    

    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
    ;-)

     
    • Neo_mat

      Neo_mat - 2016-05-03

      Didier, you can find Virtualmin package here: http://www.webmin.com/vdownload.html .

       
  • Didier Misson

    Didier Misson - 2016-05-03

    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.

     
  • Kyle Hill

    Kyle Hill - 2016-05-04

    Hi,

    I can confirm I am running into the exact same issue on 16.04LTS.

    Thanks,
    Kyle

     
  • David

    David - 2016-05-06

    Dear all,

    I have the same issue.

    Thanks
    David Ng

     
  • Jamie Cameron

    Jamie Cameron - 2016-05-15
    • status: open --> closed-fixed
     
  • Jamie Cameron

    Jamie Cameron - 2016-05-15

    This has been fixed for a week or so now, so closing this bug.

     
  • Daniel Hansson

    Daniel Hansson - 2017-04-03

    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
1 2 > >> (Page 1 of 2)

Log in to post a comment.