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



-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to