Monday, March 27, 2017

apt - Keepass2 failed installation during upgrade from 14.04 LTS to 16.04 LTS

I upgraded my laptop from Ubuntu 14.04 LTS to 16.04 LTS. The keepass2 package could not be installed during the upgrade. So I skipped it to have the computer working again.


Today I tried to install keepass2, now using apt-get:


sudo apt-get update
sudo apt-get install keepass2

but I get the following error message:


E: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/universe/k/keepass2/keepass2_2.32+dfsg-1_all.deb  Hash Sum mismatch

I also tried to download the package using firefox directly from
http://packages.ubuntu.com/xenial/all/keepass2/download so I could install it using dpkg, but the package seems to have some problem.
Firefox opens a pop up window with the error message:



/tmp/mozilla_srv0/44Gr76dJ.deb.part could not be saved, because the source file could not be read.



When downloading the file with wget and checking its md5sum signature the results is not the expected correct one.


$ wget http://cz.archive.ubuntu.com/ubuntu/pool/universe/k/keepass2/keepass2_2.32+dfsg-1_all.deb
$ md5sum keepass2_2.32+dfsg-1_all.deb
9d21dfe6ff3374e05b84615abc0aa7f3 keepass2_2.32+dfsg-1_all.deb

Do you know how to install this package correctly?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...