You are not logged in.
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
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
You may as well simply use the Pacman Mirrorlist Generator page.
To know or not to know ...
... the questions remain forever.
Offline
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
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
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
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 packages • Zsh and other configs
Offline
Did you create a symlink to liblzma.so.5 to fix a missing library issue?
Offline
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
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
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
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
rm...
Offline