Skip to content.
The Debian System -- Concepts and Techniques The Debian System -- Concepts and Techniques
Martin F. Krafft Open Source Press / No Starch Press ISBN 3-937514-07-4 / 1-593270-69-0
Sections
Personal tools

Missing argument to cut command (page 148)

Document Actions
More...

Reported on: 2006-06-25

In chapter 5. The Debian package management system on page 148:

At the bottom of the page, the cut command is missing the field delimiter argument. The correct line reads:

dpkg-query --show --showformat='${Status} ${Package}\n' \
| grep ^deinstall | cut -f4 -d' ' | xargs dpkg -P

Credits

Kenshi Muto, Junichi Uekawa, Stefan Schlee
Feedback

Richard Bejtlich, Tao Security: It is fair to say that Krafft's book has helped me decide to stay with Debian for systems that need to run Linux. I am confident that I can return to TDS when I need to solve problems, and be armed with a variety of options for doing so. I would love to see an equivalent book for FreeBSD!

 
 

Powered by Plone

This site conforms to the following standards: