Announcement

Collapse
No announcement yet.

Why are packages sometimes held back?

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [DESKTOP] Why are packages sometimes held back?

    I did a package update and saw a few updates. When I run the upgrade I see that Gwenview is being held back.... Why is this?

    Code:
    tahaan@komputer:~$ sudo apt update
    [sudo] password for tahaan: 
    Hit:1 http://za.archive.ubuntu.com/ubuntu xenial InRelease                                               
    Get:2 http://za.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]                                                      
    Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]                                                       
    Get:4 http://za.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB]                                                    
    Hit:5 http://download.virtualbox.org/virtualbox/debian xenial InRelease                                                           
    Hit:6 http://archive.neon.kde.org/user xenial InRelease                                                                           
    Get:7 http://za.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [380 kB]                                             
    Get:8 http://za.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [375 kB]
    Get:9 http://za.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [321 kB]                                         
    Get:10 http://za.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [318 kB]                                         
    Fetched 1,675 kB in 1min 50s (15.1 kB/s)                                                                                          
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    21 packages can be upgraded. Run 'apt list --upgradable' to see them.
    tahaan@komputer:~$ apt list --upgradable
    Listing... Done
    [COLOR="#FF0000"]gwenview[/COLOR]/xenial 4:16.08.0-0neon+16.04+build14 amd64 [upgradable from: 4:16.08.0-0neon+16.04+build12]
    kdeconnect/xenial 1.0-0neon+16.04+build18 amd64 [upgradable from: 0.9g-1+16.04+build14]
    libkaccounts1/xenial 4:16.08.0-0neon+16.04+build8 amd64 [upgradable from: 4:15.12.3-0ubuntu1]
    libkf5runner5/xenial 5.25.0-0neon+16.04+build13 amd64 [upgradable from: 5.25.0-0neon+16.04+build11]
    libkf5sonnet5-data/xenial,xenial,xenial 5.25.0-0neon+16.04+build11 all [upgradable from: 5.25.0-0neon+16.04+build8]
    libkf5sonnetcore5/xenial 5.25.0-0neon+16.04+build11 amd64 [upgradable from: 5.25.0-0neon+16.04+build8]
    libkf5sonnetui5/xenial 5.25.0-0neon+16.04+build11 amd64 [upgradable from: 5.25.0-0neon+16.04+build8]
    libqt5waylandclient5/xenial 5.7.0-0neon+16.04+build13 amd64 [upgradable from: 5.7.0-0neon+16.04+build8]
    libqt5waylandcompositor5/xenial 5.7.0-0neon+16.04+build13 amd64 [upgradable from: 5.7.0-0neon+16.04+build8]
    linux-generic/xenial-updates,xenial-security 4.4.0.36.38 amd64 [upgradable from: 4.4.0.34.36]
    linux-headers-generic/xenial-updates,xenial-security 4.4.0.36.38 amd64 [upgradable from: 4.4.0.34.36]
    linux-image-generic/xenial-updates,xenial-security 4.4.0.36.38 amd64 [upgradable from: 4.4.0.34.36]
    linux-libc-dev/xenial-updates,xenial-security 4.4.0-36.55 amd64 [upgradable from: 4.4.0-34.53]
    neon-desktop/xenial 4+p16.04+git20160826.1306 amd64 [upgradable from: 4+p16.04+git20160825.1402]
    neon-settings/xenial,xenial,xenial 0.0+p16.04+git20160829.1502 all [upgradable from: 0.0+p16.04+git20160809.0848]
    plasma-pa/xenial 4:5.7.4-0neon+16.04+build17 amd64 [upgradable from: 4:5.7.4-0neon+16.04+build16]
    qml-module-org-kde-runnermodel/xenial 5.25.0-0neon+16.04+build13 amd64 [upgradable from: 5.25.0-0neon+16.04+build11]
    qtwayland5/xenial 5.7.0-0neon+16.04+build13 amd64 [upgradable from: 5.7.0-0neon+16.04+build8]
    snapd/xenial-updates 2.13 amd64 [upgradable from: 2.12+0.16.04]
    sonnet-plugins/xenial 5.25.0-0neon+16.04+build11 amd64 [upgradable from: 5.25.0-0neon+16.04+build8]
    sudo/xenial-updates 1.8.16-0ubuntu1.2 amd64 [upgradable from: 1.8.16-0ubuntu1.1]
    tahaan@komputer:~$ sudo apt upgrade                                                                                                
    Reading package lists... Done                                                                                                      
    Building dependency tree                                                                                                           
    Reading state information... Done                                                                                                  
    Entering ResolveByKeep 10%                                                                                                         
      Dependencies are not satisfied for gwenview [ amd64 ] < 4:16.08.0-0neon+16.04+build12 -> 4:16.08.0-0neon+16.04+build14 > ( graphics )                                                                                                                               
    Keeping package gwenview:amd64                                                                                                     
    Calculating upgrade... Done                                                                                                        
    The following NEW packages will be installed:                                                                                      
      linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-image-4.4.0-36-generic linux-image-extra-4.4.0-36-generic            
    [COLOR="#FF0000"]The following packages have been kept back:                                                                                        
      gwenview[/COLOR]
    The following packages will be upgraded:
      kdeconnect libkaccounts1 libkf5runner5 libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libqt5waylandclient5
      libqt5waylandcompositor5 linux-generic linux-headers-generic linux-image-generic linux-libc-dev neon-desktop neon-settings
      plasma-pa qml-module-org-kde-runnermodel qtwayland5 snapd sonnet-plugins sudo
    20 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
    Need to get 77.1 MB of archives.
    After this operation, 303 MB of additional disk space will be used.
    Do you want to continue? [Y/n]
    I don't recall seeing this before swithing to KDE Neon, though that might have been simply because I did not pay attention well enough.

    #2
    Unmet dependency problem caused by kipi-plugins I think.

    It is going to happen with a repository that is constantly updating some software while other software packages do not.
    On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

    Comment


      #3
      In this instance, there were some downgrades on the Python settings. Don't really remember the exact package names but after upgrading it I did another update and then another upgrade or dist-upgrade which downgraded about 3 packages and updated gwenview.

      Originally posted by Tahaan View Post
      I did a package update and saw a few updates. When I run the upgrade I see that Gwenview is being held back.... Why is this?

      Code:
      tahaan@komputer:~$ sudo apt update
      [sudo] password for tahaan: 
      Hit:1 http://za.archive.ubuntu.com/ubuntu xenial InRelease                                               
      Get:2 http://za.archive.ubuntu.com/ubuntu xenial-updates InRelease [95.7 kB]                                                      
      Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [94.5 kB]                                                       
      Get:4 http://za.archive.ubuntu.com/ubuntu xenial-backports InRelease [92.2 kB]                                                    
      Hit:5 http://download.virtualbox.org/virtualbox/debian xenial InRelease                                                           
      Hit:6 http://archive.neon.kde.org/user xenial InRelease                                                                           
      Get:7 http://za.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [380 kB]                                             
      Get:8 http://za.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [375 kB]
      Get:9 http://za.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [321 kB]                                         
      Get:10 http://za.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [318 kB]                                         
      Fetched 1,675 kB in 1min 50s (15.1 kB/s)                                                                                          
      Reading package lists... Done
      Building dependency tree       
      Reading state information... Done
      21 packages can be upgraded. Run 'apt list --upgradable' to see them.
      tahaan@komputer:~$ apt list --upgradable
      Listing... Done
      [COLOR="#FF0000"]gwenview[/COLOR]/xenial 4:16.08.0-0neon+16.04+build14 amd64 [upgradable from: 4:16.08.0-0neon+16.04+build12]
      kdeconnect/xenial 1.0-0neon+16.04+build18 amd64 [upgradable from: 0.9g-1+16.04+build14]
      libkaccounts1/xenial 4:16.08.0-0neon+16.04+build8 amd64 [upgradable from: 4:15.12.3-0ubuntu1]
      libkf5runner5/xenial 5.25.0-0neon+16.04+build13 amd64 [upgradable from: 5.25.0-0neon+16.04+build11]
      libkf5sonnet5-data/xenial,xenial,xenial 5.25.0-0neon+16.04+build11 all [upgradable from: 5.25.0-0neon+16.04+build8]
      libkf5sonnetcore5/xenial 5.25.0-0neon+16.04+build11 amd64 [upgradable from: 5.25.0-0neon+16.04+build8]
      libkf5sonnetui5/xenial 5.25.0-0neon+16.04+build11 amd64 [upgradable from: 5.25.0-0neon+16.04+build8]
      libqt5waylandclient5/xenial 5.7.0-0neon+16.04+build13 amd64 [upgradable from: 5.7.0-0neon+16.04+build8]
      libqt5waylandcompositor5/xenial 5.7.0-0neon+16.04+build13 amd64 [upgradable from: 5.7.0-0neon+16.04+build8]
      linux-generic/xenial-updates,xenial-security 4.4.0.36.38 amd64 [upgradable from: 4.4.0.34.36]
      linux-headers-generic/xenial-updates,xenial-security 4.4.0.36.38 amd64 [upgradable from: 4.4.0.34.36]
      linux-image-generic/xenial-updates,xenial-security 4.4.0.36.38 amd64 [upgradable from: 4.4.0.34.36]
      linux-libc-dev/xenial-updates,xenial-security 4.4.0-36.55 amd64 [upgradable from: 4.4.0-34.53]
      neon-desktop/xenial 4+p16.04+git20160826.1306 amd64 [upgradable from: 4+p16.04+git20160825.1402]
      neon-settings/xenial,xenial,xenial 0.0+p16.04+git20160829.1502 all [upgradable from: 0.0+p16.04+git20160809.0848]
      plasma-pa/xenial 4:5.7.4-0neon+16.04+build17 amd64 [upgradable from: 4:5.7.4-0neon+16.04+build16]
      qml-module-org-kde-runnermodel/xenial 5.25.0-0neon+16.04+build13 amd64 [upgradable from: 5.25.0-0neon+16.04+build11]
      qtwayland5/xenial 5.7.0-0neon+16.04+build13 amd64 [upgradable from: 5.7.0-0neon+16.04+build8]
      snapd/xenial-updates 2.13 amd64 [upgradable from: 2.12+0.16.04]
      sonnet-plugins/xenial 5.25.0-0neon+16.04+build11 amd64 [upgradable from: 5.25.0-0neon+16.04+build8]
      sudo/xenial-updates 1.8.16-0ubuntu1.2 amd64 [upgradable from: 1.8.16-0ubuntu1.1]
      tahaan@komputer:~$ sudo apt upgrade                                                                                                
      Reading package lists... Done                                                                                                      
      Building dependency tree                                                                                                           
      Reading state information... Done                                                                                                  
      Entering ResolveByKeep 10%                                                                                                         
        Dependencies are not satisfied for gwenview [ amd64 ] < 4:16.08.0-0neon+16.04+build12 -> 4:16.08.0-0neon+16.04+build14 > ( graphics )                                                                                                                               
      Keeping package gwenview:amd64                                                                                                     
      Calculating upgrade... Done                                                                                                        
      The following NEW packages will be installed:                                                                                      
        linux-headers-4.4.0-36 linux-headers-4.4.0-36-generic linux-image-4.4.0-36-generic linux-image-extra-4.4.0-36-generic            
      [COLOR="#FF0000"]The following packages have been kept back:                                                                                        
        gwenview[/COLOR]
      The following packages will be upgraded:
        kdeconnect libkaccounts1 libkf5runner5 libkf5sonnet5-data libkf5sonnetcore5 libkf5sonnetui5 libqt5waylandclient5
        libqt5waylandcompositor5 linux-generic linux-headers-generic linux-image-generic linux-libc-dev neon-desktop neon-settings
        plasma-pa qml-module-org-kde-runnermodel qtwayland5 snapd sonnet-plugins sudo
      20 upgraded, 4 newly installed, 0 to remove and 1 not upgraded.
      Need to get 77.1 MB of archives.
      After this operation, 303 MB of additional disk space will be used.
      Do you want to continue? [Y/n]
      I don't recall seeing this before swithing to KDE Neon, though that might have been simply because I did not pay attention well enough.

      Comment


        #4
        Yes, that forced downgrade is part of the solution.
        On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

        Comment


          #5
          Posted yesterday on KDE neon FB page:
          KDE Connect 1.0 added to KDE neon User Edition, plus kipi-plugins makes a return with support in Gwenview & Digikam.
          (You may need to upgrade twice to get the new kipi-plugins, this is to remove the old pin file which kept it on kde4 kipi-plugins before we got the new Digikam.)
          Windows no longer obstructs my view.
          Using Kubuntu Linux since March 23, 2007.
          "It is a capital mistake to theorize before one has data." - Sherlock Holmes

          Comment


            #6
            I see the downgrade warning:

            Code:
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            1 package can be upgraded. Run 'apt list --upgradable' to see it.
            tahaan@komputer:~/Downloads$ apt list --upgradable
            Listing... Done
            [COLOR="#00FF00"]gwenview[/COLOR]/xenial 4:16.08.0-0neon+16.04+build14 amd64 [upgradable from: 4:16.08.0-0neon+16.04+build12]
            N: There are 5 additional versions. Please use the '-a' switch to see them.
            tahaan@komputer:~/Downloads$ sudo apt upgrade gwenview
            Reading package lists... Done
            Building dependency tree       
            Reading state information... Done
            Entering ResolveByKeep 10%
            Calculating upgrade... Done
            The following NEW packages will be installed:
              libkf5kipi-data libkf5kipi31.0.0
            The following packages will be upgraded:
              gwenview
            [COLOR="#FF0000"]The following packages will be DOWNGRADED:
              python3-software-properties software-properties-common
            [/COLOR]1 upgraded, 2 newly installed, 2 downgraded, 0 to remove and 0 not upgraded.
            Need to get 2,985 kB of archives.
            After this operation, 492 kB of additional disk space will be used.
            Do you want to continue? [Y/n]

            What will I lose or break if I force the upgrade? What does those packages do?

            Both Packages shows "optional" as priority:

            Code:
            tahaan@komputer:/extra/johan/Downloads$ apt-cache show software-properties-common
            Package: software-properties-common
            Status: install ok installed
            Priority: optional
            Section: admin
            Installed-Size: 86
            Maintainer: Michael Vogt <michael.vogt@ubuntu.com>
            Architecture: all
            Source: software-properties
            Version: 0.96.21+p16.04+git20160608.1305
            Replaces: python-software-properties (<< 0.85), python3-software-properties (<< 0.85)
            Depends: python3:any (>= 3.3.2-2~), python3, python3-gi, gir1.2-glib-2.0, python-apt-common (>= 0.9), python3-dbus, python3-software-properties (= 0.96.21+p16.04+git20160608.1305), ca-certificates
            Breaks: python-software-properties (<< 0.85), python3-software-properties (<< 0.85)
            Conffiles:
             /etc/dbus-1/system.d/com.ubuntu.SoftwareProperties.conf cc3c01a5b5e8e05d40c9c075f44c43ea
            Description: manage the repositories that you install software from (common)
            Description-md5: d19f432480048ad00ac5c2bfd116cd00
            After allowing this upgrade/downgrade song-and-dance I am now having:
            Code:
            tahaan@komputer:~/Downloads$ dpkg --list gwenview
            Desired=Unknown/Install/Remove/Purge/Hold
            | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
            |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
            ||/ Name                       Version            Architecture       Description
            +++-==========================-==================-==================-==========================================================
            ii  gwenview                   4:16.08.0-0neon+16 amd64              image viewer
            tahaan@komputer:~/Downloads$
            How do I know whether it was worth it. In other words - what bugs were fixed in the latest update of gwenview?

            Last night when I tried to mount/unmount an external drive, it failed to unmount, saying that there were open files. fuser did not show any processes, but when I did a ps I saw a couple of defunct gwenview processes. I did a
            Code:
            killall gwenview
            after which the external drive could be unmounted... So I would like to see if any bugs appear to be related to this symptom...

            Comment


              #7
              After the downgrade, did you do another update and upgrade and then upgrade gwenview? Something I have noticed on Neon that helps after upgrading sometimes, log out and then log back in to let the changes take full effect.

              Comment


                #8
                First I did update/upgrade the normal way, which is when I noticed that gwenview was being held back.

                Then I did the upgrade and specified the gwenview package, which performed the downgrade.

                After that there was no new updates for 2 days. AFAIK the two "software properties" packages are still downgraded (and presumably will stay that way?)

                Comment


                  #9
                  The downgrade of those packages to the stable versions is fine in this case, as it's needed to catch a Xenial stable release update that the higher neon version would otherwise have blocked.
                  On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

                  Comment

                  Working...
                  X