Score:0

How to set dependency of an external deb file in the deb file?

kr flag

I need to create a deb file with just set two other deb files as dependency so that both of them will install before this deb file.

If it is a package available in apt repo, I can directly mention as -d like I kept for nano and git below. But it is not supporting to set external deb files.

So, I kept in --before-install to a shell script. But getting below error.

preinst file:

echo "---pre Installing----"
wget https://github.com/uday1kiran/python_deb_create/raw/testdeb2/tmp/agentxw_1.036-1_amd64.deb
apt install -y ./agentxw_1.036-1_amd64.deb
wget https://github.com/uday1kiran/python_deb_create/raw/testdeb2/tmp/xvision_0.97-1_amd64.deb
apt install -y ./xvision_0.97-1_amd64.deb
echo "--pre install completed--"

And my command:

fpm -s empty -t deb -n test -v 1.3 -d git -d nano --after-install --before-install ./preinst

error with apt Please suggest how to set that external deb file as dependency. If not with fpm, any other tool that supports that.

I sit in a Tesla and translated this thread with Ai:

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.