Results 1 to 9 of 9

Thread: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

  1. #1
    Join Date
    Mar 2012
    Beans
    28

    Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    During 12.04-1 installation, when running

    sudo apt-get install ubuntu-restricted-extras
    it gets stuck at a Microsoft EULA, "Configuring ttf-mscorefonts-installer".
    It says <Ok> but nothing makes it accept the EULA. Terminal has to be closed in order to do anything.

    Running

    sudo apt-get install -f
    results in:
    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    Anyone else having issues with accepting the EULA?
    Please help me to get rid of the lock, it is messing up the installation.

    Should anything fail, can one "undo" the installation of restricted extras?

    Thanks!

  2. #2
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    Quote Originally Posted by Loerie View Post
    During 12.04-1 installation, when running

    it gets stuck at a Microsoft EULA, "Configuring ttf-mscorefonts-installer".
    It says <Ok> but nothing makes it accept the EULA. Terminal has to be closed in order to do anything.
    Use the tab key to highlight the OK button and press enter.

  3. #3
    Join Date
    Mar 2012
    Beans
    28

    Re: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    Great, but The problem is right now that I am locked out and cannot get back to the EULA window.

    What ever I do in terminal, the
    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    message appears.

  4. #4
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    Generally means another apt-get instance is running, close all running package installers or might be easier to restart the machine.

  5. #5
    Join Date
    Mar 2012
    Beans
    28

    Re: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    I restarted several times... no change

  6. #6
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    Try these commands in a terminal one at a time.

    Code:
    sudo rm /var/lib/dpkg/lock
    Code:
    sudo dpkg --configure -a
    Code:
    sudo apt-get update

  7. #7
    Join Date
    Mar 2012
    Beans
    28

    Re: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    It did it!

    Your suggestion to get out of the EULA through TAB ENTER would have probably prevented the lock problem. I mention it for others who might experience the same problems in the future.

    Thanks!

  8. #8
    Join Date
    Oct 2006
    Beans
    58,286

    Re: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    You're welcome.

    Glad you got it sussed.

  9. #9
    Join Date
    Aug 2007
    Location
    Luxembourg
    Beans
    242
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: Restricted Extras in 12.04 - problems with EULA and /var/lib/dpkg/lock

    Thanks!

    I had exactly this problem.

Tags for this Thread

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
  •