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

Bug#403818: xserver-xorg: no video or keyboard after upgrading to sarge (deps too loose)



On Wed, Dec 20, 2006 at 02:47:40AM +0100, Steinar H. Gunderson wrote:
> On Tue, Dec 19, 2006 at 08:40:26PM -0500, David Nusinow wrote:
> > Ouch. This is a bug in aptitude, aiui. It should be choosing the first
> > option if nothing is currently installed, and allowing the second to
> > substitute.
> 
> Probably something in -all caused a conflict, and the conflict resolution
> manager preferred a random choice providing -input instead.

I can't imagine what that would be... I'd love to know. Was this on x86?

> > Either way, it's probably too late to fix this in aptitude for etch, so a
> > workaround is necessary...
> 
> Most upgrades will probably happen with the aptitude from sarge, BTW.

Right. I'm retarded :-)

> > If I build a package set with this, will you be able to test it to make
> > sure it works?
> 
> Unfortunately, no; the machine was just my mother's workstation. However,
> I've picked out the dpkg status backup and reconstructed the aptitude lines;
> talk to Julien Cristau, he has the data in question.

Got it, thank you. I'll take a look.

> >> Also, xorg.conf was blank after the upgrade, but I guess that's for
> >> another bug, which will be far harder to track down... :-)
> > Gyah... did xserver-xorg error out during postinst? I'll have to look for a
> > codepath that can cause that beyond errors.
> 
> No, it didn't error out. It just showed the warning debconf template, and
> then continued as nothing was wrong.
> 
> Note that due to some conflicts etc., the upgrading line was "aptitude
> install gnome" (the full dist-upgrade was not done until later); it _might_
> be that a full dist-upgrade is luckier somehow, but I'm not going to bet on
> it. Just giving aptitude the explicit hint that the user would probably like
> to have -input-(kbd,mouse) and -video-vesa sounds like the best hint to me,
> especially as they're not likely to conflict with anything (so the conflict
> resolver accepts that more or less right away).

Perhaps for video 'xserver-xorg-video-all | xserver-xorg-video-vesa' in the
recommends. This doesn't map to input though, since we'd need both -kbd
and -mouse. Simply duplicating the recommendation may be possible though
(xserver-xorg-input-all | xserver-xorg-input-kbd, xserver-xorg-input-all |
xserver-xorg-input-mouse).

 - David Nusinow



Reply to: