Package maintenance at the command line
popbugs
For some users, the Debian Popularity Contest (popularity-contest) is a controversial package. The popularity-contest package is usually installed during the installation of a Debian system and sets up a regular cronjob to report on package usage to the project from which user statistics are tabulated. This information is used to decide which packages go into the next release. However, some users consider it a violation of privacy, which is why the installer gives the option of installing it. One argument in favor of popularity-contest is popbugs
(Figure 8). This script correlates the popularity-contest data from your system with the list of critical bugs from the Debian bug-tracking system. The results are a list of critical bugs customized for your system, which can save you scanning through a complete list. If the log is enabled but has collected no data, the generalized critical bug page is shown. By default, the results are displayed in a web browser, but the option --output=FILE
writes the results instead to a file. If you decide this comparison could be useful but did not enable popularity-contest during installation, you can install it at any time like any other package.
which-pkg-broke
If an attempted installation of a package results in broken packages, which-pkg-broke
can be a useful tool for tracking down which related products might possibly be the problem. No options are available – just a history of past problems. This information may not be much use if the package whose installation attempt started the problem is related to dozens of others. Note, too, that a general release upgrade is listed as breaking packages (Figure 9).
checkrestart
Run by root, checkrestart
(Figure 10) finds services that need to be restarted after a system upgrade that has added updated or new libraries, because the processes running still expect the old deleted versions. It can be run with --package
(-p
), so that only deleted package files are located, or with --all
(-a
), which may produce false positives such as a file in the /tmp
directory. In addition, results can be edited using --blacklist=FILE
(-b=FILE
) to create a list of regular expressions to be excluded from the results. Still other ways to limit results are to exclude files associated with listed services with --ignore=SERVICE
(-i=NAME
) or process IDs with --excludepid=PID
(-e PID
). Output length can be controlled either with the usual --verbose
option or with --terse
(-t
).
« Previous 1 2 3 4 Next »
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
-
Halcyon Creates Anti-Ransomware Protection for Linux
As more Linux systems are targeted by ransomware, Halcyon is stepping up its protection.
-
Valve and Arch Linux Announce Collaboration
Valve and Arch have come together for two projects that will have a serious impact on the Linux distribution.
-
Hacker Successfully Runs Linux on a CPU from the Early ‘70s
From the office of "Look what I can do," Dmitry Grinberg was able to get Linux running on a processor that was created in 1971.
-
OSI and LPI Form Strategic Alliance
With a goal of strengthening Linux and open source communities, this new alliance aims to nurture the growth of more highly skilled professionals.
-
Fedora 41 Beta Available with Some Interesting Additions
If you're a Fedora fan, you'll be excited to hear the beta version of the latest release is now available for testing and includes plenty of updates.
-
AlmaLinux Unveils New Hardware Certification Process
The AlmaLinux Hardware Certification Program run by the Certification Special Interest Group (SIG) aims to ensure seamless compatibility between AlmaLinux and a wide range of hardware configurations.
-
Wind River Introduces eLxr Pro Linux Solution
eLxr Pro offers an end-to-end Linux solution backed by expert commercial support.
-
Juno Tab 3 Launches with Ubuntu 24.04
Anyone looking for a full-blown Linux tablet need look no further. Juno has released the Tab 3.
-
New KDE Slimbook Plasma Available for Preorder
Powered by an AMD Ryzen CPU, the latest KDE Slimbook laptop is powerful enough for local AI tasks.
-
Rhino Linux Announces Latest "Quick Update"
If you prefer your Linux distribution to be of the rolling type, Rhino Linux delivers a beautiful and reliable experience.