Bug 386935 - Discover cannot process when the authentication of a package is asked
Summary: Discover cannot process when the authentication of a package is asked
Status: RESOLVED FIXED
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: 5.11.1
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: Aleix Pol
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-11-15 07:49 UTC by David P.
Modified: 2017-11-28 18:57 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
error popup (59.15 KB, image/png)
2017-11-15 14:46 UTC, David P.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David P. 2017-11-15 07:49:56 UTC
I can upgrade my system with APT, but not with Discover.

This is the cause (in German language):

# apt dist-upgrade 
Paketlisten werden gelesen... Fertig
Abhängigkeitsbaum wird aufgebaut.                                                                                                                                                                                                 
Statusinformationen werden eingelesen.... Fertig                                                                                                                                                                                  
Starting pkgProblemResolver with broken count: 010%                                                                                                                                                                               
Starting 2 pkgProblemResolver with broken count: 0                                                                                                                                                                                
Done                                                                                                                                                                                                                              
Paketaktualisierung (Upgrade) wird berechnet... Fertig                                                                                                                                                                            
Die folgenden Pakete wurden automatisch installiert und werden nicht mehr benötigt:                                                                                                                                               
  libkf5purposewidgets5 libkf5xmlrpcclient-data libkf5xmlrpcclient5 libllvm3.8 libudev1:i386                                                                                                                                      
  linux-headers-4.4.0-81 linux-headers-4.4.0-81-generic linux-headers-4.4.0-83 linux-headers-4.4.0-83-generic                                                                                                                     
  linux-headers-4.4.0-87 linux-headers-4.4.0-87-generic linux-image-4.4.0-81-generic                                                                                                                                              
  linux-image-4.4.0-83-generic linux-image-4.4.0-87-generic linux-image-extra-4.4.0-81-generic                                                                                                                                    
  linux-image-extra-4.4.0-83-generic linux-image-extra-4.4.0-87-generic                                                                                                                                                           
Verwenden Sie »sudo apt autoremove«, um sie zu entfernen.                                                                                                                                                                         
Die folgenden NEUEN Pakete werden installiert:                                                                                                                                                                                    
  cryfs encfs libcrypto++9v5 libeditorconfig0 libkf5kirigami2-5 libqt5texttospeech5 libtinyxml2-2v5                                                                                                                               
  linux-headers-4.4.0-98 linux-headers-4.4.0-98-generic linux-image-4.4.0-98-generic                                                                                                                                              
  linux-image-extra-4.4.0-98-generic plasma-vault                                                                                                                                                                                 
Die folgenden Pakete werden aktualisiert (Upgrade):                                                                                                                                                                               
  akonadi-contacts-data ark baloo-kf5 bluedevil breeze breeze-cursor-theme breeze-icon-theme                                                                                                                                      
  chromium-codecs-ffmpeg-extra cracklib-runtime distro-info-data dolphin ffmpegthumbs flashplugin-installer                                                                                                                       
  frameworkintegration google-chrome-stable grub-common grub-pc grub-pc-bin grub-theme-breeze grub2-common                                                                                                                        
  gtk3-engines-breeze gwenview iproute2 kaccounts-providers kactivities-bin kactivitymanagerd kamera                                                                                                                              
  kcharselect kde-cli-tools kde-cli-tools-data kde-config-gtk-style kde-config-gtk-style-preview                                                                                                                                  
  kde-config-plymouth kde-config-screenlocker kde-config-sddm kde-spectacle kde-style-breeze                                                                                                                                      
  kde-style-breeze-qt4 kded5 kdeplasma-addons-data kdialog kgamma5 khotkeys khotkeys-data                                                                                                                                         
  kimageformat-plugins kinfocenter kinit kio kio-extras kio-extras-data kmenuedit konsole konsole-kpart                                                                                                                           
  kpackagelauncherqml kpackagetool5 krdc kross kscreen ksshaskpass ksysguard ksysguard-data ksysguardd                                                                                                                            
  ktexteditor-data ktexteditor-katepart kwalletmanager kwayland-data kwayland-integration kwin kwin-addons                                                                                                                        
  kwin-common kwin-data kwin-style-breeze kwin-x11 kwrite kwrited libastro1 libcrack2 libdolphinvcs5                                                                                                                              
  libgnutls-openssl27 libgnutls30 libkaccounts1 libkdecorations2-5v5 libkdecorations2private5v5                                                                                                                                   
  libkf5activities5 libkf5activitiesstats1 libkf5akonadicontact5 libkf5akonadicore5 libkf5akonadiprivate5                                                                                                                         
  libkf5akonadiwidgets5 libkf5archive5 libkf5attica5 libkf5auth-data libkf5auth5 libkf5baloo5                                                                                                                                     
  libkf5balooengine5 libkf5baloowidgets-bin libkf5baloowidgets5 libkf5bluezqt-data libkf5bluezqt6                                                                                                                                 
  libkf5bookmarks-data libkf5bookmarks5 libkf5calendarcore5 libkf5calendarevents5 libkf5codecs-data                                                                                                                               
  libkf5codecs5 libkf5completion-data libkf5completion5 libkf5config-bin libkf5config-data libkf5configcore5                                                                                                                      
  libkf5configgui5 libkf5configwidgets-data libkf5configwidgets5 libkf5contacteditor-data                                                                                                                                         
  libkf5contacteditor5 libkf5contacts-data libkf5contacts5 libkf5coreaddons-data libkf5coreaddons5                                                                                                                                
  libkf5crash5 libkf5dbusaddons-bin libkf5dbusaddons-data libkf5dbusaddons5 libkf5declarative-data
  libkf5declarative5 libkf5dnssd-data libkf5dnssd5 libkf5doctools5 libkf5emoticons-bin libkf5emoticons-data
  libkf5emoticons5 libkf5filemetadata-bin libkf5filemetadata-data libkf5filemetadata3 libkf5globalaccel-bin
  libkf5globalaccel-data libkf5globalaccel5 libkf5globalaccelprivate5 libkf5guiaddons5 libkf5holidays-data
  libkf5holidays5 libkf5i18n-data libkf5i18n5 libkf5iconthemes-bin libkf5iconthemes-data libkf5iconthemes5
  libkf5idletime5 libkf5itemmodels5 libkf5itemviews-data libkf5itemviews5 libkf5jobwidgets-data
  libkf5jobwidgets5 libkf5js5 libkf5jsapi5 libkf5jsembed-data libkf5jsembed5 libkf5kcmutils-data
  libkf5kcmutils5 libkf5kdcraw5 libkf5kdelibs4support-data libkf5kdelibs4support5 libkf5kdelibs4support5-bin
  libkf5kexiv2-15.0.0 libkf5khtml-bin libkf5khtml-data libkf5khtml5 libkf5kiocore5 libkf5kiofilewidgets5
  libkf5kiontlm5 libkf5kiowidgets5 libkf5kipi-data libkf5kipi32.0.0 libkf5krosscore5 libkf5krossui5
  libkf5mime5 libkf5modemmanagerqt6 libkf5networkmanagerqt6 libkf5newstuff-data libkf5newstuff5
  libkf5newstuffcore5 libkf5notifications-data libkf5notifications5 libkf5notifyconfig-data
  libkf5notifyconfig5 libkf5package-data libkf5package5 libkf5parts-data libkf5parts-plugins libkf5parts5
  libkf5people-data libkf5people5 libkf5peoplebackend5 libkf5peoplewidgets5 libkf5plasma5 libkf5plasmaquick5
  libkf5prison5 libkf5pty-data libkf5pty5 libkf5purpose-bin libkf5purpose5 libkf5purposewidgets5
  libkf5quickaddons5 libkf5runner5 libkf5sane-data libkf5sane5 libkf5screen7 libkf5service-bin
  libkf5service-data libkf5service5 libkf5solid5 libkf5solid5-data libkf5sonnet5-data libkf5sonnetcore5
  libkf5sonnetui5 libkf5style5 libkf5su-bin libkf5su-data libkf5su5 libkf5syntaxhighlighting-data
  libkf5syntaxhighlighting5 libkf5sysguard-bin libkf5sysguard-data libkf5texteditor5
  libkf5texteditor5-libjs-underscore libkf5textwidgets-data libkf5textwidgets5 libkf5threadweaver5
  libkf5unitconversion-data libkf5unitconversion5 libkf5wallet-bin libkf5wallet-data libkf5wallet5
  libkf5waylandclient5 libkf5waylandserver5 libkf5widgetsaddons-data libkf5widgetsaddons5
  libkf5windowsystem-data libkf5windowsystem5 libkf5xmlgui-bin libkf5xmlgui-data libkf5xmlgui5
  libkf5xmlrpcclient-data libkf5xmlrpcclient5 libkfontinst5 libkfontinstui5 libkscreenlocker5 libksgrd7
  libksignalplotter7 libkwalletbackend5-5 libkwin4-effect-builtins1 libkwineffects11 libkwinglutils11
  libkwinxrenderutils11 libkworkspace5-5 libmarblewidget-qt5-28 libokular5core7 libpam-kwallet5
  libpam-systemd libperl5.22 libplasma-geolocation-interface5 libpoppler-glib8 libpoppler-qt5-1 libpoppler58
  libpowerdevilcore2 libpowerdevilui5 libpq5 libprocesscore7 libprocessui7 libqmobipocket2
  libqt5webengine-data libqt5webenginecore5 libqt5webenginewidgets5 libssl1.0.0 libsystemd0 libsystemd0:i386
  libtaskmanager6 libudev1 libudev1:i386 libweather-ion7 linux-firmware linux-generic linux-headers-generic
  linux-image-generic linux-libc-dev lshw marble-data marble-plugins milou muon-notifier muon-updater
  neon-desktop neon-settings okular openjdk-8-jdk openjdk-8-jdk-headless openjdk-8-jre openjdk-8-jre-headless
  openjdk-8-source openssl oxygen-icon-theme oxygen-sounds pam-kwallet-init perl perl-base perl-modules-5.22
  plasma-dataengines-addons plasma-desktop plasma-desktop-data plasma-discover plasma-discover-common
  plasma-discover-private plasma-discover-updater plasma-framework
  plasma-look-and-feel-org-kde-breezedark-desktop plasma-nm plasma-pa plasma-runners-addons
  plasma-wallpapers-addons plasma-widgets-addons plasma-workspace plymouth-theme-breeze polkit-kde-agent-1
  poppler-utils postgresql-9.5 postgresql-client-9.5 postgresql-client-common postgresql-common
  postgresql-contrib-9.5 powerdevil powerdevil-data print-manager python-mutagen python3-distupgrade
  python3-update-manager qml-module-org-kde-activities qml-module-org-kde-bluezqt
  qml-module-org-kde-draganddrop qml-module-org-kde-extensionplugin qml-module-org-kde-kconfig
  qml-module-org-kde-kcoreaddons qml-module-org-kde-kholidays qml-module-org-kde-kio
  qml-module-org-kde-kirigami2 qml-module-org-kde-kquickcontrols qml-module-org-kde-kquickcontrolsaddons
  qml-module-org-kde-kwindowsystem qml-module-org-kde-newstuff qml-module-org-kde-purpose
  qml-module-org-kde-qqc2desktopstyle qml-module-org-kde-runnermodel qml-module-org-kde-solid
  qml-module-qtquick-controls-styles-breeze resolvconf sddm-theme-breeze snapd sonnet-plugins systemd
  systemd-sysv systemsettings tzdata ubuntu-minimal ubuntu-release-upgrader-core ubuntu-standard udev
  update-manager-core user-manager wget
