Debian :: Aptitude And Apt-get Update Results In (Hash Sum Mismatch)
May 22, 2015
Using Debian Jessie 32 bit and Wheezy 32 bit on 2 separate computers.
For the pass few days, received the following message on both computers when doing a aptitude update or apt-get update results in the following error message:
W: Failed to fetch http://security.debian.org/dists/jes...ource/Sources: Hash Sum mismatch
W: Failed to fetch http://security.debian.org/dists/jes...i386/Packages: Hash Sum mismatch
W: Failed to fetch http://security.debian.org/dists/jes...ranslation-en: Hash Sum mismatch
View 7 Replies
ADVERTISEMENT
Jul 9, 2015
Im trying to update the system packages list by doing "aptitude update", but I got a error like this:
W: Failed to fetch http://download.virtualbox.org/virtualb ... 4/Packages: Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache
After searching the Web, I saw that many foruns seems to suggest to erase the reference list of packages using the command " rm -rf /var/lib/apt/lists/" and then run "aptitude update" again. I did that but the error still pops up.
My source.list:
### Debian Jessie
deb http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb-src http://ftp.us.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free
[Code] ....
View 7 Replies
View Related
May 22, 2011
I keep getting a very frustrating error after reinstalling 11.04 on a 64-bit server:
Code:
W: Failed to fetch gzip:/var/lib/apt/lists/partial/us.archive.ubuntu.com_ubuntu_dists_natty_universe_source_Sources Hash Sum mismatch
which follow
Code:
bzip2: Data integrity error when decompressing.
[Code]...
I originally installed 11.04 on this system with the same disk so I'm confused as to what is happening. I have tried using different CD's and even installed of a USB. The memory test of the installer came back okay. The box has two PCI NICs that are recognized and functioning. The only package I have installed is openssh as this is a headless box. What makes this even more odd is that I have a newly installed 32-bit 11.04 server with the same procedure on the same network and it does just fine.
I hope I have been thorough enough in my search and investigation that someone can point me in the right direction. After reinstalling 3 times I am at a loss and I know 11.04 can run on my box without problem (as it did before the reinstall).Tonight I'm going to reinstall with the built in interface unplugged and the two NICs removed, I'm hoping this will prevent apt from bricking itself during the install, which is the only think left I can think of. I suspect the issue has to do with the nic despite it appearing to function properly I am unable to uncompress the archives in question on, my workstation, when they are downloaded on the sever but can successfully uncompress the same files when downloaded on the workstation.
SOLUTION: I pulled both NIC's and enabled the integrated interface and it is all working. I wonder why they didn't work though...
View 2 Replies
View Related
Mar 12, 2011
apt-get update
W: Failed to fetch bzip2:/var/lib/apt/lists/partial/ftp.ro.debian.org_debian_dists_unstable_main_binary-i386_Packages Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones used instead.
My source.list
#Debian Testing repo
deb http://ftp.ro.debian.org/debian/ testing main non-free contrib
#deb-src http://ftp.ro.debian.org/debian/ testing main non-free contrib[code]....
View 3 Replies
View Related
Mar 3, 2011
I have been getting a Hash Sum mismatch error on certain packages since Debian Squeeze became stable,
[Code]...
E: Some index files failed to download. They have been ignored, or old ones used instead.
View 6 Replies
View Related
Jul 14, 2015
Lately I have noticed when I am trying to install something I have been getting 'Hash Sum mismatch'
Here is an example when I tried to install Calibre:
root@V-debian:/etc/apt# apt install calibre
Reading package lists... Done
Building dependency tree
Reading state information... Done
[Code]....
View 10 Replies
View Related
Jul 11, 2010
I am trying to upgrade an amd64 lenny system to squeeze.I've got a 2.6.32 kernel running, done aptitude update and aptitude install aptitude.When I try "aptitude safe-upgrade", it sits forever resolving dependencies.it seems to search with the resolver counting up more and more open/conflict/ whatever.I stopped it once it got over 100,000)Is it possible to get aptitude to do a safe-upgrade, perhaps using a command line option?
View 2 Replies
View Related
Jun 15, 2010
this is at the root of the problems I'm about to describe: Whenever I try to upgrade my Debian installation, I have repeated "size mismatch" errors that necessitate restarting the upgrade process. Since I'm using Debian Squeeze there are lots of upgrades to be done every week. Today, for instance, because I've not upgraded for a few weeks I have to download over 300MB of files to complete the upgrade. However, because of the size mismatch problem this download may well turn into something between 1GB and 2GB, as I repeatedly have to re-download files that were successfully downloaded in the last failed upgrade. What with my ISP limiting me to 7GB per month, I'm finding that merely keeping Debian up to date is using up most of my allotted bandwidth.
I've tried setting the Aptitude preferences not to "remove unused packages automatically", and not to "remove obsolete package files after downloading package lists", but for some reason I still find that files I downloaded in the last failed upgrade have to be downloaded again (and again, ...) whether anyone either knows how to avoid the package size mismatch problem (I can't change my ISP, which has a monopoly on providing internet to my area), or alternatively knows how to set Aptitude not to forget the packages it has downloaded successfully during each failed upgrade, thereby allowing me to avoid such a huge bandwidth usage on my frequent upgrades.
View 14 Replies
View Related
Sep 18, 2010
I've been trying to use aptitude for package management, but nothing happens in response to my commands, even as root.
Let's say for example I want to purge popcon. According to the helpfile, I should start aptitude, become root (or vice-versa), select the package in the list and press '_' (underscore), and then it will be marked with something in the left column and a different color in the list. Then later, another command will actually do the purge.
But nothing happens. It doesn't get marked or change color or anything, and 'g' just gets the message 'No packages are scheduled to be installed, removed, or upgraded.'
What am i doing incorrectly?
View 6 Replies
View Related
May 11, 2010
I am trying to upgrade from 9.10 to 10.04 (upgrade through alternate cd) but getting error ( hash sum mismatch) for some of the packages ,
how i do fix this issue
View 5 Replies
View Related
Apr 4, 2011
I have tried installing skype through synaptic package manager, downloading from website through software centre and also manually using apt-get and dpkg. All I get is the same error - hash sum mismatch so file could not be retrieved. have tried the apt-get update and makes same error. not entirely certain what the --fix missing does or how to run it.
Get:1 [URL] [20.2MB]
Fetched 20.2MB in 6min 31s (51.5kB/s)
Failed to fetch [URL] Hash Sum mismatch
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing? I just done successful install for Opera and Thunderbird. just this skype thing I can't seem to sort!
View 2 Replies
View Related
Apr 29, 2011
I used deja dup to backup my home folder today so I could restore it after reinstalling 11.04. now, it starts to restore, but gives me this error every time:
Code:
Calculated hash: ac14ae0a7bf52c1ea0d851cec864df9e1c06b54e
Manifest hash: 4173054c0b0c8ce1154af5b5caae2a7591652765
View 2 Replies
View Related
Sep 1, 2011
Ive been experiencing problems with my squid3 recently, i am using 10.04.3 LTS. Configured squid as always have been configuring since 8.04.04, but its not working as it should be.Ive been having issues with bz2 files, in my LAN when i try to do an apt-get update, it just says some indexes could not be downloaded cause of a sum hash mismatch.If you check squid log, for that kind of file it saysTCP_REFRESH_UNMODIFIED/206 Google around i read thats ssquid cache keeppin the files more than usual, so i add this hoping to solve the problem:refresh_pattern -i .bz2$ 0 0% 60 override-lastmod refresh-ims override-expireI dont know if thats well written or not, but it doesnt have solve the problem, and now squid log shows,TCP_REFRESH_UNMODIFIED/304but the same behaviour of the hash sum mismatch, please if someone could throw a ligth in here. The only fix to this problem so far is deleting all cache and recreate it every morning, which is far from a solution.
View 1 Replies
View Related
Jul 14, 2011
I have a very strange problem; when trying to apt-get update or aptitude update I get time out errors. At first it was resolving ipv6 adresses:
Cannot initiate the connection to ftp.litnet.lt:80 (2001:778::87). - connect (101: Network is unreachable) [IP: 2001:778::87 80] Err [URL] Cannot initiate the connection to security.debian.org:80 (2001:a78:5:1:216:35ff:fe7f:6ceb). - connect (101: Network is
unreachable) [IP: 2001:a78:5:1:216:35ff:fe7f:6ceb 80] As my host does not have normal ipv6 support, i just tried to disable ipv6: echo net.ipv6.conf.all.disable_ipv6=1 > /etc/sysctl.d/disableipv6.conf
[Code]....
View 2 Replies
View Related
Jan 22, 2011
I installed squeeze 2 or 3 weeks ago. When I run aptitude update in the terminal, it looks for me to load a cd. What's that about? see below
debian@dell:~$ su
Password:
root@dell:/home/debian# aptitude update
Ign cdrom://[Debian GNU/Linux testing _Squeeze_ - Official Snapshot amd64 kde-CD Binary-1 20110110-07:46] squeeze Release.gpg
[Code].....
View 6 Replies
View Related
Feb 18, 2011
I'm developing with puppet, and I need to do an aptitude update from a specific file, here is my configuration: The file sources.list in /etc/apt/ is deleted. I've created 3 files in /etc/apt/sources.list.d each one with their repos:
00-debian_sources.list
deb http://ftp.fr.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.fr.debian.org/debian/ lenny main contrib non-free
[code]....
All the repos are updated/refreshed , and I only want to refresh/update the specific repos insie of the file 01-debian_security_updates.list. On the other hand if I put some repos in the sources.list and delete the 3 files and I create an external file for example in /tmp/temprepo and I do the command aptitude update -o dir::etc::sourcelist=/tmp/temprepo it works fine.give some workaround to update and then upgrade packages from the files specified in my config.
View 1 Replies
View Related
Feb 7, 2011
Well it didn't go smoothly for me. After downloading over 1,6Gb (!) of that new Debian version and restarting I was 'greeted' by a dreaded CLI instead of gnome. To make matters worse I got "command aptitude not found".
'apt-get' still worked.
Anyway, if you're gonna update check dependencies first. It seems I lost gnome due to gstreamer0.10-gnomevfs. So first uninstall that package if you got it.
View 14 Replies
View Related
Jun 21, 2010
Debian 5.0 32bit On running aptitude update and then aptitude upgrade following warning noted
[code]...
View 4 Replies
View Related
Mar 24, 2011
I've run the command "sudo apt-get update" from terminal, showing no update to do.Then I've run the update manager (System-Administration-Update Manager) and it has shown an update (adobe flash).I thought that "apt-get update" command and update manager were the same... Why do I have different results ? Is something missing in my "sources.list" file ?
View 4 Replies
View Related
Nov 29, 2010
When I try to update my software through update manager, I get this error:
W: Failed to fetch [URL] Size mismatch
As a side note, when I enter Update Manager, it does not show 10.10 as an available update. I have checked my settings. I am quite kurfluddled by all of this.
View 7 Replies
View Related
May 7, 2011
trying to get wine working was reading the tutorial-
"Complete Guide to Using Wine from the Command Line (Ubuntu)" first thing it said to do for ubuntu user's was this-
"Before I continue with my rant about gaming on Linux I would like to point out right now that the very first thing you should do when you install your ubuntu set up is to run the following:
Code:
user@ubuntu$ sudo aptitude update
user@ubuntu$ sudo aptitude install ubuntu-restricted-extras
but when i try and run in the terminal i get "command not found".
using ubuntu 11.4 natty kernel linux 2.6.38-8 generic gnome 2.32.1
View 5 Replies
View Related
Jun 17, 2010
I haven't been able to update my system as of late, because yum keeps giving me the same error, everytime I try to run updates/install packages.
Code:
Running Transaction
Traceback (most recent call last):
File "/usr/bin/yum", line 29, in <module>
yummain.user_main(sys.argv[1:], exit_code=True)
[Code]....
Running it with -v did not provide any other information regarding this problem. I tried running yum -clean all as well as package-cleanup --dupes and other various forms and rpm -Va --nodeps --nofiledigest but didn't get any output.
View 6 Replies
View Related
Jul 30, 2010
I had to boot into my Windows 7 install on my laptop for the first time in a few months and I noticed that the Windows clock was 4 hours ahead. Windows sync'd its time with the internet, then I booted back into Debian (Lenny) and my clock was now 4 hours behind. Both OS's are set to the same time zone (EDT). The minutes were correct in both systems. Could the fact that EDT is UTC-0400 be relevant?
View 7 Replies
View Related
Nov 9, 2010
I forced the install of graph-tool package [URL]. Now it is of course tagged as broken, so update manager wont do anything. But I want to accept it, I know it is not really broken. (In fact, graph-tool_xxx.deb asks for libcgal4. squeeze only has libcgal5, so I am betting this is not an issue, as far as graph-tool is concerned.)
View 2 Replies
View Related
Feb 4, 2011
yesterday I performed an automatic security update suggested by the update manager on my virtualized (with VirtualBox on a Windows 7 host) Ubuntu 10.10 installation.
The update somehow failed and left me with an unbootable system. When I try to boot, I am told that various folders, files, and what not are missing. Then the system drops into a busybox and leaves me with an (initramfs) prompt.
This happens with all kernels I get offered by GRUB, although the error messages are quite different from kernel to kernel.
Well, the short of it is this: I don't have the slightest idea on how to get back to a working system and this site is the final straw I'm willing to grab. A complete disaster like this following an update initiated and executed by the system is unheard of in Windows-land; at least I haven't heard of it, yet, and therefore I am going to abandon Ubuntu and Linux altogeteher, if there is no remedy.
View 9 Replies
View Related
Jun 11, 2010
I was creating an OpenGL+GLUT+Perl Simulator, and I got this error on starting it:
Error: API mismatch: the NVIDIA kernel module has version 195.36.15, but this NVIDIA driver component has version 195.36.24. make sure that the kernel module and all NVIDIA driver components have the same version. The app still works fine, but I have no clue what to do about this.
View 1 Replies
View Related
May 22, 2010
I'm fairly new to debian, but not to Linux overall. And it seems that I can not install anything using the "apt-get" or "aptitude" commands. Here is what it says when I try to install synaptic:
apt-get install synaptic
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package synaptic is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source.
E: Package synaptic has no installation candidate
View 3 Replies
View Related
Aug 19, 2011
From what I understand aptitude and apt-get are both valid package management tools and it should not matter which one you use (of course the user interface is different, but the basic functionality is the same). I found something which makes me believe there are differences: I ran aptitude install gnome-themes-more and it did nothing because the package was already installed. Then I ran apt-get install gnome-themes-more just to see the difference, and it also did not install anything, but it marked the package as manually installed.
The I ran again apt-get install gnome-themes-more and this time the package was not marked as manually install (obviously because it's already marked). This makes me believe that aptitude did not mark my package as manually installed (I would have pasted the command output as well, but I don't have it anymore). So, is the core functionality of those tools the same or not?
I used until now apt-get and wonder if I should have used aptitude. I have found some wikis which recommend the usage of aptitude but I could not find out if this reccomendation is based only on the UI improvements or are there also improvements in the core functionality. I'd like some hints from more seasoned debianers about which one to use, or whether it matters. I'm maily using command line, so user interface is not an issue,
View 14 Replies
View Related
Sep 23, 2015
I'm using Debian Testing (I know it doesn't happen in Stable)
Words isn't required here. I'll show examples:
# aptitude dist-upgrade
Code: Select allThe following NEW packages will be installed:
 appstream{a} coinor-libcoinutils3v5{ab} coinor-libosi1v5{ab} cpp-5{a}
 g++-5{a} gcc-5{a} gcj-5-jre{a} gcj-5-jre-headless{a} gcj-5-jre-lib{a}
 geoip-database-extra{a} gnuplot5-data{a} gnuplot5-qt{a} icoutils{a}
 kded5{a} kinit{a} kio{a} libapt-inst1.7{a} libapt-pkg4.16{a} libasan2{a}
[Code] ....
Why apt-get can while aptitude can't?
I've searched on web, and all I can tell is that aptitude is "safer" than apt-get because it taking account the packages on hold.
But I don't have any package on hold! (I've tested dpkg --get-selections | grep hold)
View 11 Replies
View Related
Mar 6, 2016
How to find packages with aptitude. If I use the shell to type "aptitude search nethack" then I get a list of several nethack versions from which to choose. If I use the aptitude GUI and type Ctrl-T and then arrow over to the search option and type in "nethack" and hit Enter, the only option that I see is nethack-spoilers. Why do I not see all of the other nethack options?
View 2 Replies
View Related