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

Re: missing libgl1-mesa-dri in upgrades




On 01/04/13 22:04, John Paul Adrian Glaubitz wrote:
> On 04/01/2013 09:59 PM, Daniel Pocock wrote:
>> Agreed, but that doesn't complete the picture, as libgl1-mesa-glx
>> doesn't depend on libgl1-mesa-dri:
>>
>> $ apt-cache depends libgl1-mesa-glx
>>    ...
>>      Recommends: libgl1-mesa-dri
>>
> 
> Well, "Recommends" are installed by default, aren't they? However, I'm

Not during upgrade or dist-upgrade operations.  This is specifically an
upgrading issue.  From man apt-get:

"  upgrade:
 ...  under no circumstances are currently installed packages removed,
or packages not already installed retrieved and installed."

"dist-upgrade:
... intelligently handles changing dependencies with new versions of
packages"

>From that, it's not clear how dist-upgrade should handle Recommends, but
my dpkg.log shows that no attempt was made to install libgl1-mesa-dri
automatically.

> not sure why it shouldn't be depending on either "libgl1-mesa-dri" or
> "libgl1-mesa-swx11" here. I mean, MESA doesn't work without either of
> these, does it?

I'm not sure - other parts of the desktop are working, but I haven't
tested so many things yet.  I'm not sure which components depend on MESA.

>> Either empathy or libclutter probably need to generate a popup error
>> window in this situation, if the error only appears in a console then it
>> will leave users with a bad impression of any impacted binary.
>> Generating such an error is independent of making sure the dependency is
>> present.
> 
> No, I don't think there should be a popup. Someone should just fix the
> dependencies.

Actually, empathy's error is from an assert(), a recent discussion on
debian-devel found that assert() is not loved universally loved.  There
are various errors from empathy that appear in the same way, and they
should probably all be presented in a popup.

>>> Also, have you tried running Empathy on a non-compositing window manager
>>> when libgl1-mesa-dri is not installed?
>>>
>>
>> I'm happy to try that, can you propose which window manager I should
>> try?  I know fvwm quite well and don't mind installing that.
> 
> Yeah, fvwm doesn't really do any compositing :).

I'll share the results after I try it



Reply to: