You are not logged in.

#1 2011-05-26 12:14:35

Cristie
Member
From: Wuhan,Hubei,China
Registered: 2011-05-16
Posts: 4

[SOLVED]Is there anybody using arch linux in coLinux?

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 -Syu

I 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

#2 2011-05-26 14:20:38

twilight0
Member
From: Greece
Registered: 2011-05-01
Posts: 233
Website

Re: [SOLVED]Is there anybody using arch linux in coLinux?

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

#3 2011-05-28 16:16:41

Cristie
Member
From: Wuhan,Hubei,China
Registered: 2011-05-16
Posts: 4

Re: [SOLVED]Is there anybody using arch linux in coLinux?

@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

Board footer

Powered by FluxBB