Your message dated Mon, 19 Dec 2016 03:07:28 +0000
with message-id <e1ciois-000eap...@fasolo.debian.org>
and subject line Bug#848422: fixed in dpkg 1.18.17
has caused the Debian Bug report #848422,
regarding dpkg-maintscript-helper: error: dpkg: error: version '' has bad 
syntax: version string is empty
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
848422: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=848422
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: dpkg
Version: 1.18.16
Severity: important
File: /usr/bin/dpkg-maintscript-helper

Hi,

I am not sure about this bug's severity, it prevents software from
being installed. There is at least one report against another package,
#848413.

[22/1110]mh@salida:~ $ sudo dpkg --install 
/var/cache/apt/archives/dirmngr_2.1.16-3_amd64.deb
(Reading database ... 42030 files and directories currently installed.)
Preparing to unpack .../dirmngr_2.1.16-3_amd64.deb ...
dpkg-maintscript-helper: error: dpkg: error: version '' has bad syntax: version 
string is empty
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
dpkg-maintscript-helper: error: dpkg: error: version '' has bad syntax: version 
string is empty
dpkg: error processing archive 
/var/cache/apt/archives/dirmngr_2.1.16-3_amd64.deb (--install):
 subprocess new pre-removal script returned error exit status 1
dpkg-maintscript-helper: error: dpkg: error: version '' has bad syntax: version 
string is empty
dpkg: error while cleaning up:
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/dirmngr_2.1.16-3_amd64.deb

Going back to dpkg from testing makes dirmngr install just fine:

1 [25/1112]mh@salida:~ $ sudo apt install dpkg/testingReading package lists... 
Done
Building dependency tree
Reading state information... Done
Selected version '1.18.15' (Debian:testing [amd64]) for 'dpkg'
The following packages will be DOWNGRADED:
  dpkg
0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 0 B/2506 kB of archives.
After this operation, 4096 B of additional disk space will be used.
Do you want to continue? [Y/n]
dpkg: warning: downgrading dpkg from 1.18.16 to 1.18.15
(Reading database ... 42030 files and directories currently installed.)
Preparing to unpack .../dpkg_1.18.15_amd64.deb ...
Unpacking dpkg (1.18.15) over (1.18.16) ...
Setting up dpkg (1.18.15) ...
Processing triggers for man-db (2.7.6.1-2) ...
dpkg: error processing package dirmngr (--configure):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting configuration
Errors were encountered while processing:
 dirmngr
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)
100 [26/1113]mh@salida:~ $ sudo dpkg --install 
/var/cache/apt/archives/dirmngr_2.1.16-3_amd64.deb
Selecting previously unselected package dirmngr.
(Reading database ... 42030 files and directories currently installed.)
Preparing to unpack .../dirmngr_2.1.16-3_amd64.deb ...
Unpacking dirmngr (2.1.16-3) over (2.1.16-3) ...
Setting up dirmngr (2.1.16-3) ...
Processing triggers for man-db (2.7.6.1-2) ...
[27/1114]mh@salida:~ $

Greetings
Marc

-- System Information:
Debian Release: stretch/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

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

Versions of packages dpkg depends on:
ii  libbz2-1.0   1.0.6-8
ii  libc6        2.24-8
ii  liblzma5     5.2.2-1.2
ii  libselinux1  2.6-3
ii  tar          1.29b-1.1
ii  zlib1g       1:1.2.8.dfsg-4

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt  1.4~beta2

-- Configuration Files:
/etc/logrotate.d/dpkg changed [not included]

-- no debconf information

--- End Message ---
--- Begin Message ---
Source: dpkg
Source-Version: 1.18.17

