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


Groups > linux.debian.user > #262142

Re: List packages from non-default repositories

From Max Nikulin <manikulin@gmail.com>
Newsgroups linux.debian.user
Subject Re: List packages from non-default repositories
Date 2023-10-04 04:30 +0200
Message-ID <HkZO9-dnXx-1@gated-at.bofh.it> (permalink)
References <HkKFr-devd-7@gated-at.bofh.it> <HkStj-dj13-13@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 04/10/2023 01:29, Jörg-Volker Peetz wrote:
> Max Nikulin wrote on 03/10/2023 12:11:
>> apt list '?narrow(~i, !~Astable|~Astable-backports|!~O^Debian$|~o|~c)'
> 
> In my experience the only tool that gives correct answers, is 
> apt-show-versions in the package of the same name:
> 
> $ apt-show-versions | grep -v '/stable '

Thanks.

Do you have an example of a case when apt-show-versions works better 
when the following command?

   apt list '~i' | grep -Ev '[/,]stable(-updates|-security)?,'

OK, it issues a warning

WARNING: apt does not have a stable CLI interface. Use with caution in 
scripts.

In my case apt list + grep  gives the same packages as "apt list" with 
the pattern I posted.

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


Thread

List packages from non-default repositories Max Nikulin <manikulin@gmail.com> - 2023-10-03 12:20 +0200
  Re: List packages from non-default repositories Jörg-Volker Peetz <jvpeetz@web.de> - 2023-10-03 20:40 +0200
    Re: List packages from non-default repositories Max Nikulin <manikulin@gmail.com> - 2023-10-04 04:30 +0200
      Re: List packages from non-default repositories David Wright <deblis@lionunicorn.co.uk> - 2023-10-04 07:00 +0200
        Re: List packages from non-default repositories Max Nikulin <manikulin@gmail.com> - 2023-10-04 10:10 +0200
      Re: List packages from non-default repositories Jörg-Volker Peetz <jvpeetz@web.de> - 2023-10-04 10:50 +0200
        Re: List packages from non-default repositories Max Nikulin <manikulin@gmail.com> - 2023-10-04 12:30 +0200
          Re: List packages from non-default repositories Jörg-Volker Peetz <jvpeetz@web.de> - 2023-10-05 11:00 +0200

csiph-web