Apt/Dpkg history

If none of the more specific forums is the right place to ask

Apt/Dpkg history

Postby pawRoot » 2018-01-31 10:24

Hi

I was installing some programs i compiled via dpkg, and there wasn't enough dependencies installed,
so i installed them with sudo apt install -f , is there any way to check what packages got installed with it ?
User avatar
pawRoot
 
Posts: 536
Joined: 2016-12-28 18:26
Location: Poland

Re: Apt/Dpkg history

Postby cronoik » 2018-01-31 11:56

Code: Select all
less /var/log/apt/history.log
Have a nice day!
cronoik
 
Posts: 275
Joined: 2015-05-20 21:17

Re: Apt/Dpkg history

Postby pawRoot » 2018-01-31 12:05

cronoik wrote:
Code: Select all
less /var/log/apt/history.log


I already tried that, but can't see list of packages installed by apt install -f
User avatar
pawRoot
 
Posts: 536
Joined: 2016-12-28 18:26
Location: Poland

Re: Apt/Dpkg history

Postby Ardouos » 2018-01-31 12:39

pawRoot wrote:
cronoik wrote:
Code: Select all
less /var/log/apt/history.log


I already tried that, but can't see list of packages installed by apt install -f

Not sure why, history.log does display packages installed by apt install -f.

Code: Select all
root@debian-01:/home/data# cat /var/log/apt/history.log | grep 'apt install -f'
Commandline: apt install -f
User avatar
Ardouos
 
Posts: 1010
Joined: 2013-11-03 00:30
Location: Elicoor II

Re: Apt/Dpkg history

Postby pawRoot » 2018-01-31 12:47

^ it lists nothing for me :|
User avatar
pawRoot
 
Posts: 536
Joined: 2016-12-28 18:26
Location: Poland

Re: Apt/Dpkg history

Postby cronoik » 2018-01-31 13:26

Have you checked the archived histroy.log.*.gz files in /var/log/apt/?
Have a nice day!
cronoik
 
Posts: 275
Joined: 2015-05-20 21:17


Return to General Questions

Who is online

Users browsing this forum: No registered users and 12 guests

fashionable