367 aktualisiert, 12 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Es müssen 530 MB an Archiven heruntergeladen werden.
Nach dieser Operation werden 358 MB Plattenplatz zusätzlich benutzt.
Möchten Sie fortfahren? [J/n] 
WARNUNG: Die folgenden Pakete können nicht authentifiziert werden!
  python-mutagen
Diese Pakete ohne Überprüfung installieren? [j/N] j




The cause is this question:
Diese Pakete ohne Überprüfung installieren?

The GUI is unable to do this.
Comment 1 David P. 2017-11-15 07:51:32 UTC
Rough translation:

Install this packet without verification?
Comment 2 Aleix Pol 2017-11-15 11:59:30 UTC
Which error does Discover give you?
Comment 3 David P. 2017-11-15 14:44:53 UTC
I don't have time to write it down.  Errors are shown in a popup that disappears in a few seconds.
Comment 4 David P. 2017-11-15 14:46:54 UTC
Created attachment 108877 [details]
error popup
Comment 5 David P. 2017-11-15 14:47:18 UTC
Finally I've been able to capture the error.
Comment 6 Aleix Pol 2017-11-28 18:57:43 UTC
Git commit c17feb9f77b5648cb7f91c5f3af48023bf47bcbc by Aleix Pol.
Committed on 28/11/2017 at 18:51.
Pushed by apol into branch 'master'.

PackageKit: Make it possible to add new signatures in response to the error
Related: bug 377645

M  +14   -0    libdiscover/backends/PackageKitBackend/PKTransaction.cpp
M  +8    -0    libdiscover/backends/PackageKitBackend/PKTransaction.h
M  +14   -0    libdiscover/backends/PackageKitBackend/PackageKitUpdater.cpp
M  +8    -0    libdiscover/backends/PackageKitBackend/PackageKitUpdater.h

https://commits.kde.org/discover/c17feb9f77b5648cb7f91c5f3af48023bf47bcbc