Page 1 of 1

Cannot update mint

Posted: Wed Apr 10, 2013 9:24 pm
by zeh3212
Hello guys, as you can see i'm newbie with Linux mint, i really love this system, but i'm having some erros while i trying to upgrade it.

The error message is:
E: /var/cache/apt/archives/libwebkitgtk-3.0-0_1.10.0-0ubuntu1.1_amd64.deb: cannot copy extracted data for './usr/lib/libwebkitgtk-3.0.so.0.17.3' to '/usr/lib/libwebkitgtk-3.0.so.0.17.3.dpkg-new': unexpected end of file or stream



What can i do? Ty for attention!

Re: Cannot update mint

Posted: Thu Apr 11, 2013 3:56 pm
by stanley82
Upgrade usually refers to upgrade mint13 to mint14. Update brings all the stuff in mint13 to the latest and greatest. From the look of the message it was a bad file that you downloaded. Did you try a couple of times?

Re: Cannot update mint

Posted: Thu Apr 11, 2013 6:56 pm
by zeh3212
yeah, i'm trying but without success =/
i've mint 14 by the way =P
ty for attention,

Re: Cannot update mint

Posted: Thu Apr 11, 2013 7:29 pm
by cecar
Try:

Code: Select all

sudo apt-get -f install

Re: Cannot update mint

Posted: Thu Apr 11, 2013 8:08 pm
by zeh3212
jose@Jose-PC ~ $ sudo apt-get -f install
[sudo] password for jose:
sudo: unable to open /var/lib/sudo/jose/3: 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 'sudo dpkg --configure -a' to correct the problem.
with dpkg command:
jose@Jose-PC ~ $ sudo dpkg --configure -a
[sudo] password for jose:
Sorry, try again.
[sudo] password for jose:
sudo: unable to open /var/lib/sudo/jose/3: Read-only file system
dpkg: error: unable to access dpkg status area: Read-only file system


what can i do?

Re: Cannot update mint

Posted: Fri Apr 12, 2013 2:23 am
by cecar
Hmmm.. Ok.. Then try this yhen.

Code: Select all

sudo rm -vf /var/lib/dpkg/lock

Code: Select all

sudo apt-get update && sudo apt-get upgrade