Could not get lock /var/cache/apt/archives/lock
On Ubunut 11.10, I attempted to use Muon Package Manager to install Mint-Meta-
E: Could not get lock /var/cache/
E: Unable to lock the download directory.
And when I attempt to resolve the problem in the terminal, I get the following:
randyman@
[sudo] password for randyman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
sun-java6-plugin : Depends: sun-java6-bin (>= 6.26-1maverick1) but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
randyman@
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
apg geoclue-
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
sun-java6-bin sun-java6-jre
Suggested packages:
sun-java6-fonts ttf-kochi-gothic ttf-sazanami-gothic ttf-kochi-mincho
ttf-sazanami-mincho ttf-arphic-uming
The following NEW packages will be installed:
sun-java6-bin sun-java6-jre
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
21 not fully installed or removed.
E:
E: Unable to lock directory /var/cache/
randyman@
What should I do? Any advice will be appreciated.
Thanks.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- enubuntu
- Solved:
- Last query:
- Last reply: