Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

When I install a terminal application in the following error occurs Cuando instalo una applicacion por terminal me ocurre el siguiente error

omega@omega-desktop:~$ sudo apt-get install wine
[sudo] password for omega: 
sudo: Can't open /var/lib/sudo/omega/0: Sistema de archivos de solo lectura
W: No se utilizan bloqueos para el archivo de bloqueo de sólo lectura /var/lib/dpkg/lock
E: se interrumpió la ejecución de dpkg, debe ejecutar manualmente «sudo dpkg --configure -a» para corregir el problema 
omega@omega-desktop:~$ sudo dpkg --configure -a
[sudo] password for omega: 
sudo: Can't open /var/lib/sudo/omega/0: Sistema de archivos de solo lectura
dpkg: error: no se puede acceder al área de estado de dpkg: Sistema de archivos de solo lectura

How do I fix this? Como lo soluciono?

share|improve this question
    
Did you by mistake change permissions of /var/lib/sudo/omega/0. Plz run "ls -al" in /var/lib/sudo/omega/0 and add the output to question –  binW Mar 30 '12 at 6:16

1 Answer 1

It would seem that another application is locking the package manager.

Is Synaptic open?
Are you updating your system or some applications using Update Manager?
Are you installing an application using Software Center?

If so, wait until these operations are completed, and try to install your application again.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.