dpkg-source failed to rename file across filesystems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
dpkg (Debian) |
Fix Released
|
Unknown
|
|||
dpkg (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: dpkg
dpkg-source uses rename() perl function which fails when target is located on another file system. For example, prevu executes it as `dpkg-source -x -sn file.dsc /var/dest/dir`. On my computer /var resides on separated file system which leads to error if file.dsc not under /var:
$ prevu libccrtp_
I: Building against currently running distro: intrepid
gpg: Signature made Mon 23 Feb 2009 03:03:18 PM IST using DSA key ID 3D08B612
gpg: Can't check signature: public key not found
dpkg-source: extracting libccrtp in /var/cache/
dpkg-source: info: unpacking libccrtp_
dpkg-source: failure: Unable to rename /tmp/test/
This particular failed rename() is in /usr/share/
I'm using dpkg 1.14.20ubuntu6 from Intrepid.
Changed in dpkg (Debian): | |
status: | Unknown → Fix Released |
Changed in dpkg (Ubuntu): | |
status: | New → Fix Released |
Looks like debian fixed this for lenny in debbugs#507217 (dpkg-dev 1.14.24)