使用dpkg-deb未能成功安装.deb软件包构建

时间:2019-08-10 04:59:10

标签: deb dpkg opkg

我的设备上有一个开放的嵌入式OS。我正在上面安装.deb软件包。

OpenEmbedded Device-

set /p Build=<check.txt
echo %Build%

set Build=%Build%

IF "Build" == "0" (

ECHO found 0

} ELSE {

ECHO not 0

}

.deb软件包的构建方式-

root@cs15ka:~# opkg --add-arch amd64:17 install /tmp/chef_13.10.0-1.deb --force-postinstall
Installing chef-client (13.10.0-1) on root.
Configuring chef-client.

root@cs15ka:~# ls -l /opt/chef
total 0

权限:

tree chef_13.10.0-1
chef_13.10.0-1
├── DEBIAN
│   └── control
└── usr
    └── local
        └── bin
            ├── control.tar.gz
            ├── data.tar.gz
            └── debian-binary

4 directories, 4 files

控制文件的内容-

ls -l chef_13.10.0-1/*
chef_13.10.0-1/DEBIAN:
total 4
-rwxrwxrwx. 1 root root 170 Aug  9 21:25 control

chef_13.10.0-1/usr:
total 0
drwxr-xr-x. 1 root root 6 Aug  9 19:23 local

ls -l chef_13.10.0-1/DEBIAN/*
-rwxrwxrwx. 1 root root 170 Aug  9 21:25 chef_13.10.0-1/DEBIAN/control

ls -l chef_13.10.0-1/usr/local/bin/*
-rwxrwxrwx. 1 root root   385435 Aug  9 19:24 chef_13.10.0-1/usr/local/bin/control.tar.gz
-rwxrwxrwx. 1 root root 58000173 Aug  9 19:24 chef_13.10.0-1/usr/local/bin/data.tar.gz
-rwxrwxrwx. 1 root root        4 Aug  9 19:24 chef_13.10.0-1/usr/local/bin/debian-binary

如有需要,我可以提供更多详细信息。有人可以帮我吗由于在/ opt / chef目录中看不到文件。

0 个答案:

没有答案