We believe that the bug you reported is fixed in the latest version of
dpkg, which is due to be installed in the Debian FTP archive.

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 848...@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Guillem Jover <guil...@debian.org> (supplier of updated dpkg 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 ftpmas...@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Mon, 19 Dec 2016 02:43:10 +0100
Source: dpkg
Binary: dpkg libdpkg-dev dpkg-dev libdpkg-perl dselect
Architecture: source
Version: 1.18.17
Distribution: unstable
Urgency: medium
Maintainer: Dpkg Developers <debian-d...@lists.debian.org>
Changed-By: Guillem Jover <guil...@debian.org>
Description:
 dpkg       - Debian package management system
 dpkg-dev   - Debian package development tools
 dselect    - Debian package management front-end
 libdpkg-dev - Debian package management static library
 libdpkg-perl - Dpkg perl modules
Closes: 649531 843073 848422
Changes:
 dpkg (1.18.17) unstable; urgency=medium
 .
   [ Guillem Jover ]
   * Handle empty versions on validation in dpkg-maintscript-helper as they
     are optional. Regression introduced in dpkg 1.18.16. Closes: #848422
   * Validate versions too in dpkg-maintscript-helper symlink_to_dir and
     dir_to_symlink commands.
   * Improve logic to identify packages owning a library in dpkg-shlibdeps,
     by handling the same library appearing more than once on the filesystem
     Thanks to Raphaël Hertzog <hert...@debian.org>. Closes: #843073
   * Documentation:
     - Clarify that dpkg-buildpackage does not run «dpkg-source --before-build»
       when using the -T option. Closes: #649531
     - Document that dpkg sets DPKG_ADMINDIR on maintainer script environment.
   * Packaging:
     - Do not let dh_perl insert a dependency for libdpkg-perl, because it
       emits perl instead of perl:any. Instead hardcode a perl:any dependency
       to comply with the perl policy and make the Multi-Arch hinter happy.
 .
   [ Updated scripts translations ]
   * German (Helge Kreutzmann).
 .
   [ Updated man pages translations ]
   * German (Helge Kreutzmann).
Checksums-Sha1:
 7dcc4a6c3a418c821817f913228a26e1e352102c 2032 dpkg_1.18.17.dsc
 6075fb692aa80b53283c8f913b2b8a1549443f91 4501292 dpkg_1.18.17.tar.xz
Checksums-Sha256:
 3af8240f15f0dc542afc8f906eddf167dd7f96e5695ca786f1bc11e0204e4dcb 2032 
dpkg_1.18.17.dsc
 7cd322f667eb2d3cbc96b98f7b9c0a8840e62ff2711e1fce5da85fc43187e51c 4501292 
dpkg_1.18.17.tar.xz
Files:
 fa726149cf5c8084c7ff508cca108b46 2032 admin required dpkg_1.18.17.dsc
 e8a3ab93c2b8e882e64bdf9e378221be 4501292 admin required dpkg_1.18.17.tar.xz

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEETz509DYFDBD1aWV0uXK/PqSuV6MFAlhXR8gACgkQuXK/PqSu
V6Nz8xAAufgHA45PxTGfaE17t0sxFj+9nG+v82deO0rJ4hLADLdCAXSdBdMmZlD0
dYV3qNrZHbwIVI/tDqWFjrphrKw62TNVuMmaLBywAb7e2ftcNpRDj+F2ryYqBVkX
4taNBa/oS2NajcPuFoCe9u8L7g2zyBVUADnS1rxf3xQ+LDKmjrXBZXurE9Ig5jCi
bAbUllJkmE+u6mNHJYtTDqSdd5wcJjI7mO4VoGPgsnHupq2wqlzdM+015cQzRjvI
rGx51tM4reXQZL2QZIwuR8aOQ4WlAsib8BTYnJPVer2GEN/SP5766sNxCuUoV/cj
6ghZhNqZ504Zoqnuf/u5oYpbTH6DXWI7bq+c8HzuIT6VejZpSG4OqmMouNerBV7u
5K03KaNGl06AaRQvzmYOeSVPB+0P6Ec1eOYn5VHEJbOUuV5fEq4tSHlOR0t0l9My
6/hQY9e/3EZa4AYIPv9D/tCcEWB4tamxZFnpmlCqOYRjLDJhQd1035jCHinvg1hY
lFiMgi0wL47fMHZFli2e4moW3kHwzAfOrE7tYGv9YIy0C/k6AOoRswMg1hX75RRN
9rho1tK4kXeVd699muRzjyVa+RyuFYKc8RrMkyBOKvjf4j8wlrRIVkYxkopMale2
HkUx3jOkvjG+gHKbY2tUb1njpqKrq87IvAZL2Wwp4PRHUHr1dJQ=
=bcJM
-----END PGP SIGNATURE-----

--- End Message ---

Reply via email to