Re: xserver-xorg fatal configuration



Olafur,

When I try to remove xserver-xorg the Debian system tells that I have to
reinstall it first. If I try to reinstall it, I am told to first remove it
(see earlier posting). In both cases the reason is the ugly inconsistent
configuration. Two examples of this are the results of your proposals (see
below). To be complete, I did include all output, but don't read the lines
marked "not important" since they are secondary and of secondary interest as
regards THE problem and should so far be ignored:

root@andromeda:~# dpkg --purge xserver-xorg
dpkg: error processing xserver-xorg (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
Errors were encountered while processing:
xserver-xorg

root@andromeda:~# apt-get --fix-broken --purge remove xserver-xorg
Reading package lists... Done
Building dependency tree... Done
The following extra packages will be installed: # not important
linux-image-2.6.15-1-686 # not important
Suggested packages: # not important
linux-doc-2.6.15 linux-source-2.6.15 lilo # not important
Recommended packages: # not important
libc6-i686 # not important
The following packages will be REMOVED
xserver-xorg*
The following packages will be upgraded: # not important
linux-image-2.6.15-1-686 # not important
1 upgraded, 0 newly installed, 1 to remove and 120 not upgraded.
2 not fully installed or removed.
Need to get 0B/15,8MB of archives.
After unpacking 31,5MB of additional disk space will be used.
Do you want to continue [Y/n]? y
WARNING: The following packages cannot be authenticated!# not important
linux-image-2.6.15-1-686 # not important
Install these packages without verification [y/N]? y
DESTROY created new reference to dead object ' Qt::VBoxLayout', <> line 1
during global destruction.
/usr/bin/perl: symbol lookup error: /usr/lib/libkdecore.so.4: undefined
symbol: _ZN18QMetaObjectCleanUpD1Ev
Preconfiguring packages ...
/usr/bin/perl: symbol lookup error: /usr/lib/libkdecore.so.4: undefined
symbol: _ZN18QMetaObjectCleanUpD1Ev
dpkg: error processing xserver-xorg (--purge):
Package is in a very bad inconsistent state - you should
reinstall it before attempting a removal.
terminate called after throwing an instance of 'std::logic_error'
what(): basic_string::_S_construct NULL not valid
Aborted
root@andromeda:~# Errors were encountered while processing:
xserver-xorg

Is there any hope?
Tore

måndag 6 mars 2006 11:14 skrev Olafur Jens Sigurdsson:
Try purging the package and then reinstalling it, removing does just
like you say, it doesnt delete the configuration files but purging
does, try dpkg --purge xserver-xorg

Or you can allso try out apt-get -f  ... the -f switch is --fix-broken
(it is usually used to fix broken dependencies but just perhaps it can
help you here).



Relevant Pages

  • Re: xserver-xorg fatal configuration
    ... installing kde and kdm ... When I try to remove xserver-xorg the Debian system tells that I have to reinstall it first. ... The following packages will be REMOVED ...
    (Debian-User)
  • Deb Dependencies & DPKG Errors
    ... Trying to fix a deb dependency issue has broke 2 ... I can't reinstall ... can fix these 2 kernel issues. ... The following packages are unused and will be REMOVED: ...
    (Debian-User)
  • Re: Do I need to reinstall the whole system?
    ... > and remove the entries of xserver-xorg ... > dpkg: erreur de traitement ... > - Do I need to reinstall the whole system? ... > Thanks a lot for any useful link or idea!!! ...
    (Debian-User)
  • Re: Reinstall all packages
    ... > due to a harddisk-failure many files were corrupted. ... > Is there a way to reinstall all installed packages? ... when conflicts showed up when trying to install/configure packages, ...
    (Debian-User)
  • Re: Cant install zlib1g-dev on etch?
    ... deb-src http://debian.lcs.mit.edu/debian/ etch main contrib non-free ... The following extra packages will be installed: ... gnome-control-center gnome-core ... xmms xorg xsane xscreensaver xserver-xorg xserver-xorg-core ...
    (Debian-User)