Computer And Technologies

Computer And Technologies: How to Change your Ubuntu Festiy to Hardy or Jaunty Ubuntu Repository?

Wednesday, 8 July 2009

How to Change your Ubuntu Festiy to Hardy or Jaunty Ubuntu Repository?


I faced the same as i was unable to update any software and faced like bellow error,

root@eOdissa-desktop:/home/amaresh# apt-get install update
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Couldn't find package update
Solution for this:--

  1. Anyway, here it is, for you to download the source.list. You might want to open it in a text editor, so it doesn’t open Synaptic for you. This list uses the Norwegian mirrors. Just add from “3rd party repos” and down.
  2. then do "gedit /etc/apt/source.list"
  3. replace the content of source.list with downloaded file
  4. reboot the system
  5. goto System --> Administration --> Software source ; then click all check post and change the repository to "main server"
  6. wait for upgrading ...
  7. It will like bellow...
Command Line Interface

Just add the following lines to your /etc/apt/sources.list :

For Ubuntu 9.04 (Jaunty Jackalope):
deb jaunty-backports main universe multiverse restricted

For Ubuntu 8.10 (Intrepid Ibex):
deb intrepid-backports main universe multiverse restricted

For Ubuntu 8.04 (Hardy Heron):
deb hardy-backports main universe multiverse restricted

For Ubuntu 6.06 (Dapper Drake):
deb dapper-backports main universe multiverse restricted

After refreshing the package manager's cache, packages from the backport repositories will now be available for installation.

Go to System > Administration > Software Sources

Then, make sure the main, universe, restricted, and multiverse sources are all checked (or ticked). In most cases, you will not need the source code or CD-ROM/DVD sources.

I believe in Ubuntu 9.04 these should be all checked by default.

You should also choose to download from your country's server in the Download from section. This puts a little less strain on the main Canonical servers.

Next, click on the Third-Party Software tab and click Add

In the APT line paste in

deb jaunty free non-free
if you're using Ubuntu 9.04.

For Ubuntu 8.10, you should substitute intrepid for jaunty
For Ubuntu 8.04, you should substitute hardy for jaunty

Then click Add Source

Click the Close button (next to Revert at the lower-right-hand corner). You'll be prompted to Reload. Go ahead and do so.

Some information will then be downloaded letting your Ubuntu installation know what new software is available for installation.

You will get an error message saying that the public key isn't available for the Medibuntu repositories. That's okay. We're about to fix that.

Go to System > Administration > Synaptic Package Manager

When Synaptic Package Manager opens, click on Search at the top-right corner and when the Find dialogue box appears, search for the word medibuntu and then click Search.

When you find the medibuntu-keyring package in the results, right-click it and select Mark for Installation. Then click Mark again to confirm.

Then click Apply and Apply again to confirm.

Once the keyring is installed,

More about repositories

So what are all of these different repositories anyway? Ubuntu Linux has a commitment to open source software, and so for mainly philosophical (and secondarily sometimes legal) reasons, it doesn't include a lot of proprietary software by default. The Ubuntu development team also can offer full support for only the official Ubuntu repositories (Main and Restricted).

You can read on the Ubuntu website more in-depth descriptions of the different types of repositories. Here's a quick low-down, though:

  • Main: Freely licensed software that's officially supported.
  • Restricted: Not exactly freely licensed software that is pretty essential to getting a lot of popular configurations working.
  • Universe: A lot of freely licensed software that's packaged by the community and not officially supported.
  • Multiverse: Not freely licensed software, also put together by the Ubuntu community and not officially supported.
  • Medibuntu: Software not included in the other repositories for various reasons.
There is also a volunteer group that puts together a lot of .deb packages for software not in the repositories or of newer versions than are currently in the repositories. Their software can be found at GetDeb.


No comments:

Post a Comment