Java problems

Questions about applications and software
Forum rules
Before you post please read how to get help

Java problems

Postby Maya01CNA on 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?

Level 1
Level 1
Posts: 1
Joined: Sat Oct 27, 2012 3:05 am

Linux Mint is funded by ads and donations.

Re: Java problems

Postby kc1di on 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
LinuxMint 17.3 Cinnamon/Mate
Wireless Script:
User avatar
Level 8
Level 8
Posts: 2183
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Return to Software & Applications

Who is online

Users browsing this forum: No registered users and 12 guests