Hash sum mismatch on two deb packages

Kernels & Hardware, configuring network, installing services

Hash sum mismatch on two deb packages

Postby perazim » 2017-08-09 13:31

I am using a local repo built off of ftp.is.co.za/debian using apt-mirror and am experiencing the famous Hash Sum Mismatch on two of the stretch files in the amd64 repo. It seems to be only two debs at this point although I have installed/upgraded many packages this way. Here is the info:

root@nuc-i3:/dns-1-1/purple/sync/debian-scripts# apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following package was automatically installed and is no longer required:
libssh-gcrypt-4
Use 'apt autoremove' to remove it.
The following additional packages will be installed:
libass9 libavcodec57 libavformat57 libavutil55 libbluray2 libfdk-aac1 libilbc2 libkvazaar3
liblivemedia58 libmfx0 libopenh264-2 libpostproc54 libqt4-dbus libqt4-xml libqtcore4 libqtdbus4
libqtgui4 libswresample2 libswscale4 libvlc-bin libvlccore8 libx264-150 libx265-116 qdbus
qt-at-spi qtchooser qtcore4-l10n vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify
vlc-plugin-qt vlc-plugin-samba vlc-plugin-skins2 vlc-plugin-video-output
vlc-plugin-video-splitter vlc-plugin-visualization
Suggested packages:
libbluray-bdj qt4-qtconfig libdvdcss2
The following NEW packages will be installed:
libass9 libbluray2 libfdk-aac1 libilbc2 libkvazaar3 liblivemedia58 libmfx0 libopenh264-2
libpostproc54 libqt4-dbus libqt4-xml libqtcore4 libqtdbus4 libqtgui4 libx264-150 libx265-116
qdbus qt-at-spi qtchooser qtcore4-l10n
The following packages will be upgraded:
libavcodec57 libavformat57 libavutil55 libswresample2 libswscale4 libvlc-bin libvlccore8 vlc
vlc-bin vlc-data vlc-l10n vlc-plugin-base vlc-plugin-notify vlc-plugin-qt vlc-plugin-samba
vlc-plugin-skins2 vlc-plugin-video-output vlc-plugin-video-splitter vlc-plugin-visualization
19 upgraded, 20 newly installed, 0 to remove and 8 not upgraded.
Need to get 4,227 kB/26.9 MB of archives.
After this operation, 17.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://localhost/debian/ftp.is.co.za/debian stretch/main amd64 libqtgui4 amd64 4:4.8.7+dfsg-11 [4,150 kB]
Err:1 http://localhost/debian/ftp.is.co.za/debian stretch/main amd64 libqtgui4 amd64 4:4.8.7+dfsg-11
Hash Sum mismatch
Hashes of expected file:
- SHA256:7b22b38dad245439cd1de3fbd500a5e124654836d14a66d70a6e5d2854023b2d
- MD5Sum:797e351a57c9d56368f710e7cba40f21 [weak]
- Filesize:4149700 [weak]
Hashes of received file:
- SHA256:ccc3cc63253bf0c73f46365ac4e9e4e678f0850c875ffe65472ec999d80d327d
- MD5Sum:018f5f3d1d9b1a56e7e63625abe178e6 [weak]
- Filesize:9691 [weak]
Last modification reported: Tue, 25 Jul 2017 20:22:01 +0000
Get:2 http://localhost/debian/ftp.is.co.za/debian stretch/main amd64 qdbus amd64 4:4.8.7+dfsg-11 [76.8 kB]
Err:2 http://localhost/debian/ftp.is.co.za/debian stretch/main amd64 qdbus amd64 4:4.8.7+dfsg-11
Hash Sum mismatch
Hashes of expected file:
- SHA256:a50c8d2b8b6318cd82f3e8236995192cc65ae43bc434f33da23b52ead3d3a700
- MD5Sum:ef0beb601ae8467f0f89d8fc8a9f12ff [weak]
- Filesize:76828 [weak]
Hashes of received file:
- SHA256:75e1d1508d63ca969582489f8a88a841479f72c52823c7f1e09d516b37583a47
- MD5Sum:716dfe5f9da90bc8000064ec790d4165 [weak]
- Filesize:16835 [weak]
Last modification reported: Wed, 26 Jul 2017 05:13:43 +0000
Fetched 26.5 kB in 0s (52.0 kB/s)
E: Failed to fetch http://localhost/debian/ftp.is.co.za/de ... _amd64.deb Hash Sum mismatch
Hashes of expected file:
- SHA256:7b22b38dad245439cd1de3fbd500a5e124654836d14a66d70a6e5d2854023b2d
- MD5Sum:797e351a57c9d56368f710e7cba40f21 [weak]
- Filesize:4149700 [weak]
Hashes of received file:
- SHA256:ccc3cc63253bf0c73f46365ac4e9e4e678f0850c875ffe65472ec999d80d327d
- MD5Sum:018f5f3d1d9b1a56e7e63625abe178e6 [weak]
- Filesize:9691 [weak]
Last modification reported: Tue, 25 Jul 2017 20:22:01 +0000
E: Failed to fetch http://localhost/debian/ftp.is.co.za/de ... _amd64.deb Hash Sum mismatch
Hashes of expected file:
- SHA256:a50c8d2b8b6318cd82f3e8236995192cc65ae43bc434f33da23b52ead3d3a700
- MD5Sum:ef0beb601ae8467f0f89d8fc8a9f12ff [weak]
- Filesize:76828 [weak]
Hashes of received file:
- SHA256:75e1d1508d63ca969582489f8a88a841479f72c52823c7f1e09d516b37583a47
- MD5Sum:716dfe5f9da90bc8000064ec790d4165 [weak]
- Filesize:16835 [weak]
Last modification reported: Wed, 26 Jul 2017 05:13:43 +0000
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@nuc-i3:/dns-1-1/purple/sync/debian-scripts#

I reran apt-mirror to update my local mirror and saw no change, the error remained. What are my options here? Use a different mirror? File a problem report? Something else?

Thanks,

Perazim
perazim
 
Posts: 6
Joined: 2014-08-03 12:54

Re: Hash sum mismatch on two deb packages

Postby wizard10000 » 2017-08-09 14:12

Those two files are corrupted. I'd remove and re-download them.
we see things not as they are, but as we are.
-- anais nin
User avatar
wizard10000
 
Posts: 1218
Joined: 2011-05-09 20:02
Location: everywhere i go, there i am!

Re: Hash sum mismatch on two deb packages

Postby perazim » 2017-08-11 10:15

Thanks, this fixed the problem. I am running a rsync -rcv between the local repository and the server I used for the mirror source just to make sure there are no0t more errors.

You don't happen to know if there is a debian program to validate all the packages in a local repository?

Perazim
perazim
 
Posts: 6
Joined: 2014-08-03 12:54


Return to System configuration

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable