Upgrading to 2008.1 Without A CD

From ArkWiki

Jump to: navigation, search

You might be using 2005.2 or 2006.1. Or, you might be using 2007.1-rc1 or it's pre-release from dockyard-devel. You might even be using plain old 2007.1 final. To switch from any of the above to dockyard (where the most recent 'stable' version of Ark resides), run kwrite /etc/apt/apt.conf from a root terminal (Kmenu>System>Command Line Interpreter-Super User Mode). Look for a line saying

Default-Release "dockyard-devel";

If it does say "dockyard-devel" and not "dockyard", replace it with

Default-Release "dockyard";

making sure to keep the quotes ("") and the semicolon (;). After doing that, run

apt-get update && apt-get dist-upgrade

from a command line to upgrade all available packages. (Note that this can take a very long time -- it may need to grab hundreds of megabytes worth of program packages that may have changed since the release of Ark you're using.) If you receive any qt4 conflicts, go to Kmenu>System>Kynaptic, press CTRL+F, key in qt4, and remove all packages related to qt4. If it asks you to replace any packages, allow it to do so, then go back to the Command Line and rerun the above dist-upgrade command.

If you are upgrading from 2006.1 or earlier, there may be a few problems that occur. Known problems (and solutions) are below:

  • kwin (the application that draws the title bar etc. around all windows) is missing.
    This is because kwin has moved to its own package, simply run apt-get install kwin to get it back.
  • su (A command line tool that lets you switch user IDs) is missing.
    This is because su has moved from the coreutils package to the shadow package, and for reasons unknown at the time of writing, apt-get upgrades the coreutils package, but keeps the shadow package back. Run apt-get install shadow to correct this problem.
  • Depending on what version you're upgrading from, the upgrade process may not have updated the kernel package (this is due to a problem in older releases that has since been fixed). If this happened to you, install the new kernel manually using either apt-get install kernel or (in a more automated way) apt-get -y script /usr/lib/apt/scripts/kernel-upgrade.lua

After this, you should have a working dockyard system.

Several packages will not upgrade if using 2007.1 or earlier:

  • xkbdata does not upgrade to xkeyboard-config without some convincing. In the Command Line Interpreter-Super User Mode, run rpm -e --nodeps xkbdata && apt-get install xkeyboard-config
  • qtopia-core-gui will have trouble upgrading due to a corrupt build on the build server. It is currently being rebuilt and should be ready within the next few days.
  • OpenOffice will not upgrade; in fact, it uninstalls. Running apt-get -t dockyard-devel install openoffice from the command line before upgrading should fix this. If not, Koffice is available as either a temporary or permanent substitute (who knows, you might like it more and stick with it) and can be installed by running apt-get install koffice from the command line.
  • libdvdnav will not upgrade to libdvdread; it will remain the same version as was previously installed. A fix for this is currently being investigated.

Some wireless cards may not work with the kernel that 2008.1 is using, so you may continue to use the old kernel if you so choose. The old kernel version from 2007.1 is 2.6.22.3, and to ensure that it is the default kernel, edit the file /boot/grub/grub.conf from a Command Line Interpreter-Super User Mode and ensure this is the first kernel. Alternatively, if you use a Broadcom chipset, you can follow the instructions at http://linuxwireless.org/en/users/Drivers/b43 to make sure your Broadcom chipset works with the new kernel.

Note: There is a separate wiki page on Upgrading To dockyard-devel - although it is basically the same as this wiki page, it mentions a few additional problems that may occur when upgrading to dockyard-devel from a version prior to 2008.1.

Personal tools