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


Groups > linux.debian.user > #268467

Re: Dependency meaning

From The Wanderer <wanderer@fastmail.fm>
Newsgroups linux.debian.user
Subject Re: Dependency meaning
Date 2024-03-21 12:20 +0100
Message-ID <IkoCK-CUg-9@gated-at.bofh.it> (permalink)
References <IkmAW-BJX-11@gated-at.bofh.it>
Organization This space intentionally left blank.

Show all headers | View raw


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

On 2024-03-21 at 05:02, Detlef Vollmann wrote:

> This is essentially a follow-up on my question about the
> 64bit time_t transition.
> I'm trying to upgrade some packages manually.
> For this, I'm trying to understand the dependencies.
> 
> 'apt-cache showpkg libssl3t64' gives me this:

You might also try 'apt-cache show libssl3t64', and compare the
dependency-related parts of the results.

>> Dependencies: 
>> 3.1.5-1.1 - libc6 (2 2.34) libssl3 (3 3.1.5-1.1) openssh-client (3 1:9.4p1) openssh-server (3 1:9.4p1) python3-m2crypto (3 0.38.0-4) libssl3 (0 (null)) libssl3:i386 (3 3.1.5-1.1) libssl3:i386 (0 (null)) openssh-client:i386 (3 1:9.4p1) openssh-server:i386 (3 1:9.4p1) python3-m2crypto:i386 (3 0.38.0-4) libssl3t64:i386 (35 3.1.5-1.1) libssl3t64:i386 (38 3.1.5-1.1) 
> 
> I'm trying to understand, what the numbers in parentheses mean.
> The second numbers are obviously version numbers.
> I guess the first numbers are dependency types, but I have no idea,
> what they mean.
> The man page says "For the specific meaning of the remainder of the
> output it is best to consult the apt source code."
> I'd like to avoid this. Can anybody point me to a list what these
> numbers mean?

I don't think I even knew 'showpkg' was a verb for apt-cache, before this.

That said, by comparing against the output of 'apt-cache show' for the
same package name: it looks as if '2' is 'Depends:' and '3' is
'Breaks:'. I'm less sure about '35' and '38', but they might be
'Replaces:' and 'Provides" in some order.

I was actually running the commands against the non-'t64' version of
the package, because the one with that suffix isn't available in my
configured repositories yet. That one doesn't include the '0'
dependencies. Based on the fact that those dependencies are listed for
the 't64' version of the package, my guess is that '0' is 'Conflicts:'.

-- 
   The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man.         -- George Bernard Shaw

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


Thread

Dependency meaning Detlef Vollmann <dv@vollmann.ch> - 2024-03-21 10:10 +0100
  Re: Dependency meaning The Wanderer <wanderer@fastmail.fm> - 2024-03-21 12:20 +0100
  Re: Dependency meaning Sven Joachim <svenjoac@gmx.de> - 2024-03-21 23:10 +0100

csiph-web