ispCP - Board - Support
[solved] error during install (debian lenny) - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: System Setup & Installation (/forum-32.html)
+--- Thread: [solved] error during install (debian lenny) (/thread-7174.html)



[solved] error during install (debian lenny) - bigbob85 - 07-09-2009 11:37 AM

Hey,
I've been following all the steps on the wiki page (http://www.isp-control.net/documentation/start/installation/debian), and I got upto the step of
Code:
aptitude install $(cat ./docs/Debian/debian-packages-`lsb_release -cs`)

And this happened...
Code:
dpkg: too many errors, stopping
dpkg: failed to open `/var/lib/dpkg/status' for writing status information: 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
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E: Could not regain the system lock!  (Perhaps another apt or dpkg is running?)
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

I can no longer use apt-get or aptitude, because it gives pretty much the above error.

I was using the latest copy from sourceforge, but wasnt using the svn nightly build.


I also noticed that the wiki says
Code:
# stable
deb http://ftp.de.debian.org/debian/            lenny          main contrib non-free
deb http://security.debian.org/                 lenny/updates  main contrib non-free

Whereas my 2nd one was
Code:
deb http://ftp.de.debian.org/security          lenny/updates  main contrib non-free
Not sure if I was ment to change that.


Any suggestions on how to fix it? "dpkg --configure -a" will just tell me that /root/.aptitude is readable, not writable and it cant write the config


RE: error during install (debian lenny) - bigbob85 - 07-09-2009 01:34 PM

I'll go request a fresh install of Lenny and see how it goes after that.


RE: error during install (debian lenny) - BeNe - 07-09-2009 04:06 PM

Code:
dpkg: failed to open `/var/lib/dpkg/status' for writing status information: Read-only file system
Read-only file system ??

Greez BeNe


RE: error during install (debian lenny) - bigbob85 - 07-09-2009 07:02 PM

Yeah, thats what confused me.. Maybe errored when I uninstalled SysCP off it...


RE: error during install (debian lenny) - MasterTH - 07-09-2009 09:28 PM

no uninstalling syscp couldn't be the reason for Read-Only FS. This must have a different issue. Try to reboot your server maybe this fix ur problem


RE: error during install (debian lenny) - bigbob85 - 07-09-2009 10:28 PM

I did a "aptitude purge <all stuff was installed at the start>". We'll find out when I get my VPS back if it was that or not (because of the fresh install).

Also, I rebooted it, and I couldnt SSH it again...


RE: error during install (debian lenny) - bigbob85 - 07-11-2009 05:50 PM

I did a OS reload, worked fine the 2nd time.