[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#905353: reportbug: reports package on hold as not installed



Package: reportbug
Version: 7.5.0
Severity: normal

When preparing a bug report against elpa-debian-el, I noticed that
reportbug would one of the packages it depends on (emacsen-common) as
"not installed".  It turns out that this package was actually installed,
but set on hold.  Here is some useful output to help reproducing the
issue:

,----
| $ export LANG=C
| $ apt-cache policy emacsen-common
| emacsen-common:
|   Installed: 2.0.8
|   Candidate: 3.0.2
|   Version table:
|      3.0.2 500
|         500 http://deb.debian.org/debian unstable/main amd64 Packages
|         500 http://deb.debian.org/debian unstable/main i386 Packages
|  *** 2.0.8 100
|         100 /var/lib/dpkg/status
| $ echo emacsen-common install | sudo dpkg --set-selections
| $ reportbug --template elpa-debian-el 2>/dev/null | grep -C3 emacsen-common
| Versions of packages elpa-debian-el depends on:
| ii  bzip2           1.0.6-8.1
| ii  dpkg            1.19.0.5+b1
| ii  emacsen-common  2.0.8
| ii  reportbug       7.5.0
| ii  xz-utils        5.2.2-1.3
| 
| $ echo emacsen-common hold | sudo dpkg --set-selections
| $ reportbug --template elpa-debian-el 2>/dev/null | grep -C3 emacsen-common
| Versions of packages elpa-debian-el depends on:
| ii  bzip2           1.0.6-8.1
| ii  dpkg            1.19.0.5+b1
| pn  emacsen-common  <none>
| ii  reportbug       7.5.0
| ii  xz-utils        5.2.2-1.3
`----

In the output of the last command, I would have expected emacsen-common
to be reported as

hi  emacsen-common  2.0.8

instead.


-- Package-specific info:
** Environment settings:
EDITOR="emacsclient -a emacs"
PAGER="/bin/cat"
VISUAL="emacsclient -a emacs"
EMAIL="svenjoac@gmx.de"
DEBFULLNAME="Sven Joachim"
NAME="Sven Joachim"

** /home/sven/.reportbugrc:
reportbug_version "4.0"
mode expert
ui text
offline
email "svenjoac@gmx.de"
no-cc
header "X-Debbugs-CC: svenjoac@gmx.de"
-- System Information:
Debian Release: buster/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.17.12-pavil (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt                1.6.3
ii  python3            3.6.6-1
ii  python3-reportbug  7.5.0
ii  sensible-utils     0.0.12

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail                      <none>
ii  debconf-utils                   1.5.69
pn  debsums                         <none>
pn  dlocate                         <none>
ii  emacs25-bin-common              25.2+1-6+b3
ii  file                            1:5.33-3
ii  gnupg                           2.2.9-1
ii  postfix [mail-transport-agent]  3.3.0-1+b1
pn  python3-urwid                   <none>
pn  reportbug-gtk                   <none>
ii  xdg-utils                       1.1.3-1

Versions of packages python3-reportbug depends on:
ii  apt                1.6.3
ii  file               1:5.33-3
ii  python3            3.6.6-1
ii  python3-apt        1.6.2
ii  python3-debian     0.1.32
ii  python3-debianbts  2.7.2
ii  python3-requests   2.18.4-2

python3-reportbug suggests no packages.

-- no debconf information

Reply to: