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


Groups > linux.debian.user > #236300

Re: question regarding post-installed packages

From Christian <abelschreck3@freenet.de>
Newsgroups linux.debian.user
Subject Re: question regarding post-installed packages
Date 2021-06-22 17:10 +0200
Message-ID <CsQci-2J5-7@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


[Multipart message — attachments visible in raw view] - view raw

Hi Andrei,

thanks a lot for your reply. 😁

 > It's unclear what exactly '/comm -23' is supposed to be

Well, from the man pages (man comm) :

/comm [OPTION]... FILE1 FILE2//
//
//DESCRIPTION//
//       Compare sorted files FILE1 and FILE2 line by line.

       -1     suppress column 1 (lines unique to FILE1)

        -2     suppress column 2 (lines unique to FILE2)
/
So I think the comm-command should be for comparison of files.

I´ve always used *bash* for executing the command, so this shouldn´t be 
the problem.

 > [initial-status.gz-file] I'm guessing it is created by the Ubuntu 
installer.

Yes, I think so as well. Thanks for confirming that.

 > If you show us an example [...]

Sorry, Andrei, I´m not quite sure what you mean by that.

Thanks anyway for your kind help.

All the best.
Rosika


Am 22.06.21 um 16:44 schrieb Andrei POPESCU:
> 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.
>
> In any case, 'apt-mark showmanual' definitely exists and works in Debian
> and is one way to achieve what you need (aptitude is another).
>
> The file /var/log/installer/initial-status.gz doesn't exist on a fairly
> recent install of Debian bullseye (soon to be Debian 11). I'm guessing
> it is created by the Ubuntu installer.
>
> If you show us an example (attaching it might work, if it's not too big)
> we might come up with methods to recreate the information on a fresh
> Debian install.
>
> Hope this helps,
> Andrei

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