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

Bug#946389: opensm: calls non-existing 'rm_conffile' in debian/preinst



Package: opensm
Version: 3.3.20-1
Severity: normal


When installing opensm on debian stretch, I get:

root@mpsd-ib-node:~# apt-get install opensm
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  postfix-sqlite ssl-cert
Use 'apt autoremove' to remove them.
The following NEW packages will be installed:
  opensm
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 571 kB of archives.
After this operation, 1,314 kB of additional disk space will be used.
Get:1 http://mpsdfai.desy.de/debian stretch/main amd64 opensm amd64 3.3.20-1 [571 kB]
Fetched 571 kB in 0s (36.9 MB/s)
Selecting previously unselected package opensm.
(Reading database ... 81595 files and directories currently installed.)
Preparing to unpack .../opensm_3.3.20-1_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 7: /var/lib/dpkg/tmp.ci/preinst: rm_conffile: not found
Unpacking opensm (3.3.20-1) ...
Setting up opensm (3.3.20-1) ...
Processing triggers for systemd (232-25+deb9u12) ...
Processing triggers for man-db (2.7.6.1-2) ...


So the 'debian/preinst' calls 'rm_conffile', which does not exist.
I think the package should use 'dpkg-maintscript-helper rm_conffile' instead.

And looking at the debian buster version of the debian/preinst, the same issue persists also there. 



-- System Information:
Debian Release: 9.11
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

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

Versions of packages opensm depends on:
pn  infiniband-diags  <none>
ii  libc6             2.24-11+deb9u4
pn  libibumad3        <none>
pn  libopensm5a       <none>
pn  libosmcomp3       <none>
pn  libosmvendor4     <none>
ii  libwrap0          7.6.q-26

opensm recommends no packages.

opensm suggests no packages.

-- 
c u
henning


Reply to: