LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 03-24-2006, 04:42 PM   #1
oneferna
Member
 
Registered: May 2003
Distribution: Fedora Core 3, Gentoo
Posts: 47

Rep: Reputation: 15
xserver-xorg error after dist-upgrade


I got this after doing a sudo apt-get update && sudo apt-get dist-upgrade from breezy to dapper today:

Preconfiguring packages ...
/tmp/xserver-xorg.config.120461: line 957: syntax error near unexpected token `esac'
xserver-xorg failed to preconfigure, with exit status 2
(Reading database ... 90645 files and directories currently installed.)
Preparing to replace xserver-xorg 6.8.2-77 (using .../xserver-xorg_7.0.0-0ubuntu24_all.deb) ...
/var/lib/dpkg/tmp.ci/config: line 957: syntax error near unexpected token `esac'
dpkg: error processing /var/cache/apt/archives/xserver-xorg_7.0.0-0ubuntu24_all.deb (--unpack):
subprocess pre-installation script returned error exit status 2
xserver-xorg postinst warning: not updating /etc/X11/xorg.conf; file has
been customized
Errors were encountered while processing:
/var/cache/apt/archives/xserver-xorg_7.0.0-0ubuntu24_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I'm now afraid to restart my machine. That sounds like it might hurt.

Has anyone seen this problem? Is there a fix? Or is it safe to restart?

Thanks.
 
Old 03-25-2006, 01:19 PM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518

Rep: Reputation: 32
You can restart your box without worry the issue is that you will need to reconfigure X for the GUI to launch. Of course I forget the command.
 
Old 03-28-2006, 04:53 PM   #3
FliesLikeABrick
Member
 
Registered: Aug 2005
Location: NY,USA
Distribution: Debian, Gentoo, Ubuntu
Posts: 103

Rep: Reputation: 15
This was a bug in the xserver-xorg package for Ubuntu Dapper. You can try your dist-upgrade again and it will work fine


For future reference, since you're using a testing version you can expect things to break periodically. This error has been fixed and doing apt-get update and dist-upgrade again will set things straight
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
xserver-xorg config warning: migrating xserver-xfree86 templates doctorwebbox Debian 9 07-27-2005 07:24 PM
Critical Error: dist-upgrade skipping files. rvijay Debian 4 02-27-2005 01:03 PM
apt-get dist-upgrade error CGameProgrammer Linux - Newbie 2 10-10-2004 11:14 PM
apt-get dist-upgrade error? southpole.dk Linux - Software 1 06-04-2004 09:29 AM
Error trying to dist-upgrade or upgrade KDE prophet621 Linux - Newbie 0 09-10-2003 04:17 PM


All times are GMT -5. The time now is 01:59 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration