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

Re: curious deb installation



"Roland Pontes" <roland.pontes@bluecellnetworks.com> wrote:

> hi at all
> i have a problem with creating my own debian packages.
> i like to pack own files (dokus, manpages, own skripts) in a debian package.
> building is ok, with dpkg --build ordnername ordnername.deb.
> my folder structure
>                              ---- DEBIAN
>                                                     ---- control 
>                                                     ---- /usr/bin/file

But it should look like this:

ordnername/DEBIAN
ordnername/DEBIAN/control 
ordnername/usr/bin/file

dpkg checks that all files in the DEBIAN directory are ordinary files,
not directories.  It does this in a rather strange way, by calling rmdir
on them and throwing the error when this doesn't fail with "not a
directory". 

BTW, the german translation of the error message sounds even worse than
the english original.

Regards, Frank
-- 
Frank Küster
Inst. f. Biochemie der Univ. Zürich
Debian Developer



Reply to: