You are not logged in.

#1 2011-10-22 14:19:53

kokaku
Member
Registered: 2009-08-11
Posts: 7

Pacman failed retrieving *.pkg.tar.xz

I recently discovered that my system was not upgrading because pacman was looking in repositories with older versions of files.

I added this to /etc/pacman.d/mirrorlist
Server = http://archlinux.org/$repo/os/x86_64

Pacman needed upgrading
So I upgraded pacman from 3.3.x to 3.5.4 and updated the database as instructed

Now I sync'd with pacman -Sy
It gave errors about not being able to find core.db and other .db files but appeared to sync the repositories anyways

Now I started seeing lots of packages that needed upgrading, including pacman
So I upgraded with pacman -Su and every file gave an error like the following line but then appeared to download
error: failed retrieving file 'man-db-2.6.0.2-2-x86_64.pkg.tar.xz' from archlinux.org : Not Found

I searched all around but haven't seen anything definitive about these kinds of errors
One suggestion I saw was that this is connected to the pacman database version change

Does anyone know why those errors are happening and how can I fix it?

This is my conf file

#
# /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 -C - %u > %o
#CleanMethod = KeepInstalled
Architecture = auto

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

#[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


[archlinuxfr]
Server = http://repo.archlinux.fr/i686

Offline

#2 2011-10-22 14:29:39

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

Re: Pacman failed retrieving *.pkg.tar.xz

If you change your mirror you need to sync with pacman -Syy or do a full upgrade with pacman -Syyu.


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

Offline

#3 2011-10-22 16:34:59

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: Pacman failed retrieving *.pkg.tar.xz

You should also use a mirror that actually exists; http://archlinux.org/$repo/os/x86_64 is not correct.

Offline

Board footer

Powered by FluxBB