You are not logged in.

#1 2008-03-04 12:14:40

jimcanoa
Member
Registered: 2007-11-04
Posts: 13

Pacman is not working correctly

Hello, I think there's something wrong with my pacman. In my desktop pc it works beautifully but not in my laptop... this is what happens, I synchronize and it doesn't report any error but it can't find essential packages. For instance, this is from my Desktop PC:

$ pacman -Ss texinfo
core/texinfo 4.11-2
    Utilities to work with and produce manuals, ASCII text, and on-line documentation from a single source file
community/docbook2x 0.8.8-2
    A software package that converts DocBook documents into the traditional Unix man page format and the GNU Texinfo format.
community/texi2html 1.64-3
    Converts texinfo documents to HTML

and this is what happens if I type the same in my laptop:

$ pacman -Ss texinfo
community/docbook2x 0.8.8-2
    A software package that converts DocBook documents into the traditional Unix man page format and the GNU Texinfo format.
community/texi2html 1.64-3
    Converts texinfo documents to HTML
$ sudo pacman -S texinfo
error: 'texinfo': not found in sync db

I tried scp'ing pacman.conf and pacman.d/* from my desktop computer to my laptop, so now the repositories are the same etc, and after doing sudo pacman -Sy the same thing happens... it just won't find core/texinfo... why could this be??

Thanks!

Offline

#2 2008-03-04 12:24:52

jimcanoa
Member
Registered: 2007-11-04
Posts: 13

Re: Pacman is not working correctly

Uhmm, I think I fixed it, I erased every thing under /var/lib/pacman except for /var/lib/pacman/local and now it seems to be working... I still don't know why it was necessary to do that and why wasn't pacman -Sy enough...

thanks anyways smile

Offline

#3 2008-03-04 12:47:30

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Pacman is not working correctly

next time do pacman -Syy (force sync all repository)


Give what you have. To someone, it may be better than you dare to think.

Offline

#4 2008-03-04 12:49:12

ibendiben
Member
Registered: 2007-10-10
Posts: 519

Re: Pacman is not working correctly

In such cases you can probably suffice with:

pacman -Syy

Where as pacman -Sy only updates out-of-date package-info, pacman -Syy redownloads the whole db and overwrites eventual errors, thus no need for manual erasing.

edit: ah, a bit late wink

Last edited by ibendiben (2008-03-04 12:49:47)

Offline

#5 2008-03-04 14:03:57

Cerebral
Forum Fellow
From: Waterloo, ON, CA
Registered: 2005-04-08
Posts: 3,108
Website

Re: Pacman is not working correctly

Yeah, _especially_ after switching mirrors, I'd recommend a pacman -Syy - just to make sure you've got everything from the proper mirror.

Offline

#6 2008-03-05 00:56:43

jimcanoa
Member
Registered: 2007-11-04
Posts: 13

Re: Pacman is not working correctly

Thank you guys! Good to know smile Definitely, Arch's users community is by far the best smile

Offline

Board footer

Powered by FluxBB