Option in man page that doesn't exist

Bug #60216 reported by Vassilis Pandis
2
Affects Status Importance Assigned to Milestone
apt-proxy (Debian)
Fix Released
Unknown
apt-proxy (Ubuntu)
Fix Released
Undecided
MOTU

Bug Description

I was trying to setup apt-proxy. Right after installing, I followed the instructions at https://help.ubuntu.com/community/AptProxy (look under "Importing Apt Cache").

This is what happens:

pandis@pandis-laptop:~$ sudo apt-proxy-import -r -i /var/cache/apt/archives
WARNING: apt-proxy has not been tested under this version of twisted (2.4.0).
WARNING: although it should work without problem.
/usr/sbin/apt-proxy-import: option -i not recognized

In the man page, the exact command is mentioned (under "USING TO BOOTSTRAP A NEW APT-PROXY CACHE" and under " IMPORTING APT-MOVE CACHE" ) but the -i option neither exists nor is documented.

Revision history for this message
In , A Costa (agcosta) wrote :

What IS that '-i' anyway?

 % man apt-proxy-import | grep -n -C 2 "\-i "
 49-
 50- 2. Import files from apt's cache:
 51: apt-proxy-import -i /var/cache/apt/archives
 52-
 53-IMPORTING APT-MOVE CACHE
 --
 55- following command:
 56-
 57: apt-proxy-import -r -i /var/cache/apt-move
 58-
 59- This tells apt-proxy-import to recuse over each directory in the

Also, a typo in #59:

 s/recuse/recurse/

(Sorry, no patch -- I can't patch 'help2man' generated pages yet...)

Revision history for this message
In , Chris Halls (halls) wrote : Bug#328983: fixed in apt-proxy 1.9.34
Download full text (4.3 KiB)

Source: apt-proxy
Source-Version: 1.9.34

We believe that the bug you reported is fixed in the latest version of
apt-proxy, which is due to be installed in the Debian FTP archive:

apt-proxy_1.9.34.dsc
  to pool/main/a/apt-proxy/apt-proxy_1.9.34.dsc
apt-proxy_1.9.34.tar.gz
  to pool/main/a/apt-proxy/apt-proxy_1.9.34.tar.gz
apt-proxy_1.9.34_all.deb
  to pool/main/a/apt-proxy/apt-proxy_1.9.34_all.deb

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to <email address hidden>,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Chris Halls <email address hidden> (supplier of updated apt-proxy package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing <email address hidden>)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon, 7 Aug 2006 18:54:56 +0100
Source: apt-proxy
Binary: apt-proxy
Architecture: source all
Version: 1.9.34
Distribution: unstable
Urgency: low
Maintainer: Chris Halls <email address hidden>
Changed-By: Chris Halls <email address hidden>
Description:
 apt-proxy - Debian archive proxy and partial mirror builder
Closes: 141312 259011 261802 272206 304611 306095 312969 323147 327239 328983 329764 329935 336433 337966 359798 359805 374405 375677 377322
Changes:
 apt-proxy (1.9.34) unstable; urgency=low
 .
   * Acknowledge NMU by Luk Claes, thanks! (Closes: #359798)
 .
   * Change maintainer to myself and add Otavio to Uploaders, at
     Otavio's request. Thanks Otavio for all your work.
 .
   * Caching behaviour changes:
     - Reorganise download process to be more logical, fixing several problems
       (Closes: #329764)
     - Recognise apt package diff files (*.diff/Index). Thanks
       Florian Weimer for the patch (Closes: #336433)
     - Remove http scheme, host and port from URL requested by clients
       (Closes: #374405)
     - Add download queueing mechanism. Clients can now use HTTP pipelining to
       request files, and each file will be queued at the corresponding backend.
       Each separate apt client connection generates a connection to the
       backend. (Closes: #261802)
     - HTTP pipelining now works and is enabled by default
       (Closes: #272206, #141312)
 .
   * Code reorganisation:
     - Fix breakage caused by new twisted (Closes: #375677)
     - Move fetchers and cache management into separate files
     - Add more unit tests
     - Fix shutdown code (Closes: #359805)
 .
   * apt-proxy.conf:
     - http_proxy can now be set in each [backend] section
     - Add support for username and password in http_proxy parameter.
       Thanks to Thomas Champagne for the patch (Closes: #323147, #327239)
     - Add bandwidth_limit configuration parameter to limit download
       rates (Closes: #306095, #259011)
     - Add support for rsync port specification
     - Give a meaningful error message if an empty time is given in the
       configuration file (Closes: #304611)
 .
   * Packaging changes:
...

Read more...

Revision history for this message
Vassilis Pandis (pandisv) wrote :

I was trying to setup apt-proxy. Right after installing, I followed the instructions at https://help.ubuntu.com/community/AptProxy (look under "Importing Apt Cache").

This is what happens:

pandis@pandis-laptop:~$ sudo apt-proxy-import -r -i /var/cache/apt/archives
WARNING: apt-proxy has not been tested under this version of twisted (2.4.0).
WARNING: although it should work without problem.
/usr/sbin/apt-proxy-import: option -i not recognized

In the man page, the exact command is mentioned (under "USING TO BOOTSTRAP A NEW APT-PROXY CACHE" and under " IMPORTING APT-MOVE CACHE" ) but the -i option neither exists nor is documented.

Changed in apt-proxy:
assignee: nobody → motu
Revision history for this message
Guillaume Desmottes (cassidy) wrote :

Fixed in Debian since version 1.9.34

Changed in apt-proxy:
status: Unconfirmed → Confirmed
Changed in apt-proxy:
status: Unknown → Fix Released
Revision history for this message
Guillaume Desmottes (cassidy) wrote :
Download full text (3.2 KiB)

This upload fix that issue.

apt-proxy (1.9.35ubuntu1)

    * Merge from Debian unstable. Remaining Ubuntu changes are:
    * doc/apt-proxy.conf: Set min_refresh_delay=1s.
    * debian/init.d: Use LSB init-functions.
    * debian/install: Install into python2.4 dirs instead of python2.3.

apt-proxy (1.9.35)

    * http_proxy option:
          o Fix import error with option enabled. (Closes: #382171)
          o Fix authorisation header that is sent by http client
          o apt-proxy.conf.5: Document that http_proxy can take a username and password parameter
    * apt-proxy-import:
          o Fix import routine (Closes: #382012)
    * Add translations that got lost in previous version (Closes: #330202, #331515, #336384, #333847)
    * Tighten twisted dependency to twisted-web only to force upgrades for Etch users (Closes: #382193, #382946)

apt-proxy (1.9.34)

    * Acknowledge NMU by Luk Claes, thanks! (Closes: #359798)
    * Change maintainer to myself and add Otavio to Uploaders, at Otavio's request. Thanks Otavio for all your work.
    * Caching behaviour changes:
          o Reorganise download process to be more logical, fixing several problems (Closes: #329764)
          o Recognise apt package diff files (*.diff/Index). Thanks Florian Weimer for the patch (Closes: #336433)
          o Remove http scheme, host and port from URL requested by clients (Closes: #374405)
          o Add download queueing mechanism. Clients can now use HTTP pipelining to request files, and each file will be queued at the corresponding backend. Each separate apt client connection generates a connection to the backend. (Closes: #261802)
          o HTTP pipelining now works and is enabled by default (Closes: #272206, #141312)
    * Code reorganisation:
          o Fix breakage caused by new twisted (Closes: #375677)
          o Move fetchers and cache management into separate files
          o Add more unit tests
          o Fix shutdown code (Closes: #359805)
    * apt-proxy.conf:
          o http_proxy can now be set in each [backend] section
          o Add support for username and password in http_proxy parameter. Thanks to Thomas Champagne for the patch (Closes: #323147, #327239)
          o Add bandwidth_limit configuration parameter to limit download rates (Closes: #306095, #259011)
          o Add support for rsync port specification
          o Give a meaningful error message if an empty time is given in the configuration file (Closes: #304611)
    * Packaging changes:
          o Always check cache directory and logfile permissions when package is installed, thanks Ben Hutchings for the patch (Closes: #312969)
          o Add debhelper to Build-Depends, needed for dh_clean in clean target
          o Remove reference to v1 in description (Closes: #337966)
          o Support updated Python policy, thanks Matthias Klose. (Closes: #377322)
          o Standards-Version 3.7.2 (no changes necessary)
    * Documentation updates:
          o Remove obsolete debian/TODO from source package
          o Update doc/TODO, removing fixed items
          o Remove references to -i parameter in apt-proxy.conf manp...

Read more...

Changed in apt-proxy:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.