You are not logged in.

#1 2011-04-10 16:14:11

Ben9250
Member
From: Bath - England
Registered: 2010-06-10
Posts: 208
Website

[SOLVED] Pacman Issue community.db

I've been trying to use sudo pacman -Syu to upgrade but everytime I try I get this following message:

error: could not open file /var/lib/pacman/sync/community.db: (Empty error message)
warning: fakeroot: local (1.15.1-1) is newer than core (1.14.5-1)
warning: gnutls: local (2.12.2-1) is newer than testing (2.12.1-1)
warning: libx11: local (1.4.3-2) is newer than extra (1.4.3-1)
warning: mpfr: local (3.0.1-1) is newer than core (3.0.0.p8-1)
warning: ncurses: local (5.9-1) is newer than core (5.8-1)
warning: sudo: local (1.8.1-1) is newer than core (1.8.0-4)
warning: taglib: local (1.7-1) is newer than extra (1.6.3-1)
warning: udev: local (167-1) is newer than core (166-2)
warning: usbutils: local (002-2) is newer than core (002-1)
warning: xfsprogs: local (3.1.5-1) is newer than core (3.1.4-1)
 there is nothing to do

However when I do this as root I don't get the error, is this common, a google search didn't achieve anything that I could make sense of.
I had a go at reinstalling pacman but it's still there.

Thanks,

Ben.

Last edited by Ben9250 (2011-04-11 22:31:40)


"In England we have come to rely upon a comfortable time-lag of fifty years or a century intervening between the perception that something ought to be done and a serious attempt to do it."
  - H. G. Wells

Offline

#2 2011-04-10 16:37:06

Awebb
Member
Registered: 2010-05-06
Posts: 6,285

Re: [SOLVED] Pacman Issue community.db

I had this too this morning. It turned out that my mirrorlist suddenly pointed to the wrong mirror. I reverted it back to the mirror I usually use, Syyu'd and everything was fine.

Last edited by Awebb (2011-04-10 16:37:45)

Offline

#3 2011-04-10 19:33:03

greyscale
Member
From: Sweden
Registered: 2011-01-02
Posts: 59

Re: [SOLVED] Pacman Issue community.db

Ben9252: Did you also used mirrors.kernel.org?

Got the same error as you did and switching back to the mirror I usually use and doing as Awebb say fixes it.

Seems like the number of packages in the community repo has gone down a little bit on mirrors.kernel.org wink

