I've Been a Member here for a while and every time there is a version release or kde upgrade on a PPA (such as backports).some people have problems. there are various symptoms of a failed upgrade. they can range from failures to boot to just a program that does not run correctly or at all. it all depends on what was going on when you were upgrading.
1.Why Does This Happen
there are many reasons that this can happen. the most common are:
The PPA's packages are not all built yet (or some are broken).
There was a problem with the config
your front end has failed to show you a license agreement this only affects non-free software and a only a few of those packages.
Something crashed.
2. So Now that we know why wan can we do to fix it?
for most issues. the soultion is the same.
open a konsole and run
this will kill the hung dpkg then finish up what ever dpkg was doing when it crashed.
this will update your package cache, important if the ppa wasn't finished when you started your upgrade
this will install any packages that can be upgrade. normal 'upgrade' will hold back packages that require you install or remove another package, with kde upgrades the dependencies change sometimes with new version, so if your doing a large kde version upgrade its very important to do a dist-upgrade.
if you do this untill you have no packages left then you should be all set. if you system will not boot do this from a recovery shell as root. (ingore the sudo in front of the commands) you can boot a recovery console by holding shift while grub is loading up and selecting a recovery boot option. then select the root shell with networking.
if you find broken packages or other upgrade bugs you should report them after searching launchpad for your problem first. if there are no reports that something is broken people can't fix it.
3. Upgrading Advice.
if you want to upgrade you should do the following things. as a best practice,
for any kind of distro or kde upgrade, you should wait a few days , even a week after the announcement. if you don't there could be some bugs that have not been worked out yet, even if you wait longer their could be some bugs in the process.
always do these types of upgrades with a terminal use for most upgrades
the reason we do this is because if something goes wrong we can see what it is also if you package manager has to show an agreement and fails to do so your install will prolly fail.
good luck with your upgrades.
1.Why Does This Happen
there are many reasons that this can happen. the most common are:
The PPA's packages are not all built yet (or some are broken).
There was a problem with the config
your front end has failed to show you a license agreement this only affects non-free software and a only a few of those packages.
Something crashed.
2. So Now that we know why wan can we do to fix it?
for most issues. the soultion is the same.
open a konsole and run
Code:
sudo killall dpkg sudo dpkg --configure -a
Code:
sudo apt-get update
Code:
sudo apt-get dist-upgrade
if you do this untill you have no packages left then you should be all set. if you system will not boot do this from a recovery shell as root. (ingore the sudo in front of the commands) you can boot a recovery console by holding shift while grub is loading up and selecting a recovery boot option. then select the root shell with networking.
if you find broken packages or other upgrade bugs you should report them after searching launchpad for your problem first. if there are no reports that something is broken people can't fix it.
3. Upgrading Advice.
if you want to upgrade you should do the following things. as a best practice,
for any kind of distro or kde upgrade, you should wait a few days , even a week after the announcement. if you don't there could be some bugs that have not been worked out yet, even if you wait longer their could be some bugs in the process.
always do these types of upgrades with a terminal use for most upgrades
Code:
sudo apt-get update sudo apt-get dist-upgrade
good luck with your upgrades.
Comment