[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#149961: dpkg-divert failed when src and dest aren't in the same disk



Package: dpkg
Version: 1.9.21

When i install the nvidia-glx binary generated by nvidia-glx-src (all
version) the post-install (or pre-remove when upgrading) failed while
diverting file from /usr/X11R6/lib/ to
/usr/share/nvida-glx/diversions or /usr/share/nvidia-glx/diversion-X11R6
in the dorename() function of the /usr/sbin/dpkg-divert script, due to the
fact that my system is splitted in many logical volume (i have /, /home,
/usr, /usr/X11R6, /usr/local, /usr/games/3d, and many more) and that the
perl rename() function has the same limitation of the first move program
(ie unable to move file accross file-system).

I think you should correct the dpkg-divert script so the rename function
isn't called anymore or add a 'copy-delete' system in cause of failure.

 --
Benoit Plessis					+33 6 77 42 78 32
<benoit.plessis@tuxfamily.org>
1024D/B4D74B76 B9A7 3697 661D 25FB A609  E69E 92CA FFAB B4D7 4B76



-- 
To UNSUBSCRIBE, email to debian-dpkg-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: