Hello, I have been a fan of elive since the early days.
When I run synaptic-reload it ends in an error about a hash mismatch, and the old list is being used instead.
Is there a script I should run to remedy this?
The text of the message
Could not download all repository indexes
Failed to fetch
Hash sum mismatch Some files failed to download. They have been ignored, or old ones used instead
There could be some reasons for not getting the cache.
Proxy, Firewall, Malware Scanner, MITM attack…
It would be helpful not only to see the result, instead see the whole reason of the issue.
Please open a terminal, enter ‘apt-get update’ and paste the output.
I think the system is not able to resolve the hostname given in /etc/apt/sources.list
It the URL sould start with something like http://repository.elivecd.org
I managed to grab the log and it can be found here LogMyAptGetUpdate - Pastebin.com
Thanks for your help; this is from a live session. Will be installing Elive to the hard drive shortly.
Looks clean to me. Synaptic says it can not download the index, but ‘apt-get update’ does? I wonder.
SynAPTic is just another tool, like APT-get. Both are frontends for the packagemanager dpkg.
Is there any third party repository in your /etc/apt/sources.list?
~ ❯❯❯ cat /etc/apt/sources.list.d/aaa-elive.list 1
### Note: don't change the name of this file, its needed in order to parse it by apt to be the first sources to consider, otherwise it can bug installing packages from debian as preference even if we have the PIN priority correctly set (example: scite)
# VERY IMPORTANT: if you want to add other repos to your system it is strictly needed that is a repo for wheezy
# otherwise you will end in an entirely broken by uncompatible dependencies system (use the elive installer with the upgrade-mode for an automated reparation & recovery)
deb http://repo.wheezy.elive.elivecd.org/ wheezy main elive efl games ports fixes drivers multimedia non-free
~ ❯❯❯ cat /etc/apt/sources.list.d/debian.list
deb http://repo.wheezy.debian.elivecd.org/debian wheezy main contrib non-free
deb http://repo.wheezy.deb-security.elivecd.org/debian-security wheezy/updates main contrib non-free
deb http://repo.wheezy.debian.elivecd.org/debian wheezy-backports main contrib non-free
~ ❯❯❯ cat /etc/apt/sources.list.d/ggg-marillat.list
# original marillat repo:
#deb http://www.deb-multimedia.org wheezy main non-free
# elive mirrored repo:
deb http://repo.wheezy.deb-multimedia.elivecd.org/ wheezy main non-free
these are the original.
To get any error while upgrading, please try in a console/terminal:
sudo apt-get dist-upgrade
Looks like a cache problem, in short: if you try to run it twice it should work (at least it does with the “apu” command)
alias | grep apt