News | About | Get Frugalware | Packages | Documentation | Discussion Forums | Bug Tracker | Wiki | Community | Development

Upgrade-0.3-0.4

From FrugalWiki

Jump to: navigation, search

Contents

Preamble

The aim of this howto is to show how I've upgraded a Frugalware-0.3 system to Frugalware-0.4.

Upgrading pacman itself

Since in 0.4 pacman depends on libarchive, instead of the usual pacman -Syu first you have to type

pacman -Sy libarchive pacman

Removing unsupported packages

There are a couple of packages which are no longer supported. The best is to get rid of them:

pacman -Rd shfs

If you want to keep this functionality, please run

pacman -S sshfs-fuse

after the upgrade.

NOTE: for the default installation, shfs is the only critical package. For custom installations, it's possible that you will have to remove other packages, too.

Upgrading the system

Now type the usual

pacman -Suf

to upgrade the system. If you have a default installation, you'll be asked for a couple of replacements and conflicts:

# pacman -Suf
:: Starting local database upgrade...
:: Replace glut with frugalware-current/freeglut? [Y/n]
:: Replace gtk+2-engines-clearlooks with frugalware-current/gtk+2-engines? [Y/n]
:: Replace nfsidmap with frugalware-current/libnfsidmap? [Y/n]
:: Replace trm with frugalware-current/libtunepimp? [Y/n]
:: Replace nail with frugalware-current/mailx? [Y/n]
:: Replace pcmcia-cs with frugalware-current/pcmciautils? [Y/n]
:: Replace hotplug with frugalware-current/udev? [Y/n]
:: Replace xorg with extra-current/xorg-compat? [Y/n]
:: xespgs conflicts with espgs. Remove espgs? [Y/n]

Just hit Enter to accept them. At the end of the "conversation", a nice big number will be displayed. If you had a default installation, the total package size will be about ~1 GB.

Also you may notice that I use -f here. Since 0.4 is a stable release, there won't be conflicting files, but checking for conflicting files takes a hell of time, so the best is to just skip it.

The upgrade itself (without the download time) took here an hour, so when pacman starts to download packages go make some tea :-)

Rebooting

Since the kernel is newer in 0.4 than in 0.3, you have to reboot your machine now.

Interface names

The hotplug shell scripts are obsoleted by udev, but udev uses the kernel to detect hardware. This is faster and produces a better result, but it's possible that the interface order will be messed up. So after reboot check if they're still right, for example my eth0 became eth1 and eth1 is now eth0.

pcmcia

There is a bug in the pcmcia package in Frugalware-0.3 which causes broken symlinks under /etc. To fix them, run:

find /etc -name '*rc.pcmcia' -exec rm -v {} \;

xorg 7.0

Since 0.3, in 0.4 we switched to Xorg 7.0. If you have problems with it, before filing bugreports, please see the Xorg 7.0 migration howto.

NOTE: if you just did a default installation, none of the workarounds mentioned in the migration howto are necessary, but please read the howto if you experience problems.

upgrade script

An upgrade script with most of the steps mentioned here is also available.

Beware: use at your own risk.

Personal tools
Namespaces
Variants
Actions