2008-06-20

HOWTO build a clean LTSP boot image that includes the latest updates

Thanks to Oliver Grawert and Michael Haas for this idea!

  1. Check your LTSP server's sources.list

    Ensure that the server has the relevant APT sources to fetch the latest updates:

    deb http://security.ubuntu.com/ubuntu hardy-security main universe restricted multiverse
    #deb-src http://security.ubuntu.com/ubuntu hardy-security main universe restricted multiverse
    
    deb http://fi.archive.ubuntu.com/ubuntu/ hardy-updates main universe restricted multiverse
    #deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy-updates main universe restricted multiverse
    
    deb http://fi.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
    #deb-src http://fi.archive.ubuntu.com/ubuntu/ hardy main universe restricted multiverse
    
    deb http://ppa.launchpad.net/q-funk/ubuntu hardy main
    #deb-src http://ppa.launchpad.net/q-funk/ubuntu hardy main

    In this example, the Finnish Ubuntu mirror for the Hardy suite is used. Change this as necessary. Notice that all source package lines are purposely commented out.

  2. Build a boot image using that sources.list

    Build the image using the following command:

    ltsp-build-client --copy-sourceslist --accept-unsigned-packages

    This builds the image using the repositories found in the server's sources.list. Accepting unsigned packages is necessary, because the PPA is not digitally signed.

The above method is a good way to check what would happen on a clean install, if any particular package were updated to a newer proposed release that is currently sitting on someone's PPA.

Enjoy!

Ei kommentteja: