LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   GUI in Kubuntu Hardy broken after upgrade (https://www.linuxquestions.org/questions/ubuntu-63/gui-in-kubuntu-hardy-broken-after-upgrade-633548/)

Spearhead40 04-06-2008 07:43 PM

GUI in Kubuntu Hardy broken after upgrade
 
Did an upgrade and things got hung up during the upgrade. Some dependencies were broken I believe.

I rebooted the system and after some attempts at getting into grub during the boot process, I finally got command-line access.

I attempted to run startx and got the following error:

user/bin/startx line 139 cannot create temp file for here document: Read only.

xauth; error in lock authority file /home/Jon/.Xauthority

user/bin/startx: line 151; cannot create temp file for here document: Read only.

X; warning; process set to priority -1 instead of priority 0

Fatal sever error; could not create lock file in tmp/.tX0-lock

xinit; connection refused (error 111); unable to connect to X server.

Xinit: no such process (erro3); sever error

XAuth; error in locking authority file /home/Jon/X.Authority


I tried "sudo dpkg -- configure -a" but it wouldn't execute.


Any ideas how to recover from something like this? If I have to reinstall so be it... but I'd rather NOT!

jailbait 04-06-2008 07:47 PM

Quote:

Originally Posted by Spearhead40 (Post 3112994)

I tried "sudo dpkg -- configure -a" but it wouldn't execute.

What error message did it give you?

------------------
Steve Stites

Spearhead40 04-07-2008 03:08 PM

jailbait,

error message returned:

dpkg: unable to access dpkg status area: read-only file system.

Any idea what this means?

jailbait 04-07-2008 03:45 PM

Quote:

Originally Posted by Spearhead40 (Post 3113820)

dpkg: unable to access dpkg status area: read-only file system.

When you were having troubles booting you eventually got to a command line where you were running in recovery mode. The recovery mode mounts all of your filesystems as read only which means that you cannot update files.

What I would try next is to boot your Ubuntu install CD into rescue mode, mount your Ubuntu / partition as read/write if rescue mode has not already done so, and chroot to your Ubuntu / partition.

At that point you will be running as root and you can try:

dpkg -- configure -a

If that doesn't work then you will probably have to reinstall.

----------------
Steve Stites

warpuck 05-02-2008 02:48 PM

no gui after 8.04 upgrade
 
I end up at command line.

last entry is :

Busy Box v1.1.3 (Debian 1:1.1.3 -5 ubuntu12) Built in shell (ash) enter help for list of commands

(initramfs) _

fell back to using ver 7.10 choice in grub

the other vers are broken

AMD x2 (socket am2)runing at 1.78 Ghz
ABIT AN 52 (Nvidia chipset)
Nvidia FX5700
2 Gb ram
120 Gb SATA drive

I seen another similar post, but I dont get the same error.
I used the online upgrade, no cd was used
I have not tried the recovery mode as I do not know where to start

jailbait 05-02-2008 04:20 PM

warpuck,

You should ask your question as a new thread. Putting your question at the end of a stale thread like this means that probably Spearhead40 and I are the only people who will see the question.

-----------------
Steve Stites


All times are GMT -5. The time now is 07:56 PM.