Virtualmin virtual-server module version 6.03 released

Try apt-get clean again, please. I’ve regenerated metadata for that repository.

Hopefully it’ll sort it out. apt repos are still a mystery to me after more than a decade of maintaining them.

Still not working. I tried apt-get clean and apt-get autoclean.

Even used –fix-missing

Would it perhaps help to generate a whole new package e.g. webmin-virtual-server_6.04.gpl_all.deb ?

It seems that systems that where not updated since the release of the package. But are now via apt-get update / apt-get upgrade, the package is propperly installed. So maybe it is some kind of local caching?

apt-get clean && apt-get update && apt-get upgrade -y

Still the same error message, sorry about that. (Wheezy here).

Someone mentioned pushing a version 6.04, just to clear this mess. It might be the simplest solution, in terms of “time wasted VS interest of actually really understanding and solving the issue with repos”?

Cannot install latest update on Ubuntu 16.04 due to a hash sum mismatch error. I have already used apt-get clean, apt-get autoclean, apt-get update and apt-get upgrade all to no avail , cannot install from within webmin either.

repos showing in list are as follows:

http://software.virtualmin.com/gpl/ubuntu virtualmin-xenial InRelease
http://software.virtualmin.com/gpl/ubuntu virtualmin-universal InRelease
http://software.virtualmin.com/gpl/ubuntu virtualmin-xenial Release
http://software.virtualmin.com/gpl/ubuntu virtualmin-universal Release

Hope this helps and issue can be sorted.

Regards.

Can confirm that on several of our debian servers updates use “software.virtualmin.com/gpl/debian” that is no surprice because on those servers our /etc/apt/sources.list contains:

deb http://software.virtualmin.com/gpl/debian/ virtualmin-jessie main

deb http://software.virtualmin.com/gpl/debian/ virtualmin-universal main

after we changed it to:

deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-jessie main

deb http://software.virtualmin.com/vm/6/gpl/apt virtualmin-universal main

Did apt-get clean && apt-get update && apt-get upgrade you get:

Reading package lists… Done

W: GPG error: http://software.virtualmin.com virtualmin-jessie InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D9F9010760D62A6B

W: GPG error: http://software.virtualmin.com virtualmin-universal InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY D9F9010760D62A6B

Do wget --quiet http://software.virtualmin.com/lib/RPM-GPG-KEY-virtualmin-6 -O - | apt-key add -

then:

apt-get clean && apt-get update && apt-get upgrade

would correctly upgrade correct me if I am wrong

So, apt-get clean apparently doesn’t actually clean. And, more frustratingly, I can’t reproduce this on my Debian 9 test system. Try running the following:

# rm -f /var/lib/apt/lists/*virtualmin* # apt-get clean # apt-get update

And, then the update should work.

didn’t resolve, I did the following …

# lsb_release -a Distributor ID: Ubuntu Description: Ubuntu 16.04.4 LTS Release: 16.04 Codename: xenial

rm -f /var/lib/apt/lists/virtualmin

apt-get clean

apt-get update

apt-get -o Debug::pkgAcquire::Auth=true upgrade

... Get:1 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main amd64 webmin-virtual-server all 6.03.gpl [2,505 kB] 75% [1 webmin-virtual-server 14.3 kB/1,767 kB 1%]201 URI Done: http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/main/binary-amd64/webmin-virtual-server_6.03.gpl_all.deb ReceivedHash: - SHA512:bc3af2d2b297e76c636112d7c94e8cb02e76865311d516bf119cf6590e5e7c187bc48b76ceb28a8efdc4be49751e129786ab549f375e7c6212558d3b52367289 - SHA256:0f178182d737beab213994ef80d81bcfe827e6f569ccf121bc6d1478c5a85d7a - SHA1:01d62c5b23e14a27d83e0225c03522bd6b21be5c - MD5Sum:b60c5b1c4021ea5313d4172f003bd2f5 - Checksum-FileSize:1767472 ExpectedHash: - SHA512:4f57c1c2fde4bda5a9bef80dfc12ab35f0e9c1e591227f94a72593ae5a38e7760f91aff314397246015c0f4195e6044cb7c31f18b31e23d3141a8159406aa24f - SHA256:5f85985fa3e886eada20f145d246309bfffe5bad7a2f613b0ede5e3789b781bd - SHA1:92a5d23400280b699c0f32293f25294990b180f3 - MD5Sum:a7db6be552476a8b1acfec2a6379398d - Checksum-FileSize:2504860

Err:1 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main i386 webmin-virtual-server all 6.03.gpl
Hash Sum mismatch
Get:1 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main i386 webmin-virtual-server all 6.03.gpl [2,505 kB]
75% [1 webmin-virtual-server 24.4 kB/1,767 kB 1%]201 URI Done: http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/main/binary-i386/webmin-virtual-server_6.03.gpl_all.deb
ReceivedHash:
- SHA512:bc3af2d2b297e76c636112d7c94e8cb02e76865311d516bf119cf6590e5e7c187bc48b76ceb28a8efdc4be49751e129786ab549f375e7c6212558d3b52367289
- SHA256:0f178182d737beab213994ef80d81bcfe827e6f569ccf121bc6d1478c5a85d7a
- SHA1:01d62c5b23e14a27d83e0225c03522bd6b21be5c
- MD5Sum:b60c5b1c4021ea5313d4172f003bd2f5
- Checksum-FileSize:1767472
ExpectedHash:
- SHA512:4f57c1c2fde4bda5a9bef80dfc12ab35f0e9c1e591227f94a72593ae5a38e7760f91aff314397246015c0f4195e6044cb7c31f18b31e23d3141a8159406aa24f
- SHA256:5f85985fa3e886eada20f145d246309bfffe5bad7a2f613b0ede5e3789b781bd
- SHA1:92a5d23400280b699c0f32293f25294990b180f3
- MD5Sum:a7db6be552476a8b1acfec2a6379398d
- Checksum-FileSize:2504860

Err:1 http://software.virtualmin.com/gpl/ubuntu virtualmin-universal/main i386 webmin-virtual-server all 6.03.gpl
Hash Sum mismatch
Fetched 3,535 kB in 0s (19.7 MB/s)
E: Failed to fetch http://software.virtualmin.com/gpl/ubuntu/dists/virtualmin-universal/main/binary-i386/webmin-virtual-server_6.03.gpl_all.deb Hash Sum mismatch

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


OK, I see the problem, but I can’t seem to convince the repo generation tools to actually regenerate metadata (even when I delete it all, it regenerates it with the same bogus details). Managing apt repositories is infuriating. (The new ones are managed using aptly, and they aren’t having this problem.)

I’ll get it fixed shortly now that I see what’s happening, somehow.

OK, really fixed this time.

Run apt-get clean; apt-get update.

I’m absolutely 100% very nearly sort of sure that it will now work correctly (seriously, though, it’ll work…I checked the Packages files on the servers…they’re right now).

The problem was I was caching package metadata outside of the repository in order to speed up repo generation…so, I had to go delete that, too, in order to convince it that the package had changed.

Awesome! can confirm upgrade worked, thanks :slight_smile:

It worked for me too :wink:

Thank you

Confirmed. It’s working.

