Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Solved: aptitude - how to forget current changes?

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
rupertlssmith
Posts: 109
Joined: 2009-08-11 10:41

Solved: aptitude - how to forget current changes?

#1 Post by rupertlssmith »

Hi,

I was using aptitude and I don't know what exactly I did but it was not much more than a single accidental keypress. I think I may have marked some important package on which many things depend to remove and now I have 600 odd broken packages. Aptitude is also currently churning away 'Resolving dependencies'...

I have not applied this accidental change yet (by selecting 'g' to review and approve it).

Is there some simple way to tell it to revert whatever I did and just keep all packages in their current state?
Last edited by rupertlssmith on 2017-08-17 20:36, edited 1 time in total.

rupertlssmith
Posts: 109
Joined: 2009-08-11 10:41

Re: aptitude - how to forget current changes?

#2 Post by rupertlssmith »

Hey, No worries, I fixed it with:

Code: Select all

aptitude keep-all

Post Reply