Page 1 of 3 123 LastLast
Results 1 to 10 of 29

Thread: Update failed. No further upgrades allowed.

  1. #1
    Join Date
    Oct 2013
    Beans
    27

    Update failed. No further upgrades allowed.

    I started an update. It ran for a couple of hours, and was proceeding. I went to bed. When I got up, the update was still running, but had made no progress for 7 hours. I tried to cancel it using the gui, no luck. I then killed the process and rebooted. When I tried to restart the update after the reboot, some flag somewhere is set saying that an update is already running.

    What do I do now?

    Please let me know what further info is needed, if any. Ubuntu v 12.04 on a Dell Latitude D620 (yes, it's old). Please give paths for any log files that are needed.

    Thanks

  2. #2
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Update failed. No further upgrades allowed.

    Please open a terminal an paste the outputs to:
    Code:
    cat /etc/apt/sources.list
    sudo apt-get update
    sudo apt-get upgrade
    Last edited by bapoumba; October 4th, 2013 at 10:37 PM.
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  3. #3
    Join Date
    Oct 2013
    Beans
    27

    Re: Update failed. No further upgrades allowed.

    david@david-Latitude-D620:~$ cat /etc/apt/sources.list
    # deb cdrom:[Ubuntu 11.04 _Natty Narwhal_ - Release i386 (20110427.1)]/ natty main restricted

    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ precise main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise main restricted

    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates main restricted

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team. Also, please note that software in universe WILL NOT receive any
    ## review or updates from the Ubuntu security team.
    deb http://us.archive.ubuntu.com/ubuntu/ precise universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise universe
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates universe
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates universe

    ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    ## team, and may not be under a free licence. Please satisfy yourself as to
    ## your rights to use the software. Also, please note that software in
    ## multiverse WILL NOT receive any review or updates from the Ubuntu
    ## security team.
    deb http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise multiverse
    deb http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu/ precise-updates multiverse

    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## N.B. software from this repository may not have been tested as
    ## extensively as that contained in the main release, although it includes
    ## newer versions of some applications which may provide useful features.
    ## Also, please note that software in backports WILL NOT receive any review
    ## or updates from the Ubuntu security team.
    # deb http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse
    # deb-src http://us.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

    deb http://security.ubuntu.com/ubuntu precise-security main restricted
    deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
    deb http://security.ubuntu.com/ubuntu precise-security universe
    deb-src http://security.ubuntu.com/ubuntu precise-security universe
    deb http://security.ubuntu.com/ubuntu precise-security multiverse
    deb-src http://security.ubuntu.com/ubuntu precise-security multiverse

    ## Uncomment the following two lines to add software from Canonical's
    ## 'partner' repository.
    ## This software is not part of Ubuntu, but is offered by Canonical and the
    ## respective vendors as a service to Ubuntu users.
    # deb http://archive.canonical.com/ubuntu natty partner
    # deb-src http://archive.canonical.com/ubuntu natty partner

    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb http://extras.ubuntu.com/ubuntu precise main
    deb-src http://extras.ubuntu.com/ubuntu precise main
    david@david-Latitude-D620:~$


    [sudo] password for david:
    E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/lib/apt/lists/
    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?
    david@david-Latitude-D620:~$









    david@david-Latitude-D620:~$ sudo apt-get upgrade
    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?
    david@david-Latitude-D620:~$



    There ya go...

  4. #4
    Join Date
    Jun 2008
    Location
    Across The Pond
    Beans
    954
    Distro
    Ubuntu Mate 20.04 Focal Fossa

    Re: Update failed. No further upgrades allowed.

    Were you trying to update to 12.04?
    "Everybody is ignorant, only on different subjects." Will Rogers

  5. #5
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Update failed. No further upgrades allowed.

    Quote Originally Posted by dwjeanes2 View Post
    [sudo] password for david:
    E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/lib/apt/lists/
    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?

    david@david-Latitude-D620:~$ sudo apt-get upgrade
    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?
    david@david-Latitude-D620:~$
    It looks like you have a partial upgrade that has locked dpkg. Try these commands to clear the lock:
    Code:
    sudo rm -rf /var/lib/apt/lists/*
    
    sudo apt-get update
    
    sudo apt-get dist-upgrade

  6. #6
    Join Date
    Oct 2013
    Beans
    27

    Re: Update failed. No further upgrades allowed.

    Quote Originally Posted by Old_Grey_Wolf View Post
    It looks like you have a partial upgrade that has locked dpkg. Try these commands to clear the lock:
    Code:
    sudo rm -rf /var/lib/apt/lists/*
    
    sudo apt-get update
    
    sudo apt-get dist-upgrade


    david@david-Latitude-D620:~$ sudo rm -rf /var/lib/apt/lists/*
    [sudo] password for david:
    david@david-Latitude-D620:~$ sudo apt-get update
    Get:1 http://dl.google.com stable Release.gpg [198 B]
    Get:2 http://dl.google.com stable Release [1,338 B]
    Get:3 http://security.ubuntu.com precise-security Release.gpg [198 B]
    Get:4 http://archive.canonical.com precise Release.gpg [198 B]
    Get:5 http://repo.steampowered.com precise Release.gpg [490 B]
    Get:6 http://repo.steampowered.com precise Release [2,303 B]
    Get:7 http://security.ubuntu.com precise-security Release [49.6 kB]
    Get:8 http://archive.canonical.com precise Release [7,078 B]
    Get:9 http://dl.google.com stable/main i386 Packages [464 B]
    Get:10 http://repo.steampowered.com precise/steam Sources [548 B]
    Ign http://dl.google.com stable/main TranslationIndex
    Get:11 http://repo.steampowered.com precise/steam i386 Packages [799 B]
    Get:12 http://archive.canonical.com precise/partner i386 Packages [8,928 B]
    Ign http://repo.steampowered.com precise/steam TranslationIndex
    Get:13 http://security.ubuntu.com precise-security/main Sources [89.6 kB]
    Ign http://archive.canonical.com precise/partner TranslationIndex
    Ign http://dl.google.com stable/main Translation-en_US
    Get:14 http://security.ubuntu.com precise-security/restricted Sources [2,494 B]
    Ign http://dl.google.com stable/main Translation-en
    Get:15 http://security.ubuntu.com precise-security/universe Sources [28.1 kB]
    Get:16 http://security.ubuntu.com precise-security/multiverse Sources [1,804 B]
    Get:17 http://security.ubuntu.com precise-security/main i386 Packages [343 kB]
    Ign http://archive.canonical.com precise/partner Translation-en_US
    Ign http://archive.canonical.com precise/partner Translation-en
    Ign http://repo.steampowered.com precise/steam Translation-en_US
    Get:18 http://security.ubuntu.com precise-security/restricted i386 Packages [4,620 B]
    Get:19 http://security.ubuntu.com precise-security/universe i386 Packages [86.3 kB]
    Ign http://repo.steampowered.com precise/steam Translation-en
    Get:20 http://security.ubuntu.com precise-security/multiverse i386 Packages [2,640 B]
    Get:21 http://security.ubuntu.com precise-security/main TranslationIndex [74 B]
    Get:22 http://security.ubuntu.com precise-security/multiverse TranslationIndex [72 B]
    Get:23 http://security.ubuntu.com precise-security/restricted TranslationIndex [72 B]
    Get:24 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
    Get:25 http://security.ubuntu.com precise-security/main Translation-en [156 kB]
    Get:26 http://security.ubuntu.com precise-security/multiverse Translation-en [1,299 B]
    Get:27 http://security.ubuntu.com precise-security/restricted Translation-en [1,253 B]
    Get:28 http://security.ubuntu.com precise-security/universe Translation-en [52.6 kB]
    Get:29 http://us.archive.ubuntu.com precise Release.gpg [198 B]
    Get:30 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
    Get:31 http://us.archive.ubuntu.com precise Release [49.6 kB]
    Get:32 http://extras.ubuntu.com precise Release.gpg [72 B]
    Get:33 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
    Get:34 http://extras.ubuntu.com precise Release [11.9 kB]
    Get:35 http://us.archive.ubuntu.com precise/main Sources [934 kB]
    Get:36 http://extras.ubuntu.com precise/main Sources [8,130 B]
    Get:37 http://extras.ubuntu.com precise/main i386 Packages [10.8 kB]
    Ign http://extras.ubuntu.com precise/main TranslationIndex
    Get:38 http://us.archive.ubuntu.com precise/restricted Sources [5,470 B]
    Get:39 http://us.archive.ubuntu.com precise/universe Sources [5,019 kB]
    Ign http://extras.ubuntu.com precise/main Translation-en_US
    Ign http://extras.ubuntu.com precise/main Translation-en
    Get:40 http://us.archive.ubuntu.com precise/multiverse Sources [155 kB]
    Get:41 http://us.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
    Get:42 http://us.archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
    Get:43 http://us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
    Get:44 http://us.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
    Get:45 http://us.archive.ubuntu.com precise/main TranslationIndex [3,706 B]
    Get:46 http://us.archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
    Get:47 http://us.archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
    Get:48 http://us.archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
    Get:49 http://us.archive.ubuntu.com precise-updates/main Sources [420 kB]
    Get:50 http://us.archive.ubuntu.com precise-updates/restricted Sources [7,006 B]
    Get:51 http://us.archive.ubuntu.com precise-updates/universe Sources [96.2 kB]
    Get:52 http://us.archive.ubuntu.com precise-updates/multiverse Sources [8,343 B]
    Get:53 http://us.archive.ubuntu.com precise-updates/main i386 Packages [714 kB]
    Get:54 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [11.4 kB]
    Get:55 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [221 kB]
    Get:56 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [14.0 kB]
    Get:57 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
    Get:58 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
    Get:59 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
    Get:60 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
    Get:61 http://us.archive.ubuntu.com precise/main Translation-en [726 kB]
    Get:62 http://us.archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
    Get:63 http://us.archive.ubuntu.com precise/restricted Translation-en [2,395 B]
    Get:64 http://us.archive.ubuntu.com precise/universe Translation-en [3,341 kB]
    Get:65 http://us.archive.ubuntu.com precise-updates/main Translation-en [313 kB]
    Get:66 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [8,064 B]
    Get:67 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [2,637 B]
    Get:68 http://us.archive.ubuntu.com precise-updates/universe Translation-en [127 kB]
    Fetched 19.4 MB in 26s (721 kB/s)
    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?
    david@david-Latitude-D620:~$
    david@david-Latitude-D620:~$ sudo apt-get dist-upgrade
    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?
    david@david-Latitude-D620:~$

    Here is the full standard output above.

  7. #7
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    14,193
    Distro
    Xubuntu 22.04 Jammy Jellyfish

    Re: Update failed. No further upgrades allowed.

    dwjeanes2; Strange,

    let's get a better handle on what is not going on.
    These questions are relevant:
    Quote Originally Posted by Buntu Bunny
    Were you trying to update to 12.04?
    Quote Originally Posted by Old_Grey_Wolf
    It looks like you have a partial upgrade that has locked dpkg

    If the above is true, AND you have no other instance of a package manager open at the same time . AND you have rebooted the system;
    As it appears Old_Grey_Wolf's worthy advise did not have the desired result:
    Then try:
    Code:
    sudo fuser -cuk /var/lib/dpkg/lock; sudo rm -f /var/lib/dpkg/lock
    sudo apt-get update
    sudo apt-get dist-upgrade
    proper procedure for particular instance
    THE current(cy) in Documentation:
    https://help.ubuntu.com/community/PopularPages

    Happy ubuntu'n !

  8. #8
    Join Date
    Sep 2007
    Location
    In here watching you!
    Beans
    Hidden!

    Re: Update failed. No further upgrades allowed.

    Bashing-om is correct. I provided the command to clear the apt/list but forgot the command to clear the lock.

  9. #9
    Join Date
    Sep 2006
    Location
    France.
    Beans
    Hidden!
    Distro
    Ubuntu Mate 16.04 Xenial Xerus

    Re: Update failed. No further upgrades allowed.

    Hello
    And of course please make sure you have no other package manager open (synaptic, software center etc.).
    | My old and mostly abandoned blog |
    Linux user #413984 ; Ubuntu user #178
    J'aime les fraises.
    Nighty night me lovelies!

    | Reinstalling Ubuntu ? Please check this bug first ! |
    | Using a ppa ? Please install ppa-purge from universe, you may need it should you want to revert packages back |
    | No support requests / username changes by PM, thanks. |
    [SIGPIC][/SIGPIC]

  10. #10
    Join Date
    Oct 2013
    Beans
    27

    Re: Update failed. No further upgrades allowed.

    Ok, I have not yet done these last things. I will asap.

    I just want to say thanks for the help and advice. I love Ubuntu and the community is the best.

    I'll post further after I do the above, whether successful or not.

    Thanks again.

Page 1 of 3 123 LastLast

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
  •