Message: previous - next
Month: May 2014

Re: [trinity-users] Most simple way to upgrade Trinity

From: David Hare <davidahare@...>
Date: Sun, 25 May 2014 12:16:00 +0100
Here the most simple way is considered the way least likely to cause 

Time to upgrade my main Wheezy install to R14. This went simply, 
flawlessly and quickly:

1. Change TDE sources to R14

2. apt-get update && apt-get dist-upgrade -d

3. Close X (service kdm-trinity stop) and login as root to console

4. apt-get dist-upgrade

5. Reboot to R14! (probably enough to: service tdm-trinity start)

Some post-upgrade cleanups (do this in X):

There will be quite a few TDE "transitional" packages which can now be 

dpkg -l|grep trinity|grep "This can be safely removed"|awk '{print $2}' 
 > /tmp/transitional_packages

(su) or (sudo su)

for i in $(cat /tmp/transitional_packages); do apt-get -y --force-yes 
purge $i; done

Now, there may be some marked as "automatically installed and no longer 
required" that you want to keep. This will be shown in the terminal. To 
change their status do, e.g. "apt-mark manual package1 package2 package3"

Job done, everything is nice and clean.


Someone suggested "apt-get upgrade". This is *not* correct (read man 
apt-get). Some essential packages might get held back, leaving a broken 

Do "apt-get dist-upgrade -d" first: if anything is wrong with the 
mirrors things can break. This has happened before.

I'm finding Slavek's mirror faster than than "nightlies"

Major upgrades while X is running or using GUI package managers: If you 
really must, good luck to you, you may need it.

There is normally no reason why a Debian system should ever need to be 

No comment on aptitude, I don't normally use it.