You are not logged in.

#1 2008-05-24 01:45:26

19bab79
Member
Registered: 2008-04-17
Posts: 14

pacman won't sync

i have just installed arch and when i run pacman -Syy, it syncs with extra and community but fails to sync with current. i am using ftp://ftp.archlinux.org/current/os/i686, is this server still working?

Last edited by 19bab79 (2008-05-24 01:45:58)

Offline

#2 2008-05-24 01:56:04

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

Re: pacman won't sync

It looks like you used an older version of the Arch Linux installer.

pacman -U http://ftp.archlinux.org/core/os/i686/{pacman-3.1.4-1,libdownload-1.3-1,libarchive-2.4.17-1}-i686.pkg.tar.gz

That should fix it for you.  Change the i686 to x86_64 if appropriate.

Offline

#3 2008-05-24 02:04:53

19bab79
Member
Registered: 2008-04-17
Posts: 14

Re: pacman won't sync

i did this and it said the following:
loading package data... could not open package: No such file or directory

Offline

#4 2008-05-24 02:26:05

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

Re: pacman won't sync

Hmmm....  try this:

mkdir tmp
cd tmp
wget http://ftp.archlinux.org/core/os/i686/pacman-3.1.4-1-i686.pkg.tar.gz
tar -xzf pacman-3.1.4-1-i686.pkg.tar.gz
./usr/bin/pacman.static -U http://ftp.archlinux.org/core/os/i686/{pacman-3.1.4-1,libdownload-1.3-1,libarchive-2.4.17-1}-i686.pkg.tar.gz

That creates a temporary directory, downloads that latest version of pacman to it, and runs the statically linked pacman version to try updating pacman.

I think this should work...  if not post the error message and I will try again!

Offline

#5 2008-05-24 05:45:27

19bab79
Member
Registered: 2008-04-17
Posts: 14

Re: pacman won't sync

i followed your steps and got the following: fatal: kernel too old

i then did a pacman  -Sy kernel26 to try to upgrade the kernel but it tells me the following:
synchronizing package databases...
connect; connection timed out

failed downloading current.db.tar.gz from ftp.ibiblio.org: 227 Entering passive mode (152,46,7,80,196,0).

failed to synchronize current

then it connects to extra and community. it does it using the repo site you listed above and all of the ones listed for north america in my /etc/pacman.d/current list.

Offline

#6 2008-05-24 06:12:22

droog
Member
Registered: 2004-11-18
Posts: 877

Re: pacman won't sync

I just did an install of an old disc and had this problem too. should have kept notes on how i fixed it.
If you have the new pacman installed first thing is to check and see if you have a /etc/pacman.conf.pacnew if you do rename it to pacman.conf


future help for you.
after I got this fixed and installed the new kernel i got kernel panic and had to rename  hda to sda in /boot/grub/menu.lst and /etc/fstab

edit
if your not too far into it i would recommend downloading the new base installer and avoiding all these problems.

Last edited by droog (2008-05-24 06:14:27)

Offline

#7 2008-05-24 06:35:40

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

Re: pacman won't sync

I haven't seen the kernel too old message before.  As droog suggested, it may be easier just to use the latest installer release candidate. See here: http://bbs.archlinux.org/viewtopic.php?id=47133

Offline

#8 2008-05-24 19:11:49

19bab79
Member
Registered: 2008-04-17
Posts: 14

Re: pacman won't sync

fixed my syncing problem. was looking at what repo site extra and community were using, which was the mirror at easynews. switched to that and it now syncs. having some unresolved dependencies upgrading pacman now. going to tinker with that myself. shouldn't be too hard. i'll post if something major happens. thanks for the info guys.:D

Offline

#9 2008-05-24 20:06:41

19bab79
Member
Registered: 2008-04-17
Posts: 14

Re: pacman won't sync

well, didn't take long and i am back. i go to upgrade pacman first thing because i read that the core repo site are not compatible with pacman2 and current no longer works. pacman syncs just fine with my repos, but when i hit y to go ahead with the upgrade i get a failed downloading /linux/archlinux/core/os/i686/<package name> from mirrors.easynews.com: HTTP/1.1 404 Not Found. i have also tried current instead of core with no luck. i have tried other sites other than easynews but when i do pacman -Syy it won't sync with any other site but easynews.

Offline

#10 2008-05-24 20:24:51

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: pacman won't sync

I think reinstalling with newer iso would save you a lot of time. If you want to upgrade kernel manually, you could download it from ftp.archlinux.org (the same thing as Allan suggested for pacman), and install it - but remember that it's not enough to update kernel26 package, you probably need to update also coreutils, mkinitcpio, klibc* packages, initscripts and glibc. You might not, but it can happen that you update some of them, and you get stuck somewhere in initramfs or during the init on something (it has happened to someone), and then it just gets worse.

Offline

#11 2008-05-24 20:27:40

19bab79
Member
Registered: 2008-04-17
Posts: 14

Re: pacman won't sync

i tried to upgrade the kernel but i get the same error as in post #9.

Offline

#12 2008-05-24 20:32:45

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: pacman won't sync

What I meant by manually is to get the package with
wget http://ftp.archlinux.org/core/os/i686/h … pkg.tar.gz
and then
pacman -U kernel26-2.6.25.4-1-i686.pkg.tar.gz
but I'm telling you, it would be a great timesaver to reinstall with a new iso. It is *not* going to be enough to do this with the kernel26 package. You'd need to do it probably with the packages I mentioned above, plus pacman, libarchive, libdownload.

EDIT: you might want to go with http://ftp.archlinux.org/core/os/i686/k … pkg.tar.gz instead of .25.

Last edited by bender02 (2008-05-24 20:36:04)

Offline

#13 2008-05-24 21:25:21

19bab79
Member
Registered: 2008-04-17
Posts: 14

Re: pacman won't sync

i was installing it on some old gateways and the diskdrives don't work on either one so i can't do a fresh install on either one. i have decided to install it on a spare laptop now. so, off with a fresh try.:)


[edit] downloaded a fresh iso (the one that i was using was named noodle) and am installing on an old gateway laptop now. it is going smooth so far. installing x right now. hopefully all goes well. thanks all for the help.:D

Last edited by 19bab79 (2008-05-24 22:51:56)

Offline

Board footer

Powered by FluxBB