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

Re: xorg not installing



On Wed, Nov 01, 2006 at 21:00:30 -0500, Larry Garfield wrote:
> On Wednesday 01 November 2006 12:12, Florian Kulzer wrote:
> > On Tue, Oct 31, 2006 at 23:48:13 -0500, Larry Garfield wrote:
> > > Hi folks.  For the past week or so, every time I try to aptitude
> > > update/upgrade my Sid box, the upgrade process hangs when processing
> > > xserver-xorg.  It simply freezes when processing that package until I
> > > Ctrl+C it.  I know Sid breaks periodically, but it's been over a week on
> > > two different repositories.

[...]

> lgarfiel@rigel:~/public_html/eclipse/stflib$ apt-cache policy xserver-xorg
> xserver-xorg:
>   Installed: 1:7.1.0-5
>   Candidate: 1:7.1.0-5
>   Version table:
>  *** 1:7.1.0-5 0
>         500 ftp://debian.uchicago.edu sid/main Packages
>         500 ftp://debian.mirrors.pair.com sid/main Packages
>         100 /var/lib/dpkg/status

This very same versions installed fine for me and it works without
problems here.

> I'm using "aptitude upgrade", but "aptitude install xserver-xorg" gives the 
> same result.  It downloads fine, but then goes to:
> 
> Setting up xserver-xorg (7.1.0-5) 
> 
> And just sits there for literally hours (Athlon 2100+, I've left it over night 
> and it still never finishes).  If I Ctrl+C, I get:
> 
> dpkg: error processing xserver-xorg (--configure):
>  subprocess post-installation script killed by signal (Interrupt)
> Errors were encountered while processing:
>  xserver-xorg
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
> Setting up xserver-xorg (7.1.0-5) ...

[...]

OK, so at least we know that it hangs in the post-installation script.
This script is located at /var/lib/dpkg/info/xserver-xorg.postinst but
unfortunately it is quite complicated. You can check /var/log/dpkg.log,
but it will probably only tell you that this script is run and give no
further information or error messages. You can try to edit the script
and change the line "set -e" (directly after the comment header) to

set -xe

The commands which are executed when the script is run will be echoed to
stdout with this setting. Maybe that will give you a clue where/why it
hangs if you try the upgrade again.

Maybe the postinst script gets stuck because some other xorg package is
not installed properly; you might want to run

aptitude search '~b'

to check for further broken packages.

I could also imagine that closing down X might help to get the upgrade
through. However, I realize that you are reluctant to do this and I
cannot promise you that X will start again after such an experiment.

-- 
Regards,
          Florian



Reply to: