Bug#423864: dpkg-divert: filename is not absolute

2007-05-14 Thread Daniel Jacobowitz
Package: dpkg
Version: 1.14.2
Severity: normal

# dpkg-divert --admindir /space/chroot/i686/var/lib/dpkg --local --add 
/usr/lib/librt.so
dpkg-divert: filename  is not absolute

Usage: dpkg-divert [option ...] command
...


As far as I can tell, this worked a week or two ago; I suspect it
broke in the recent upgrade.  Adding --divert
/usr/lib/librt.so.distrib works fine.

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

Kernel: Linux 2.6.21 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dpkg depends on:
ii  coreutils 5.97-5.3   The GNU core utilities
ii  libc6 2.5-7  GNU C Library: Shared libraries

dpkg recommends no packages.

-- no debconf information


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



Bug#423864: dpkg-divert: filename is not absolute

2007-05-14 Thread Guillem Jover
tag 423864 pending
thanks

On Mon, 2007-05-14 at 11:39:25 -0400, Daniel Jacobowitz wrote:
 Package: dpkg
 Version: 1.14.2
 Severity: normal

 # dpkg-divert --admindir /space/chroot/i686/var/lib/dpkg --local --add 
 /usr/lib/librt.so
 dpkg-divert: filename  is not absolute
 
 Usage: dpkg-divert [option ...] command
 ...
 
 
 As far as I can tell, this worked a week or two ago; I suspect it
 broke in the recent upgrade.  Adding --divert
 /usr/lib/librt.so.distrib works fine.

Hmm right, when switching the scripts to use strict and warnings I
initialized the variables for --divert and --package to an empty
string instead of an undef. Sorry about that. Fixed now in dpkg' svn.

thanks,
guillem


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