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


Groups > linux.debian.user > #236299

Re: question regarding post-installed packages

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: question regarding post-installed packages
Date 2021-06-22 17:10 +0200
Message-ID <CsQci-2J5-3@gated-at.bofh.it> (permalink)
References <CsONc-1Lh-1@gated-at.bofh.it> <CsPSW-2nj-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 22, 2021 at 05:44:50PM +0300, Andrei POPESCU wrote:
> On Ma, 22 iun 21, 15:30:35, Christian wrote:
> > 
> > /comm -23 <(apt-mark showmanual | sort -u) <(gzip -dc
> > /var/log/installer/initial-status.gz | sed -n 's/^Package: //p' | sort -u)/
> 
> It's unclear what exactly '/comm -23' is supposed to be and it seems 
> your mail program messed with line breaks.
> 
> Also, guessing from the command, this is supposed to be run under fish 
> (the shell). The default shell in Debian is bash, which needs slightly 
> different syntax for what you want to do.

It looks like a bash command, if you make the following changes:

1) Join the two lines into one.
2) Remove leading / and trailing / characters.

Also, I don't have a /var/log/installer/initial-status.gz file, but I
do have a /var/log/installer/status file, which looks like it contains
what the command is expecting (minus the compression).  So, one might
need to adjust the second process substitution.

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


Thread

question regarding post-installed packages Christian <abelschreck3@freenet.de> - 2021-06-22 15:40 +0200
  Re: question regarding post-installed packages Hans <hans.ullrich@loop.de> - 2021-06-22 16:00 +0200
    Re: question regarding post-installed packages Christian <abelschreck3@freenet.de> - 2021-06-22 16:20 +0200
      Re: question regarding post-installed packages Hans <hans.ullrich@loop.de> - 2021-06-22 16:40 +0200
        Re: question regarding post-installed packages Christian <abelschreck3@freenet.de> - 2021-06-22 17:10 +0200
  Re: question regarding post-installed packages Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-22 16:50 +0200
    Re: question regarding post-installed packages Greg Wooledge <greg@wooledge.org> - 2021-06-22 17:10 +0200
      Re: question regarding post-installed packages Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-23 06:00 +0200
        Re: question regarding post-installed packages David <bouncingcats@gmail.com> - 2021-06-23 09:10 +0200
          Re: question regarding post-installed packages Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-23 14:50 +0200
        Re: question regarding post-installed packages <tomas@tuxteam.de> - 2021-06-23 09:30 +0200
          Re: question regarding post-installed packages <tomas@tuxteam.de> - 2021-06-23 10:10 +0200
          Re: question regarding post-installed packages Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-23 14:50 +0200
          Re: question regarding post-installed packages David Wright <deblis@lionunicorn.co.uk> - 2021-06-23 17:00 +0200
    Re: question regarding post-installed packages Christian <abelschreck3@freenet.de> - 2021-06-22 17:10 +0200
      Re: question regarding post-installed packages Greg Wooledge <greg@wooledge.org> - 2021-06-22 17:40 +0200
        Re: question regarding post-installed packages Andrei POPESCU <andreimpopescu@gmail.com> - 2021-06-23 05:40 +0200

csiph-web