Installing ruby1.8 failed
- by Subhransu
I was trying to install ruby on my remote server I got this error:
The Command:
sudo apt-get install ruby1.8
Error :
W: Not using locking for read only lock file /var/lib/dpkg/lock
E: Unable to write to /var/cache/apt/
E: The package lists or status file could not be parsed or opened.
then I tried :
sudo dpkg -- configure -a
Output:
…