You are not logged in.

#1 2011-04-15 08:54:32

alphazo
Member
Registered: 2009-10-20
Posts: 167

[SOLVED] Unable to upgrade libmysqlclient - Corrupted

I cannot upgrade my libmysqlcient (5.5.10-2) to 5.5.11-1.

sudo pacman -Sy libmysqlclient
:: Synchronizing package databases...
 testing is up to date
 multilib-testing is up to date
 core is up to date
 extra is up to date
 community is up to date
 archlinuxfr is up to date
 multilib is up to date
 miffe                                                                 5.3K   56.4K/s 00:00:00 [#######################################################] 100%
:: libmysqlclient is in IgnorePkg/IgnoreGroup. Install anyway? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...

Targets (1): libmysqlclient-5.5.11-1

Total Download Size:    2.95 MB
Total Installed Size:   24.91 MB

Proceed with installation? [Y/n] Y
:: Retrieving packages from extra...
 libmysqlclient-5.5.11-1-x86_64                                        3.0M 1290.9K/s 00:00:02 [#######################################################] 100%
:: File libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz is corrupted. Do you want to delete it? [Y/n] y------------------------------------------------------]   0%
(1/1) checking package integrity                                                               [#######################################################] 100%
error: failed to commit transaction (invalid or corrupted package)
libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.

I then directly downloaded the package from multiple mirrors such as http://www.archlinux.org/packages/extra … sqlclient/ and http://mir.archlinux.fr/extra/os/x86_64/

sudo pacman -U ~/Downloads/libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz

error: error while reading package /home/alpha/Downloads/libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz: Lzma library error: Corrupted input dataTruncated input file (needed 3589632 bytes, only 0 available)
error: '/home/alpha/Downloads/libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz': libarchive error

Any idea?

Last edited by alphazo (2011-04-15 12:55:54)

Offline

#2 2011-04-15 10:05:34

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 716

Re: [SOLVED] Unable to upgrade libmysqlclient - Corrupted

strange, is your root partition filled?

Offline

#3 2011-04-15 10:15:28

alphazo
Member
Registered: 2009-10-20
Posts: 167

Re: [SOLVED] Unable to upgrade libmysqlclient - Corrupted

Plenty of space on my root partition (10GB). I can install and upgrade packages  without any problem. Only this one is reported as broken.
BTW, when I do

# wget http://mirrors.kernel.org/archlinux/extra/os/x86_64/libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz
# xz -t libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz

I get :

xz: libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz: Compressed data is corrupt

Same result with the copies I got from other mirrors as well.

Alphazo

Last edited by alphazo (2011-04-15 10:19:09)

Offline

#4 2011-04-15 10:46:16

jelly
Administrator
From: /dev/null
Registered: 2008-06-10
Posts: 716

Re: [SOLVED] Unable to upgrade libmysqlclient - Corrupted

alphazo wrote:

Plenty of space on my root partition (10GB). I can install and upgrade packages  without any problem. Only this one is reported as broken.
BTW, when I do

# wget http://mirrors.kernel.org/archlinux/extra/os/x86_64/libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz
# xz -t libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz

I get :

xz: libmysqlclient-5.5.11-1-x86_64.pkg.tar.xz: Compressed data is corrupt

Same result with the copies I got from other mirrors as well.

Alphazo

works here

Offline

#5 2011-04-15 12:46:09

alphazo
Member
Registered: 2009-10-20
Posts: 167

Re: [SOLVED] Unable to upgrade libmysqlclient - Corrupted

seems a wget issue (although I have the same error with Firefox). A friend of mine did the above without any problem. Both files have the exact same size but a diff reveal some differences.

Finally found out that the issue comes from WiFi connection (but only on this given package!!). Switching back to copper solved the problem. Man, that is weird considering that wget reports that download is fine.

Offline

#6 2011-04-15 12:55:32

alphazo
Member
Registered: 2009-10-20
Posts: 167

Re: [SOLVED] Unable to upgrade libmysqlclient - Corrupted

Alright people I isolated the problem. It was a problem with my Intel wireless driver. I upgraded to a more recent one from AUR (compat-wireless_patched-daily) and problem is fixed. This is crazy!

Offline

Board footer

Powered by FluxBB