User Tools

Site Tools


debian_notes

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
debian_notes [2021/09/23 04:41] rajudebian_notes [2023/01/01 04:50] – [links in this wiki] admin
Line 1: Line 1:
 +==== when was a package installed ====
 +To find out when I installed the dokuwiki package, I did
 +<code>
 +$ zgrep installed /var/log/dpkg.log* | grep dokuwiki | grep -v "half-installed"
 +/var/log/dpkg.log.2.gz:2022-12-06 17:15:37 status installed dokuwiki:all 0.0.20220731.a-1
 +</code>
 +
 +without the ''grep -v "half-installed"'' at the end, I was getting
 +<code>
 +raju@minion:~$ zgrep installed /var/log/dpkg.log* | grep dokuwiki 
 +/var/log/dpkg.log.2.gz:2022-12-06 17:15:33 status half-installed dokuwiki:all 0.0.20180422.a-2.1
 +/var/log/dpkg.log.2.gz:2022-12-06 17:15:37 status installed dokuwiki:all 0.0.20220731.a-1
 +</code>
 +
 +Got this idea from https://www.cyberciti.biz/faq/debian-ubuntu-linux-find-package-installed-updated-date/
 +
 ==== links in this wiki ==== ==== links in this wiki ====
   * [[sources.list]]   * [[sources.list]]
debian_notes.txt · Last modified: 2023/09/25 21:07 by raju