You are not logged in.

#1 2010-03-13 18:11:08

SamF
Member
Registered: 2009-11-01
Posts: 4

PACMAN: Problem with updating

Hey - sorry for being vague here but from install I have not been able to update any of my programs, installing :lol:new ones are fine it's just updating that doesn't work. My guess is that there is a problem with updating the list of what is current but I don't know(despite searching) where that is or how it works. If you need anything else just ask. Thanks

sudo pacman -Syu
:: Synchronising package databases...
 core is up to date
 extra is up to date
 community is up to date
:: Starting full system upgrade...
 local database is up to date

/etc/pacman.conf

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#HoldPkg     = pacman glibc
# If upgrades are available for these packages they will be asked for first
SyncFirst   = pacman
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#XferCommand = /usr/bin/curl %u > %o
#CleanMethod = KeepInstalled

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options (all disabled by default)
#UseSyslog
#ShowSize
#UseDelta
#TotalDownload

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[core]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

[extra]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

#[community-testing]
## Add your preferred servers here, they will be used first
#Include = /etc/pacman.d/mirrorlist

[community]
# Add your preferred servers here, they will be used first
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#Server = file:///home/custompkgs

Offline

#2 2010-03-13 18:36:23

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: PACMAN: Problem with updating

Make sure your mirror is up-to-date:

https://users.archlinux.de/~gerbra/mirrorcheck.html

If you change the mirror, ensure you do:

 pacman -Syy

All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

#3 2010-03-13 19:51:34

SamF
Member
Registered: 2009-11-01
Posts: 4

Re: PACMAN: Problem with updating

loafer wrote:

Make sure your mirror is up-to-date:

https://users.archlinux.de/~gerbra/mirrorcheck.html

If you change the mirror, ensure you do:

 pacman -Syy

Thanks for the help, still struggling to spot the problem however, I have checked the link you gave and found

Overall status
Mirrors checked            89      
Network problems           11     Offline or timeout reached
Data collection problems     3     Unable to collect neccassary data for checking
OUT of sync                     2     These mirrors have not synced in 24 hours
BAD OUT of sync             8     These mirrors have not synced in 3 days
Total notfully synced           10     Mirrors not synced for one or more days

I have since tried to update again by changing /etc/pacman.d/mirrorlist from having each server commented out other than those in GB to only having the one mirror chosen - locke.suu.edu which is apparently up-to-date.

I had the same problem so tried uncommenting all the servers on mirrorlist and still having the same problem.

Apologies if I am missing something blindingly obvious here.

PS I'm loving the Joseph Holt avatar, I'm currently at uni in Manchester

Offline

#4 2010-03-13 19:58:30

SamF
Member
Registered: 2009-11-01
Posts: 4

Re: PACMAN: Problem with updating

I have just removed a line from the top of my mirror list file and it seems to have worked, currently downloading 1GB of updates, thanks for the help smile

For anyone who has the same problem I changed

# Mirror used during installation
Server = http://archlinux.mirrors.uk2.net/$repo/os/i686

#
# Arch Linux repository mirrorlist
# Generated on 2009-06-16
#

# Australia
#Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686

to

# Mirror used during installation
#Server = http://archlinux.mirrors.uk2.net/$repo/os/i686

#
# Arch Linux repository mirrorlist
# Generated on 2009-06-16
#

# Australia
#Server = ftp://mirror.aarnet.edu.au/pub/archlinux/$repo/os/i686

Offline

#5 2010-03-13 20:01:36

loafer
Member
From: the pub
Registered: 2009-04-14
Posts: 1,772

Re: PACMAN: Problem with updating

I have the lividpenguin mirror for the uk first and then the heanet one for Ireland second, I have never had a problem.

edit:  I live in London, but get back up north as often as I can

Last edited by loafer (2010-03-13 20:03:05)


All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.

Offline

Board footer

Powered by FluxBB