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


Groups > linux.debian.user > #262228

Re: Understanding package dependencies

From Greg Wooledge <greg@wooledge.org>
Newsgroups linux.debian.user
Subject Re: Understanding package dependencies
Date 2023-10-07 20:50 +0200
Message-ID <Hmkxc-edvr-11@gated-at.bofh.it> (permalink)
References <Hmei7-e9Z4-23@gated-at.bofh.it> <Hmfe9-eaxP-3@gated-at.bofh.it> <Hmfxv-eaEf-7@gated-at.bofh.it> <HmjB7-ecWJ-9@gated-at.bofh.it> <HmkdP-edoX-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, Oct 07, 2023 at 08:27:11PM +0200, Sven Joachim wrote:
> Yes, aptitude can do that.   Quoting the manual[1]:
> 
> ,----
> | ?provides(pattern), ~Ppattern
> | 
> |     Matches package versions which provide a package that matches the
> |     pattern. For instance, “?provides(mail-transport-agent)” will match
> |     all the packages that provide “mail-transport-agent”.
> `----
> 
> In the current case, "aptitude search '~Plsb-base'" does the trick.

Why on EARTH was this not ported to apt-patterns(7)?

unicorn:~$ apt list '?conflicts(~nlsb-base)'
Listing... Done
sysvinit-utils/stable,now 3.06-4 amd64 [installed]
sysvinit-utils/stable 3.06-4 i386
unicorn:~$ apt list '?provides(~nlsb-base)'
Listing... Error!
E: input:0-21: error: Unrecognized pattern '?provides'
   ?provides(~nlsb-base)
   ^^^^^^^^^^^^^^^^^^^^^

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


Thread

Understanding package dependencies Steve Keller <keller.steve@gmx.de> - 2023-10-07 14:10 +0200
  Re: Understanding package dependencies Michael Kjörling <2695bd53d63c@ewoof.net> - 2023-10-07 15:10 +0200
    Re: Understanding package dependencies Greg Wooledge <greg@wooledge.org> - 2023-10-07 15:30 +0200
      Re: Understanding package dependencies Steve Keller <keller.steve@gmx.de> - 2023-10-07 19:50 +0200
        Re: Understanding package dependencies Greg Wooledge <greg@wooledge.org> - 2023-10-07 20:20 +0200
        Re: Understanding package dependencies Sven Joachim <svenjoac@gmx.de> - 2023-10-07 20:30 +0200
          Re: Understanding package dependencies Greg Wooledge <greg@wooledge.org> - 2023-10-07 20:50 +0200
            Re: Understanding package dependencies Jörg-Volker Peetz <jvpeetz@web.de> - 2023-10-08 10:50 +0200
              Re: Understanding package dependencies Greg Wooledge <greg@wooledge.org> - 2023-10-08 14:40 +0200
            Re: Understanding package dependencies Max Nikulin <manikulin@gmail.com> - 2023-10-09 14:20 +0200

csiph-web