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
-
TUXEDO Computers Unveils Linux Laptop Featuring AMD Ryzen CPU
This latest release is the first laptop to include the new CPU from Ryzen and Linux preinstalled.
-
XZ Gets the All-Clear
The back door xz vulnerability has been officially reverted for Fedora 40 and versions 38 and 39 were never affected.
-
Canonical Collaborates with Qualcomm on New Venture
This new joint effort is geared toward bringing Ubuntu and Ubuntu Core to Qualcomm-powered devices.
-
Kodi 21.0 Open-Source Entertainment Hub Released
After a year of development, the award-winning Kodi cross-platform, media center software is now available with many new additions and improvements.
-
Linux Usage Increases in Two Key Areas
If market share is your thing, you'll be happy to know that Linux is on the rise in two areas that, if they keep climbing, could have serious meaning for Linux's future.
-
Vulnerability Discovered in xz Libraries
An urgent alert for Fedora 40 has been posted and users should pay attention.
-
Canonical Bumps LTS Support to 12 years
If you're worried that your Ubuntu LTS release won't be supported long enough to last, Canonical has a surprise for you in the form of 12 years of security coverage.
-
Fedora 40 Beta Released Soon
With the official release of Fedora 40 coming in April, it's almost time to download the beta and see what's new.
-
New Pentesting Distribution to Compete with Kali Linux
SnoopGod is now available for your testing needs
-
Juno Computers Launches Another Linux Laptop
If you're looking for a powerhouse laptop that runs Ubuntu, the Juno Computers Neptune 17 v6 should be on your radar.