Wheezy upgrade to Jessie - live-tools Errors

alub's picture



This is my first time upgrading a distro.
This is the error I have when I try to apt-get update apt-get upgrade:

The following packages have been kept back:
db5.1-util linux-headers-486 linux-headers-686-pae
The following packages will be upgraded:
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
4 not fully installed or removed.
Need to get 0 B/29.8 kB of archives.
After this operation, 15.4 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Reading changelogs... Done
(Reading database ... 284364 files and directories currently installed.)
Preparing to unpack .../live-tools_4.0.2-1_all.deb ...
dpkg-divert: error: rename involves overwriting `/usr/bin/uptime' with
different file `/usr/bin/uptime.orig.procps', not allowed
dpkg: error processing archive /var/cache/apt/archives/live-tools_4.0.2-1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 2
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

Here are the steps I took to upgrade from wheezy to jessie:
-modify /etc/apt/sources.list from wheezy to jessie
-apt-get update
-apt-get upgrade
-(here I got the error with live-tools I posted above )
-no gui (just black screen with login possibility)
-apt-get update
-apt-get dist-upgrade
-apt-get autoremove (it was recommended for a bunch of unnecesary packages;it took a while to finish)
-had gui (Debian 8 seemed installed, yeeyy)
-apt-get update
-apt-get upgrade
-the error posted above

It seems to be upgraded and working, but can I do something to have no errors when I apt-get update apt-get upgrade?

Thank you

apt-get update .....

joe52's picture

Does your /var/... have a lot of disk space? Have you completed the apt-get update, apt-get upgrade only one time or at least every week? Disk space was a problem for me a couple times.