I am trying to create a meta-package, which install all application that i will. Unfortunately i couldnot find any appropriate dockumentation about that. Does know someone how to do or where can i find documentation? Any help will be appreciated.
Asked
Active
Viewed 44 times
1
-
Meta package is an empty package that depends on other packages. So what is the real problem? If you know how to set dependencies, then what else do you need? – Pilot6 Dec 15 '19 at 15:26
-
Here is [https://askubuntu.com/questions/33413/how-to-create-a-meta-package-that-automatically-installs-other-packages ] link explain for one package. I mean i have more apps. How should looks like a metapackage ? – devlead Dec 15 '19 at 15:34
-
Do the same, but add more in "depends". There are two depends there. – Pilot6 Dec 15 '19 at 15:53
-
Not really this the link I shared too. What you mean add more depends? Each depends is the app that will be installed? – devlead Dec 15 '19 at 16:08
-
Exactly. Each depends is a package to be installed. In that example it installs `openssh-server` and `gedit`. – Pilot6 Dec 15 '19 at 16:10
-
I did exact example on the link. But i got following error:"dpkg: dependency problems prevent configuration of my-metapackage: my-metapackage depends on openssh-server; however: Package openssh-server is not installed." – devlead Dec 15 '19 at 20:00
-
Actually I trying to install openssh-server. But it's telling thats missing.somehow it's strength – devlead Dec 15 '19 at 20:02
-
Run `sudo apt install -f` if you installed the package using `dpkg`. – Pilot6 Dec 15 '19 at 20:05
-
As far as i understood, `sudo dpkg -i my_package.deb` is manual installation, which doesn't provide dependency installation. What will be proper installation of following package. `my-metapackage` ? – devlead Dec 15 '19 at 20:24
-
The proper installation will be `sudo dpkg -i my_package.deb && sudo apt install -f`, unless you create a repository and install using `apt`. – Pilot6 Dec 15 '19 at 20:26
-
Those commands didnot work too. but i found another one which works. still thx sir. I addet as answer in duplicated question – devlead Dec 15 '19 at 20:35