Results 1 to 3 of 3

Thread: debconf errors with sun-java6 upgrade

  1. #1
    Join Date
    Apr 2005
    Beans
    36

    debconf errors with sun-java6 upgrade

    hello,

    i canceled my sun-java6 upgrade a few days ago because i couldn't read the user agreement. now when i try to install it with apt-get, i am getting the following errors. any ideas?

    thanks,
    daryl

    debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process: Resource temporarily unavailable
    (Reading database ... 136575 files and directories currently installed.)
    Unpacking sun-java6-bin (from .../sun-java6-bin_6-06-0ubuntu1_i386.deb) ...
    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-bin_6-06-0ubuntu1_i386.deb (--unpack):
    subprocess pre-installation script returned error exit status 1
    Unpacking sun-java6-jre (from .../sun-java6-jre_6-06-0ubuntu1_all.deb) ...
    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-06-0ubuntu1_all.deb (--unpack):
    subprocess pre-installation script returned error exit status 1
    Errors were encountered while processing:
    /var/cache/apt/archives/sun-java6-bin_6-06-0ubuntu1_i386.deb
    /var/cache/apt/archives/sun-java6-jre_6-06-0ubuntu1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  2. #2
    Join Date
    Mar 2007
    Location
    Here & Now
    Beans
    16,549
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: debconf errors with sun-java6 upgrade

    Close Synaptic if you have it open.
    sudo apt-get clean
    sudo dpkg --configure -a
    sudo apt-get -f install
    sudo apt-get update
    sudo apt-get dist-upgrade

    Dr. Fernando Duran Dollenz
    Libertad 584
    6824871

  3. #3
    Join Date
    Apr 2005
    Beans
    36

    Re: debconf errors with sun-java6 upgrade

    i still get the same errors when i do a sudo apt-get install sun-java6-jre after running the commands you suggested

    Quote Originally Posted by Pumalite View Post
    Close Synaptic if you have it open.
    sudo apt-get clean
    sudo dpkg --configure -a
    sudo apt-get -f install
    sudo apt-get update
    sudo apt-get dist-upgrade

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •