CTKArch upgrade notes

Update guide for new installs (not up to date anymore!)

As of today, to update a new ctkarch 0.7 install you will need to run the following commands:
— after commenting the frozen mirror in mirrorlist, by the way —

pacman -R aufs2
rm /usr/bin/tzselect /usr/sbin/zdump /usr/sbin/zic
pacman -Sy
pacman -U "http://pkgbuild.com/~allan/glibc-2.16.0-1-$(uname -m).pkg.tar.xz"
pacman -Su
mv /etc/pacman.conf.pacnew /etc/pacman.conf
sed -i 's/^SyncFirst   = pacman$/SyncFirst   = pacman yaourt package-query/' /etc/pacman.conf
sed -i 's/^CheckSpace$/#CheckSpace\nILoveCandy/' /etc/pacman.conf
echo -e '[archlinuxfr]\nServer = http://repo.archlinux.fr/$arch' >> /etc/pacman.conf
rm -rf /etc/mtab /etc/profile.d/locale.sh /var/run /var/lock
pacman-key --init
pacman-key --populate archlinux #note: answer yes to sign the archlinux keys
pacman -Sf wicd filesystem
pacman -Rdd mach64-dri mga-dri r128-dri savage-dri sis-dri tdfx-dri unichrome-dri heimdal nouveau-firmware consolekit
rm /etc/fonts/conf.d/{20-unhint-small-vera.conf,20-fix-globaladvance.conf,29-replace-bitmap-fonts.conf,\
pacman -Su --ignore glibc #note: say yes to replace the packages
pacman -Su
sed -i 's/#CheckSpace/CheckSpace/' /etc/pacman.conf
mkinitcpio -p linux

You can then reboot to repopulate /run and run the new kernel if you need to. (your running kernel’s modules aren’t there anymore)

Additionally, for the update to be perfectly well completed, I recommend reading the earlier news item about font rendering, as well as the one about the battery tray icon (last two lines).

Sun, 04 Mar 2012 21:26:32 +0100

rss feed RSS feed