Package: debian-goodies
Version: 0.63
Severity: normal
File: /usr/bin/debmany

Dear Maintainer,

If the package you are trying to inspect with debmany is not
installed, but its deb exists in /var/cache/apt/archives, then debmany
incorrectly stops with error "There is no package called 'foo'". This
is because the apt-get command used in debmany only shows download
URIs for files which don't already exist in /var/cache/apt/archives.

Changing line 247 to this fixes it (use apt-get download instead of
apt-get install; this also removes the need for grep):

    aptdata=`apt-get --print-uris download "$package" 2>/dev/null`


-- System Information:
Debian Release: 8.6
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 
'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL 
set to en_US.UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages debian-goodies depends on:
ii  curl                      7.38.0-4+deb8u5
ii  dctrl-tools [grep-dctrl]  2.23
ii  perl                      5.20.2-3+deb8u6
ii  python                    2.7.9-1
ii  whiptail                  0.52.17-1+b1

Versions of packages debian-goodies recommends:
ii  lsof  4.86+dfsg-1

Versions of packages debian-goodies suggests:
ii  popularity-contest  1.61
ii  xdg-utils           1.1.0~rc1+git20111210-7.4
ii  zenity              3.14.0-1

-- no debconf information

Reply via email to