CTKArch upgrade notes

Update guide for new installs

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 -Syu
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 /etc/mtab /etc/profile.d/locale.sh
pacman -Sf wicd
pacman -Rdd mach64-dri mga-dri r128-dri savage-dri sis-dri tdfx-dri unichrome-dri
pacman -Su #note: say yes to replace the packages, and especially sqlite3
sed -i 's/#CheckSpace/CheckSpace/' /etc/pacman.conf

You can then reboot to run the new kernel if you need to. (modules for the running kernel aren’t available 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

Initscripts update: file conflict

/etc/profile.d/locale.sh is now provided in the initscripts package.
That’s why you had a file conflict error when updating. (source: archlinux.org)

The fix is simple: run rm /etc/profile.d/locale.sh as root, and pacman -Syu again.

Mon, 24 Oct 2011 00:15:47 +0200

Font rendering issues

Freetype2 just hit the stable repositories. That’s why if you updated lately, the DejaVu Sans Condensed font’s rendering was changed.
Don’t panic, this can be configured back to how it was. (if you don’t like the change)

Create the file ~/.fonts.conf as your user, with the following content:

<match target="font">
 <test name="family"><string>DejaVu Sans Condensed</string></test>
 <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
</match>
Mon, 01 Aug 2011 13:33:10 +0200

Package updates & battery tray fix

To update v0.7, a straight pacman -Syu won’t be enough.
You will need to run as root:
pacman -R aufs2 ndiswrapper
pacman -Syu
pacman -Sf wicd
pacman -Su

The name of the battery tray executable has changed, so you need to run as user:
sed -i 's/BatterySystemTray/ptbatterysystemtray/g' ~/.scripts/batterymon.sh ~/.config/openbox/autostart.sh

Sat, 25 Jun 2011 19:29:57 +0200


rss feed RSS feed