Current time: 12-26-2024, 11:28 PM Hello There, Guest! (LoginRegister)


Post Reply 
[solved] error during install (debian lenny)
Author Message
bigbob85 Offline
Junior Member
*

Posts: 11
Joined: Jul 2009
Reputation: 0
Post: #1
[solved] error during install (debian lenny)
Hey,
I've been following all the steps on the wiki page (http://www.isp-control.net/documentation...n/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
(This post was last modified: 07-11-2009 05:50 PM by bigbob85.)
07-09-2009 11:37 AM
Find all posts by this user Quote this message in a reply
bigbob85 Offline
Junior Member
*

Posts: 11
Joined: Jul 2009
Reputation: 0
Post: #2
RE: error during install (debian lenny)
I'll go request a fresh install of Lenny and see how it goes after that.
07-09-2009 01:34 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #3
RE: error during install (debian lenny)
Code:
dpkg: failed to open `/var/lib/dpkg/status' for writing status information: Read-only file system
Read-only file system ??

Greez BeNe
07-09-2009 04:06 PM
Visit this user's website Find all posts by this user Quote this message in a reply
bigbob85 Offline
Junior Member
*

Posts: 11
Joined: Jul 2009
Reputation: 0
Post: #4
RE: error during install (debian lenny)
Yeah, thats what confused me.. Maybe errored when I uninstalled SysCP off it...
07-09-2009 07:02 PM
Find all posts by this user Quote this message in a reply
MasterTH Offline
Member
***

Posts: 570
Joined: Feb 2009
Reputation: 4
Post: #5
RE: error during install (debian lenny)
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
07-09-2009 09:28 PM
Find all posts by this user Quote this message in a reply
bigbob85 Offline
Junior Member
*

Posts: 11
Joined: Jul 2009
Reputation: 0
Post: #6
RE: error during install (debian lenny)
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...
07-09-2009 10:28 PM
Find all posts by this user Quote this message in a reply
bigbob85 Offline
Junior Member
*

Posts: 11
Joined: Jul 2009
Reputation: 0
Post: #7
RE: error during install (debian lenny)
I did a OS reload, worked fine the 2nd time.
07-11-2009 05:50 PM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)