update manager shows different results than Syanptic -SOLVED

Questions specific to SolydK Business Edition
Fargo
Posts: 888
Joined: 17 Sep 2013 14:40

update manager shows different results than Syanptic -SOLVED

Postby Fargo » 17 Apr 2014 21:53

OK I just updated SolydKBE. It installed the new Update Manager and I proceeded to install all the updates from within the manager. I noticed the icon stayed blue so I rebooted. After a reboot the UM icon is still blue and says I have updates available. So I click the manager to check the updates. The update manager refreshes and runs through its procedure and comes back with the message that my system is up to date. However, the icon in the tray still says I have updates. So I went into Synaptic and did a refresh. Sure enough, Syanaptic shows that I have more updates available.

So apparently the tray icon is correct, but for some reason the update manager will not install the updates. Its like it does not know they are there. Is the update manager and Synaptic using the same repositories? I didn't see an option anywhere in the update manager to select or change repos so I assume the repos chosen is Synaptic will apply to the update manager as well. Is that accurate? Will changing repositories in Synaptic also change them in the update manager?

EDIT:

If I go into Synaptic and disable the Debian repos all my updates from the SolydK repo are up to date. As I previously suspected, it appears that the update manager is only seeing the SolydK repos and is not seeing the Debian repos.

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: New update manager shows different results than Syanptic

Postby zerozero » 17 Apr 2014 22:07

let's see:
  1. enable again all the standard repos; they should match this

    Code: Select all

    deb http://packages.solydxk.com/business/ solydxk main upstream import
    deb http://ftp.us.debian.org/debian wheezy main contrib non-free
    deb http://security.debian.org/ wheezy/updates main contrib non-free
  2. run UM and post back the updatemanager.log that you'll find in /var/log/updatemanager.log
  3. after that, run in a terminal

    Code: Select all

    apt update && apt upgrade

    [post the output here]
  4. run

    Code: Select all

    apt dist-upgrade

    [post the output]
  5. run

    Code: Select all

    apt-show-versions -u

    [post the output]
bliss of ignorance

Fargo
Posts: 888
Joined: 17 Sep 2013 14:40

Re: New update manager shows different results than Syanptic

Postby Fargo » 17 Apr 2014 22:18

zerozero wrote:let's see:
  1. enable again all the standard repos; they should match this

    Code: Select all

    deb http://packages.solydxk.com/business/ solydxk main upstream import
    deb http://ftp.us.debian.org/debian wheezy main contrib non-free
    deb http://security.debian.org/ wheezy/updates main contrib non-free



Yep thats what I see as active in Synaptic

zerozero wrote:
  • run UM and post back the updatemanager.log that you'll find in /var/log/updatemanager.log

  • Code: Select all

    17-04-2014 17:12:17 UM.init                       WARNING   Packages no longer available:
    17-04-2014 17:12:18 UM.init                       DEBUG     ==============================================
    17-04-2014 17:12:18 UM.init                       DEBUG     UM version = Version: 2.1.0
    17-04-2014 17:12:18 UM.init                       DEBUG     UM localStable = 2014.04.15, serverStable = 2014.04.15, newStable = False
    17-04-2014 17:12:18 UM.init                       DEBUG     UM localEmergency = 2000.01.01, serverEmergency = None, newEmergency = False
    17-04-2014 17:12:18 UM.init                       DEBUG     ==============================================
    17-04-2014 17:12:18 UM.init                       DEBUG     Mirrors list
    17-04-2014 17:12:18 UM.init                       DEBUG     USA,Debian,http://debian.solydxk.com
    17-04-2014 17:12:18 UM.init                       DEBUG     USA,SolydXK,http://packages.solydxk.com
    17-04-2014 17:12:18 UM.init                       DEBUG     NLD,Debian,http://ftp.nluug.nl/os/Linux/distr/solydxk/debian
    17-04-2014 17:12:18 UM.init                       DEBUG     NLD,SolydXK,http://ftp.nluug.nl/os/Linux/distr/solydxk/packages
    17-04-2014 17:12:18 UM.init                       DEBUG     GBR,Debian,http://solydxk.ogun.org/debian
    17-04-2014 17:12:18 UM.init                       DEBUG     GBR,SolydXK,http://solydxk.ogun.org/packages
    17-04-2014 17:12:18 UM.init                       DEBUG     FRA,Debian,http://solydxk.gnurra.com/debian
    17-04-2014 17:12:18 UM.init                       DEBUG     FRA,SolydXK,http://solydxk.gnurra.com/packages
    17-04-2014 17:12:18 UM.init                       DEBUG     AUS,Debian,http://mirror.internode.on.net/pub/solydxk/debian
    17-04-2014 17:12:18 UM.init                       DEBUG     AUS,SolydXK,http://mirror.internode.on.net/pub/solydxk/packages
    17-04-2014 17:12:18 UM.init                       DEBUG     ==============================================
    17-04-2014 17:12:18 UM.loadInfo                   DEBUG     Load info url: http://packages.solydxk.com/umfiles/prd/stable.html
    17-04-2014 17:12:18 UM.refresh                    DEBUG     Execute command: dpkg --configure -a; apt-get -y --force-yes -f install; apt-get update (umrefresh)
    17-04-2014 17:12:25 UM.on_command_done            INFO      Command finished (pid=5409, nid=umrefresh)
    17-04-2014 17:12:25 UM.getScripts                 DEBUG     Save script = /usr/lib/solydxk/updatemanager/pre-stable-2014.04.15
    17-04-2014 17:12:25 UM.getScripts                 DEBUG     Save script = /usr/lib/solydxk/updatemanager/post-stable-2014.04.15
    17-04-2014 17:12:27 UM.fillTreeView               DEBUG     Fill treeview
    17-04-2014 17:12:27 execcmd.run                   DEBUG     Command to execute: dpkg --get-selections | grep hold$ | awk '{print $1}'
    17-04-2014 17:12:27 UM.loadInfo                   DEBUG     Load info url: http://packages.solydxk.com/umfiles/prd/stable.html


    zerozero wrote:
  • after that, run in a terminal

    Code: Select all

    apt update && apt upgrade

    [post the output here]

  • Code: Select all

    Hit http://ftp.us.debian.org wheezy Release.gpg
    Hit http://ftp.us.debian.org wheezy Release   
    Get:1 http://security.debian.org wheezy/updates Release.gpg [836 B]
    Hit http://ftp.us.debian.org wheezy/main amd64 Packages               
    Get:2 http://security.debian.org wheezy/updates Release [102 kB]
    Hit http://ftp.us.debian.org wheezy/contrib amd64 Packages                 
    Hit http://ftp.us.debian.org wheezy/non-free amd64 Packages                   
    Hit http://ftp.us.debian.org wheezy/main i386 Packages                       
    Hit http://ftp.us.debian.org wheezy/contrib i386 Packages                     
    Hit http://packages.solydxk.com solydxk Release.gpg                           
    Hit http://ftp.us.debian.org wheezy/non-free i386 Packages                   
    Hit http://packages.solydxk.com solydxk Release         
    Hit http://packages.solydxk.com solydxk/main amd64 Packages
    Get:3 http://security.debian.org wheezy/updates/main amd64 Packages [175 kB]
    Hit http://packages.solydxk.com solydxk/upstream amd64 Packages
    Hit http://packages.solydxk.com solydxk/import amd64 Packages
    Hit http://packages.solydxk.com solydxk/main i386 Packages
    Hit http://packages.solydxk.com solydxk/upstream i386 Packages
    Hit http://packages.solydxk.com solydxk/import i386 Packages
    Get:4 http://security.debian.org wheezy/updates/contrib amd64 Packages [14 B]
    Get:5 http://security.debian.org wheezy/updates/non-free amd64 Packages [14 B]
    Get:6 http://security.debian.org wheezy/updates/main i386 Packages [178 kB]
    Get:7 http://security.debian.org wheezy/updates/contrib i386 Packages [14 B]
    Get:8 http://security.debian.org wheezy/updates/non-free i386 Packages [14 B]
    Fetched 457 kB in 2s (221 kB/s)
    Reading package lists... Done
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following packages have been kept back:
      clamtk libssl1.0.0:i386
    0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded



    zerozero wrote:
  • run

    Code: Select all

    apt dist-upgrade

    [post the output]
  • run

    Code: Select all

    apt-show-versions -u

    [post the output]


  • I have to run to get something else done right now. I will run the dist-upgrade and post results when I get back.

    Fargo
    Posts: 888
    Joined: 17 Sep 2013 14:40

    Re: New update manager shows different results than Syanptic

    Postby Fargo » 17 Apr 2014 22:29

    zerozero wrote:[*]run

    Code: Select all

    apt dist-upgrade

    [post the output]


    I decided to just do this now while i have you here. Here are the results

    Code: Select all

    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Calculating upgrade... Done
    The following NEW packages will be installed:
      gir1.2-nautilus-3.0 libcommon-sense-perl libjson-perl libjson-xs-perl libnautilus-extension1a libtext-csv-perl                     
      libtext-csv-xs-perl python-nautilus                                                                                               
    The following packages have been kept back:                                                                                         
      libssl1.0.0:i386                                                                                                                   
    The following packages will be upgraded:                                                                                             
      clamtk                                                                                                                             
    1 upgraded, 8 newly installed, 0 to remove and 1 not upgraded.                                                                       
    Need to get 1,588 kB of archives.                                                                                                   
    After this operation, 2,063 kB of additional disk space will be used.                                                               
    Do you want to continue [Y/n]?   


    So I hit Y to run the update. But it looks like I could have done this via Syanptic. It looks like the same packages I saw there. Which still makes me wonder if UM is not seeing all the repos.

    Here are the results after selecting Y

    Code: Select all

    Get:1 http://packages.solydxk.com/business/ solydxk/import clamtk all 5.05-1 [694 kB]                                               
    Get:2 http://ftp.us.debian.org/debian/ wheezy/main libtext-csv-xs-perl amd64 0.90-1 [72.2 kB]                                       
    Get:3 http://ftp.us.debian.org/debian/ wheezy/main libtext-csv-perl all 1.21-1 [58.6 kB]                                             
    Get:4 http://ftp.us.debian.org/debian/ wheezy/main libjson-perl all 2.53-1 [99.9 kB]                                                 
    Get:5 http://ftp.us.debian.org/debian/ wheezy/main libnautilus-extension1a amd64 3.4.2-1+build1 [269 kB]                             
    Get:6 http://ftp.us.debian.org/debian/ wheezy/main gir1.2-nautilus-3.0 amd64 3.4.2-1+build1 [261 kB]                                 
    Get:7 http://ftp.us.debian.org/debian/ wheezy/main python-nautilus amd64 1.1-3 [20.6 kB]                                             
    Get:8 http://ftp.us.debian.org/debian/ wheezy/main libcommon-sense-perl all 3.6-1 [23.7 kB]                                         
    Get:9 http://ftp.us.debian.org/debian/ wheezy/main libjson-xs-perl amd64 2.320-1+b1 [89.1 kB]                                       
    Fetched 1,588 kB in 13s (122 kB/s)                                                                                                   
    Selecting previously unselected package libtext-csv-xs-perl.                                                                         
    (Reading database ... 148848 files and directories currently installed.)                                                             
    Unpacking libtext-csv-xs-perl (from .../libtext-csv-xs-perl_0.90-1_amd64.deb) ...                                                   
    Selecting previously unselected package libtext-csv-perl.                                                                           
    Unpacking libtext-csv-perl (from .../libtext-csv-perl_1.21-1_all.deb) ...                                                           
    Selecting previously unselected package libjson-perl.                                                                               
    Unpacking libjson-perl (from .../libjson-perl_2.53-1_all.deb) ...                                                                   
    Selecting previously unselected package libnautilus-extension1a.                                                                     
    Unpacking libnautilus-extension1a (from .../libnautilus-extension1a_3.4.2-1+build1_amd64.deb) ...                                   
    Selecting previously unselected package gir1.2-nautilus-3.0.                                                                         
    Unpacking gir1.2-nautilus-3.0 (from .../gir1.2-nautilus-3.0_3.4.2-1+build1_amd64.deb) ...                                           
    Selecting previously unselected package python-nautilus.                                                                             
    Unpacking python-nautilus (from .../python-nautilus_1.1-3_amd64.deb) ...                                                             
    Preparing to replace clamtk 4.41-1 (using .../archives/clamtk_5.05-1_all.deb) ...                                                   
    Unpacking replacement clamtk ...                                                                                                     
    Selecting previously unselected package libcommon-sense-perl.
    Unpacking libcommon-sense-perl (from .../libcommon-sense-perl_3.6-1_all.deb) ...
    Selecting previously unselected package libjson-xs-perl.
    Unpacking libjson-xs-perl (from .../libjson-xs-perl_2.320-1+b1_amd64.deb) ...
    Processing triggers for man-db ...
    Processing triggers for desktop-file-utils ...
    Processing triggers for menu ...
    Setting up libtext-csv-xs-perl (0.90-1) ...
    Setting up libtext-csv-perl (1.21-1) ...
    Setting up libjson-perl (2.53-1) ...
    Setting up libnautilus-extension1a (3.4.2-1+build1) ...
    Setting up gir1.2-nautilus-3.0 (3.4.2-1+build1) ...
    Setting up python-nautilus (1.1-3) ...
    Setting up clamtk (5.05-1) ...
    Setting up libcommon-sense-perl (3.6-1) ...
    Setting up libjson-xs-perl (2.320-1+b1) ...
    Processing triggers for menu ...



    zerozero wrote:[*]run

    Code: Select all

    apt-show-versions -u

    [post the output][/list]


    Shows this after all the above cammands were run

    Code: Select all

    libssl1.0.0/wheezy *manually* upgradeable from 1.0.1e-2+deb7u6 to 1.0.1e-2+deb7u7
    openssl/wheezy *manually* upgradeable from 1.0.1e-2+deb7u6 to 1.0.1e-2+deb7u7

    Fargo
    Posts: 888
    Joined: 17 Sep 2013 14:40

    Re: New update manager shows different results than Syanptic

    Postby Fargo » 17 Apr 2014 22:35

    After a reboot and running all the commands above, Synaptic no long shows updates available, but the tray icon still says their are updates available.

    User avatar
    zerozero
    Posts: 5373
    Joined: 10 Feb 2013 23:37
    Location: West Midlands, England
    Contact:

    Re: New update manager shows different results than Syanptic

    Postby zerozero » 17 Apr 2014 22:46

    Hi Fargo

    all the different package managers we might use, they all read from the same place (/etc/apt/sources.list or sources.list.d if existent)

    in the first place UM was reporting accurately because indeed you had updates available (clamtk) but it couldn't be installed because it required the additional installation of several other dependencies
    (see the dist-upgrade output that you posted above)
    UM in the BE does an upgrade (for stability: this way no new packages will be installed in the course of an update, neither removed)

    after all the above commands UM still shows updates available and that AFAIK is because of the apt-show-versions output;
    something similar happens in this topic (although with completely different setups)
    viewtopic.php?f=13&t=3411

    ===
    please post the output of

    Code: Select all

    apt policy libssl1.0.0 openssl

    ===
    [i'm signing-off for the night]
    bliss of ignorance

    Fargo
    Posts: 888
    Joined: 17 Sep 2013 14:40

    Re: New update manager shows different results than Syanptic

    Postby Fargo » 18 Apr 2014 00:20

    zerozero wrote:Hi Fargo

    all the different package managers we might use, they all read from the same place (/etc/apt/sources.list or sources.list.d if existent)

    in the first place UM was reporting accurately because indeed you had updates available (clamtk) but it couldn't be installed because it required the additional installation of several other dependencies
    (see the dist-upgrade output that you posted above)
    UM in the BE does an upgrade (for stability: this way no new packages will be installed in the course of an update, neither removed)

    after all the above commands UM still shows updates available and that AFAIK is because of the apt-show-versions output;
    something similar happens in this topic (although with completely different setups)
    viewtopic.php?f=13&t=3411

    ===
    please post the output of

    Code: Select all

    apt policy libssl1.0.0 openssl

    ===
    [i'm signing-off for the night]


    Thanks for the help Zerozero. I glanced at the link you posted above and it does look like a very similar situation.

    Here is the output from the code above. Let me know in the morning if you have any further advice.

    Code: Select all

    libssl1.0.0:
      Installed: 1.0.1e-2+deb7u6
      Candidate: 1.0.1e-2+deb7u6
      Version table:
     *** 1.0.1e-2+deb7u6 0
            500 http://security.debian.org/ wheezy/updates/main amd64 Packages
            100 /var/lib/dpkg/status
         1.0.1e-2+deb7u4 0
            500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
    openssl:
      Installed: 1.0.1e-2+deb7u6
      Candidate: 1.0.1e-2+deb7u6
      Version table:
     *** 1.0.1e-2+deb7u6 0
            500 http://security.debian.org/ wheezy/updates/main amd64 Packages
            100 /var/lib/dpkg/status
         1.0.1e-2+deb7u4 0
            500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages

    Fargo
    Posts: 888
    Joined: 17 Sep 2013 14:40

    Re: New update manager shows different results than Syanptic

    Postby Fargo » 18 Apr 2014 00:29

    Just checked Synaptic again and it now shows more updates. It shows libssl1.0.0, libssl1.0.0:i386, and openssl.

    Should I just update from Synaptic?

    I just ran Update Manager again too and it does now show the openssl as an update. I have some work to finish up and then I will try the updates.

    Fargo
    Posts: 888
    Joined: 17 Sep 2013 14:40

    Re: New update manager shows different results than Syanptic

    Postby Fargo » 18 Apr 2014 01:18

    OK I ran Update Manager again and this time it showed the openssl update. So I did the install. I looked like it then reinstalled the majority of the updates from before. I saw it go through Thunderbird and I think firefox again. Even though they were updated the first time.

    Anyway, the icon now has the blue checkmark and everything appears to be up to date. So even though the previous dist-update we ran earlier didn't install everything, it set things up well enough so that the update manager could handle it from there. So at this point I am good. Although it is still curious why it didn't all go through the first time. I'll do a couple of reboots to see if anything changes, but I think I should be good. Thanks for the help.

    EDIT:
    Yep everything seems to be good. By the way, I do like the new update manager even though I had some issues with it this time around. Hopefully its an isolated incident.

    User avatar
    Schoelje
    Site Admin
    Posts: 8460
    Joined: 26 Jan 2013 19:36
    Location: Netherlands
    Contact:

    Re: update manager shows different results than Syanptic -SO

    Postby Schoelje » 18 Apr 2014 08:43

    So, that's a lot of text to go through :shock:
    If I understand correctly, this was also a difference between the output of apt-show-versions (for the tray icon that runs as the logged in user), and the output of (dist-)upgrade (used by the UM window, started as root)?


    SolydXK needs you!
    Development | Testing | Translations

    Fargo
    Posts: 888
    Joined: 17 Sep 2013 14:40

    Re: update manager shows different results than Syanptic -SO

    Postby Fargo » 18 Apr 2014 15:39

    Yeah sorry about all the text. I didn't know exactly what zerozero needed to see so I posted everything.

    I guess you would know better than I do about why the outputs were different, but it seemed to be pretty much as you said.

    Nomen Nescio
    Posts: 63
    Joined: 02 Oct 2013 09:01

    Re: update manager shows different results than Syanptic -SO

    Postby Nomen Nescio » 21 Apr 2014 08:49

    Hi,

    I came to this topic because also different result between updatemanager and synaptic (see my former posts of today and yesterday)

    when i type:

    Code: Select all

    apt-show-versions -u

    this is the result:

    Code: Select all

    evolution-webcal/wheezy *manually* upgradeable from 2.32.0-2+b1 to 2.32.0-2+b2

    which is probably an explanations for the different results between the updatemanager and synaptic, although both are not showing this update and I don't know how to install it (do I have to install it?)?

    User avatar
    zerozero
    Posts: 5373
    Joined: 10 Feb 2013 23:37
    Location: West Midlands, England
    Contact:

    Re: update manager shows different results than Syanptic -SO

    Postby zerozero » 21 Apr 2014 09:18

    NN
    what is the output of

    Code: Select all

    apt policy evolution-webcal

    Code: Select all

    sudo apt-get -s dist-upgrade
    bliss of ignorance

    Nomen Nescio
    Posts: 63
    Joined: 02 Oct 2013 09:01

    Re: update manager shows different results than Syanptic -SO

    Postby Nomen Nescio » 21 Apr 2014 09:32

    zerozero,

    outputs:

    Code: Select all

    evolution-webcal:
      Installed: 2.32.0-2+b1
      Candidate: 2.32.0-2+b1
      Version table:
     *** 2.32.0-2+b1 0
            500 http://ftp.us.debian.org/debian/ wheezy/main amd64 Packages
            100 /var/lib/dpkg/status

    Code: Select all

    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.

    User avatar
    zerozero
    Posts: 5373
    Joined: 10 Feb 2013 23:37
    Location: West Midlands, England
    Contact:

    Re: update manager shows different results than Syanptic -SO

    Postby zerozero » 21 Apr 2014 09:58

    from those 2 outputs i'm lost:
    dist-upgrade doesn't show packages to upgrade and we can't see from where apt-show-versions is reading the new evolution-webcal version:
    in the previous output it days that the package is upgradable from b1 to b2

    Code: Select all

    evolution-webcal/wheezy *manually* upgradeable from 2.32.0-2+b1 to 2.32.0-2+b2

    but the only version available is b1

    Code: Select all

    evolution-webcal:
      Installed: 2.32.0-2+b1
      Candidate: 2.32.0-2+b1
      Version table:
     *** 2.32.0-2+b1 0

    puzzling :o
    bliss of ignorance

    Nomen Nescio
    Posts: 63
    Joined: 02 Oct 2013 09:01

    Re: update manager shows different results than Syanptic -SO

    Postby Nomen Nescio » 21 Apr 2014 11:14

    wow, if it's even puzzling for the pro...

    my sources:

    Code: Select all

    cat sources.list
    deb http://packages.solydxk.com/business/ solydxk main upstream import
    deb http://ftp.us.debian.org/debian wheezy main contrib non-free
    deb http://security.debian.org/ wheezy/updates main contrib non-free


    but although on SolydKBE on HP n54l (AMD Turion II Model Neo) i have a lot of :i386 stuff installed like skype, kingsoft office, brother mfcj6510 cupswrapper...


    Return to “SolydK Business Edition”

    Who is online

    Users browsing this forum: No registered users and 1 guest