[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#748434: libreoffice-help-en-us: No graphics in the help.



clone 748434 -1
reassign -1 apt
retitle -1 apt doesn't install first alternative/only provider of a virtual package and chooses different package
found -1 1.0.3
thanks

Hi,

On Sat, May 17, 2014 at 01:29:39PM +0200, Rene Engelhard wrote:
> (I wonder how that happens anyway, but obviously apt is trying to be too clever
> and installs libreoffice-style-sifr instead of galaxy even though
> 
> -common has
> 
> Depends: libreoffice-style-default | libreoffice-style, ure, ${misc:Depends}
> S
> 
> and -galaxy is the only provider of -style-default:
> 
> Provides: libreoffice-style, libreoffice-style-default
> 
> In 4.1.6 etc this seems to work.... And no idea why it should choose sifr...)

We just discussed this on IRC:

13:43 < _rene_> anyone knowledged about how apt resolves dependencies here now by chance?
13:44 < _rene_> (here also: virtual packages)
13:46 -!- and1bm [~andi@HSI-KBW-046-005-154-166.hsi8.kabel-badenwuerttemberg.de] has joined #debian-devel
13:47 < svuorela> isn't apt doing first in alphabet for virtual packages ?
13:48 < _rene_> apparently not
13:48 < _rene_> (or not anymore)
13:48 < _rene_> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=748434
13:48 < _rene_> so far it worked, apt-get install libreoffice installs -style-galaxy.
13:48 < _rene_> now it seems to choose to install -style-sifr
13:49 < _rene_> I have a
13:49 < _rene_> Depends: libreoffice-style-default | libreoffice-style, ure, ${misc:Depends}
13:49 -!- bgupta [~bgupta@207-237-250-126.c3-0.80w-ubr1.nyr-80w.ny.cable.rcn.com] has joined #debian-devel
13:49 < _rene_> and libreoffice-style-default is provided ONLY by galaxy
13:49 < jcristau> sounds like a bug
13:49 < _rene_> so it doesn't even take the first in alphabet, it doesn't even take the first alternative in the dependency anymore
13:50 < _rene_> (and yes, that dependency is flaky, this orccured to me now, but still apt should install galaxy)
13:51 < svuorela> maybe it is for rpm compatibility? :P
13:51 < _rene_> jcristau: a LO bug (see "and yes, that dependency is flaky") or a apt one?
13:51 < svuorela> yum iirc resolves shortest package name
13:51 < _rene_> jcristau: because if the latter I wonder why jessie works
13:52 < _rene_> jcristau: same apt :)
13:52 < _rene_> jcristau: or I just was lucky...
13:54 < jcristau> _rene_: if galaxy is installable, an apt bug
13:54 < _rene_> it is
13:54 < jcristau> (imo, not being an expert, etc)
13:54 < _rene_> I installed it fine after it and that "resolved" 748434
13:55  * _rene_ will add a Depends: -galaxy to the helps anyway to be safe, but ok :)

Regards,
 
Rene


Reply to: