You are not logged in.

#1 2009-12-22 11:49:05

awayand
Member
Registered: 2009-09-25
Posts: 398

x86_64 missing in download path when using pacman [SOLVED]

Hi,
I am trying to upgrade archlinux 0.8, I assume this is a problem with an old pacman version.

Here is my mirror:

http://archlinux.limun.org/core/os/x86_64/

when I issue a pacman -S pacman, the files to be downloaded are missing the x86_64 in the download path. So on the mirror the file is:

http://archlinux.limun.org/core/os/x86_ … pkg.tar.gz

But pacman is trying to download:

failed downloading /core/os/x86_64/libarchive-2.7.1-1.pkg.tar.gz from archlinux.limun.org: HTTP/1.1 404 Not Found


Any help?

EDIT: I got the issue resolved using schlunix.org to upgrade to an early pacman 3 version first manually.

Last edited by awayand (2009-12-22 17:49:16)

Offline

#2 2009-12-22 11:55:18

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: x86_64 missing in download path when using pacman [SOLVED]

post your /etc/pacman.d/mirrorlist


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#3 2009-12-22 11:59:04

awayand
Member
Registered: 2009-09-25
Posts: 398

Re: x86_64 missing in download path when using pacman [SOLVED]

Offline

#4 2009-12-22 12:00:48

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: x86_64 missing in download path when using pacman [SOLVED]

Hmm... mine look like this:

Server = http://mirror.umoss.org/archlinux/$repo/os/x86_64
Server = http://mirrors.xmission.com/archlinux/$repo/os/x86_64
Server = http://schlunix.org/archlinux/$repo/os/x86_64
Server = http://mirrors.easynews.com/linux/archlinux/$repo/os/x86_64

CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#5 2009-12-22 12:03:59

awayand
Member
Registered: 2009-09-25
Posts: 398

Re: x86_64 missing in download path when using pacman [SOLVED]

I tried yours, but it didn't work.

failed downloading /archlinux/$repo/os/x86_64/core.db.tar.gz from mirror.umoss.org: HTTP/1.1 404 Not Found

I am really sure this is due to an old pacman version. I need to find a way to configure it properly or upgrade it.

Offline

#6 2009-12-22 12:08:40

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: x86_64 missing in download path when using pacman [SOLVED]

Well, did you do a sync before trying ie "pacman -Syy" then a "pacman -Syu"??

If so and you wanna manually get it, just download it and install it via the -U switch, ie

# pacman -U http://archlinux.umflint.edu/core/os/x86_64/pacman-3.3.3-1-x86_64.pkg.tar.gz

Here is the latest mirrorlist btw:

http://archlinux.umflint.edu/core/os/x8 … pkg.tar.gz

Last edited by graysky (2009-12-22 12:10:07)


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#7 2009-12-22 12:12:47

awayand
Member
Registered: 2009-09-25
Posts: 398

Re: x86_64 missing in download path when using pacman [SOLVED]

Not my lucky day:

[root@arch ~]# pacman -U http://ftp.free.fr/mirrors/ftp.archlinux.org/core/os/x86_64/pacman-3.3.3-1-x86_64.pkg.tar.gz
 pacman-3.3.3-1-x86_64    [#########################################################] 100%     643K    2134K/s  00:00:00
loading package data... pacman: syntax error in description file line 18
pacman: syntax error in description file line 19
pacman: syntax error in description file line 22
pacman: syntax error in description file line 23
pacman: syntax error in description file line 24
pacman: syntax error in description file line 25
pacman: syntax error in description file line 26
done.
error: unsatisfied dependencies:
  pacman: requires libarchive>=2.7.1
  pacman: requires libfetch>=2.25
  pacman: requires pacman-mirrorlist

[root@arch ~]# pacman -U http://ftp.free.fr/mirrors/ftp.archlinux.org/core/os/x86_64/libarchive-2.7.1-1-x86_64.pkg.tar.gz
 libarchive-2.7.1-1-x86_6 [#########################################################] 100%     508K    2732K/s  00:00:00
loading package data... libarchive: syntax error in description file line 19
libarchive: syntax error in description file line 20
libarchive: syntax error in description file line 21
libarchive: syntax error in description file line 22
libarchive: syntax error in description file line 23
libarchive: syntax error in description file line 24
done.
checking for file conflicts... done.
installing libarchive... done.

Offline

#8 2009-12-22 12:22:43

graysky
Wiki Maintainer
From: :wq
Registered: 2008-12-01
Posts: 10,595
Website

Re: x86_64 missing in download path when using pacman [SOLVED]

I'm not sure what's going on with your system... maybe someone with more knowledge will reply.


CPU-optimized Linux-ck packages @ Repo-ck  • AUR packagesZsh and other configs

Offline

#9 2009-12-22 13:15:10

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: x86_64 missing in download path when using pacman [SOLVED]

Could you post the contents of /var/lib/pacman/sync/core/pacman-3.3.3-1/desc and /var/lib/pacman/local/pacman-3.3.3-1/desc?  Also, can you confirm the md5sum in the former file matches that of the downloaded archive?

Last edited by chpln (2009-12-22 13:18:56)

Offline

#10 2009-12-22 13:29:45

awayand
Member
Registered: 2009-09-25
Posts: 398

Re: x86_64 missing in download path when using pacman [SOLVED]

[root@arch ~]# cat /var/lib/pacman/core/pacman-3.3.3-1/desc
%FILENAME%
pacman-3.3.3-1-x86_64.pkg.tar.gz

%NAME%
pacman

%VERSION%
3.3.3-1

%DESC%
A library-based package manager with dependency support

%GROUPS%
base

%CSIZE%
658749

%ISIZE%
2297856

%MD5SUM%
78a8cff7757aaa18a38604ef5d38a9d1

%URL%
http://www.archlinux.org/pacman/

%LICENSE%
GPL

%ARCH%
x86_64

%BUILDDATE%
1257897510

%PACKAGER%
Dan McGee <dan@archlinux.org>

Note I my local pacman desc file has a different version number:

[root@arch ~]# cat /var/lib/pacman/local/pacman-2.9.8-4/desc
%NAME%
pacman

%VERSION%
2.9.8-4

%DESC%
A .tar.gz based package manager with dependency support

%GROUPS%

%URL%
http://www.archlinux.org/pacman

%LICENSE%

%ARCH%
x86_64

%BUILDDATE%
Sun Dec 31 11:49:49 2006

%INSTALLDATE%
Wed Feb 28 21:19:58 2007


%PACKAGER%
AndyRTR <andyrtr@archlinux.org>

%SIZE%
1151615

%REASON%
0

md5sum

[root@arch ~]# md5sum /var/lib/pacman/core/pacman-3.3.3-1/desc
ac8a142ccd57c83c119e3e76597b8d96  /var/lib/pacman/core/pacman-3.3.3-1/desc

Thanks!

Offline

#11 2009-12-22 14:09:43

chpln
Member
From: Australia
Registered: 2009-09-17
Posts: 361

Re: x86_64 missing in download path when using pacman [SOLVED]

I should have been more clear about md5sum, though it does not matter.  The contents of the files posted seem as-expected to me.  I'm also thinking it may be a problem with pacman itself, though I'm not aware of any package syntax changes over that time.

Grab pacman-3.3.3-1-x86_64.pkg.tar.gz (wget or from package cache), extract it to a temporary directory, and make sure everything seems OK.  If so, I'd consider extracting the latest version of pacman (plus its dependency tree) to /.  This will effectively upgrade pacman manually.  If you decide to take this route, by sure to promptly reinstall these packages via pacman when (if?) it is up-and-running.

Admittedly, I consider this to be a 'last-resort'.  Hopefully someone is aware of a nicer solution.

EDIT: I've underestimated the age of that version of pacman.  Someone more familiar with it may be able to give more information, though I'd be surprised if extracting the packages manually was not the best solution here.

Last edited by chpln (2009-12-22 14:17:17)

Offline

#12 2009-12-22 14:13:21

jwbirdsong
Member
From: Western KS USA
Registered: 2006-11-25
Posts: 173

Re: x86_64 missing in download path when using pacman [SOLVED]

You should  post both /etc/pacman.conf and /etc/pacman.d/mirrorlist in there entirety.


PLEASE read and try to FIX/FILE BUGS instead of assuming other have/will.

Offline

#13 2009-12-22 14:13:52

awayand
Member
Registered: 2009-09-25
Posts: 398

Re: x86_64 missing in download path when using pacman [SOLVED]

I got the issue resolved using schlunix.org to upgrade to an early pacman 3 version first manually.

Offline

Board footer

Powered by FluxBB