[Slapt-get-user] No logs for downloads by slapt-get

nigel henry cave.dnb at tiscali.fr
Thu May 26 10:08:21 EDT 2005


Hi Jason. Thanks for tee. I'll run it when the next updates come through. I'm 
trying it on Debian  with apt-get first as theres a load of updates waiting. 
That'll be 2 logs for the price of one. Thanks again for the help. Nigel.





On Thursday 26 May 2005 1:20 am, Jason Woodward wrote:
> Hi guys,
>
> Roy is right that that is provided by pkgtools already in /var/log/packages
> and /var/adm/removed_packages.  I would suggest the easiest way to log what
> slapt-get is doing on top of that is to use tee:
>
> slapt-get --upgrade | tee -a /var/log/slapt-get.log
>
>
> take care,
> jason
>
> On Wed May 25 22:09:38 2005, Slapt-Get User Help wrote:
> > Roy,
> >
> > I think what Nigel is probably looking for is a /var/log/slapt-get.log
> > (or something to that effect) which logs both the commands given to
> > slapt-get and the actions slapt-get effects in a syslog (combined-logs)
> > style format.
> >
> > I think it's a reasonable request, though you may not see the need for
> > it. In any case, Jason is the final arbiter.
> >
> > Dan
> >
> > On Wed, 25 May 2005, Roy Keene wrote:
> > > 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
> > >
> > > _______________________________________________
> > > 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
>
> --
> Jason Woodward
> woodwardj at jaos.org
>
> -----BEGIN PGP PUBLIC KEY BLOCK-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> mQGiBDrwHPoRBAC3nDJRLKTcFcJWid9PN08ChMI7tuQevomWoVeZpZZ0zzip2w/E
> ts55Mx58eRRGFFmgZZGeP7EhyUPzb668LIsU62gFO7G5/oWCr3U3g3peabZsqRC9
> FchdiM8DJqQu/7ryAjbQ4OFCSW+jAsMC3tKXrdaB48WiipiXUcKR/sONGwCgzGPf
> yxDgOc7n9xWVH0qbUDC/vZsEAKvbckkhpe9/x2A4E15l6DUbliEmboeHiT9NJaok
> vLo3ElSO1o6ld5+VhFIkhRmmovrS8oyttZNv8HjMEYf6L3NdZybTHfcdS5EIpguH
> Xx2/IGzJKbgX3vM/qhJ0+F1LPuN20mOT0NO/29AXJn3V7rTKoKf/uOOKD+Eqh4r1
> QVMoBAC3ZPF3idmuW3j4tqhOaWe2qHlLwEClwdsTG+KOsVYh1sU4RvyMErDIU6r/
> MomkLAJfbtBTXKcknW68Y4Uv4B+UkyopklktRBFiMBffoHLUfkkQk/L9Yg1YG27N
> COsECiamylF8hNSTcNIQqYXDpyoRcSi2p7gqkxJZrk7GwrX2ObQjSmFzb24gV29v
> ZHdhcmQgPHdvb2R3YXJkakBqYW9zLm9yZz6IVwQTEQIAFwUCOvAc+gULBwoDBAMV
> AwIDFgIBAheAAAoJEGu22odUp/oeN2IAoKHS+qH8AenlOTKL0Ifl3q1QSlDBAKDL
> bvvgl7HoRTHY2b9n3pEPr+KIh7kBDQQ68Bz9EAQA2Ds/2VKc08qaNIkA1okxITmQ
> aaNjUrm/au9jNzm9lyEFXWXBNegzP5Y4A1ESDKUt5RETgVhNKd9mGkP7tgPTs3f6
> Z595K6W7xeZWONKbl578RbWwE1CiMqEOuXwr1/q0DzfwmNQLcqDcX3o0DEpWE+uZ
> G+5CtpkXYiDmccigDKMAAwUD/iZDxEr1HC4iLnGXUCDpxXEtp7Fx150baFzZITns
> 4hpKRAbTR65s2tL8rh5d8ThDgqW5C9JQja9fMxI2u7zlyM2ALFXJP1xwgZTSOYvn
> sq+x41i5tJpce+pDmMEl8X0wew2Z5ZRPfDLv64kKPIGNgVXsAHirH2KjChZat4VC
> qkZciEYEGBECAAYFAjrwHP0ACgkQa7bah1Sn+h7qkQCePz0ds5O/dsZrm450pjLs
> 2V3BkMAAn2/6alBBC9b9F94svdOf0mGY/G5w
> =4p8c
> -----END PGP PUBLIC KEY BLOCK-----
>
> my($c, at s)=(0,qw( | / - \ ));$|++;my$p;&{sub{map{$p.=chr$_}
> unpack(join('a',('',split(//,$_->[1]))),$_->[0]);}}foreach
> [qw/74117115116 2333/],[qw/65110111116104101114 2333333/],
> [qw/80101114108 2333/],[qw/729799107101114 222333/];{my$z=
> $c<4?$s[$c++]:$s [$c=0];printf"\ec%s%s%s",$z,$p,$z,select*
> STDOUT,*STDOUT,*STDOUT,0.1,;redo;}##########JAPH##########
>
> _______________________________________________
> 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