Hello I have create a debian package but my problem is this package needs to have a python library so I thought I have to put inside the preinst file :
sudo apt-get install ...
So I tried but when I tried I get "Could not get lock ..."
I guess I can't install in the same time my package and also the python library.
But I noticed when I did a sudo apt-get install
sometimes I installed other packages not only the package that I install. So I think there is a solution to my problem but I don't know it.
I try to a create a bash file which install the library python then I can install the package but I have two files...
Is there a solution to install in my debian file the package and the python library ?
Thank you very much !
I precise I work on Ubuntu 16.04
将所需的python库软件包名称添加到“控件”文件中的“前提条件”。
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.