Score:0

How to install other dependent packages through apt during the installation of the deb package

ao flag

I try to make a deb installation package by myself, and this deb package needs to install some dependent packages, but when I execute the command "apt install" in the preinst script, I will report this error: error processing archive testDeb_1.0.0_i386.deb (--install):nd. It is held by process 28 (dpkg)

How can I install other dependent packages during the deb process?

muru avatar
us flag
You don't install packages within the maintainer scripts. You declare the dependencies in the control file and provide the dependencies in your repo or PPA.
nickcheung avatar
ao flag
How to provide dependencies in the repo or PPA, I am building a deb package for the first time, if there is a link to deal with dependencies, please provide it, thank you very much
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.