You are not logged in.

#1 2008-04-16 05:40:18

Zuliani
Member
Registered: 2008-04-16
Posts: 4

Pacman doesn't work after fresh install

Hi everyone, I just installed archlinux on my very old 400Mhz Dell Latitude, but now pacman won't do anything, I can't sync, I can't install anything, ... The install did have some issues, but I'm not sure if that is causing this
The output from 'pacman -Sy'

:: Synchronizing package databases...
error: failed to synchronize core:
error: failed to synchronize extra:
error: failed to synchronize commutity:
error: failed to synchronize any databases

The pacman log doesn't say anything interesting, the configs look okay. That output is spit out rather quickly too, I'm not sure if it's even trying to use the internet (which is working)
Can you help me?

Last edited by Zuliani (2008-04-16 05:43:26)

Offline

#2 2008-04-16 05:43:10

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Pacman doesn't work after fresh install

I looks like you have no network connectivity at all.  Can you ping (e.g.) google?

Offline

#3 2008-04-16 05:44:08

Zuliani
Member
Registered: 2008-04-16
Posts: 4

Re: Pacman doesn't work after fresh install

Network works okay, but the output is so quick that I'm not sure if it's even trying to use it

Last edited by Zuliani (2008-04-16 05:54:00)

Offline

#4 2008-04-16 06:21:14

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Pacman doesn't work after fresh install

Do a "pacman -Sy --debug" to get more verbose output.  What version of pacman are you using?

Offline

#5 2008-04-16 10:18:37

Zuliani
Member
Registered: 2008-04-16
Posts: 4

Re: Pacman doesn't work after fresh install

error: failed to synchronize core: 
error: failed to synchronize extra: 
error: failed to synchronize community: 
error: failed to synchronize any databases
debug: config: attempting to read file /etc/pacman.conf
debug: config: new section 'options'
debug: config: HoldPkg: pacman
debug: config: HoldPkg: glibc
debug: config: new section 'core'
debug: setlibpaths() called
debug: option 'cachedir' = /var/cache/pacman/pkg/
debug: registering sync database 'core'
debug: opening database 'core'
debug: opening database from path '/var/lib/pacman/sync/core/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server to database 'core': protocol 'ftp', server 'locke.suu.edu', path '/linux/dist/archlinux/core/os/i686'
debug: adding new server to database 'core': protocol 'ftp', server 'ftp.belnet.be', path '/mirror/archlinux.org/core/os/i686'
debug: serverlist flushed for 'core'
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'extra'
debug: registering sync database 'extra'
debug: opening database 'extra'
debug: opening database from path '/var/lib/pacman/sync/extra/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server to database 'extra': protocol 'ftp', server 'locke.suu.edu', path '/linux/dist/archlinux/extra/os/i686'
debug: adding new server to database 'extra': protocol 'ftp', server 'ftp.belnet.be', path '/mirror/archlinux.org/extra/os/i686'
debug: serverlist flushed for 'extra'
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: new section 'community'
debug: registering sync database 'community'
debug: opening database 'community'
debug: opening database from path '/var/lib/pacman/sync/community/'
debug: config: including /etc/pacman.d/mirrorlist
debug: config: attempting to read file /etc/pacman.d/mirrorlist
debug: adding new server to database 'community': protocol 'ftp', server 'locke.suu.edu', path '/linux/dist/archlinux/community/os/i686'
debug: adding new server to database 'community': protocol 'ftp', server 'ftp.belnet.be', path '/mirror/archlinux.org/community/os/i686'
debug: serverlist flushed for 'community'
debug: config: finished parsing /etc/pacman.d/mirrorlist
debug: config: finished parsing /etc/pacman.conf
debug: registering local database
debug: opening database 'local'
debug: opening database from path '/var/lib/pacman/local/'
:: Synchronizing package databases...
debug: failed to get lastupdate time for core
debug: failed to sync db:  [0]
debug: returning error 51 from alpm_db_update : unexpected error
debug: failed to get lastupdate time for extra
debug: failed to sync db:  [0]
debug: returning error 51 from alpm_db_update : unexpected error
debug: failed to get lastupdate time for community
debug: failed to sync db:  [0]
debug: returning error 51 from alpm_db_update : unexpected error
debug: closing database 'local'
debug: unregistering database 'local'
debug: closing database 'core'
debug: unregistering database 'core'
debug: closing database 'extra'
debug: unregistering database 'extra'
debug: closing database 'community'
debug: unregistering database 'community'

Looks like my databases aren't good, how do I fix this?

Offline

#6 2008-04-16 10:28:40

Allan
Developer
From: Brisbane, AU
Registered: 2007-06-09
Posts: 9,939
Website

Re: Pacman doesn't work after fresh install

I think "pacman -Syy" will fix it.

Offline

#7 2008-04-16 10:41:16

Zuliani
Member
Registered: 2008-04-16
Posts: 4

Re: Pacman doesn't work after fresh install

I thought so too, but it doesn't. Identical output, with and without --debug

Offline

#8 2008-04-22 19:21:18

sevenfourk
Member
Registered: 2008-02-21
Posts: 185

Re: Pacman doesn't work after fresh install

Allan wrote:

I think "pacman -Syy" will fix it.

Oh, thanks, it helped me smile For some reason could not even do that

# pacman -Sy pacman
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community                333.9K    1.6K/s 00:03:30 [####################] 100%
error: 'pacman': not found in sync db

I think it's because of yaourt, but surely don't know what exactly, if somebody reply will be very thankful.


No cause is lost if there is but one fool left to fight for it.

Offline

Board footer

Powered by FluxBB