Ubuntu Quickie: Enable Dapper Repositories

May 13, 2006 · 16 comments

While messing around on my linux box running Ubuntu 5.10 Breezy Badger, I had the idea to add some repositories to allow the computer access to various packages and upgrades from the Dapper Drake beta. Repositories, in this case, are online reserves of thousands of linux applications, files and packages. Just about anything your linux computer needs to upgrade or stay secure can be found on repositories. If you are not checking enough repositories, especially frequently updated ones, your computer could be using older, possibly unstable versions of software.

By adding Dapper Drake repositories, we will be given access to newer software for the next version of Ubuntu (6.0+). Dapper Drake is currently a beta but in my testing with it, it’s rock solid and the benefits of upgrading more than outweigh the drawbacks. Note: Before proceeding make sure you are running the latest software for Breezy Badger by excuting the following lines in the terminal: sudo apt-get update and sudo apt-get dist-upgrade.

First off, backup your repository sources list by copying it to a different name. If anything goes wrong, you can revert to it by copying the old file to sources.list.

sudo cp /etc/apt/sources.list /etc/apt/sources.bak

Edit the original repository sources file with the nano text editor and add the lines below. The w flag for nano enables linewrap, making it much easier to work with the terminal-based editor. Alternatively you can substitute nano -w with gedit if you are more comfortable working with a GUI-enabled text editor.

sudo nano -w /etc/apt/sources.list

The following lines go into the sources.list file which you have begun to edit from the line above. Save sources.list when you’re done. Essentially what we’re doing is taking the current sources.list and changing every occurrence of badger with dapper. Watch out for line wraps, there are only 15 lines below.

deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu dapper universe
deb-src http://us.archive.ubuntu.com/ubuntu dapper universe
deb http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
deb http://security.ubuntu.com/ubuntu dapper-security universe
deb-src http://security.ubuntu.com/ubuntu dapper-security universe
deb http://archive.ubuntu.com/ubuntu dapper multiverse
deb-src http://archive.ubuntu.com/ubuntu dapper multiverse
deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

Now that you have added all of the Dapper Drake repositories, it is time to use them. Execute the lines below in the terminal to start downloading and installing major software updates. This can take about an hour and it is a good idea to back up those vital documents before continuing. Although, having done this on two separate computers, I have not noticed any problems. The best part is the update to Gnome that adds a very nice theme.

sudo apt-get update
sudo apt-get dist-upgrade

If you have any problems with repositories, the repositories section of Ubuntuforums.org is a great resource.

{ 2 trackbacks }

Linux Newbie - A Linux World Net Blog » Blog Archive » Upgrading Ubuntu Breezy to Ubuntu Dapper
June 1, 2006 at 4:48 pm
CliftonSnyder.net » Dapper Multimedia
June 13, 2006 at 4:53 pm

{ 14 comments… read them below or add one }

1 Mik May 14, 2006 at 10:43 am

All talk about Ubuntu and his fabulous update system “apt” Have you ever try Gentoo with portage???
What the differences???
I’ll try that :-)

Reply   More from author

2 Paul Stamatiou May 14, 2006 at 2:15 pm

Yes, I have used Gentoo for over a year. The emerge system is really nice. I actually prefer it over apt-get but even getting Gentoo to install requires some skill. I like how emerge compiles on the spot so all of your apps are optimized, however that takes a long time. Updating the latest firefox takes like 15 minutes.

Reply   More from author

3 Sean Hill May 15, 2006 at 4:54 pm

This is gold. Dapper really ought to have these sources in the sources.list file but commented out by default, as many things (such as liblame) simply are not installed and are hard to find if you don’t know just where to look.

Reply

4 Ryan May 16, 2006 at 4:05 pm

Are these for updating fully to dapper from breezy? Will this be pretty much the same as just installing from the cd?

Reply

5 Paul Stamatiou May 16, 2006 at 6:40 pm

Yeah pretty much. However, I did this because I already have a computer loaded with Breezy Badger.

Reply   More from author

6 Ryan May 16, 2006 at 8:10 pm

I was just checking because I was considering formatting and just starting fresh because i had just installed breezy only a day or two ago, so i haven’t really set anything up yet. I just did your method and I do like the result so far.

Reply

7 Frank May 24, 2006 at 1:12 am

I tried this and now Konqueror is not working for directory contents examination. I have also lost Open Office and Ark and who know’s what else. Any suggestions?

Reply

8 Paul Stamatiou May 24, 2006 at 1:17 am

Frank, you’re in Ubuntu and not Kubuntu right? Update all of your packages as Dapper Drake is a major update so things might not work in their older form. As a last ditch effort check out ubuntuforums.org.

Reply   More from author

9 Frank May 24, 2006 at 7:48 am

Correction, Kubuntu, not Ubuntu. I’m rather ne to this and current receive a distinct feeling that makes a difference, yes?

Reply

10 Frank May 24, 2006 at 7:48 am

Correction, Kubuntu, not Ubuntu. I’m rather new to this and current receive a distinct feeling that makes a difference, yes?

Reply

11 Paul Stamatiou May 24, 2006 at 2:30 pm

Eek, yeah there is a difference between the two. Kubuntu uses the KDE window manager and now that you have added Ubuntu repositories and updated, it just installed a bunch of Gnome stuff. Perhaps, try to find out if there are some equivalent Kubuntu repositories you can update instead, on those forums.

Reply   More from author

12 Josh June 1, 2006 at 12:16 pm

I use Kubuntu and from what I notice it uses the same repositories from a base install.

Reply

13 krsnendu June 2, 2006 at 3:34 pm

I did update with update manager.
Then changed to dapper repositories.
It doesn’t prompt me to upgrade to dapper.
What’s wrong?

Reply

14 Paul Ricketts June 25, 2006 at 9:17 am

Leave a Comment

You can use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Previous post: Boot Camp Bug?

Next post: Shuttle for WordPress Launched