Reading package lists…
Building dependency tree…
Reading state information…
The following packages will be upgraded:
webmin-virtual-server
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 1767 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://software.virtualmin.com/gpl/debian/ virtualmin-universal/main webmin-virtual-server all 6.03.gpl [1767 kB]
Reading changelogs…
Fetched 1767 kB in 1s (1062 kB/s)
(Reading database …
(Reading database … 5%
(Reading database … 10%
(Reading database … 15%
(Reading database … 20%
(Reading database … 25%
(Reading database … 30%
(Reading database … 35%
(Reading database … 40%
(Reading database … 45%
(Reading database … 50%
(Reading database … 55%
(Reading database … 60%
(Reading database … 65%
(Reading database … 70%
(Reading database … 75%
(Reading database … 80%
(Reading database … 85%
(Reading database … 90%
(Reading database … 95%
(Reading database … 100%
(Reading database … 129703 files and directories currently installed.)
Preparing to unpack …/webmin-virtual-server_6.03.gpl_all.deb …
Unpacking webmin-virtual-server (6.03.gpl) over (6.02.gpl-2) …

This is to confirm Joe's comment #30 resolved this challenge :)

Using

  • Debian 8 Jessie
  • Virtualmin version 6.02 GPL to 6.03 GPL

Thanks Joe. Sorry to hear about the challenge with the cache thingy. I know the feeling. At Ubertus we often face challenges related to caches. We find that cache is very useful to significantly speed up performance :) But it sometime comes with risks of unexpected challenges during development or updates.


For those not familiar with command lines. This challenge can be resolve using Webmin only. Steps:

  1. Using Webmin, go to /package-updates/?xnavigation=1
  2. Click on "Refresh available packages"
    1.     Clearing package caches ..
          .. done

      	<p>&nbsp;&nbsp;&nbsp; Re-fetching available packages ..</p>
      	</blockquote>
      	</li>
      </ol>
      </li>
      <li>Wait 2 to 5 minutes. If it does <em>not</em> return any result. And no button are display. Go back to /package-updates/?xnavigation=1</li>
      <li>Again, click on "Refresh available packages"</li>
      <li>This time it will fully complete "Refreshing Packages"
      <ol>
      	<li>
      	<blockquote>
      	<p>Clearing package caches ..<br />
      	.. done</p>
      
      	<p>Re-fetching available packages ..<br />
      	.. found 1 possible updates</p>
      	</blockquote>
      	</li>
      </ol>
      </li>
      <li>Click on "Return to package list" button</li>
      <li>Click on "Update Selected Packages" button</li>
      <li>Click on "Install Now" button</li>
      <li>It will successfully update :)
      <ol>
      	<li>
      	<blockquote>
      	<p>Now updating webmin-virtual-server ..</p>
      
      	<p>&nbsp;&nbsp;&nbsp; Installing package(s) with command apt-get -y install webmin-virtual-server ..</p>
      
      	<p>&nbsp;&nbsp;&nbsp; Reading package lists...<br />
      	&nbsp;&nbsp;&nbsp; Building dependency tree...<br />
      	&nbsp;&nbsp;&nbsp; Reading state information...<br />
      	&nbsp;&nbsp;&nbsp; The following packages will be upgraded:<br />
      	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; webmin-virtual-server<br />
      	&nbsp;&nbsp;&nbsp; 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.<br />
      	&nbsp;&nbsp;&nbsp; Need to get 1767 kB of archives.<br />
      	&nbsp;&nbsp;&nbsp; After this operation, 0 B of additional disk space will be used.<br />
      	&nbsp;&nbsp;&nbsp; Get:1 http://software.virtualmin.com/gpl/debian/ virtualmin-universal/main webmin-virtual-server all 6.03.gpl [1767 kB]<br />
      	&nbsp;&nbsp;&nbsp; Reading changelogs...<br />
      	&nbsp;&nbsp;&nbsp; Fetched 1767 kB in 0s (18.8 MB/s)<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ...<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 5%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 10%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 15%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 20%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 25%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 30%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 35%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 40%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 45%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 50%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 55%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 60%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 65%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 70%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 75%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 80%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 85%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 90%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 95%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 100%<br />
      	&nbsp;&nbsp;&nbsp; (Reading database ... 105371 files and directories currently installed.)<br />
      	&nbsp;&nbsp;&nbsp; Preparing to unpack .../webmin-virtual-server_6.03.gpl_all.deb ...<br />
      	&nbsp;&nbsp;&nbsp; Unpacking webmin-virtual-server (6.03.gpl) over (6.02.gpl-2) ...<br />
      	&nbsp;&nbsp;&nbsp; Setting up webmin-virtual-server (6.03.gpl) ...</p>
      
      	<p>&nbsp;&nbsp;&nbsp; .. install complete.</p>
      
      	<p><br />
      	Successfully installed 1 packages.</p>
      	</blockquote>
      	</li>
      </ol>
      </li>
      

This is to confirm Joe's comment #30 resolved this challenge :)

Using

  • Debian 8 Jessie
  • Virtualmin version 6.02 GPL to 6.03 GPL

Thanks Joe :)

For those not familiar with command lines, this challenge can be resolve using Webmin only. Find steps in this comment at https://www.virtualmin.com/comment/795472#comment-795472

It’s working
Thank you

just to confirm as well: works like a charm on Debian 8 Jessie, Virtualmin upgrade from 6.02 to 6.03.
Thank you very much