Bug 413370

Summary: openSUSE Tumbleweed: Installing one app while there are available updates also installs the updates without telling you!
Product: [Applications] Discover Reporter: Nate Graham <nate>
Component: discoverAssignee: Dan Leinir Turthra Jensen <leinir>
Status: RESOLVED UPSTREAM    
Severity: grave CC: admin, aleixpol
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
URL: https://bugzilla.opensuse.org/show_bug.cgi?id=1154973
Latest Commit: Version Fixed In:

Description Nate Graham 2019-10-23 16:18:41 UTC
OpenSUSE Tumbleweed with Discover and all other KDE Software from git master.

STEPS TO REPRODUCE
1. Receive a batch of updates (about 160 today)
2. Find an app you want to install
3. Install the app

OBSERVED RESULT
The installation takes an unexpectedly long time. `pkmon` reveals that in fact all updates are being installed!

EXPECTED RESULT
One of the following should happen instead (depending on what's technically feasible)
- Only the app is installed and the available updates are not also installed
- You are informed that available updates must be installed before new apps can be installed
Comment 1 Aleix Pol 2019-10-23 16:20:25 UTC
Can you see if you have the same behaviour with pkcon?
Comment 2 Nate Graham 2019-10-23 16:42:31 UTC
I'll check next time I have some updates available.
Comment 3 Dan Leinir Turthra Jensen 2019-10-24 07:52:09 UTC
The behaviour is indeed the same with pkcon, and is more general than just during installation of new software. Here is what happened when i (in a desire to test out installing something and not having anything to install thought i'd get rid of something first) did pkcon remove matrix-quaternion:

leinir@copernicus:~> pkcon remove matrix-quaternion
Resolving                     [=========================]         
Querying                      [=========================]         
Testing changes               [=========================]         
Finished                      [                         ] (0%)  
The following packages have to be obsoleted:
 kernel-firmware-20190909-1.1.noarch    Linux kernel firmware files
 libldb1-1.5.5-1.2.x86_64       An LDAP-like embedded database
The following packages have to be removed:
 matrix-quaternion-0.0.9.4-7.10.x86_64  QT Matrix client
 matrix-quaternion-lang-0.0.9.4-7.10.noarch     Translations for package matrix-quaternion
The following packages have to be updated:
 MozillaFirefox-69.0.2-1.1.x86_64       Mozilla Firefox Web Browser
 NetworkManager-1.18.2-1.1.x86_64       Network Link Manager and user applications for it
 NetworkManager-branding-openSUSE-42.1-4.15.noarch      Default ${branding_name} branding for /etc/NetworkManager/NetworkManager.conf
(...ad nauseum)

So, yup, definitely a thing somewhere not in Discover
Comment 4 Nate Graham 2019-10-24 13:55:31 UTC
Great, thanks for investigating. Marking as an upstream issue.