WarpConduit Computing

  • Quick Tips
  • Web Development
  • WordPress Plugins
  • Home
  • Passphrase Generator
  • Password Generator
  • About
  • Contact

APT Repository for Old Ubuntu Releases

July 31, 2011 by Josh Hartman

Recently I installed Ubuntu Server 6.06 (Dapper) on an old Sun Blade 100 which has a SPARC processor. The installation on a Sun Blade 100 has its own quirks, but after getting it up and running I of course wanted to make sure it had the latest software versions and security updates that it could support.

Problem

After support for an old Ubuntu releases has been dropped the folks at Canonical remove the repositories from their main repository servers such as archive.ubuntu.com and security.ubuntu.com. So, when you run sudo apt-get update you are met with a list of errors telling you that the your configured repositories were not found.

Solution

To get back on the repository train, edit your /etc/apt/sources.list and replace all instances of archive.ubuntu.com and security.ubuntu.com with the very fitting old-releases.ubuntu.com. After that, run sudo apt-get update and watch the repository indexes roll in!

Here is an example of an updated /etc/apt/sources.list for Ubuntu 6.06 (Dapper):


## Uncomment the following two lines to fetch updated software from the network
deb http://old-releases.ubuntu.com/ubuntu dapper main restricted
deb-src http://old-releases.ubuntu.com/ubuntu dapper main restricted

## Uncomment the following two lines to fetch major bug fix updates produced
## after the final release of the distribution.
deb http://old-releases.ubuntu.com/ubuntu dapper-updates main restricted
deb-src http://old-releases.ubuntu.com/ubuntu dapper-updates main restricted

## Uncomment the following two lines to add software from the 'universe'
## repository.
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team, and may not be under a free licence. Please satisfy yourself as to
## your rights to use the software. Also, please note that software in
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
deb http://old-releases.ubuntu.com/ubuntu dapper universe
deb-src http://old-releases.ubuntu.com/ubuntu dapper universe

deb http://old-releases.ubuntu.com/ubuntu dapper-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu dapper-security main restricted

deb http://old-releases.ubuntu.com/ubuntu dapper-security universe
deb-src http://old-releases.ubuntu.com/ubuntu dapper-security universe

deb http://old-releases.ubuntu.com/ubuntu dapper multiverse
deb-src http://old-releases.ubuntu.com/ubuntu dapper multiverse

deb http://old-releases.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

That’s it for today, I hope this has helped you get the software you need onto an old Ubuntu installation.

Filed Under: Computers Tagged With: apt, old, repository, ubuntu

