You are not logged in.

#1 2009-05-11 17:05:51

lars9
Member
Registered: 2009-01-15
Posts: 16

problem with "pkgfile -u"

when i run "sudo pkgfile -u", i always get the following error information. could anyone tell me why?

lars:~$ sudo pkgfile -u
Updating core file list... Could not retrieve /core.files.tar.gz
Extracting file list... Unable to extract core.files.tar.gz
Done
Updating extra file list... Could not retrieve /extra.files.tar.gz
Extracting file list... Unable to extract extra.files.tar.gz
Done
Updating community file list... Could not retrieve /community.files.tar.gz
Extracting file list... Unable to extract community.files.tar.gz
Done

Offline

#2 2009-05-11 17:15:49

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,092

Re: problem with "pkgfile -u"

switch mirror and try again.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2009-05-12 02:38:48

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: problem with "pkgfile -u"

Also if the problem isn't solved by that, try using pkgfile -uv and paste the output

Offline

#4 2009-05-14 02:07:28

lars9
Member
Registered: 2009-01-15
Posts: 16

Re: problem with "pkgfile -u"

the same:

lars:~$ sudo pkgfile -uv
Using mirror ... Updating core file list... Could not retrieve /core.files.tar.gz
Extracting file list... Unable to extract core.files.tar.gz
Done
Using mirror ... Updating extra file list... Could not retrieve /extra.files.tar.gz
Extracting file list... Unable to extract extra.files.tar.gz
Done
Using mirror ... Updating community file list... Could not retrieve /community.files.tar.gz
Extracting file list... Unable to extract community.files.tar.gz
Done

Offline

#5 2009-05-14 11:54:05

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: problem with "pkgfile -u"

Looks like your mirror list is misconfigured. Post your pacman.conf and/or mirrorlist?

Offline

#6 2009-05-14 12:05:02

lars9
Member
Registered: 2009-01-15
Posts: 16

Re: problem with "pkgfile -u"

it's pasted below. should be ok? because "yaourt -syu --aur" works well.

[core]
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/core/os/i686
Include = /etc/pacman.d/mirrorlist

[extra]
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/extra/os/i686
Include = /etc/pacman.d/mirrorlist

[community]
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/community/os/i686
Include = /etc/pacman.d/mirrorlist

[testing]
Server = ftp://mirror.cs.vt.edu/pub/ArchLinux/testing/os/i686
Include = /etc/pacman.d/mirrorlist

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

Offline

#7 2009-05-14 12:15:51

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: problem with "pkgfile -u"

What mirrors do you have uncommented in mirrorlist? pkgfile currently only parses that file, not any server set in pacman.conf

Offline

#8 2009-05-14 12:27:45

lars9
Member
Registered: 2009-01-15
Posts: 16

Re: problem with "pkgfile -u"

I didnt uncomment any line in mirrorlist. should I uncomment some? will it conflict with pacman.conf?

Offline

#9 2009-05-14 14:58:50

Spudgun
Member
Registered: 2008-09-09
Posts: 12

Re: problem with "pkgfile -u"

Uncomment any mirrors that are in your country.

Offline

#10 2009-05-14 15:06:04

Daenyth
Forum Fellow
From: Boston, MA
Registered: 2008-02-24
Posts: 1,244

Re: problem with "pkgfile -u"

pkgfile needs a mirror uncommented in mirrorlist to run. With your current pacman.conf setup, it will use your specified Server, and failing that, will use the mirrorlist.

Offline

Board footer

Powered by FluxBB