You are not logged in.
Hei,guys!
I'm using arch linux in coLinux.I got the image file from sf and I successfully booted it on my machine,em,everything seemed to be OK.But when I tried to do this:
pacman -SyuI got this message :
checking package integrity...
error: error while reading package /var/cache/pacman/pkg/gdbm-1.8.3-7-i686.pkg.tar.xz: Unrecognized archive format: Invalid or incomplete multibyte or wide character
error: failed to commit transaction (libarchive error)
Errors occurred, no packages were upgraded.I think the pacman(maybe just libarchive) is too old to recognize the .pkg.tar.xz files. So dose someone have an idea to work out it?
Last edited by Cristie (2011-05-28 16:03:35)
Offline
I would suggest to run 1st:
pacman -Scc # to clear all packages in cache and old databases and then again:
pacman -Syyu # to force update the databases and do a system upgrade.
Proud Arch Linux user since 2007.
Offline
@twilight0:yeah,I acknowledge that,but it didn't work at all. I guess you didn't understand my problem. You know, the pacman coudn't upgrade (in fact I was unable to install any packages) just because the libarchive package was out of date (it meant that I could do nothing with the .tar.xz files downloaded from the mirrors).So I solved the problem by doing like this(Stupid it is, but it really works):
1.Download libarchive from any of the mirrors around the world.
2.Find a way to access to the files you just downloaded.
3.Replace the original libarchive files.
4.Mofify the local db.It is OK to do this:go to /var/lib/pacman/local,rename the libarchive-VERSION to current version.
Then I found that depences need openssl >= 1.0.0, so try the same proccess with it.
So,now everything is running very well.
Last edited by Cristie (2011-05-28 16:20:03)
Offline