View Full Version : How to Upgrade ....
Rene_S
November 5th, 2004, 08:36 PM
Ok, I have been using Linux a little while and Debian just more recently. The one thing I seem to get stuck on is the relationship between the different areas. I know the basics, but where i get confused is when i want to apply the Hoary distro to my Synaptic list and then upgrade. Would it be better to uncheck the warty stuff and just use Hoary ? or can i leave them both active and upgrade that way.
I hope I was clear in this post, I know in my head what i want to do but sometimes have a hard time writing it down.
p!=f
November 5th, 2004, 10:01 PM
Would it be better to uncheck the warty stuff and just use Hoary ? or can i leave them both active and upgrade that way.
It's up to you. It depends if you want to use Warty repositories for some stuff or if you wish to fully dist-upgrade to Hoary.
If you don't delete or comment Warty repositories, Hoary will be prefered so you will have plenty of packages to upgrade.
But let's say you let Warty repositories in the /etc/apt/sources.list file and you don't want to dist-upgrade to Hoary. You just want to update some packages (ie liferea, gaim, evolution) and stay with stable Warty core. How to do it?
Edit, create if missing, file /etc/apt/preferences and put something like following in it. This process is called apt-pinning:
Package: *
Pin: release a=warty
Pin-Priority: 700
Package: *
Pin: release a=hoary
Pin-Priority: 650
This should be sufficient to prefer Warty packages over Hoary ones and select a single package to upgrade by hand.
Now you may update gaim and liferea by running:
sudo apt-get -y install gaim liferea
Rene_S
November 5th, 2004, 10:48 PM
Thank you, that is very usefull. From time to time I only want to upgrade somethings and leave my base as stable as humanly possible this will help with that.
Have a nice day.
plasmo
November 7th, 2004, 05:48 AM
thanks for the info
i have wanted to upgrade some pakages for some time now but
didnt want risk it by upgrading to hoary. this method is very useful :D
BlackFenix
November 8th, 2004, 07:55 AM
nano -w /etc/apt/conf
APT::Default-Release "Warty";
apt-get -t Hoary install gaim
EDIT: nano -w /etc/apt/apt.conf
EDIT: Another way, more simple:
aptitude install gaim/warty (gaim/hoary)
Edit apt.conf don't work for me.
vBulletin® v3.7.4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.