LeRoy on 20 Mar 2010 09:56:15 -0700

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] rofs rofl

Hash: SHA1

jeff wrote:
> Please forgive me... I have committed the sin of trying to update 
> Ubuntu.  It downloads and unpacks, then the errors start.
> Googling seems to point to a possible read-only issue, which might also 
> explain why Firefox won't let me dl anything (saves to /tmp) and my 
> external usb drive won't mount.
> `mount' indicates [rw, errors: read only] for the system partition.
> when I reboot, it comes up with errors, which I fsck and reboot.  No 
> complaints til I'm already in the system.
> Suggestions?
> Thanks.
> [output of system update]
> E: 
> /var/cache/apt/archives/linux-image-2.6.31-20-generic_2.6.31-20.58_amd64.deb: 
> failed to delete 
> '//lib/modules/2.6.31-20-generic/kernel/drivers/platform/x86/thinkpad_acpi.ko.dpkg-tmp'
> E: /var/cache/apt/archives/linux-headers-2.6.31-20_2.6.31-20.58_all.deb: 
> error ensuring `/var/lib/dpkg/reassemble.deb' doesn't exist
> E: 
> /var/cache/apt/archives/linux-headers-2.6.31-20-generic_2.6.31-20.58_amd64.deb: 
> error ensuring `/var/lib/dpkg/reassemble.deb' doesn't exist
> E: /var/cache/apt/archives/linux-libc-dev_2.6.31-20.58_amd64.deb: error 
> ensuring `/var/lib/dpkg/reassemble.deb' doesn't exist
> en `/var/lib/dpkg/status' for writing status information: Read-only file 
> system
> touch: cannot touch `/var/lib/update-notifier/dpkg-run-stamp': Read-only 
> file system
> E: Sub-process /usr/bin/dpkg returned an error code (2)
> A package failed to install.  Trying to recover:
> dpkg: unable to access dpkg status area: Read-only file system
> E: Failed to write commit log

Is /usr mounted as ro?  What does cat /etc/fstab give you?  If /boot and
/usr are mounted ro then you need to remount them with:
mount -o remount,rw /usr
mount -o remount,rw /boot

- --
 Rev. LeRoy D. Cressy  mailto:leroy@lrcressy.com   /\_/\
                       http://lrcressy.com        ( o.o )
                       Phone:  215-535-4037        > ^ <
		       Cell:   267-307-3527

gpg fingerprint:  62DE 6CAB CEE1 B1B3 359A  81D8 3FEF E6DA 8501 AFEA

For info on enigmail:    http://lrcressy.com/linux/mozilla.pdf
For info on gpg:         http://www.gnupg.org/

Jesus saith unto him, I am the way, the truth, and the life:
no man cometh unto the Father, but by me. (John 14:6)
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug