LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   aptitude ...how to revert changes (https://www.linuxquestions.org/questions/linux-software-2/aptitude-how-to-revert-changes-4175673569/)

bong.mau 04-20-2020 02:42 AM

aptitude ...how to revert changes
 
Hi
Env Debian 9.12
Synaptic 0.84.2
aptitude 0.8.7-1
Usually i'm using Synaptic Package Manager
today i tried to install a new package with aptitude but i commit a mistake...aptitude starts to remove some packages ...
i interrupted operation suddenly with ctrl+c
i reboot system without errors...
now i want to check system for missing dependencies ...
what line commands i have to issue to check ?
(i fear to use aptitude again.. )
thanks in advance
Maurizio

shruggy 04-20-2020 02:46 AM

To revert last changes from inside aptitude: Ctrl+u

To check your dpkg database for inconsistencies from the command line:
Code:

dpkg -C

bong.mau 04-20-2020 03:26 AM

thanks
 
dpkg -C runs fine
i the mean time i find also file /var/log/aptitude ..
it seems ctrl+c interrupt the unistall process
thanks for the great support
Maurizio


All times are GMT -5. The time now is 01:07 AM.