D
D
DVoropaev2018-11-04 19:55:01
linux
DVoropaev, 2018-11-04 19:55:01

Why can't I build a deb package?

builds fine, but when installed:

sudo dpkg -i ./adfi.deb
dpkg: ошибка при обработке архива ./adfi.deb (--install):
 не удалось открыть файл «/var/lib/dpkg/tmp.ci//usr»: Это каталог
При обработке следующих пакетов произошли ошибки:
 ./adfi.deb

Folder structure:
--adfi
---- DEBIAN
------usr
--------bin
----------<binaries here>
----control Control
file:
spoiler

Package: adfi
Version: 1.0
Section: utils
Priority: optional
Architecture: all
Depends: telnet, nmap, expect
Maintainer: Voropaev Dmitriy
Description: ADFI - Utility to search the network for devices using standard login / password for telnet access.

I collect like this:
***$ dpkg-deb --build ./adfi
dpkg-deb: building package 'adfi' in './adfi.deb'.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Ainur Valiev, 2018-11-05
@vaajnur

dpkg -i adfi.deb

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question