Comments

  1. BrendenDigital says

    August 9, 2011 at 12:27 PM

    this info is nearly impossible to get from canonical or ubuntu forums or anyplace. thank you. best regards from near washington, dc

  2. joni says

    August 19, 2011 at 3:52 PM

    This is great. And it was working perfectly. I’m happy again 🙂

  3. Oyvind says

    October 25, 2011 at 1:47 AM

    Thank you.
    You saved my day 🙂

  4. Cesar says

    November 16, 2011 at 7:03 AM

    Very Thanks!!

  5. clint says

    December 22, 2011 at 3:32 PM

    Thank you…you saved my day as well. Searched for half an hour before I found your site.

  6. B Marble says

    January 12, 2012 at 5:05 PM

    I really needed this.

    Thanks

  7. srknbey says

    February 23, 2012 at 4:44 PM

    that was all i want, thanks for saving my day 🙂

  8. Gratefull says

    February 29, 2012 at 5:37 AM

    Life saver. Tahnx

  9. DK says

    March 9, 2012 at 8:17 PM

    Really useful – thanks a lot!
    Needed to fix up an old 6.06 install with some missing packages – now it works.

  10. thanks says

    April 30, 2012 at 5:40 AM

    Very helpful, thanks a lot !

  11. Oilfall says

    June 9, 2012 at 3:16 AM

    Seriously… the information you provided is invaluable for us who need access to the older repositories, I nearly gave up hope to install an older version I need for a system we are setting up.

  12. matfx says

    July 6, 2012 at 9:59 AM

    Thanks. This is a good information i can’t get elsewhere. You save me lot. Nearly give up using older ubuntu release.

  13. Sascha says

    July 12, 2012 at 4:13 AM

    This is sooo helpful – you just made my day 😉

  14. Josh Hartman says

    July 12, 2012 at 1:19 PM

    You’re all very welcome. I’m happy to serve the community!

  15. Pavlinos says

    August 3, 2012 at 3:10 AM

    Thank You So Much

  16. Giovanni says

    August 9, 2012 at 3:22 AM

    Thank you VERY much: you helped a lot of Cobalt owners! 😀

  17. Zrajm C Akfohg says

    September 3, 2012 at 4:14 AM

    Can’t help but think that Ubuntu should provide instructions in the OS of how to switch over to old-releases instead of upgrading (upgrading, upgrading)… It’s weird that there’s a way to do this, but almost impossible to find out how to do it. (Like some kind of OS easter egg..)

    • Zrajm C Akfohg says

      September 3, 2012 at 4:15 AM

      Anyways, many thanx for this post. It helped me a lot!

  18. Sergiu says

    September 17, 2012 at 7:54 AM

    Thank you very much! You save my day!

  19. TinMan says

    September 17, 2012 at 4:25 PM

    This is great info! Nearly impossible to find. I’ve been beating my head against a wall for days, trying to figure this out. I’m installing Jaunty on a slightly elderly Dell laptop, that I’m putting together for a friend. The laptop runs beautifuly, way faster than I expected from a pentium M, but it’s usless to her without wifi, and if I can’t apt-get, then I have no hope of getting the b-43 drivers properly installed. Thanks a million!

  20. TimB says

    October 12, 2012 at 2:34 PM

    Oh man! Thanks!

    Sometimes there’s no choice but to run an old OS; anything that helps one to support ’em is invaluable.

  21. Guy says

    October 31, 2012 at 3:34 AM

    Thank you, I needed to set up a MySQL 4.1 server for migration purposes.
    Fired up a Draper AMI on amazon, but couldn’t get it to install – until I saw your post. Perfect.

  22. Dalibor says

    November 29, 2012 at 11:05 PM

    this was really helpful… thank you

  23. Ivo says

    December 6, 2012 at 4:03 PM

    Tnx 1000 times..best regards from Croatia.

  24. Ian says

    December 14, 2012 at 8:40 AM

    Friday afternoon, need to install Samba on a 6.06 server on a very slow link – no chance of upgrading in time. The old repositories were useless – this change saved the day and the upgrade can be done another day. Thanks!

  25. TCH says

    December 20, 2012 at 10:20 AM

    Thx man, it seems, you saved my job.

  26. ChaalZZ says

    December 30, 2012 at 12:02 PM

    Saved my day. Really helped me to sort things which I was confused what to do for the past few days!

    I searched all over , and the reply was more of old ones when my os version wasnt EOL.

    Thanks a lot!!

  27. Roberto says

    January 15, 2013 at 8:07 AM

    yeah. Thanks man

  28. Daniel says

    January 20, 2013 at 9:59 PM

    Thanks this helped me, i just recently installed 6,06 on my old laptop hp compaq nx9005

    I had some problems with the display but i fixed this by reinstalling gnome

    I’m trying to setup my wireless rt2870 i have built the source and installed it but for some reason its not showing in ifconfig i only see eth0 and sit0 ( what ever that is…)

    I know this works because i had 6.06 installed on this laptop when it first came out in 06 ( i think ) but i havnt used it for a long time i had to install a new harddrive because the old one died

    I’m just wanting to use this as a second laptop to store files on as a backup and browse the internet.

  29. santiago says

    May 3, 2013 at 10:57 AM

    it works. Thank you!

  30. Yuriy Padlyak says

    June 1, 2013 at 6:20 PM

    Thanks!

  31. Diogo L says

    August 13, 2013 at 11:42 PM

    Thank you so much!

    I need this version of Ubuntu with apt repository because of an old php website that only works with this version.

    It’s for college. Again thank you 😀

  32. lolokea says

    September 19, 2013 at 5:30 AM

    Thanks again. Still usefull on september 2013. Was able to get hardy update for sparc!

  33. esolchaga says

    October 21, 2013 at 3:45 PM

    Thanks a lot!!!

  34. neosab says

    October 31, 2013 at 1:58 PM

    This information is never found elsewhere. Took a day to stumble upon this blog. Thanks a lot!

  35. Petar Puskarich says

    January 4, 2014 at 9:18 PM

    2014 and still comes in handy! Used this tip to get xUbuntu updated on an XBOX running breezy. Thanks for posting!

  36. Fred says

    April 1, 2014 at 10:03 AM

    Thanks

Connect

  • Facebook
  • GitHub
  • RSS
  • Twitter
  • YouTube

Recent Posts

  • How to Permanently Remove the “Learn about this picture” Spotlight Wallpaper Icon From Your Windows Desktop
  • How to Quickly Test a Fax Machine
  • Extremely Useful Applications for Web Development and IT Tasks

Tags

automatic benchmark bigint class composer css embed escape event font function gzip helper htaccess html htmlspecialchars image increment javascript jquery list magento media mysql number observer opencart order output photo php profiling random redirect rijndael software text type ubuntu url windows windows 7 wordpress xampp xss

Blogroll

  • CodeIgniter
  • Fusion Forward
  • jQuery
  • Nettuts+
  • Smashing Magazine

© 2025 WarpConduit Computing. All Rights Reserved.