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
Is this a major problem? Can I fix it and if so how? Did the upgrade work properly?
Thanks for your help.
Well, I've been ignoring these messages for quite some time , and
apparently I did not have any problems so far.
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.
I am not your friend
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)
luisfelipe is right. My system has not been modified from the 0.6 install except the attempted pacman upgrade.
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.
# (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
thanks for the clear answer. I will give this a try.