Release Notes 12.09.1

Changes from 12.09

The 12.09.1 LDS release has only one change from the previous version: flat package repository support, as described in http://wiki.debian.org/RepositoryFormat#Flat_Repository_Format

Upgrading from 12.09

The 12.09.1 version is automatically available to all 12.09 customers. To upgrade from 12.09, please follow these instructions:

If you have landscape-server-quickstart:

  • run these commands on the LDS machine, taking care to answer with “N” to any questions about replacing configuration files:
        sudo apt-get update
        sudo apt-get dist-upgrade

If you are using the non-quickstart mode:

  • shutdown the landscape service on all LDS machines:
        sudo lsctl stop
  • run these commands on each LDS machine, taking care to answer with “N” to any questions about replacing configuration files:
        sudo apt-get update
        sudo apt-get dist-upgrade

Upgrading from releases older than 12.09

Follow the instructions in the [[LDS/ReleaseNotes12.09#Upgrading|12.09 release notes]].

How to use flat repositories

Here are some examples showing how to use the Landscape API to setup a mirror of a flat repository. The main difference is in the mirror-suite parameter: if it ends in a forward slash ("/"), then the repository will be assumed to be flat.

Mirror of http://linux.dell.com/repo/community/deb/latest

Assuming you already have these setup:

  • Dell’s public GPG key imported ("dell-key in the example below)
  • A distribution ("ubuntu")
  • A series ("raring")
  • A secret GPG key imported to resign the mirror ("secret-key")
  • The Landscape API credentials sourced
    Then the following create-pocket command will create a pocket called “dell” which mirrors the upstream Dell repository. Here we use “./” for mirror-suite, because that’s how the upstream repository is setup.
    landscape-api create-pocket \
        --mirror-uri=http://linux.dell.com/repo/community/deb/latest \
        --mirror-suite=./ \
        --mirror-gpg-key=dell-key \
        dell raring ubuntu main i386,amd64 mirror secret-key

Now this pocket can be synchronized as usual:

    landscape-api sync-mirror-pocket dell raring ubuntu

If you create a repository profile and add this pocket to it, subscribed machines will get a sources.list line like this:

    deb http://<lds-host>/repository/standalone/ubuntu raring-dell main

Note how the “main” component was artificially created by the Landscape mirror procedure.

Mirror of http://cran.cnr.berkeley.edu/bin/linux/ubuntu/

This upstream repository is setup a little differently. Instead of using a mirror-suite of “./”, here we have to use “raring/” (or whatever ubuntu release you are using for the client). The create-pocket API command would be like this:

    landsacpe-api create-pocket \
        --mirror-uri=http://cran.cnr.berkeley.edu/bin/linux/ubuntu/ \
        --mirror-suite=raring/ \
        --mirror-gpg-key=cran-key \
        cran raring ubuntu main i386,amd64 mirror secret-key

Here “cran-key” is the name of the upstream repository GPG key as it was imported into Landscape.

Machines that subscribe to a repository profile which has the above pocket in it will get a sources.list line like this:

    deb http://<lds-host>/repository/standalone/ubuntu raring-cran main