You are not logged in.
Pages: 1
I just saw that pacman 4.0.1 hit [core] but the updated packagekit packages weren't available, so i held it back libarchive has been updated and now pacman won't run? How do I fix this?
pacman: error while loading shared libraries: libarchive.so.2: cannot open shared object file: No such file or directory
Last edited by fettouhi (2012-01-16 22:37:34)
Offline
boot install cd, mount your partions to /mnt, pacman -r /mnt -Syu pacman libarchive (-Rs packagekit first if you haven't)
Last edited by Mr.Elendig (2012-01-16 22:10:02)
Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest
Offline
Download the latest libarchive 2 package from ARM. Unpack it and copy libarchive.so.2 into /usr/lib. Don't worry, you won't be overwriting any files with this. But you will get a working pacman. Use it to upgrade and this time don't hold any packages back. After upgrading pacman, you can delete /usr/lib/libarchive.so.2
Edit: Or do what Mr.Elendig says ![]()
Last edited by Gusar (2012-01-16 22:11:34)
Offline
Thanks for the tips. I did as Gusar suggested, since it was easier and now pacman works again but I get an error
[root@andre ~]# pacman -S packagekit
advarsel: packagekit-0.6.19-5 er opdateret - springer over
løser afhængigheder...
kigger efter mellemkonflikter...
Mål (1): packagekit-0.6.19-5
Total Installed Size: 6,43 MiB
Net Upgrade Size: 0,00 MiB
Fortsæt med installation? [J/n] J
(1/1) tjekker pakkeintegritet [############] 100%
fejl: packagekit: key "AF7EF7873CFD4BB6" is unknown
fejl: key "AF7EF7873CFD4BB6" could not be looked up remotely
fejl: kunne ikke indsende (commit) transaktion (invalid or corrupted package (PGP signature))
Der opstod fejl, ingen pakker blev opgraderet.
I did the pacman-key --init after updating pacman.
Offline
Edit pacman.conf and uncomment SigLevel = Optional TrustAll
Offline
Ah didn't see those changes in pacman.conf. Added those changes and everything is ok! Many thanks!
Last edited by fettouhi (2012-01-16 22:38:18)
Offline
Pages: 1