Java problems

Questions about applications and software
Forum rules
Before you post please read this

Java problems

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

Hi,

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:
/var/cache/apt/archives/sun-java6-bin_6.26-1linuxmint1_amd64.deb
/var/cache/apt/archives/sun-java6-jre_6.26-1linuxmint1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


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

Any help?

Thanks,
M
Maya01CNA
Level 1
Level 1
 
Posts: 2
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
Image
User avatar
kc1di
Level 6
Level 6
 
Posts: 1211
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA


Return to Software & Applications

Who is online

Users browsing this forum: smoky and 21 guests