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

Jörg Fendrich: Quite an accomplishment! Exactly what Debian needed. A must-get for anyone who uses Debian professionally. Thank you, Martin!

 
 

Powered by Plone

This site conforms to the following standards: