You are not logged in.
Pages: 1
Hi,
is there an equivalent to gentoo's "genlop -i" command which outputs the install-history?
genlop -i
Wed Jan 6 22:31:33 2010 >>> dev-lang/php-5.2.12
Wed Jan 6 22:31:45 2010 >>> app-shells/bash-completion-1.1-r5
Wed Jan 6 22:31:51 2010 >>> app-shells/gentoo-bashcomp-20090613
Tue Jan 12 21:00:29 2010 >>> sys-libs/ncurses-5.7-r3
Tue Jan 12 21:01:39 2010 >>> dev-db/sqlite-3.6.22
Tue Jan 12 21:01:47 2010 >>> app-admin/eselect-ctags-1.13
Tue Jan 12 21:03:08 2010 >>> net-misc/neon-0.29.3
Tue Jan 12 21:46:47 2010 >>> sys-libs/glibc-2.10.1-r1
Tue Jan 12 22:57:40 2010 >>> sys-devel/gcc-4.3.4
Sat Jan 16 02:37:16 2010 >>> sys-apps/net-tools-1.60_p20090728014017-r1
Mon Jan 25 00:15:11 2010 >>> sys-libs/timezone-data-2009u
Mon Jan 25 00:15:37 2010 >>> sys-process/lsof-4.82
Mon Jan 25 00:15:59 2010 >>> sys-apps/man-pages-3.23
Mon Jan 25 00:17:38 2010 >>> dev-db/sqlite-3.6.22-r1
Mon Jan 25 00:17:57 2010 >>> dev-java/java-config-2.1.10
Mon Jan 25 00:19:23 2010 >>> dev-java/sun-jdk-1.6.0.18
Mon Jan 25 00:30:13 2010 >>> dev-util/subversion-1.6.9/var/log/pacman.log has a lot of information one might not want to see in the list:
less /var/log/pacman.log
2010-01-01 20:14] synchronizing package lists
[2010-01-01 20:15] synchronizing package lists
[2010-01-01 20:16] starting full system upgrade
[2010-01-02 12:43] synchronizing package lists
[2010-01-02 12:44] starting full system upgrade
[2010-01-03 13:48] synchronizing package lists
[2010-01-03 13:48] starting full system upgradeOffline
I use a small script to remove the crap (mostly from install scriptlets) from pacman log. Maybe you want to borrow the grep command...
#!/bin/bash
su -c "
grep -P '^\[.+?\] ((installed|removed|upgraded).+\)$)|warning: ' /var/log/pacman.log > /tmp/pacman.log \
&& cat /tmp/pacman.log > /var/log/pacman.log && rm -f /tmp/pacman.log"Offline
Pages: 1