You are not logged in.

#1 2010-04-05 13:06:20

bvbellomo
Member
Registered: 2010-02-15
Posts: 54

pacman -Syu not updating

I installed (and updated) my system about 1 month ago.  Running "pacman -Syu", has not updated anything since.  It does give me a few warnings about packages I have that are more recent than what is in core.

I have never had a linux machine go 1 month without any updates being available.  Are people not maintaining arch's repositories?  Is the distro so good that nothing needs patching?  Are the warnings stopping pacman from upgrading anything?  Am I just really confused?

Thanks,
Brad

Offline

#2 2010-04-05 13:36:00

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: pacman -Syu not updating

Can you copy-paste the output here please ? smile

Offline

#3 2010-04-05 13:47:11

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: pacman -Syu not updating

I'd say you are using a dead mirror.  Edit /etc/pacman.d/mirrorlist and put a different mirror at the top.  Then update using "pacman -Syyu" - the two y's force a refresh of the pacman database.

Offline

#4 2010-04-05 14:18:38

Rorschach
Member
From: Ankh-Morpork
Registered: 2008-11-07
Posts: 143

Re: pacman -Syu not updating

Here's a little script I wrote and use monthly to prevent such a thing from happening. It gives you a list with the 20 most up-to-date servers, ranked by speed:

$ cat bin/newmirrorlist 
#!/bin/bash

NUM=20

curl -s 'https://www.archlinux.de/?page=MirrorStatusReflector' > /tmp/newmirror.tmp1
cat /tmp/newmirror.tmp1 |awk '{print"Server = "$3"$repo/os/i686"}'| head -n $NUM > /tmp/newmirror.tmp2
rm /tmp/newmirror.tmp1
rankmirrors /tmp/newmirror.tmp2
rm /tmp/newmirror.tmp2

Offline

#5 2010-04-06 02:10:34

bvbellomo
Member
Registered: 2010-02-15
Posts: 54

Re: pacman -Syu not updating

Here is my output, changing mirrors doesn't seem to help.  pacman -Syyu takes longer, but doesn't update packages, just the database.

[brad@myhost ~]$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
:: Starting full system upgrade...
warning: db: local (4.8.26-1) is newer than core (4.8.24-1)
warning: libarchive: local (2.8.0-1) is newer than core (2.7.1-1)
warning: python: local (2.6.4-2) is newer than extra (2.6.4-1)
warning: sqlite3: local (3.6.22-1) is newer than core (3.6.21-1)
local database is up to date
[brad@myhost ~]$

Offline

#6 2010-04-06 02:18:08

bvbellomo
Member
Registered: 2010-02-15
Posts: 54

Re: pacman -Syu not updating

Corrections, found a working mirror.

Offline

#7 2010-04-06 02:19:04

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: pacman -Syu not updating

Please post the output of:

grep -v "#" /etc/pacman.d/mirrorlist

Offline

#8 2010-04-06 02:32:53

bvbellomo
Member
Registered: 2010-02-15
Posts: 54

Re: pacman -Syu not updating

Everything changed!  How do I know I have a good mirror?  Are they all either 'dead' or 'alive'?  Or can I get one that might have a mix of old/new stuff that I don't want?

Offline

#9 2010-04-06 02:54:33

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,942

Re: pacman -Syu not updating

bvbellomo wrote:

Everything changed!  How do I know I have a good mirror?  Are they all either 'dead' or 'alive'?  Or can I get one that might have a mix of old/new stuff that I don't want?

You go here:

http://bbs.archlinux.org/viewtopic.php?id=46938

Check for mirrors that are close to you that aren't having problems.

Offline

Board footer

Powered by FluxBB