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

Wrong regular expressions in refresh_pattern (page 251)

Document Actions
More...

Reported on: 2005-10-06

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

The mysteries of LaTeX have caused the fifth and sixth line of the squid.conf file snippet to be falsely printed. In the fifth line, instead of the underlined parenthesis and 't' and 'g' characters, escaped periods should have appeared. In the sixth line, the wrapping was messed up:

refresh_pattern \.(u?deb|dsc|changes|(orig\.tar|diff)\.gz)$ 14400 20% 2592000
refresh_pattern ((Packages|Sources)(\.(gz|bz2))?|Release(\.gpg)?)$ 14300 20% 14400
Feedback

Richard Bejtlich, Tao Security: Krafft is obviously a Debian enthusiast, but he is not a zealot blind to any flaws Debian might possess. He is also not afraid to praise other OS' (like NetBSD) or declare that certain misconceptions (think debconf) are invalid. When necessary he compares Debian tools or syntax to other Linux distributions, such as a chart on pp 200-201 on apt, yum, up2date, and urpmi. The book also contains a large number of footnotes with URLs for more research and additional commentary.

 
 

Powered by Plone

This site conforms to the following standards: