Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #203020

Re: Package install history - logs etc ?

From Curt <curty@free.fr>
Newsgroups linux.debian.user
Subject Re: Package install history - logs etc ?
Date 2018-12-04 10:00 +0100
Message-ID <x1eIF-3iJ-9@gated-at.bofh.it> (permalink)
References <x0U7f-7nv-3@gated-at.bofh.it> <x0Y1b-1DZ-5@gated-at.bofh.it> <x0Ykx-1L7-1@gated-at.bofh.it> <x0ZTj-2Ot-3@gated-at.bofh.it>
Organization Unorganized

Show all headers | View raw


On 2018-12-03, rhkramer@gmail.com <rhkramer@gmail.com> wrote:
>> > 
>> > The logs are gzipped periodically (gibberish for less).
>> 
>> But not for zless.
>
> Hmm, I might have found / committed a [p]ebkac, it now seems that, for 
> example:
>
> cat /var/log/dpkg.log.* | less
>
> ... works fine.  Not sure what I did wrong earlier.  (And they apparently are 
> not gzipped (on my Wheezy system).
>

I'd guess you're looking at the beginning of the file (i.e. the
current log and the first rotated, uncompressed log) and haven't
bothered scrolling to the end (where it should be compressed, and
gibberish even for a cat). But not for a zcat. I would
also call a UUOC.

Anyway, when I ran your command this state of things described above
fooled me for some moments. What?  This works? Why? And I began to rue
once again the deep well of my ignorance. Then I scrolled to the end
of the file and realized what was going on.

YMMV.

-- 
He used sentences differently from any other prose writer. He always sounded
like a slightly drunk man who is very melancholy, who has no illusions about
life, who is very strong but whose strength is entirely unnecessary.
--Krasznahorkai on KrĂșdy

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Package install history - logs etc ? Richard Owlett <rowlett@cloud85.net> - 2018-12-03 12:00 +0100
  Re: Package install history - logs etc ? Steve Kemp <skx@debian.org> - 2018-12-03 12:10 +0100
    Re: Package install history - logs etc ? Richard Owlett <rowlett@cloud85.net> - 2018-12-03 12:50 +0100
    Re: Package install history - logs etc ? rhkramer@gmail.com - 2018-12-03 15:40 +0100
      Re: Package install history - logs etc ? Curt <curty@free.fr> - 2018-12-03 16:10 +0100
        Re: Package install history - logs etc ? Brian <ad44@cityscape.co.uk> - 2018-12-03 16:30 +0100
          Re: Package install history - logs etc ? rhkramer@gmail.com - 2018-12-03 18:10 +0100
            Re: Package install history - logs etc ? Javier Barroso <javibarroso@gmail.com> - 2018-12-03 20:10 +0100
              Re: Package install history - logs etc ? Javier Barroso <javibarroso@gmail.com> - 2018-12-03 20:10 +0100
            Re: Package install history - logs etc ? David Wright <deblis@lionunicorn.co.uk> - 2018-12-03 20:50 +0100
            Re: Package install history - logs etc ? Curt <curty@free.fr> - 2018-12-04 10:00 +0100
        Re: Package install history - logs etc ? Jude DaShiell <jdashiel@panix.com> - 2018-12-03 17:00 +0100

csiph-web