Debian-goodies: visualizzare le dipendenze di un pacchetto con which-pkg-broke

Mattepuffo's logo
Debian-goodies: visualizzare le dipendenze di un pacchetto con which-pkg-broke

Debian-goodies: visualizzare le dipendenze di un pacchetto con which-pkg-broke

Oggi vediamo un altro comando presente nel pacchetto Debian-goodies: which-pkg-broke!

Prima di tutto installiamo il pacchetto (se non lo abbiamo già fatto):

# aptitude install debian-goodies

Questo comando ci permette di visualizzare tutte le dipendenze di un determinato pacchetto.

Può essere utile anche per verificare se manca qualcosa in caso di malfunzionamento.

Questo un esempio del suo utilizzo:

$ which-pkg-broke php7.0-gd
Package  has no install time info
Package  has no install time info
Package ttf-bitstream-vera has no install time info
libxau6:amd64                                          Mon Jan 18 09:47:07 2016
libpcre3:amd64                                         Fri Oct  6 08:54:14 2017
libexpat1:amd64                                        Fri Oct  6 08:54:14 2017
zlib1g:amd64                                           Fri Oct  6 08:54:17 2017
libbsd0:amd64                                          Fri Oct  6 08:54:25 2017
coreutils                                              Fri Oct  6 08:54:31 2017
tar                                                    Fri Oct  6 08:54:33 2017
liblzma5:amd64                                         Fri Oct  6 08:54:36 2017
libbz2-1.0:amd64                                       Fri Oct  6 08:54:38 2017
debconf                                                Fri Oct  6 08:54:53 2017
sed                                                    Fri Oct  6 08:55:28 2017
libx11-data                                            Fri Oct  6 08:55:36 2017
libxcb1:amd64                                          Fri Oct  6 08:55:37 2017
libxdmcp6:amd64                                        Fri Oct  6 08:55:37 2017
libx11-6:amd64                                         Fri Oct  6 08:55:37 2017
libxpm4:amd64                                          Fri Oct  6 08:55:38 2017
ucf                                                    Fri Oct  6 08:55:47 2017
fonts-liberation                                       Fri Oct  6 08:55:47 2017
fonts-dejavu-core                                      Fri Oct  6 08:55:47 2017
fontconfig-config                                      Fri Oct  6 08:55:48 2017
libfontconfig1:amd64                                   Fri Oct  6 08:55:48 2017
libattr1:amd64                                         Fri Oct  6 08:56:08 2017
libacl1:amd64                                          Fri Oct  6 08:56:09 2017
libjpeg62-turbo:amd64                                  Fri Oct  6 08:57:45 2017
libjbig0:amd64                                         Fri Oct  6 08:58:42 2017
psmisc                                                 Fri Oct  6 08:59:12 2017
init-system-helpers                                    Fri Oct  6 09:23:53 2017
libwebp6:amd64                                         Fri Oct  6 09:24:50 2017
libpng16-16:amd64                                      Fri Oct  6 09:24:51 2017
libfreetype6:amd64                                     Fri Oct  6 09:25:35 2017
libgd3:amd64                                           Fri Oct  6 09:26:12 2017
php-common                                             Fri Oct  6 09:39:50 2017
libselinux1:amd64                                      Thu Oct 19 09:05:39 2017
libtiff5:amd64                                         Mon Jan 29 18:27:32 2018
libgcc1:amd64                                          Sun Mar  4 18:18:45 2018
gcc-6-base:amd64                                       Sun Mar  4 18:18:45 2018
libc6:amd64                                            Thu Mar 15 09:02:38 2018
libtinfo5:amd64                                        Thu Mar 15 09:02:55 2018
multiarch-support                                      Thu Mar 15 09:03:02 2018
libssl1.1:amd64                                        Sun Apr  8 20:23:08 2018
perl-base                                              Tue Jun 19 11:46:22 2018
php7.0-gd                                              Thu Jul 12 09:35:47 2018
php7.0-common                                          Thu Jul 12 09:35:51 2018
dpkg                             

Oppure:

$ which-pkg-broke vim
libpcre3:amd64                                         Fri Oct  6 08:54:14 2017
libattr1:amd64                                         Fri Oct  6 08:56:08 2017
libacl1:amd64                                          Fri Oct  6 08:56:09 2017
libgpm2:amd64                                          Fri Oct  6 08:56:23 2017
libselinux1:amd64                                      Thu Oct 19 09:05:39 2017
vim                                                    Thu Oct 19 09:05:41 2017
xxd                                                    Thu Oct 19 09:05:41 2017
vim-runtime                                            Thu Oct 19 09:05:46 2017
vim-common                                             Thu Oct 19 09:05:46 2017
libgcc1:amd64                                          Sun Mar  4 18:18:45 2018
gcc-6-base:amd64                                       Sun Mar  4 18:18:45 2018
libc6:amd64                                            Thu Mar 15 09:02:38 2018
libtinfo5:amd64                                        Thu Mar 15 09:02:55 2018
multiarch-support                                      Thu Mar 15 09:03:02 2018

Enjoy!


Condividi

Commentami!