You are not logged in.

#1 2007-11-09 18:42:52

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Update from Arch 08? [works!]

I have one arch system which is quite autdated. It is still ~08 Voodoo. This happened because it was 100% offline.
Today I connected it to internet. Then I tried to update it few moments ago and had an error:

Upgrade pacman first? yea
pacman: requires fakeroot but it is not in the sync db
And same for libarchive>=2.2.3 and libdownload.

I know simple solution just download new cd and reinstall, but maybe there is faster solution?

Last edited by ProzacR (2007-11-09 19:17:01)

Offline

#2 2007-11-09 18:58:26

Cogar
Member
Registered: 2007-07-22
Posts: 43

Re: Update from Arch 08? [works!]

In theory, even the oldest installation should be able to update completely via pacman. Probably the biggest issue is that the "current" repository was replaced by the "core" one. To update this, you need to update three packages: pacman, libarchive, and libdownload—and do it without the help of pacman, but using wget or a similar ftp program. This is done by entering (as either a user or as root) the following commands to manually download the files you need to convert:

wget ftp://your_mirror_location/pub/ArchLinux/core/os/i686/pacman-3.0.6-1-i686.pkg.tar.gz
wget ftp://your_mirror_location/pub/ArchLinux/core/os/i686/libarchive-2.2.6-2-i686.pkg.tar.gz
wget ftp://your_mirror_location/pub/ArchLinux/core/os/i686/libdownload-1.1-3-i686.pkg.tar.gz

Notice that the opening portion is the Pacman-Mirror (ftp//your_mirror_location) selected during the initial installation. Looking in /etc/pacman.d/current will give you an idea regarding the ftp address. The difference will be substituting the word "core" for "current" in the address. Now that you have the files, run the following command as root to install them:

pacman -U pacman-3.0.6-1-i686.pkg.tar.gz libarchive-2.2.6-2-i686.pkg.tar.gz libdownload-1.1-3-i686.pkg.tar.gz

You will then be told that you need to upgrade /etc/pacman.conf. You do this by opening that file and changing the two references to "current" to "core." From that point on, the standard pacman -Syu (or pacman -Sy followed by pacman -Su) should do the trick.

Offline

#3 2007-11-09 19:16:13

ProzacR
Member
Registered: 2007-04-29
Posts: 272

Re: Update from Arch 08? [works!]

There was some errors in your post but I understood the main idea and it works now.
ty wink

Offline

#4 2007-11-10 02:04:14

Cogar
Member
Registered: 2007-07-22
Posts: 43

Re: Update from Arch 08? [works!]

You are welcome. Incidentally, if there were errors, please post the corrections. Someone else may need to know. smile

Offline

#5 2007-11-12 20:47:51

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Update from Arch 08? [works!]

This was in the news way back when it happened

http://archlinux.org/news/320/

Offline

Board footer

Powered by FluxBB