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

curious deb installation



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

control file has the following entry:

Package: ordnername
Version: 1.0
Section: admin
Priority: optional
Architecture: i386
Depends: libc6 (>= 2.3.2.ds1-21)

now i am building the package:   dpkg --build ordnername ordnername.deb
it was builded without any failures.
now the installation:
 
dpkg -i ordnername.deb

Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut... Fertig
Die folgenden NEUEN Pakete werden installiert:
ordnername
0 aktualisiert, 1 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen noch 0B von 662B Archiven geholt werden.
Nach dem Auspacken werden 0B Plattenplatz zusätzlich benutzt.
(Lese Datenbank ... 24383 Dateien und Verzeichnisse sind derzeit installiert.)
Entpacke ordnername (aus .../ordnername_1.0_i386.deb) ...
dpkg: Fehler beim Bearbeiten von /var/cache/apt/archives/ordnername_1.0_i386.deb (--unpack):
Paket-Control-Info rmdir von »usr« ergab nicht, dass dies kein Verzeichnis ist: Das Verzeichnis ist nicht leer
Fehler traten auf beim Bearbeiten von:
/var/cache/apt/archives/ordnername_1.0_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
curious, the building from source using dh_make and dpkg-buildpackage is fine and the installation, too.
would be happy for response.

thx a lot

roland pontes

Reply to: