EnableProposed

Revision 27 as of 2009-05-02 00:29:17

Clear message

To enable the proposed archive for jaunty add the following line to /etc/apt/sources.list:

deb http://archive.ubuntu.com/ubuntu/ jaunty-proposed restricted main multiverse universe

or go to System -> Administration -> Software sources and tick the jaunty-proposed box under the updates tab.

Replace "jaunty" with "intrepid" or "hardy" depending on which release you are on.

  • https://wiki.ubuntu.com/Testing/EnableProposed?action=AttachFile&do=get&target=Software_Sources.png

    Click to zoom

Selective upgrading from -proposed

Create the file /etc/apt/preferences with this content:

Package: *
Pin: release a=jaunty-security
Pin-Priority: 990

Package: *
Pin: release a=jaunty-updates
Pin-Priority: 900

Package: *
Pin: release a=jaunty-proposed
Pin-Priority: 400

You can then start aptitude to select the -proposed packages you want to upgrade with

sudo aptitude -t jaunty-proposed

This means you won't be prompted to upgrade all the -proposed packages, only ones you want to upgrade.

If you use another release of Ubuntu, replace jaunty by your release name everywhere.

Enable Apport

When running proposed it is recommend that you re-enable Apport bug filing to capture and report crashes. In the event that you end up reporting a crash about a proposed package please tag the bug as proposed-pkg so we can distinguish it from other crash reports.

You can enable Apport on a stable system with:

gconftool -s /apps/update-notifier/show_apport_crashes --type bool true

... or if you use Kubuntu edit /usr/share/kubuntu-default-settings/kde-profile/default/share/config/adept_notifierrc and set Addept=true:

[General]
Adept=true

Hardy, Intrepid, and Jaunty also need Apport to be enabled in /etc/default/apport, edit this file and change enabled to 1.

sudo nano /etc/default/apport

Once Apport is enabled you need to start the process do that with the following command.

sudo /etc/init.d/apport start

To test that Apport is now running, enter the following command to cause a simple crash and generate a crash file in /var/crash:

sh -c 'kill -SEGV $$'

This should notify about the crash and offer you to submit it to Launchpad. Click on 'Report' and verify that the details look complete (package name and version, has a (broken) stack trace, etc.). Please do not actually send it to Launchpad, though, since it is not a genuine bug.

  • https://wiki.ubuntu.com/Testing/EnableProposed?action=AttachFile&do=get&target=Apport_Crash.png

    Click to zoom

Installation testing using -proposed

Sometimes you may be asked to test a netboot installer image from jaunty-proposed. The images may be found here (replace "i386" with your architecture as necessary):

http://archive.ubuntu.com/ubuntu/dists/jaunty-proposed/main/installer-i386/

In order to install successfully from these images, you will normally need to tell the installer to fetch its own components from -proposed as well, which is not the default. To do this, add the following boot parameter:

apt-setup/proposed=true

You must make sure that the mirror you are installing from contains packages from -proposed. All official mirrors will do so; if you operate your own mirror or use a site-local mirror, it may need to be modified to pull from -proposed. Make sure that you do not simply use a loopback mount of a CD or DVD image as an installation source; this is one of the cases where such mirrors will not work, since they do not contain the updated kernel packages required by the new installer.

Uploading your hardware profile

To help us track the hardware test coverage, please upload your hardware profile for the system you will run proposed on using the hardware testing tool, found in the System -> Administration menu or with the command hwtest-gtk.

You can see your submitted information at https://launchpad.net/people/+me/+hwdb-submissions

Register your participation

We have set up an improvised way of tracking -proposed archive coverage using the bug tracker in Launchpad (but we are designing a more automated solution). To register your participation please select the appropriate bug for your architecture here and add a comment using the template in the description. Thanks!

Verifying SRU bugs

For extra points please help us verify the fixes to the proposed updates as listed here.