You are not logged in.

#1 2011-08-21 06:10:39

ds2369
Member
Registered: 2011-08-21
Posts: 13

[SOLVED] _____ is invalid or corrupted.

Hello, I installed Arch last night on my netbook and everything has been going great until now.
I tried to install flashplugin but ran into a conflict between krb5 and heimdal.
I tried to fix it with a system upgrade, but now nothing will install.
It will download the packages but when it goes to install it it says the package is invalid or corrupted.

For example,

[ds2369@myhost /]$ sudo pacman -S python-distribute
resolving dependencies...
looking for inter-conflicts...

Targets (2): python-3.2.1-1  python-distribute-0.6.19-1

Total Download Size:    9.48 MB
Total Installed Size:   79.50 MB

Proceed with installation? [Y/n] y
:: Retrieving packages from extra...
 python-3.2.1-1-x86_64                                          9.2M  323.2K/s 00:00:29 [###################################################] 100%
 python-distribute-0.6.19-1-any                               236.8K  260.5K/s 00:00:01 [###################################################] 100%
(2/2) checking package integrity                                                        [###################################################] 100%
error: failed to commit transaction (invalid or corrupted package)
python-3.2.1-1-x86_64.pkg.tar.xz is invalid or corrupted
python-distribute-0.6.19-1-any.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.
[ds2369@myhost /]$

Any help is very appreciated, thanks.

Edit: I guess it isn't all packages because I was just able to install cowsay just fine. But it will still give the error for (probably all) the packages it downloads in the system upgrade.

Last edited by ds2369 (2011-08-22 02:25:36)

Offline

#2 2011-08-21 06:32:01

oboedad55
Member
From: Baku
Registered: 2011-04-05
Posts: 392

Re: [SOLVED] _____ is invalid or corrupted.

IS it possible your mirrors are out of date? I use reflector to to get the most up-to-date mirrors.
https://wiki.archlinux.org/index.php/Reflector


Registered Linux user #436067

Offline

#3 2011-08-21 06:55:49

bernarcher
Forum Fellow
From: Germany
Registered: 2009-02-17
Posts: 2,281

Re: [SOLVED] _____ is invalid or corrupted.

You may as well simply use the Pacman Mirrorlist Generator page.


To know or not to know ...
... the questions remain forever.

Offline

#4 2011-08-21 07:19:50

ds2369
Member
Registered: 2011-08-21
Posts: 13

Re: [SOLVED] _____ is invalid or corrupted.

I can't install Reflector right now (it's dependent on Python, which also won't install), but I'll definitely give it a go once this is sorted out.

The mirror list I'm using was generated from that page. I believe the mirror I'm currently using is from kernel.org. I'll start trying some other ones.

Edit: I keep trying different mirrors but it's all the same. It downloads then says the packages are corrupt.

Last edited by ds2369 (2011-08-21 08:45:08)

Offline

#5 2011-08-21 11:38:54

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: [SOLVED] _____ is invalid or corrupted.

pacman -Scc then try again.

Edit: you should do -Syu foobar btw.

Last edited by Mr.Elendig (2011-08-21 11:39:28)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#6 2011-08-21 20:49:55

ds2369
Member
Registered: 2011-08-21
Posts: 13

Re: [SOLVED] _____ is invalid or corrupted.

Mr.Elendig wrote:

pacman -Scc then try again.

Edit: you should do -Syu foobar btw.

(giant list of all the packages it downloaded)
...
xorg-xsetroot-1.1.0-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-server-utils-7.6-2-any.pkg.tar.xz is invalid or corrupted
xorg-twm-1.0.7-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xdpyinfo-1.2.0-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xdriinfo-1.0.4-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xev-1.1.0-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xlsatoms-1.1.0-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xlsclients-1.1.2-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xprop-1.2.1-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xvinfo-1.1.1-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xwininfo-1.1.2-1-x86_64.pkg.tar.xz is invalid or corrupted
xorg-utils-7.6-7-any.pkg.tar.xz is invalid or corrupted
xorg-xkbutils-1.0.3-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xkbevd-1.1.2-2-x86_64.pkg.tar.xz is invalid or corrupted
xorg-xkb-utils-7.6-1-any.pkg.tar.xz is invalid or corrupted
xterm-271-1-x86_64.pkg.tar.xz is invalid or corrupted
Errors occurred, no packages were upgraded.

It's still doing it =/

Offline

#7 2011-08-21 20:59:28

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,598
Website

Re: [SOLVED] _____ is invalid or corrupted.

My advice:

1) Edit your /etc/pacman.d/mirrorlist to contain as the first entry this mirror (which is updated quite regularly):

Server = http://mirror.rit.edu/archlinux/$repo/os/$arch

Then remove current cached packages, refresh, and update.

# pacman -Scc  <<answer yes to all questions and know that this will delete ALL of your stored packages>>
# pacman -Syy
# pacman -Syu

Last edited by graysky (2011-08-21 22:27:01)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#8 2011-08-21 22:13:58

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: [SOLVED] _____ is invalid or corrupted.

Did you create a symlink to liblzma.so.5 to fix a missing library issue?

Offline

#9 2011-08-22 01:20:21

ds2369
Member
Registered: 2011-08-21
Posts: 13

Re: [SOLVED] _____ is invalid or corrupted.

graysky wrote:

My advice:

1) Edit your /etc/pacman.d/mirrorlist to contain as the first entry this mirror (which is updated quite regularly):

Server = http://mirror.rit.edu/archlinux/$repo/os/$arch

Then remove current cached packages, refresh, and update.

# pacman -Scc  <<answer yes to all questions and know that this will delete ALL of your stored packages>>
# pacman -Syy
# pacman -Syu

Trying this mirror right now, will edit when it's finished..

Edit: Nope.
http://pastebin.com/CwmNuu2V

Allan wrote:

Did you create a symlink to liblzma.so.5 to fix a missing library issue?

Yes, I believe so. Something broke, I forgot what exactly (I think it was one of pacman's dependencies), and the way to fix it was doing that I think.

Last edited by ds2369 (2011-08-22 01:45:03)

Offline

#10 2011-08-22 01:38:28

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: [SOLVED] _____ is invalid or corrupted.

Well, that is your issue...  you screwed your system by symlinking libraries...

pacman -S pacman libarchive xz

And make sure you remove any /usr/lib/liblzma.so.0 symlink you made.

Offline

#11 2011-08-22 01:50:50

ds2369
Member
Registered: 2011-08-21
Posts: 13

Re: [SOLVED] _____ is invalid or corrupted.

Allan wrote:

Well, that is your issue...  you screwed your system by symlinking libraries...

pacman -S pacman libarchive xz

And make sure you remove any /usr/lib/liblzma.so.0 symlink you made.

Thanks for the help. How do I remove a symlink?

Offline

#12 2011-08-22 02:01:18

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,398
Website

Re: [SOLVED] _____ is invalid or corrupted.

rm...

Offline

Board footer

Powered by FluxBB