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


Groups > linux.debian.user > #262218

Re: Understanding package dependencies

From Michael Kjörling <2695bd53d63c@ewoof.net>
Newsgroups linux.debian.user
Subject Re: Understanding package dependencies
Date 2023-10-07 15:10 +0200
Message-ID <Hmfe9-eaxP-3@gated-at.bofh.it> (permalink)
References <Hmei7-e9Z4-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 7 Oct 2023 13:47 +0200, from keller.steve@gmx.de (Steve Keller):
> But how can this then be explained?
> 
>     # aptitude why lsb-base
>     i   ntpsec Depends lsb-base
>     # aptitude show ntpsec | grep ^Depends
>     Depends: adduser, lsb-base, netbase, python3, python3-ntp (= 1.2.2+dfsg1-1+deb12u1), tzdata, libbsd0 (>= 0.0), libc6 (>= 2.34), libcap2 (>= 1:2.10), libssl3 (>= 3.0.0)
>     # aptitude purge lsb-base
>     The following packages will be REMOVED:
>       lsb-base{p}
>     0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
>     Need to get 0 B of archives. After unpacking 12.3 kB will be freed.
>     Do you want to continue? [Y/n/?]
> 
> Won't continuing here leave ntpsec with an unresolved package dependency?

I'm not sure if that's it, and I'm pretty sure I've never seen a `{p}`
(is that aptitude's way of indicating that a package will be purged
rather than just uninstalled; that which apt-get shows as `*`?), but
might at least a partial explanation be that lsb-base in Bookworm is
an empty transitional package?

On a freshly installed and up-to-date Bookworm VM, installing ntpsec
doesn't pull in lsb-base (the only additional package pulled in by
`apt-get install ntpsec` is python3-ntp), nor is lsb-base installed
after installation.

-- 
Michael Kjörling                     🔗 https://michael.kjorling.se
“Remember when, on the Internet, nobody cared that you were a dog?”

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