Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #225977
| From | Sven Joachim <svenjoac@gmx.de> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: aptitude problem with control file (in stretch) |
| Date | 2020-08-07 17:10 +0200 |
| Message-ID | <ABcal-qu-9@gated-at.bofh.it> (permalink) |
| References | <AAmEN-2Oo-7@gated-at.bofh.it> <AAnAR-3nb-7@gated-at.bofh.it> <AApjk-4cU-9@gated-at.bofh.it> <AAuCl-7tT-1@gated-at.bofh.it> <AB9Fv-7gS-5@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 2020-08-07 14:08 +0200, Harald Dunkel wrote:
> On 8/5/20 6:29 PM, Sven Joachim wrote:
>> I am not sure I understand what you actually want to do, though.
>>
>
> I am maintaining a set of meta packages, referencing the packages
> to install on my hosts. To avoid having separate meta packages for
> each new Debian version I have to use conditional dependencies, like
>
> Package: sample-setup
> Architecture: all
> Depends: ${misc:Depends}
> , sample-setup-chroot
> :
> , nvme-cli | base-files ( << 9 )
> :
>
> Meaning nvme-cli has to be installed for Debian 9 or newer.
>
>
> This package
>
> Package: sample-lxc
> Architecture: all
> Depends: ${misc:Depends}
> , cgmanager | systemd
> , debootstrap
> , lxc
> , lxc-templates | lxc ( << 3 )
> :
>
> did not work as expected (IMHO), apparently because (1:2 << 3) = false.
That's what I meant to tell you in my first reply, sorry if it was
unclear. I think changing the dependency to
"lxc-templates | lxc ( << 1:3 )" is what you want here.
See deb-version(7) for how dpkg (and apt) compares versions.
Cheers,
Sven
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
aptitude problem with control file (in stretch) Harald Dunkel <harald.dunkel@aixigo.com> - 2020-08-05 10:10 +0200
Re: aptitude problem with control file (in stretch) Sven Joachim <svenjoac@gmx.de> - 2020-08-05 11:10 +0200
Re: aptitude problem with control file (in stretch) Harald Dunkel <harald.dunkel@aixigo.com> - 2020-08-05 13:00 +0200
Re: aptitude problem with control file (in stretch) Sven Joachim <svenjoac@gmx.de> - 2020-08-05 18:40 +0200
Re: aptitude problem with control file (in stretch) Harald Dunkel <harald.dunkel@aixigo.com> - 2020-08-07 14:30 +0200
Re: aptitude problem with control file (in stretch) Sven Joachim <svenjoac@gmx.de> - 2020-08-07 17:10 +0200
Re: aptitude problem with control file (in stretch) didier.gaumet@gmail.com - 2020-08-05 22:20 +0200
csiph-web