LinuxQuestions.org
Support LQ: Use code LQCO20 and save 20% on CrossOver Office
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Thread Tools
Old 03-24-2006, 05:42 PM   #1
oneferna
Member
 
Registered: May 2003
Distribution: Fedora Core 3, Gentoo
Posts: 47
Thanked: 0
xserver-xorg error after dist-upgrade


[Log in to get rid of this advertisement]
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.
oneferna is offline     Reply With Quote
Old 03-25-2006, 02:19 PM   #2
brianthegreat
Member
 
Registered: Oct 2005
Posts: 518
Thanked: 0
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.
brianthegreat is offline     Reply With Quote
Old 03-28-2006, 05:53 PM   #3
FliesLikeABrick
Member
 
Registered: Aug 2005
Location: NY,USA
Distribution: Debian, Gentoo, Ubuntu
Posts: 103
Thanked: 0
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
FliesLikeABrick is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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 08:24 PM
Critical Error: dist-upgrade skipping files. rvijay Debian 4 02-27-2005 02:03 PM
apt-get dist-upgrade error CGameProgrammer Linux - Newbie 2 10-11-2004 12:14 AM
apt-get dist-upgrade error? southpole.dk Linux - Software 1 06-04-2004 10:29 AM
Error trying to dist-upgrade or upgrade KDE prophet621 Linux - Newbie 0 09-10-2003 05:17 PM


All times are GMT -5. The time now is 06:06 AM.

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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration