Results 1 to 10 of 15

Thread: Problem apt-getting pygame

Hybrid View

  1. #1
    Join Date
    Dec 2013
    Location
    Planet "Bob" (earth)
    Beans
    60
    Distro
    Ubuntu 14.04 Trusty Tahr

    Problem apt-getting pygame

    Well I tried sudo apt-get install pygame and I got this error.

    jj@jj-Latitude-D610:~$ sudo apt-get install pygame
    [sudo] password for jj:
    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?
    jj@jj-Latitude-D610:~$

    P.S: Is there a spacific way that I should post code?

  2. #2
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,792
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Problem apt-getting pygame

    jjclonker; Hi ! Welcome to the forum .

    That error generally indicates that you have more than one instance of a package manager opening. One can only have one open.
    As in the Software Center, or synaptic (if you installed that tool) or an instance of "dpkg".

    Close all out and reboot the operating system.
    Now try and install "pygame"

    Code tags: see:
    code tag tutorial:
    http://ubuntuforums.org/showthread.p...8#post12776168

    it's all in the process of learning
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  3. #3
    Join Date
    Dec 2013
    Location
    Planet "Bob" (earth)
    Beans
    60
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problem apt-getting pygame

    Thanks!

    Hmm... I tried what you said and I got this:

    Code:
    jj@jj-Latitude-D610:~$ sudo apt-get install pygame
    [sudo] password for jj: 
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
    jj@jj-Latitude-D610:~$ sudo dpkg --configure -a
    dpkg: error: dpkg status database is locked by another process
    jj@jj-Latitude-D610:~$

  4. #4
    Join Date
    Dec 2013
    Location
    Planet "Bob" (earth)
    Beans
    60
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problem apt-getting pygame

    Thanks!

    Hmm... I tried what you said and I got this:

    Code:
    jj@jj-Latitude-D610:~$ sudo apt-get install pygame
    [sudo] password for jj: 
    E: dpkg was interrupted, you must manually run 'sudo dpkg --configure -a' to correct the problem. 
    jj@jj-Latitude-D610:~$ sudo dpkg --configure -a
    dpkg: error: dpkg status database is locked by another process
    jj@jj-Latitude-D610:~$

  5. #5
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,792
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Problem apt-getting pygame

    jjclonker; Well,

    Going deeper, let's try and remove the lock;
    Code:
    sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock
    Now try and install the package:
    Code:
    sudo apt-get install pygame
    Where there is a will there is a way -> workie ?
    cheers
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  6. #6
    Join Date
    Dec 2013
    Location
    Planet "Bob" (earth)
    Beans
    60
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Problem apt-getting pygame

    It seems like I have some deeper isues... I tried the first code and my screen blacked out and said that I had a broken pipe.

    When I try to shut down my computer it fails.

    When I start it back up it shows about a page worth of text and errors, but then it works just fine exept for the unexplanitory system error that dose not efect anything, but gets anoying after some time.

    This has happend to me twice and only happens after I update my ubuntu 12.04.

    I re-installed my ubuntu and it cleared the problems up, but when I updated my system they came back.

    Sorry if this is supper vage.

    P.S.: The double post was because of my slow internet.

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    11,792
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: Problem apt-getting pygame

    jjclonker;
    To be vague when you do not know is understanadable, we can work through that !
    OK, Background: Is this a fresh install we are working with at this time ?

    Show me the outputs of terminal commands:
    Code:
    sudo apt-get update
    sudo apt-get upgrade
    cat -n /etc/apt/sources.list
    ls -la /etc/apt/sources.list.d
    As a place to start and see what is happening.

    where there are solutions there are no problems
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

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
  •