Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #225877

Re: aptitude problem with control file (in stretch)

From Sven Joachim <svenjoac@gmx.de>
Newsgroups linux.debian.user
Subject Re: aptitude problem with control file (in stretch)
Date 2020-08-05 11:10 +0200
Message-ID <AAnAR-3nb-7@gated-at.bofh.it> (permalink)
References <AAmEN-2Oo-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 2020-08-05 09:42 +0200, Harald Dunkel wrote:

> I've got a problem with upgrading a private package in Stretch. The control
> file says:
>
> 	Package: sample-lxc
> 	Architecture: all
> 	Depends: ${misc:Depends}
> 		, cgmanager | systemd
> 		, debootstrap
> 		, lxc
> 		, lxc-templates | lxc ( << 3 )
> 	Recommends: cgroup-tools
> 		, apparmor
> 		, uidmap
> 		, yum
> 	Conflicts: lxcfs
> 	Description: LXC framework
> 	 This package provides LXC for our environment.
>
> lxc-templates is available only for lxc >= 3 (Buster or Bullseye), and
> then its a must-have in my environment.
>
> Trying to install this package on Stretch aptitude complains about a
> missing lxc-templates package, even though the most recent lxc version
> 1:2.0.11-1~xgo90+1 is installed.
>
> apt and apt-get are fine, AFAICS.

I am surprised to read that, considering that your installed lxc version
does not actually fulfill the dependency.  Note the epoch.

$ dpkg --compare-versions 1:2.0.11-1~xgo90+1 lt 3 || echo 'Got it!'
Got it!

Cheers,
       Sven

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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