Tuesday, April 15, 2014

Re: [LINUX_Newbies] No Boot after upgrade

 

You cannot remove the upgrade easily and it can cause more problems than it resolves. The likely cause is a partial upgrade. I would try to fix that instead.

To remove the upgrade you would have to know which packages were upgraded, then completely remove them with the package manager (Synaptic has this option or try the commands below). Then you have to change your settings to always prefer the installed version instead of the higher version. Then re-install the packages. Even after all of this, it may not work.

From the commandline: 

apt-get purge <package_name>   (completely removes the package or packages. To remove multiple packages just leave a space between the names.)
or
apt-get remove <package_name>   (this removes but does not remove configuration files)


You might want to clean your apt cache before trying any fixes. Otherwise it will not download fresh packages, but install the already downloaded ones that caused the problem. 

Cleaning house:
apt-get clean        (removes all packages from your apt cache)
apt-get autoremove        (removes installed packages that are not being used, but could cause conflicts)

Fixing the problem:
dpkg --configure -a        (restarts the process of install any unfinished package installations)
apt-get install -f             (fixes broken packages)

Use sudo if that is what you are using instead of changing to root user.

Upgrading once more:
apt-get update 
apt-get upgrade

That sounds like a lot of work, but I do not know what is precisely wrong so this is just a bunch of things that I try and they usually work. Good luck. 

Roy

On Monday, April 14, 2014 8:42:25 PM, "jferrell13@triad.rr.com" <jferrell13@triad.rr.com> wrote:
 
I am running Debian Wheezy and I frequently run
sudo apt-get update
followed by
sudo apt-get upgrade
When I ran the upgrade it restarted a package and recommended a full system restart.
When I did that it hung on the way up. I believe it got past the password point.
The Debian boot always offers a recovery option on boot, I tried it.
The command line asked for a root password and came to a stop displaying
root@debian:~#       prompt.
The help command works here.
My question:
How can I remove that upgrade that I applied?
John W8CCW


__._,_.___
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (2)
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.
.

__,_._,___

No comments:

Post a Comment