mirrors.kernel.org:
community 4.0K 72.2K/s 00:00:00 [#######################################################] 100%

ftp.ds.hj.se:
community 438.2K 125.6K/s 00:00:03 [#######################################################] 100%


A tiling window manager simply manages your windows, not just letting you have em
:: Configs etc @GitHub

Offline

#4 2011-04-10 21:00:28

Ben9250
Member
From: Bath - England
Registered: 2010-06-10
Posts: 208
Website

Re: [SOLVED] Pacman Issue community.db

The line:
Server = http://mirrors.kernel.org/archlinux/$repo/os/i686
Is on my mirrorlist as the one used during installation, the other one I uncommented under Great Britain was,
Server = ftp://mirrors.uk2.net/pub/archlinux/$repo/os/$arch


"In England we have come to rely upon a comfortable time-lag of fifty years or a century intervening between the perception that something ought to be done and a serious attempt to do it."
  - H. G. Wells

Offline

#5 2011-04-11 04:31:40

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: [SOLVED] Pacman Issue community.db

I recommend you people use the awesome (TU) Xyne's Reflector, an utility that lets you search for the newest and fastest mirrors and add them to /etc/pacman.d/mirrorlist file; I made this alias to make it easy update my mirrors from time to time, of course you can try and play with cron too:

alias actualizarmirrors='sudo reflector -f 6 -l 6 -p http --save /etc/pacman.d/mirrorlist'

For a complete list of available arguments just run $ reflector --help.


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

#6 2011-04-11 13:19:36

nomorewindows
Member
Registered: 2010-04-03
Posts: 3,362

Re: [SOLVED] Pacman Issue community.db

I have been having to do pacman -Sy and then pacman -Su instead of pacman -Syu seems to fix whatever the strange bug is but it does it on all my architectures.  It also seems to hang while downloading; really weird behaviour.


I may have to CONSOLE you about your usage of ridiculously easy graphical interfaces...
Look ma, no mouse.

Offline

#7 2011-04-11 13:24:40

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: [SOLVED] Pacman Issue community.db

nomorewindows, for me it's the same. I use mirrors.kernel.org too.

# pacman -Su 
:: Starting full system upgrade...
warning: bluez: local (4.91-1) is newer than extra (4.90-1)
warning: consolekit: local (0.4.3-3) is newer than extra (0.4.3-2)
warning: devtools: local (0.9.20-1) is newer than extra (0.9.19-1)
warning: dhcpcd: local (5.2.12-1) is newer than core (5.2.11-1)
warning: gnutls: local (2.12.2-1) is newer than extra (2.10.5-1)
warning: kernel26: local (2.6.38.2-1) is newer than core (2.6.37.5-1)
warning: kernel26-headers: local (2.6.38.2-1) is newer than core (2.6.37.5-1)
warning: libgcrypt: local (1.4.6-2) is newer than core (1.4.6-1)
warning: libgpg-error: local (1.9-3) is newer than core (1.9-2)
warning: libx11: local (1.4.3-2) is newer than extra (1.4.3-1)
warning: lirc-utils: local (1:0.9.0-2) is newer than extra (1:0.9.0-1)
warning: mdadm: local (3.2.1-1) is newer than core (3.1.5-1)
warning: phonon-gstreamer: local (4.5.0-1) is newer than extra (4.4.4-1)
warning: php: local (5.3.6-2) is newer than extra (5.3.6-1)
warning: php-apache: local (5.3.6-2) is newer than extra (5.3.6-1)
warning: php-curl: local (5.3.6-2) is newer than extra (5.3.6-1)
warning: php-gd: local (5.3.6-2) is newer than extra (5.3.6-1)
warning: php-mcrypt: local (5.3.6-2) is newer than extra (5.3.6-1)
warning: rsync: local (3.0.8-1) is newer than extra (3.0.7-2)
warning: syslog-ng: local (3.2.2-2) is newer than core (3.2.2-1)
warning: taglib: local (1.7-1) is newer than extra (1.6.3-1)
warning: virtualbox: local (4.0.4-3) is newer than community (4.0.4-2)
warning: wxgtk: local (2.8.12-1) is newer than extra (2.8.11-2)
warning: xextproto: local (7.2.0-1) is newer than extra (7.1.2-1)
warning: xproto: local (7.0.21-1) is newer than extra (7.0.20-1)

Offline

#8 2011-04-11 14:08:08

greyscale
Member
From: Sweden
Registered: 2011-01-02
Posts: 59

Re: [SOLVED] Pacman Issue community.db

msx wrote:

I recommend you people use the awesome (TU) Xyne's Reflector, an utility that lets you search for the newest and fastest mirrors and add them to /etc/pacman.d/mirrorlist file; I made this alias to make it easy update my mirrors from time to time, of course you can try and play with cron too:

alias actualizarmirrors='sudo reflector -f 6 -l 6 -p http --save /etc/pacman.d/mirrorlist'

For a complete list of available arguments just run $ reflector --help.

Haven't looked at Reflector but will take a look at it, used rankmirror when I built my mirrorlist last time.

Only switched to that mirror the other day since the usual mirror was down.
It worked that evening and I probably hadn't noticed it if I hadn't read this post and ran pacman
out of curiosity..  and when it fail I thought that there is a chance that there might be a bunch of
people using that mirror.

By being lazy when I changed mirror temporarily, I took the first one in the list and I'm sure that
I ain't the only one that have been lazy wink


A tiling window manager simply manages your windows, not just letting you have em
:: Configs etc @GitHub

Offline

#9 2011-04-11 14:36:53

Ben9250
Member
From: Bath - England
Registered: 2010-06-10
Posts: 208
Website

Re: [SOLVED] Pacman Issue community.db

msx wrote:

I recommend you people use the awesome (TU) Xyne's Reflector, an utility that lets you search for the newest and fastest mirrors and add them to /etc/pacman.d/mirrorlist file; I made this alias to make it easy update my mirrors from time to time, of course you can try and play with cron too:

alias actualizarmirrors='sudo reflector -f 6 -l 6 -p http --save /etc/pacman.d/mirrorlist'

For a complete list of available arguments just run $ reflector --help.

Your alias worked like a charm, thank you! =]


"In England we have come to rely upon a comfortable time-lag of fifty years or a century intervening between the perception that something ought to be done and a serious attempt to do it."
  - H. G. Wells

Offline

#10 2011-04-20 07:04:41

msx
Member
From: solar.system/earth/ar/bue/mdp
Registered: 2010-08-08
Posts: 184
Website

Re: [SOLVED] Pacman Issue community.db

Glad to help, keep arching! =D

Last edited by msx (2011-04-20 07:04:52)


Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org

Offline

Board footer

Powered by FluxBB