CTKArch upgrade notes

Don't try to update CTKArch 0.7

I'm very sorry I didn't write clearly about that earlier. Do not try to update a CTKArch 0.7 install.

I didn't know whether it would even be possible; it appears that it is, but so difficult that I myself couldn't do it. For fun though, somebody managed to do it, so it's theoretically not impossible.

So what to do?
I've done it countless times since the migrations leading to systemd broke everything: you can just install Arch Linux following the wiki, install the packages and copy the configuration from the Overlay/home/arch folder in the sources to your user's home directory. A few adjustments are needed (commands to suspend/shutdown) but that's it.

CTKArch 0.8 will happen, though I'm not sure when due my lack of free time so far and the amount of work still required to do things properly. I've made some progress though, see the Dev section of the site.

Sat, 13 Jun 2015 17:48:43 +0200

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

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</string></test>
 <test name="style" compare="contains"><string>Condensed</string></test>
 <edit mode="assign" name="hintstyle"><const>hintnone</const></edit>
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