Package: debsums
Version: 2.0.52
Severity: wishlist
Dear Maintainer,
debsums -l conveniently gives a list of packages that have missing sums so you
can then just run "aptitude reinstall $(debsums -l)" and be happy.
It would be great if debsums had an option to do that for changed and missing
files too -- overloading -l if it is used with -s, perhaps? (only because
tools like apt-file already have [-l, --package-only] to list packages).
Fixing a system with accidentally deleted files (such as the one we were just
looking at in #debian) would then be as easy as:
aptitude reinstall $(debsums -s --package-only)
rather than something like:
debsums -s 2>&1 | sed -nr 's/.*from (.*) package\)$/\1/p' \
| xargs aptitude reinstall
which is a much more ugly command and much harder to deal with when you're
under the pump because you just deleted something important.
cheers
Stuart
-- System Information:
Debian Release: 7.0
APT prefers testing-updates
APT policy: (550, 'testing-updates'), (550, 'testing-proposed-updates'),
(550, 'testing'), (60, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/4 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debsums depends on:
ii dpkg 1.16.10
ii libdpkg-perl 1.16.10
ii libfile-fnmatch-perl 0.02-1+b2
ii perl 5.14.2-20
ii ucf 3.0025+nmu3
debsums recommends no packages.
debsums suggests no packages.
-- debconf information:
debsums/apt-autogen: true
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]