Bug#193550: Documentation typo in /usr/share/doc/apt/offline.*
Package: apt
Version: 0.5.4
Severity: minor
Tags: patch
In the files /usr/share/doc/apt/offline.*, the "Using APT on both
machines" section has a bug. Line 173 of the plain-text version reads:
# apt-get --no-d -o dir::etc::status=/var/lib/dpkg/status dist-upgrade
^^^
but should read:
# apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade
^^^^^
because the location of the status file is given by APT config option
Dir::State::Status as described in:
/usr/share/doc/apt/examples/configure-index.gz
(and there is no config option Dir::Etc:Status).
Patch to the original .sgml:
=== begin patch ===
--- offline.sgml Fri May 16 13:52:03 2003
+++ offline.sgml.fixed Fri May 16 13:53:38 2003
@@ -151,7 +151,7 @@
# export APT_CONFIG="/disc/apt.conf"
# apt-get check
[ APT generates a local copy of the cache files ]
- # apt-get --no-d -o dir::etc::status=/var/lib/dpkg/status dist-upgrade
+ # apt-get --no-d -o dir::state::status=/var/lib/dpkg/status dist-upgrade
[ Or any other APT command ]
</example>
=== end patch ===
Have a nice day,
Isaac Wilcox
Reply to: