[Slapt-get-user] No logs for downloads by slapt-get
Roy Keene
slapt at rkeene.org
Wed May 25 18:00:48 EDT 2005
Pretty much everything that you want logged is already logged by the
standard Slackware package management tools.
Upgrades
/var/adm/removed_packages/...
-rw-r--r-- 1 root root 2192 2004-06-21 00:56 aaa_base-9.1.0-noarch-1-upgraded-2004-06-29,19:14:32
-rw-r--r-- 1 root root 2014 2004-10-13 23:25 aaa_elflibs-9.2.0-i486-1-upgraded-2005-01-12,14:34:45
-rw-r--r-- 1 root root 13535 2004-06-21 01:48 alsa-driver-0.9.6-i486-3-upgraded-2004-06-21,09:26:14
Installations
(explained earlier)
Removals
/var/adm/removed_packages/...
-rw-r--r-- 1 root root 11997 2004-06-21 01:07 a2ps-4.13b-i386-2
-rw-r--r-- 1 root root 3909 2004-06-21 01:47 aalib-1.4rc5-i386-1
-rw-r--r-- 1 root root 1137 2004-06-21 01:07 acct-6.3.2-i386-1
I'm not sure what you're really wanting, perhaps a script that parses
these and orders them by date ?
Okay ...
find /var/adm/removed_packages/ /var/adm/packages/ -type f -printf '%T@ %t %h/%f\n' | sort -n | sed 's@^[0-9]\+ @@;s@/var/adm/removed_packages/@Removed @;s@/var/adm/packages/@Installed @;s at Removed \(.*\)-upgraded-.*@Removed (upgrade): \1@'
On Wed, 25 May 2005, nigel henry wrote:
> Thanks for the info Roy. I just think it would be very usefull to have a log
> for Slapt updates. Nice if you have some problem arise to look back at the
> last updates you did. I'm not a programmer (wouldn't know where to start) .
> I'm really looking for someone to take up the challenge, and write a little
> script to perform this function. Like, beat Debian to it .lol. Thanks again.
> Nigel.
>
>
>
>
>
>
>
> On Wednesday 25 May 2005 10:17 pm, Roy Keene wrote:
>> If you're just wanting to see when a package was installed, check out the
>> timestamp on /var/adm/packages/<packagename>.
>>
>> On Wed, 25 May 2005, nigel henry wrote:
>>> Hi folks. I'm very happy with slapt-get. Only bad point is there's no
>>> datestamped log for downloaded files. Yum keeps a log of downloads, and
>>> on FC1 & FC2, apt has a log by means of rpm "rpm -q -a --last" . Debian
>>> has no download logs, nor has Slackware. Any chance of beating Debian to
>>> it, and creating a log file for Slapt on Slackware? Nigel. aka farpoint.
>>>
>>> _______________________________________________
>>> Slapt-get-user mailing list
>>> Slapt-get-user at software.jaos.org
>>> http://software.jaos.org/cgi-bin/mailman/listinfo/slapt-get-user
>>
>> _______________________________________________
>> Slapt-get-user mailing list
>> Slapt-get-user at software.jaos.org
>> http://software.jaos.org/cgi-bin/mailman/listinfo/slapt-get-user
>
More information about the Slapt-get-user
mailing list