You are not logged in.

#1 2004-11-24 17:20:58

arch_newb
Member
From: Canada
Registered: 2004-04-27
Posts: 24

Pacman errors

Hi All,
last night I did a fresh install of arch linux from the 0.6 iso. When I connected to the internet and started to upgrade Pacman to 2.9.2-1 I received these messages:

loading package data ...
pacman: syntax error in description file line 7
pacman: syntax error in description file line 11
done

Is this a major problem? Can I fix it and if so how? Did the upgrade work properly?

Thanks for your help.
Arch_Newb smile

Offline

#2 2004-11-24 18:10:02

luisfelipe
Member
Registered: 2004-05-06
Posts: 96

Re: Pacman errors

Well, I've been ignoring these messages for quite some time , and
apparently I did not have any problems so far.

Offline

#3 2004-11-24 18:17:20

sarah31
Member
From: Middle of Canada
Registered: 2002-08-20
Posts: 2,975
Website

Re: Pacman errors

it sounds liek your system may not be fully up-to-date. if you have the most recent pacman and dependencies you should not be getting such errors.


AKA uknowme

I am not your friend

Offline

#4 2004-11-24 18:27:17

luisfelipe
Member
Registered: 2004-05-06
Posts: 96

Re: Pacman errors

well , from his post I think that his system is absolutely not up-to-date .

he got the errors whilst trying to install the latest pacman, and only after
that he can finish updating the system (wich implies that his system was
exactly what was offered on the arch-0.6 iso)

Offline

#5 2004-11-24 18:34:14

arch_newb
Member
From: Canada
Registered: 2004-04-27
Posts: 24

Re: Pacman errors

Hi all.
luisfelipe is right. My system has not been modified from the 0.6 install except the attempted pacman upgrade.
Cheers
Arch_Newb

Offline

#6 2004-11-24 20:28:34

orelien
Forum Fellow
From: France
Registered: 2002-12-05
Posts: 220
Website

Re: Pacman errors

Well, it was documented in the FAQ section of the official documentation, but unfortunately, it seems to have been removed...
But it is still present in documentation translations though...

Anyway, here it is : after a fresh install, the pacman binary installed on the system is quite old and don't recognize all fields from the packages generated against latest releases of makepkg.
As a consequence, when pacman (from AL0.6)  tries to install pacman 2.9.x, it fails to understand some fields (namely the ones a line 7 and 11 from the .PKGINFO file embedded in the package archive).

Nevertheless, it is harmless, and the only side effect is to have some missing informations for the "pacman" entry in Arch local packages database.
In such a case, the workaround is to install "pacman" one more time. Indeed, the second time, pacman is already up to date, and can reinstall itself properly.

To sum-up:

# (install Arch 0.6)
# pacman -Sy
# pacman -S pacman
...
pacman: syntax error in description file line 7
pacman: syntax error in description file line 11
...
# pacman -S pacman
# pacman -Su

Offline

#7 2004-11-24 21:31:24

arch_newb
Member
From: Canada
Registered: 2004-04-27
Posts: 24

Re: Pacman errors

Hi orelien,
thanks for the clear answer. I will give this a try.
Cheers
Arch_Newb

Offline

Board footer

Powered by FluxBB