A toolkit for packages
which-pkg-broke
The which-pkg-broke
command displays all the dependencies for a package and when each was installed. This information can take a few seconds to retrieve and quickly fills several screens with its output, so you might want to pipe the command through less
.
In theory, you can then identify which packages might be causing problems by correlating when installation problems began with which packages were installed around that time (Figure 10). In practice, however, this command has only limited usefulness, because not all packages record their installation time.

Hands-On Administration
Like dpkg-reconfigure [3], the scripts in the Debian Goodies collection are part of the unique technology that Debian has built during the past two decades. This technology has been passed along, mostly unchanged, to its derivatives – even those that emphasize the desktop rather than the command line.
The opportunities that this technology offers can be overwhelming; however, it provides a hands-on approach to administering your system that few other Linux alternatives can match.
Take the time now to learn what Debian Goodies offers, making mental notes about the scripts you imagine you are most likely to use. Then, whether you are troubleshooting your system or simply curious about different aspects of your system, you will know what resources are available to you.
Infos
- Debian Goodies: http://packages.debian.org/sid/debian-goodies
- Debian Popularity Contest: http://popcon.debian.org/
- "Command Line: dpkg-reconfigure" by Bruce Byfield, Linux Pro Magazine, October 2013, pg. 76
« Previous 1 2 3 4
Buy this article as PDF
(incl. VAT)
Buy Linux Magazine
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters
Support Our Work
Linux Magazine content is made possible with support from readers like you. Please consider contributing when you've found an article to be beneficial.
News
-
2024 Open Source Professionals Job Survey Now Open
Share your expectations regarding open source jobs.
-
Arch Linux 2023.12.01 Released with a Much-Improved Installer
If you've ever wanted to install Arch Linux, now is your time. With the latest release, the archinstall script vastly simplifies the process.
-
Zorin OS 17 Beta Available for Testing
The upcoming version of Zorin OS includes plenty of improvements to take your PC to a whole new level of user-friendliness.
-
Red Hat Migrates RHEL from Xorg to Wayland
If you've been wondering when Xorg will finally be a thing of the past, wonder no more, as Red Hat has made it clear.
-
PipeWire 1.0 Officially Released
PipeWire was created to take the place of the oft-troubled PulseAudio and has finally reached the 1.0 status as a major update with plenty of improvements and the usual bug fixes.
-
Rocky Linux 9.3 Available for Download
The latest version of the RHEL alternative is now available and brings back cloud and container images for ppc64le along with plenty of new features and fixes.
-
Ubuntu Budgie Shifts How to Tackle Wayland
Ubuntu Budgie has yet to make the switch to Wayland but with a change in approaches, they're finally on track to making it happen.
-
TUXEDO's New Ultraportable Linux Workstation Released
The TUXEDO Pulse 14 blends portability with power, thanks to the AMD Ryzen 7 7840HS CPU.
-
AlmaLinux Will No Longer Be "Just Another RHEL Clone"
With the release of AlmaLinux 9.3, the distribution will be built entirely from upstream sources.
-
elementary OS 8 Has a Big Surprise in Store
When elementary OS 8 finally arrives, it will not only be based on Ubuntu 24.04 but it will also default to Wayland for better performance and security.