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


Groups > linux.debian.user > #225917

Re: After software update systemd runs into timeouts

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: After software update systemd runs into timeouts
Date 2020-08-06 02:40 +0200
Message-ID <AAC6R-3yD-5@gated-at.bofh.it> (permalink)
References <AApCF-4z0-1@gated-at.bofh.it> <AAsTT-6pA-1@gated-at.bofh.it> <AAusF-7r1-3@gated-at.bofh.it> <AAxTz-18h-5@gated-at.bofh.it> <AAyZj-1Lu-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Wed 05 Aug 2020 at 22:53:26 (+0200), Urs Thuermann wrote:

> Should this be considered a bug?  Shouldn't 'aptitude why' show the
> packages that depend on it?

Why not read the man page:

       Note
       aptitude why does not perform full dependency
       resolution; it only displays direct relationships
       between packages. For instance, if A requires B, C
       requires D, and B and C conflict, “aptitude why-not D”
       will not produce the answer “A depends on B, B
       conflicts with C, and D depends on C”.

   By default aptitude outputs only the “most installed,
   strongest, tightest, shortest” dependency chain. That is,
   it looks for a chain that only contains packages which are
   installed or will be installed; it looks for the strongest
   possible dependencies under that restriction; it looks for
   chains that avoid ORed dependencies and Provides; and it
   looks for the shortest dependency chain meeting those
   criteria. These rules are progressively weakened until a
   match is found.

   If the verbosity level is 1 or more, then all the
   explanations aptitude can find will be displayed, in
   inverse order of relevance. If the verbosity level is 2 or
   more, a truly excessive amount of debugging information
   will be printed to standard output.

>     # aptitude why libpam-systemd
>     i   systemd Recommends libpam-systemd
>     # 

This looks like you used the default. You will probably need to pipe
the output through less:

$ aptitude why libpam-systemd | wc
      1       4      35
$ aptitude -v why libpam-systemd | wc
  26449  130410 1657367
$ aptitude -v -v why libpam-systemd | wc
4317784 23501088 268859202
$ 

BTW, with -s you don't need to do this sort of analysis as root.

$ aptitude -s purge libpam-systemd
The following packages will be REMOVED:
  libpam-systemd{p} 
0 packages upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 406 kB will be freed.
The following packages have unmet dependencies:
 udisks2 : Depends: libpam-systemd but it is not going to be installed
 policykit-1 : Depends: libpam-systemd but it is not going to be installed
 dbus-user-session : Depends: libpam-systemd but it is not going to be installed
The following actions will resolve these dependencies:

      Remove the following packages:                                      
1)      colord [1.4.3-4 (now, stable)]                                    
2)      dbus-user-session [1.12.20-0+deb10u1 (now, stable)]               
3)      policykit-1 [0.105-25 (now, stable)]                              
4)      udisks2 [2.8.1-4 (now, stable)]                                   

      Install the following packages:                                     
5)      dbus-x11 [1.12.20-0+deb10u1 (stable)]                             

      Leave the following dependencies unresolved:                        
6)      cups recommends colord                                            
7)      cups-daemon recommends colord                                     
8)      cups-filters recommends colord                                    
9)      hplip recommends policykit-1                                      
10)     needrestart recommends libpam-systemd | sysvinit-core             
11)     openssh-server recommends default-logind | logind | libpam-systemd
12)     systemd recommends libpam-systemd                                 
13)     udisks2 recommends policykit-1                                    
14)     xserver-xorg-core recommends libpam-systemd                       

Accept this solution? [Y/n/q/?] q
Abandoning all efforts to resolve these dependencies.
Abort.
$ 

Cheers,
David.

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


Thread

After software update systemd runs into timeouts Urs Thuermann <urs@isnogud.escape.de> - 2020-08-05 13:20 +0200
  Re: After software update systemd runs into timeouts Greg Wooledge <wooledg@eeg.ccf.org> - 2020-08-05 15:50 +0200
    Re: After software update systemd runs into timeouts Urs Thuermann <urs@isnogud.escape.de> - 2020-08-05 18:10 +0200
  Re: After software update systemd runs into timeouts Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-05 16:50 +0200
    Re: After software update systemd runs into timeouts Urs Thuermann <urs@isnogud.escape.de> - 2020-08-05 18:30 +0200
      Re: After software update systemd runs into timeouts Andrei POPESCU <andreimpopescu@gmail.com> - 2020-08-05 22:10 +0200
        Re: After software update systemd runs into timeouts Urs Thuermann <urs@isnogud.escape.de> - 2020-08-05 23:20 +0200
          Re: After software update systemd runs into timeouts David Wright <deblis@lionunicorn.co.uk> - 2020-08-06 02:40 +0200
            aptitude why (Was: Re: After software update systemd runs into timeouts) Urs Thuermann <urs@isnogud.escape.de> - 2020-08-06 10:20 +0200
              Re: aptitude why (Was: Re: After software update systemd runs into  timeouts) Dan Ritter <dsr@randomstring.org> - 2020-08-06 13:50 +0200
                Re: aptitude why (Was: Re: After software update systemd runs into timeouts) Kenneth Parker <sea7kenp@gmail.com> - 2020-08-06 15:40 +0200
                Re: aptitude why (Was: Re: After software update systemd runs into  timeouts) The Wanderer <wanderer@fastmail.fm> - 2020-08-07 04:10 +0200

csiph-web