Roberto Lumbreras wrote:
> dpkg-repack is unable to copy files if parent directories are not
> included in the package:
> 
> # LANG=C dpkg-repack xserver-xorg
> cp: cannot create regular file `./dpkg-repack-9333//etc/init.d/xserver-xorg': 
> No such file or directory
> dpkg-repack: Error running: cp -pd /etc/init.d/xserver-xorg 
> ./dpkg-repack-9333//etc/init.d/xserver-xorg
> dpkg-deb: building package `xserver-xorg' in `./xserver-xorg_7.0.22_i386.deb'.
> dpkg-repack: Problems were encountered in processing.
> dpkg-repack: The package may be broken.
> 
> # cat /var/lib/dpkg/info/xserver-xorg.list
> /.
> /usr
> /usr/share
> /usr/share/doc
> /usr/share/doc/xserver-xorg
> /usr/share/doc/xserver-xorg/copyright
> /usr/share/doc/xserver-xorg/changelog.gz
> /usr/share/doc/xserver-xorg/NEWS.Debian.gz
> /etc/init.d/xserver-xorg

Note that /etc/init.d/xserver-xorg is an obsolete conffile. This
apparently breaks what is otherwise an invariant of dpkg, that if a file
is included in a package, the directory containing the file is also
always included.

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature

Reply via email to