Java problems

Questions about applications and software
Forum rules
Before you post please read how to get help
Level 1
Level 1
Posts: 1
Joined: Sat Oct 27, 2012 3:05 am

Java problems

Postby Maya01CNA » Thu Nov 15, 2012 4:52 am


Am unable to update or install any new apps..I tried apt-get install -f, and apt-get update and I get the following errors:

debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
dpkg: error processing /var/cache/apt/archives/sun-java6-jre_6.26-1linuxmint1_all.deb (--unpack):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)

I killed the lock files at ..but still the problem persist.

Any help?


User avatar
Level 10
Level 10
Posts: 3315
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Java problems

Postby kc1di » Thu Nov 15, 2012 6:46 am

Hi Maya01CNA and welcome to Mint,

Here are some commands you can try from a terminal that should fix the problem for you.
But first go to synaptic and click on edit the fix broken packages and see if that fixes the problem for you.

if now the go to a terminal and do the following one command at a time.

Code: Select all

sudo rm /var/lib/apt/lists/* -vf
sudo apt-get update

then do the following also.

Code: Select all

sudo apt-get clean && sudo apt-get autoclean

Now you should beable to install new software.
good Luck,
John 3:16
Morse code an Early Digital Mode
Registered Linux User #462608
Wireless Script:
Good terminal command tutorial:

Return to “Software & Applications”