Bug#784763: libsane-common: fails to upgrade from 1.0.24-9
Package: libsane-common Version: 1.0.24-10 Severity: serious Upgrading from 1.0.24-9 fails with Preparing to unpack .../libsane-common_1.0.24-10_all.deb ... /var/lib/dpkg/tmp.ci/preinst: 9: /var/lib/dpkg/tmp.ci/preinst: rm_conffile: not found dpkg: error processing archive /var/cache/apt/archives/libsane-common_1.0.24-10_all.deb (--unpack): subprocess new pre-installation script returned error exit status 127 Missing dpkg-maintscript-helper? Cheers -- Sebastian Ramacher signature.asc Description: Digital signature
Bug#784763: libsane-common: fails to upgrade from 1.0.24-9
This might be solvable using a simple versioned pre-depends on dpkg - see http://man7.org/linux/man-pages/man1/dpkg-maintscript-helper.1.html#INTEGRATION_IN%20PACKAGES (I haven't tested building a package using this though.) best -- Andreas Rönnquist gus...@gusnan.se -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#784763: libsane-common: fails to upgrade from 1.0.24-9
Package: libsane-common Version: 1.0.24-9 Followup-For: Bug #784763 Dear Maintainer, Preparing to unpack .../libsane-common_1.0.24-10_all.deb ... /var/lib/dpkg/tmp.ci/preinst: 9: /var/lib/dpkg/tmp.ci/preinst: rm_conffile: not found dpkg: error processing archive /var/cache/apt/archives/libsane-common_1.0.24-10_all.deb (--unpack): subprocess new pre-installation script returned error exit status 127 Errors were encountered while processing: /var/cache/apt/archives/libsane-common_1.0.24-10_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) -- System Information: Debian Release: stretch/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_ZA.UTF-8, LC_CTYPE=en_ZA.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system) -- Configuration Files: /etc/sane.d/dll.conf changed: net abaton agfafocus apple avision artec artec_eplus48u as6e bh canon canon630u canon_dr cardscan coolscan coolscan3 dell1600n_net dmc epjitsu epson2 fujitsu genesys gt68xx hp hp3900 hpsj5s hp3500 hp4200 hp5400 hp5590 hpljm1005 hs2p ibm kodak kodakaio kvs1025 kvs20xx leo lexmark ma1509 magicolor matsushita microtek microtek2 mustek mustek_usb mustek_usb2 nec niash pie pixma plustek qcam ricoh rts8891 s9036 sceptre sharp sm3600 sm3840 snapscan sp15c tamarack teco1 teco2 teco3 u12 umax umax1220u v4l xerox_mfp hpaio -- no debconf information -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#784763: libsane-common: fails to upgrade from 1.0.24-9
On Fri, 2015-05-08 at 21:32 +0200, Andreas Ronnquist wrote: This might be solvable using a simple versioned pre-depends on dpkg - see http://man7.org/linux/man-pages/man1/dpkg-maintscript-helper.1.html#INTEGRATION_IN%20PACKAGES Nope. The problem is that the preinst simply calls rm_conffile, rather than dpkg-maintscript-helper rm_conffile as documented. I'm not quite sure how the package got uploaded in this state, but it should be an easy fix. Regards, Adam -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org