UbuntuThis forum is for the discussion of Ubuntu Linux.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
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
Errors were encountered while processing:
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?
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