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

Re: building custom package



Am 2008-02-20 12:41:40, schrieb Christian:
> Hi,
> 
> I am trying to build a custom zenoss package (http://www.zenoss.com/).
> I made a DEBIAN directory which contains control file and pre / post
> scripts, and the directory
> /usr/local/zenoss with all the files. However when trying to install get the
> following error :
> 
> package control info rmdir of `usr' didn't say not a dir: Directory not
> empty
> Errors were encountered while processing:
> 
> anybody know what's that supposed to mean (googled everything)
------------------------ END OF REPLIED MESSAGE ------------------------

Please go into your  zenoss-X-Y-Z/  directory and send the output of 

    find |sort

which will list ALL directories and files in it...

I have build over 700 different packages privately in the last four
years as "Debian GNU/Linux Consultant" and never goten such error.

Your package schould be something like:

----8<--------------------------
zenoss-X-Y-Z/debian/control
                    rules
                    preinst
                    prerm
                    postinst
                    postrm
             COPYING
             README
             src.c
             src.h
             Makefile
             configure
----8<--------------------------

and then after configuring debian/rules you schoud use

    dpkg-buildpackage

the get things right.

Thanks, Greetings and nice Day
    Michelle Konzack
    Systemadministrator
    Tamay Dogan Network
    Debian GNU/Linux Consultant


-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
##################### Debian GNU/Linux Consultant #####################
Michelle Konzack   Apt. 917                  ICQ #328449886
+49/177/9351947    50, rue de Soultz         MSN LinuxMichi
+33/6/61925193     67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: