Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

  1. #1
    Join Date
    Nov 2008
    Beans
    77
    Distro
    Ubuntu 16.04 Xenial Xerus

    Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    The GUI Update Manager keeps asking for a partial upgrade. This started happening recently. sudo apt-get update and upgrade yields:

    Code:
    $ sudo apt-get upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    Why is the GUI Update Manager disagreeing with the command line tool apt-get? Are these two programs relying on different data? Shouldn't these two programs work the same behind the scenes?

    How to I rationalize these two? Is one of these programs broken? Which one should I trust? What can I do to correct the issue?

    As an aside, the GUI window is confusing. There is a "Continue" button and a "Partial Upgrade" button. Why the choice? I get different (and even more confusing) results depending on which button I click:

    If I click "Partial Upgrade", and enter my password at the prompt, eventually I see "The software on this computer is up to date.
    There are no upgrades available for your system. The upgrade will now be canceled."

    However, if I run the Updates Manager tool again, and, when the Partial Upgrade dialog appears again, click "Continue", I see a notice saying, "Software index is broken It is impossible to install or remove any software. Please use the package manager "Synaptic" or run "sudo apt-get install -f" in a terminal to fix this issue at first."

    I do not have "Synaptic" installed so I did not try this suggestion but the other suggestion, "sudo apt-get install -f" yields the following:
    Code:
    $ sudo apt-get install -f
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

  2. #2
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    I always trust the terminal output first but >>>You can check the difference (if Any)) with:
    Open a terminal and run this:
    Code:
    xprop | awk '($1=="_NET_WM_PID(CARDINAL)") {print $3}' | xargs ps h -o cmd
    Now click on a running instance of the GUI (Software updater).

    The command used to run it should then be printed in the terminal.

    One other offer here is:
    Code:
    sudo apt install -f
    sudo dpkg --configure -a
    sudo apt dist-upgrade
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  3. #3
    Join Date
    Nov 2008
    Beans
    77
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    "Now click on a running instance of the GUI (Software updater)."

    Click where? Anywhere in the window? On a particular button?

  4. #4
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    Anywhere in/on the Software updater
    EDIT: apt-get will NOT consider "suggested" packages as updates, while Update Manager does. It <Update Manager> also includes packages which apt-get would only install/upgrade with "dist-upgrade". Additionally, I believe Update Manager maintains its own package cache which is only automatically updated daily and thus may not always be synchronized with the APT package cache.
    As a result I don't use "apt-get" any more, I only use "apt" with 16.04 and higher
    Last edited by 1fallen; January 28th, 2019 at 04:58 PM.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  5. #5
    Join Date
    Nov 2008
    Beans
    77
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    Here are the outputs of the commands you suggested:
    Code:
    username@computer:~$ xprop | awk '($1=="_NET_WM_PID(CARDINAL)") {print $3}' | xargs ps h -o cmd
    /usr/bin/python3 /usr/bin/update-manager
    username@computer:~$ sudo apt install -f
    [sudo] password for username: 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    username@computer:~$ sudo dpkg --configure -a
    username@computer:~$ sudo apt dist-upgrade
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    username@computer:~$
    @1fallen, I do not understand what your suggestions are intended to provide. I get the same results from apt as I get from apt-get and printing out the name of the gui application does not, to me, appear to provide any information as to what the problem might be. Besides, what is the difference between apt and apt-get anyway? I have seen many forum postings that reference one or the other without explanation. What is the definitive update management tool for this version of Ubuntu?

    Furthermore, I still do not understand why Update Manager is behaving the way it is. How can I force Update Manager to "update" its "package cache", so that it is truly "synchronized with the APT package cache", whatever that means?

    Does anybody have another suggestion?
    Last edited by howefield; January 28th, 2019 at 06:42 PM. Reason: posts merged.

  6. #6
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    So that all looks good!
    I'm strictly a CLI (Terminal) guy.
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  7. #7
    Join Date
    Nov 2008
    Beans
    77
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    Thanks for trying, 1fallen!

    Anybody else out there who knows about the GUI? Should I post a bug and, if so, where?

    Thanks in advance!

  8. #8
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    12,275
    Distro
    Ubuntu

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    You don't happen to have -proposed enabled?
    (Or maybe -backports, or other extra repositories?)
    Similar issue here,
    https://askubuntu.com/questions/9135...artial-upgrade
    Though no definitive answer.
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

  9. #9
    Join Date
    Aug 2016
    Location
    Wandering
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    Along with deadflowr's advice: Even though I thought I was clear, and sorry if I wasn't.
    Now to update the cache with:
    Code:
    sudo /usr/bin/python3 /usr/bin/update-manager
    With realization of one's own potential and self-confidence in one's ability, one can build a better world.
    Dalai Lama>>
    Code Tags

  10. #10
    Join Date
    Nov 2008
    Beans
    77
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Ubuntu 16.04 Update Manager Repeatedly Asks for Partial Upgrade

    I turned off backports and the problem still exists.
    Anyway, I've reported a bug:
    https://bugs.launchpad.net/ubuntu/+s...r/+bug/1813626
    and referenced this discussion in the bug report.

    Quote Originally Posted by 1fallen View Post
    Along with deadflowr's advice: Even though I thought I was clear, and sorry if I wasn't.
    Now to update the cache with:
    Code:
    sudo /usr/bin/python3 /usr/bin/update-manager
    This action results in the same behaviour.
    Last edited by howefield; January 28th, 2019 at 06:43 PM. Reason: posts merged.

Page 1 of 2 12 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
  •