Re: Alternatives in package_lists?

2018-04-30 Diskussionsfäden Thomas Lange
> On Fri, 27 Apr 2018 09:18:41 +0200, Steffen Grunewald > said: > apt-get install "a | b" doesn't work. Maybe the equivs package will help to create a package including dependencies like a | b. -- regards Thomas

Re: Alternatives in package_lists?

2018-04-27 Diskussionsfäden Justin Cattle
This is pretty niche, and requires some logic not directly supported in apt. You could just create a shell script with the logic in FAI, instead of the package_config. Cheers, Just On 27 April 2018 at 08:18, Steffen Grunewald wrote: > On Thu, 2018-04-26 at 21:20:44 +0200, Thomas Lange wrote:

Re: Alternatives in package_lists?

2018-04-27 Diskussionsfäden Steffen Grunewald
On Thu, 2018-04-26 at 21:20:44 +0200, Thomas Lange wrote: > > On Thu, 26 Apr 2018 17:34:23 +0200, Steffen Grunewald > > said: > > > Is it possible to specify "a | b" in a package_config file, so that "a" > > gets installed if available, and "b" otherwise? > FAI only creates a lon

Re: Alternatives in package_lists?

2018-04-26 Diskussionsfäden Thomas Lange
> On Thu, 26 Apr 2018 17:34:23 +0200, Steffen Grunewald > said: > Is it possible to specify "a | b" in a package_config file, so that "a" > gets installed if available, and "b" otherwise? FAI only creates a long list of package names and then calls apt-get, aptitude or apt. If on

Alternatives in package_lists?

2018-04-26 Diskussionsfäden Steffen Grunewald
Hello, I couldn't find an answer to the question, and no matching example: Is it possible to specify "a | b" in a package_config file, so that "a" gets installed if available, and "b" otherwise? Just listing "a b" will give bad results if both packages are available - and in this specific case,