Debian Bug report logs - #610618
nis: broken postinst: dpkg: version 'nis_3.17-18' has bad syntax: invalid character in version number

version graph

Package: nis; Maintainer for nis is Mark Brown <broonie@debian.org>; Source for nis is src:nis (PTS, buildd, popcon).

Reported by: Axel Beckert <abe@debian.org>

Date: Thu, 20 Jan 2011 13:57:01 UTC

Severity: normal

Found in version nis/3.17-31

Fixed in version nis/3.17-32

Done: Mark Brown <broonie@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, abe@debian.org, Mark Brown <broonie@debian.org>:
Bug#610618; Package nis. (Thu, 20 Jan 2011 13:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Axel Beckert <abe@debian.org>:
New Bug report received and forwarded. Copy sent to abe@debian.org, Mark Brown <broonie@debian.org>. (Thu, 20 Jan 2011 13:57:04 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Axel Beckert <abe@debian.org>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: nis: broken postinst: dpkg: version 'nis_3.17-18' has bad syntax: invalid character in version number
Date: Thu, 20 Jan 2011 14:54:22 +0100 (CET)
Package: nis
Version: 3.17-31
Severity: normal

Since probably the fix for http://bugs.debian.org/497849 (Please
remove stop links from rc0 and rc6) in 3.17-18, there is a broken
version comparision in nis's postinst script:

root@snidget:~# dpkg-reconfigure -phigh nis
Stopping NIS services: ypbind ypserv ypppasswdd ypxfrd.
Stopping NIS services: ypbind ypserv ypppasswdd ypxfrd.
Starting NIS services: ypbind.
dpkg: version 'nis_3.17-18' has bad syntax: invalid character in version number
root@snidget:~# 

Culprit is the following line in the postinst script:

     96         if dpkg --compare-versions "$2" lt "nis_3.17-18"; then

It should look like this:

     96         if dpkg --compare-versions "$2" lt "3.17-18"; then

-- Package-specific info:

-- System Information:
Debian Release: 6.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages nis depends on:
ii  debconf [debconf-2.0]   1.5.36           Debian configuration management sy
ii  hostname                3.04             utility to set/show the host name 
ii  libc6                   2.11.2-7         Embedded GNU C Library: Shared lib
ii  libdbus-1-3             1.2.24-4         simple interprocess messaging syst
ii  libdbus-glib-1-2        0.88-2.1         simple interprocess messaging syst
ii  libgdbm3                1.8.3-9          GNU dbm database routines (runtime
ii  libglib2.0-0            2.24.2-1         The GLib library of C routines
ii  libslp1                 1.2.1-7.8        OpenSLP libraries
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  make                    3.81-8           An utility for Directing compilati
ii  netbase                 4.44             Basic TCP/IP networking system
ii  portmap                 6.0.0-2          RPC port mapper

nis recommends no packages.

Versions of packages nis suggests:
pn  nscd                          <none>     (no description available)

-- Configuration Files:
/etc/yp.conf changed:
ypserver yp.phys.ethz.ch


-- debconf information:
* nis/domain: phys.ethz.ch




Added tag(s) pending. Request was from Mark Brown <broonie@debian.org> to control@bugs.debian.org. (Sun, 19 Jun 2011 00:03:04 GMT) (full text, mbox, link).


Reply sent to Mark Brown <broonie@debian.org>:
You have taken responsibility. (Sun, 19 Jun 2011 10:36:33 GMT) (full text, mbox, link).


Notification sent to Axel Beckert <abe@debian.org>:
Bug acknowledged by developer. (Sun, 19 Jun 2011 10:36:37 GMT) (full text, mbox, link).


Message #12 received at 610618-close@bugs.debian.org (full text, mbox, reply):

From: Mark Brown <broonie@debian.org>
To: 610618-close@bugs.debian.org
Subject: Bug#610618: fixed in nis 3.17-32
Date: Sun, 19 Jun 2011 10:33:13 +0000
Source: nis
Source-Version: 3.17-32

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

nis_3.17-32.diff.gz
  to main/n/nis/nis_3.17-32.diff.gz
nis_3.17-32.dsc
  to main/n/nis/nis_3.17-32.dsc
nis_3.17-32_amd64.deb
  to main/n/nis/nis_3.17-32_amd64.deb



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

Debian distribution maintenance software
pp.
Mark Brown <broonie@debian.org> (supplier of updated nis 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 ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Sun, 19 Jun 2011 11:04:03 +0100
Source: nis
Binary: nis
Architecture: source amd64
Version: 3.17-32
Distribution: unstable
Urgency: low
Maintainer: Mark Brown <broonie@debian.org>
Changed-By: Mark Brown <broonie@debian.org>
Description: 
 nis        - clients and daemons for the Network Information Service (NIS)
Closes: 587368 601920 610618 617380 617809 618481 624543
Changes: 
 nis (3.17-32) unstable; urgency=low
 .
   * Fix postinst version comparison (closes: #610618).
   * Updated Danish Debconf translation from Joe Dalton (closes: #587368).
   * Updated Vietnamese translation from Clytie Siddall (closes: #601920).
   * Updated Galician translation from Adrián Chaves Fernández (closes: #617380).
   * Updated Catalan translation from Innocent De Marchi (closes: #618481).
   * Updated Dutch translation from Jeroen Schot (closes: #624543).
   * Updated Brazilian Portugese translation from Eder L. Marques
     (closes: #617809).
   * Lintian has mindlessly changed the format of the output, meaning we
     can actually see the warnings but that's a bad thing.
Checksums-Sha1: 
 e714c9232a44f1c621feafc65937cbadcb290512 1108 nis_3.17-32.dsc
 31ad6bc85c1bfb3acba79668142c55bbebfa6a80 45812 nis_3.17-32.diff.gz
 cead67005381245d93becda89c68cad7b7a6a7d4 218310 nis_3.17-32_amd64.deb
Checksums-Sha256: 
 e372f4856927dc57d9c4edc1135b7f54f5d96d36b5e7f856e71f75c9fac70cb6 1108 nis_3.17-32.dsc
 aa3e317dc30271cc58bdb9e648fe87dde16ab734e14c177e20512ef76cf9a3d4 45812 nis_3.17-32.diff.gz
 8dc07adb25841530050d37e1748b247ce1c90160e80c6d7bef76ebaed7df6283 218310 nis_3.17-32_amd64.deb
Files: 
 e5f3a0aff66856f37ed7ff75d3d62efb 1108 net extra nis_3.17-32.dsc
 dbb569e1c2e23d40efc110e60497743d 45812 net extra nis_3.17-32.diff.gz
 2de4447d19aace35c14e8076edc305df 218310 net extra nis_3.17-32_amd64.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk39y74ACgkQJ2Vo11xhU63n5ACeMC1dNEriajif0IokC/xt6xY4
SMoAoK7UblsoY5VLNtSITWbaAFbqCbK8
=HpEs
-----END PGP SIGNATURE-----





Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 28 Jul 2011 07:32:54 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jan 13 09:05:03 2018; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.