Java problems

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Maya01CNA

Java problems

Post by Maya01CNA »

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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kc1di
Level 18
Level 18
Posts: 8180
Joined: Mon Sep 08, 2008 8:44 pm
Location: Maine USA

Re: Java problems

Post by kc1di »

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,
Easy tips : https://easylinuxtipsproject.blogspot.com/ Pjotr's Great Linux projects page.
Linux Mint Installation Guide: http://linuxmint-installation-guide.rea ... en/latest/
Registered Linux User #462608
Locked

Return to “Software & Applications”