Using Command Line (Only for advanced Users)
To enable the universe and multiverse repositories using the command line, you can execute the following steps:
Open a terminal and open your sources.list file using the following command
sudo gedit /etc/apt/sources.list
Assuming you are using the default sources.list, you should be able to replace everything currently in that file with the following
## MAIN REPOSITORIES
deb http://gb.archive.ubuntu.com/ubuntu/ hardy main restricted universe multiverse## MAJOR BUG FIX UPDATES produced after the final release
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-updates main restricted universe multiverse## UBUNTU SECURITY UPDATES
deb http://security.ubuntu.com/ubuntu hardy-security main restricted universe multiverseIf you wish to enable the backports and proposed repositories as well (recommended), then add these lines as well
## BACKPORTS REPOSITORY
deb http://gb.archive.ubuntu.com/ubuntu/ hardy-backports main restricted universe multiverse## PROPOSED REPOSITORY
deb http://archive.ubuntu.com/ubuntu hardy-proposed main restricted universe multiverseNow save and close the file, and then reload new source list using the following command
sudo apt-get update
If that command runs with no errors, then you have successfully enabled the universe and multiverse repositories.
Posts Tagged ubuntu
Ubuntu Hardy repositories
Jan 12
I’ve go the same problem with needing to upgrade my slice from Gutsy to Hardy. Looks like you can still get to the Gutsy repositories, and then upgrade to Hardy, as explained here:
https://help.ubuntu.com/community/EOLUpgrades
I’ve executed the following steps with no problems:
sudo perl -p -i.ORIG -e `s/(?:(?:\w+.)?archive|security).(ubuntu.com)/old-releases.$1/` /etc/apt/sources.listsudo aptitude updatesudo aptitude install update-manager-core update-managersudo aptitude upgradeI have not yet taken the next step, which is:
sudo do-release-upgradeI expect it’ll just work, but still I think I’ll try it when I’ve got a few free hours to recovery in case something goes wrong. If you try it please post your results back here.
via Slicehost Forum – Upgrade from Gutsy to Hardy now Gutsy out of support date.