Page 2 of 9 FirstFirst 1234 ... LastLast
Results 11 to 20 of 83

Thread: Update manager issues

  1. #11
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,617
    Distro
    Ubuntu Development Release

    Re: Update manager issues

    Hi

    I would suggest cleaning out the list file cache as well as look at the sources like bashing-om suggested.

    Code:
    sudo rm -rf /var/lib/apt/lists/*
    also clean the package cache

    Code:
    sudo apt-get clean
    If you run it again and it freezes, try to get to a console.

    Press ctrl + alt + F1 at the same time. If this gets you to a console, login with your user name and pasword.

    You can then kill update-manager with

    Code:
    sudo killall update-manager
    Code:
    sudo kill $(pgrep update-manager)
    If, after these two commands, it still wont die then use this.

    Code:
    sudo kill -9 $(pgrep update-manager)
    You should try one of the first two commands first and check to see if it is dead by going to to the graphical display.

    You can get back to the graphicak display by pressing ctrl + alt + F7 at the same time.

    Only use the last command (SIGKILL) as a lsat resort.

    If it does freeze after your sources have been checked and the caches cleaned then please post back stating if you could get to a console and kill update-manager that way and also state if you had to use a SIGKILL to kill it.

    Kind regards
    Last edited by matt_symes; March 1st, 2013 at 12:57 AM.
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  2. #12
    Join Date
    Jan 2009
    Beans
    104

    Re: Update manager issues

    OK. I ran your commands. Just got 13 new updates and tried install. The updates stalled about half way. I was able to open a terminal (so obviously the only lock-up is in update manager) and did the kill all command which got rid of update manager and left everything else working properly.

    I'll go back to my usual method of using terminal [sudo apt-get update && sudo apt-get dist-upgrade]

    After I run this command I will go back to update manager, and if it is the same as before, it will still have all 13 updates downloaded but not installed. I can then click install and everything will be installed and the computer will be shown as up to date.

    So, here goes. I'll let you know what happens

    OOPS! that doesn't work any more. I get this message [N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock directory /var/lib/apt/lists/
    donald@donald-Aspire-3810T:~$

    donaldt

  3. #13
    Join Date
    Jan 2009
    Beans
    104

    Re: Update manager issues

    I need help with text editing in terminal. How do I get rid of the hash marks etc. to change the files, i.e. comment them out or make them available? I am not a linux programmer.

    Thanks!

    donaldt

  4. #14
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    6,451
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Update manager issues

    donaldt;

    Hanging in there with you and to the issue presently at hand:
    edit /etc/apt/sources.list :
    Open a terminal for a command line interface.
    First make a backup copy of the current file --one never knows what can happen -power failure at any time or whatever.
    Code:
    sudo cp /etc/apt/sources.list /etc/apt/sources.list-old
    password required.
    Now to edit that database file; As we are working on a system file outside of your home directory and the application we are using is GUI based. You will elevate your privileges using "gksudo". Your password is required.Thus:
    Code:
    gksudo gedit /etc/apt/sources.list
    enter your password in the authetication window.
    "gedit" is a text editior and in this instance will be what-you-see-is-what-you-get editor. The file is opened for editing with the above command/password.
    At this time use the arrow keys on the keyboard to place the "cursor" where you want it. Backspace or delete keys to "delete" text, any desired key to "insert" text.
    Take your time, compare what you have after edits to the sources.list file I provided. Keep in mind my mirror will be different than yours and my operating system is (AMD-64) also different. Any line beginning with the "#" character will be ignored when the file is executed; as a future aid documentation is helpfull,detailing what and why you made changes to any given file. In "gedit" you may open additional files and drag the file to be side-by-side for comparrioson.

    OK now you are happy with all the changes you have made. Save the file and exit back to the terminal.
    Reboot the system and see what results.
    Code:
    sudo shutdown -r now
    Ok back up from reboot: Lets see what the status is now and get some idea of what might remain to be done by looking at the errors "dpkg" generated with:
    Code:
     sudo apt-get update
    sudo apt-get upgrade
    There is likely to be errors. Post the output of the above so we can see.
    further advise pending

  5. #15
    Join Date
    Jan 2009
    Beans
    104

    Re: Update manager issues

    Hello...and thanks for staying with me. I believe I did what you asked. I printed out the changes so they can be reversed if needed.

    Here is the consecutive output from "sudo apt-get update" and "sudo apt-get upgrade.

    donald@donald-Aspire-3810T:~$ sudo apt-get update
    [sudo] password for donald:
    Ign http://mirrors.rit.edu precise InRelease
    Ign http://dl.google.com stable InRelease
    Hit http://mirrors.rit.edu precise Release.gpg
    Ign http://us.archive.ubuntu.com precise InRelease
    Ign http://us.archive.ubuntu.com precise-updates InRelease
    Ign http://us.archive.ubuntu.com precise-security InRelease
    Hit http://dl.google.com stable Release.gpg
    Hit http://dl.google.com stable Release
    Hit http://mirrors.rit.edu precise Release
    Ign http://extras.ubuntu.com precise InRelease
    Get:1 http://us.archive.ubuntu.com precise Release.gpg [198 B]
    Ign http://archive.canonical.com precise InRelease
    Ign http://ppa.launchpad.net precise InRelease
    Hit http://packages.medibuntu.org precise InRelease
    Get:2 http://us.archive.ubuntu.com precise-updates Release.gpg [198 B]
    Hit http://dl.google.com stable/main i386 Packages
    Hit http://extras.ubuntu.com precise Release.gpg
    Hit http://archive.canonical.com precise Release.gpg
    Hit http://ppa.launchpad.net precise Release.gpg
    Get:3 http://us.archive.ubuntu.com precise-security Release.gpg [198 B]
    Ign http://dl.google.com stable/main TranslationIndex
    Hit http://mirrors.rit.edu precise/main i386 Packages
    Get:4 http://us.archive.ubuntu.com precise Release [49.6 kB]
    Hit http://extras.ubuntu.com precise Release
    Hit http://mirrors.rit.edu precise/restricted i386 Packages
    Hit http://archive.canonical.com precise Release
    Hit http://ppa.launchpad.net precise Release
    Hit http://packages.medibuntu.org precise/free Sources
    Hit http://mirrors.rit.edu precise/multiverse i386 Packages
    Get:5 http://us.archive.ubuntu.com precise-updates Release [49.6 kB]
    Hit http://extras.ubuntu.com precise/main i386 Packages
    Hit http://archive.canonical.com precise/partner i386 Packages
    Hit http://ppa.launchpad.net precise/main Sources
    Hit http://mirrors.rit.edu precise/universe i386 Packages
    Ign http://extras.ubuntu.com precise/main TranslationIndex
    Hit http://mirrors.rit.edu precise/main TranslationIndex
    Ign http://archive.canonical.com precise/partner TranslationIndex
    Get:6 http://us.archive.ubuntu.com precise-security Release [49.6 kB]
    Hit http://ppa.launchpad.net precise/main i386 Packages
    Ign http://ppa.launchpad.net precise/main TranslationIndex
    Hit http://packages.medibuntu.org precise/non-free Sources
    Hit http://mirrors.rit.edu precise/multiverse TranslationIndex
    Get:7 http://us.archive.ubuntu.com precise/main i386 Packages [1,274 kB]
    Ign http://dl.google.com stable/main Translation-en_US
    Ign http://dl.google.com stable/main Translation-en
    Hit http://mirrors.rit.edu precise/restricted TranslationIndex
    Hit http://packages.medibuntu.org precise/free i386 Packages
    Hit http://mirrors.rit.edu precise/universe TranslationIndex
    Hit http://mirrors.rit.edu precise/main Translation-en
    Hit http://packages.medibuntu.org precise/non-free i386 Packages
    Hit http://mirrors.rit.edu precise/multiverse Translation-en
    Ign https://private-ppa.launchpad.net precise InRelease
    Hit http://mirrors.rit.edu precise/restricted Translation-en
    Ign http://packages.medibuntu.org precise/free TranslationIndex
    Hit http://mirrors.rit.edu precise/universe Translation-en
    Ign http://packages.medibuntu.org precise/non-free TranslationIndex
    Ign http://extras.ubuntu.com precise/main Translation-en_US
    Ign http://archive.canonical.com precise/partner Translation-en_US
    Ign http://ppa.launchpad.net precise/main Translation-en_US
    Ign http://extras.ubuntu.com precise/main Translation-en
    Ign http://archive.canonical.com precise/partner Translation-en
    Ign http://ppa.launchpad.net precise/main Translation-en
    Hit https://private-ppa.launchpad.net precise Release.gpg
    Hit https://private-ppa.launchpad.net precise Release
    Hit https://private-ppa.launchpad.net precise/main i386 Packages
    Ign https://private-ppa.launchpad.net precise/main TranslationIndex
    Get:8 http://us.archive.ubuntu.com precise/restricted i386 Packages [8,431 B]
    Get:9 http://us.archive.ubuntu.com precise/universe i386 Packages [4,796 kB]
    Ign http://packages.medibuntu.org precise/free Translation-en_US
    Ign http://packages.medibuntu.org precise/free Translation-en
    Ign https://private-ppa.launchpad.net precise/main Translation-en_US
    Ign http://packages.medibuntu.org precise/non-free Translation-en_US
    Ign https://private-ppa.launchpad.net precise/main Translation-en
    Get:10 http://us.archive.ubuntu.com precise/multiverse i386 Packages [121 kB]
    Get:11 http://us.archive.ubuntu.com precise/main TranslationIndex [3,706 B]
    Get:12 http://us.archive.ubuntu.com precise/multiverse TranslationIndex [2,676 B]
    Get:13 http://us.archive.ubuntu.com precise/restricted TranslationIndex [2,596 B]
    Get:14 http://us.archive.ubuntu.com precise/universe TranslationIndex [2,922 B]
    Get:15 http://us.archive.ubuntu.com precise-updates/main i386 Packages [594 kB]
    Ign http://packages.medibuntu.org precise/non-free Translation-en
    Get:16 http://us.archive.ubuntu.com precise-updates/restricted i386 Packages [9,503 B]
    Get:17 http://us.archive.ubuntu.com precise-updates/universe i386 Packages [184 kB]
    Get:18 http://us.archive.ubuntu.com precise-updates/multiverse i386 Packages [10.4 kB]
    Get:19 http://us.archive.ubuntu.com precise-updates/main TranslationIndex [3,564 B]
    Get:20 http://us.archive.ubuntu.com precise-updates/multiverse TranslationIndex [2,605 B]
    Get:21 http://us.archive.ubuntu.com precise-updates/restricted TranslationIndex [2,461 B]
    Get:22 http://us.archive.ubuntu.com precise-updates/universe TranslationIndex [2,850 B]
    Get:23 http://us.archive.ubuntu.com precise-security/main i386 Packages [239 kB]
    Get:24 http://us.archive.ubuntu.com precise-security/restricted i386 Packages [3,968 B]
    Get:25 http://us.archive.ubuntu.com precise-security/universe i386 Packages [69.9 kB]
    Get:26 http://us.archive.ubuntu.com precise-security/multiverse i386 Packages [2,362 B]
    Get:27 http://us.archive.ubuntu.com precise-security/main TranslationIndex [74 B]
    Get:28 http://us.archive.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
    Get:29 http://us.archive.ubuntu.com precise-security/restricted TranslationIndex [71 B]
    Get:30 http://us.archive.ubuntu.com precise-security/universe TranslationIndex [73 B]
    Get:31 http://us.archive.ubuntu.com precise/main Translation-en [726 kB]
    Get:32 http://us.archive.ubuntu.com precise/multiverse Translation-en [93.4 kB]
    Get:33 http://us.archive.ubuntu.com precise/restricted Translation-en [2,395 B]
    Get:34 http://us.archive.ubuntu.com precise/universe Translation-en [3,341 kB]
    Get:35 http://us.archive.ubuntu.com precise-updates/main Translation-en [260 kB]
    Get:36 http://us.archive.ubuntu.com precise-updates/multiverse Translation-en [5,694 B]
    Get:37 http://us.archive.ubuntu.com precise-updates/restricted Translation-en [2,328 B]
    Get:38 http://us.archive.ubuntu.com precise-updates/universe Translation-en [108 kB]
    Get:39 http://us.archive.ubuntu.com precise-security/main Translation-en [112 kB]
    Get:40 http://us.archive.ubuntu.com precise-security/multiverse Translation-en [995 B]
    Get:41 http://us.archive.ubuntu.com precise-security/restricted Translation-en [978 B]
    Get:42 http://us.archive.ubuntu.com precise-security/universe Translation-en [43.2 kB]
    Fetched 12.2 MB in 28s (430 kB/s)
    Reading package lists... Done
    N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    donald@donald-Aspire-3810T:~$ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    The following packages will be upgraded:
    firefox firefox-globalmenu firefox-gnome-support firefox-locale-en
    libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa libglu1-mesa libssl1.0.0
    libxatracker1 openssl sudo xserver-xorg-video-nouveau
    13 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Need to get 0 B/30.2 MB of archives.
    After this operation, 4,096 B disk space will be freed.
    Do you want to continue [Y/n]? y
    Reading changelogs... Done
    Preconfiguring packages ...
    (Reading database ... 510544 files and directories currently installed.)
    Preparing to replace libssl1.0.0 1.0.1-4ubuntu5.6 (using .../libssl1.0.0_1.0.1-4ubuntu5.7_i386.deb) ...
    Unpacking replacement libssl1.0.0 ...
    Setting up libssl1.0.0 (1.0.1-4ubuntu5.7) ...
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    (Reading database ... 510544 files and directories currently installed.)
    Preparing to replace libgl1-mesa-dri 8.0.4-0ubuntu0.3 (using .../libgl1-mesa-dri_8.0.4-0ubuntu0.4_i386.deb) ...
    Unpacking replacement libgl1-mesa-dri ...
    Preparing to replace libgl1-mesa-glx 8.0.4-0ubuntu0.3 (using .../libgl1-mesa-glx_8.0.4-0ubuntu0.4_i386.deb) ...
    Unpacking replacement libgl1-mesa-glx ...
    Preparing to replace libglapi-mesa 8.0.4-0ubuntu0.3 (using .../libglapi-mesa_8.0.4-0ubuntu0.4_i386.deb) ...
    Unpacking replacement libglapi-mesa ...
    Preparing to replace libxatracker1 8.0.4-0ubuntu0.3 (using .../libxatracker1_8.0.4-0ubuntu0.4_i386.deb) ...
    Unpacking replacement libxatracker1 ...
    Preparing to replace libglu1-mesa 8.0.4-0ubuntu0.3 (using .../libglu1-mesa_8.0.4-0ubuntu0.4_i386.deb) ...
    Unpacking replacement libglu1-mesa ...
    Preparing to replace sudo 1.8.3p1-1ubuntu3.3 (using .../sudo_1.8.3p1-1ubuntu3.4_i386.deb) ...
    Unpacking replacement sudo ...
    Preparing to replace openssl 1.0.1-4ubuntu5.6 (using .../openssl_1.0.1-4ubuntu5.7_i386.deb) ...
    Unpacking replacement openssl ...
    Preparing to replace firefox-globalmenu 19.0+build1-0ubuntu0.12.04.1 (using .../firefox-globalmenu_19.0+build1-0ubuntu0.12.04.2_i386.deb) ...
    Unpacking replacement firefox-globalmenu ...
    Preparing to replace firefox 19.0+build1-0ubuntu0.12.04.1 (using .../firefox_19.0+build1-0ubuntu0.12.04.2_i386.deb) ...
    Unpacking replacement firefox ...
    Preparing to replace firefox-gnome-support 19.0+build1-0ubuntu0.12.04.1 (using .../firefox-gnome-support_19.0+build1-0ubuntu0.12.04.2_i386.deb) ...
    Unpacking replacement firefox-gnome-support ...
    Preparing to replace firefox-locale-en 19.0+build1-0ubuntu0.12.04.1 (using .../firefox-locale-en_19.0+build1-0ubuntu0.12.04.2_i386.deb) ...
    Unpacking replacement firefox-locale-en ...
    Preparing to replace xserver-xorg-video-nouveau 1:0.0.16+git20111201+b5534a1-1build2 (using .../xserver-xorg-video-nouveau_1%3a0.0.16+git20111201+b5534a1-1build3_i386.deb) ...
    Unpacking replacement xserver-xorg-video-nouveau ...
    Processing triggers for man-db ...
    Processing triggers for ureadahead ...
    ureadahead will be reprofiled on next reboot
    Processing triggers for bamfdaemon ...
    Rebuilding /usr/share/applications/bamf.index...
    Processing triggers for desktop-file-utils ...
    Processing triggers for gnome-menus ...
    Setting up libgl1-mesa-dri (8.0.4-0ubuntu0.4) ...
    Setting up libglapi-mesa (8.0.4-0ubuntu0.4) ...
    Setting up libgl1-mesa-glx (8.0.4-0ubuntu0.4) ...
    Setting up libxatracker1 (8.0.4-0ubuntu0.4) ...
    Setting up libglu1-mesa (8.0.4-0ubuntu0.4) ...
    Setting up sudo (1.8.3p1-1ubuntu3.4) ...
    Setting up openssl (1.0.1-4ubuntu5.7) ...
    Setting up firefox (19.0+build1-0ubuntu0.12.04.2) ...
    Please restart all running instances of firefox, or you will experience problems.
    Setting up firefox-globalmenu (19.0+build1-0ubuntu0.12.04.2) ...
    Setting up firefox-gnome-support (19.0+build1-0ubuntu0.12.04.2) ...
    Setting up firefox-locale-en (19.0+build1-0ubuntu0.12.04.2) ...
    Setting up xserver-xorg-video-nouveau (1:0.0.16+git20111201+b5534a1-1build3) ...
    Processing triggers for libc-bin ...
    ldconfig deferred processing now taking place
    N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension

  6. #16
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,617
    Distro
    Ubuntu Development Release

    Re: Update manager issues

    Hi

    The good thing is that Ubutnu is not locking up !

    You can still get to a console and kill update-manager so it was just update-manager that was locking up by the looks of it.

    You just updated and upgraded correctly.

    Remove that file giving the warning.

    Code:
    sudo rm /etc/apt/sources.list.d/getdeb.list.bck
    Code:
    sudo apt-get clean
    Code:
    sudo rm -rf /var/lib/apt/lists/*
    After that try update-manager.

    Does it still lockup ?

    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  7. #17
    Join Date
    Jan 2009
    Beans
    104

    Re: Update manager issues

    All 13 updates were installed by the terminal command. Update Manager has nothing left to install.

    When I run [cat /etc/apt/sources.list.d/*.list] this is what I get in terminal:

    ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
    # You may comment out this entry, but any other modifications may be lost.
    deb http://dl.google.com/linux/earth/deb/ stable main
    ## Please report any bug on https://bugs.launchpad.net/medibuntu/
    deb http://packages.medibuntu.org/ precise free non-free #Medibuntu - Ubuntu 12.04 "precise pangolin"
    deb-src http://packages.medibuntu.org/ precise free non-free #Medibuntu (source) - Ubuntu 12.04 "precise pangolin"
    deb https://private-ppa.launchpad.net/co...aserver/ubuntu precise main #Added by software-center; credentials stored in /etc/apt/auth.conf
    deb http://ppa.launchpad.net/tualatrix/ppa/ubuntu precise main
    deb-src http://ppa.launchpad.net/tualatrix/ppa/ubuntu precise main
    donald@donald-Aspire-3810T:~$

    Is there another way to check out "Update Manager"??

    I really appreciate all the help on this. It was driving me nutty, but seems to be nearly normal again. Is there any other file clean up that I need to do, or just wait until I have updates to try out in update manager?

    best regards,

    donaldt

  8. #18
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    6,451
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Update manager issues

    Matt & donaldt;
    I do not understand why this:
    N: Ignoring file 'getdeb.list.bck' in directory '/etc/apt/sources.list.d/' as it has an invalid filename extension
    from "apt-get update"
    is not reflected in the out put of "cat /etc/apt/sources.list.d/*.list".
    What am I not seeing ?
    a step in the process of learning

  9. #19
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,617
    Distro
    Ubuntu Development Release

    Re: Update manager issues

    Hi

    @bashing-om.

    I told him to delete that file in post #16 and he posted his sources.list.d/* files after (#17). That is why that file had gone.

    BTW: Great work with the sources file

    @OP.

    You will need to wait for new updates to see if update-manager is still stalling.

    Kind regards
    Join us on irc at #ubuntuforums. For web chat see here

    If you believe everything you read, you better not read. ~ Japanese Proverb

    Do not read newspapers on an empty stomach ~ Russian Proverb ~ BrunoLotse

  10. #20
    Join Date
    Jul 2010
    Location
    ozarks, Arkansas, USA
    Beans
    6,451
    Distro
    Lubuntu 14.04 Trusty Tahr

    Re: Update manager issues

    @ matt_symes Thanks for that -- I was beginning to wonder deeper about my troubleshooting techniques.

    @ donaldt, As Matt advises situation should now be resolved, Wait and do updates when they become available and remember to mark this thread as "solved"; aids all in look'n at solutiuons.

    Good things do happen

Page 2 of 9 FirstFirst 1234 ... LastLast

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
  •