Bug 686145

Summary: kpackagekit handling RPMs from download installs even blocked packages
Product: [openSUSE] openSUSE 11.4 Reporter: Gustav Ostner <gustav.ostner>
Component: InstallationAssignee: E-mail List <bnc-team-screening>
Status: RESOLVED DUPLICATE QA Contact: Jiri Srain <jsrain>
Severity: Major    
Priority: P5 - None CC: suse-beta, zaitor
Version: Final   
Target Milestone: ---   
Hardware: 32bit   
OS: openSUSE 11.4   
Whiteboard:
Found By: --- Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Attachments: Summary of the kpackagekit install

Description Gustav Ostner 2011-04-08 06:19:05 UTC
User-Agent:       Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET4.0C; .NET4.0E; InfoPath.2; .NET CLR 2.0.50727)

I wanted to install the Métaorphose file renamer from http://downloads.sourceforge.net/file-folder-ren/metamorphose2-0.8.0-9.suse.noarch.rpm and instead of doing the sensible thing and downloading the rpm and installing it with rpm -Uvh, I allowed Firefox to do the suggested action, i.e., install it via packagekit. I was then asked if I wanted to allow the installation, but given no details, and then packagekit went and installed everything it thought was an update for my system, without asking for confirmation: among the unwanted packages wer

- every part of the installed patterns that I had removed via yast or zypper (like most bluetooth packages, as I don't have bluetooth on my desktop)
- even worse, id added the nvidia repo and installed the nvidia 260 proprietary driver, which I had blocked for its known incompatibility with kde/plasma 4.6

Installing more than the one package that the user wants ((and its dependencies) is bad enough.
Installing packages that the user has blocked without asking for confirmation is definitely a severe bug, as it can break a system - as it has mine.

PS.: I don't know what else it did to my system - I didn't even get to kdm to log into XFCE. when I log into the CLI and do 'startx', I get the following: /etc/X11/xinit/xserverrc: line 52: exec: X: not found
But var/log/Xorg.0.log looks OK, and gives no clues as to what went wrong.
Now SAX would come in handy.

I can't get back to kdm, even after removing the NVidia packages and reinstalling nouveau, I'm stll stuck without X. I can do things in the CLI, and check and edit configuration files (like the one blocking nouveau and KMS), but a novice will definitely be stuck. And a novice is definitely more likely, to allow the suggested installation via packagekit instead of downloading and using rpm

Even so, I feel, I have definitely no other option but to reinstall 11.4 after only 2 weeks; I have NEVER been forced to do a reinstall because of a broken system with Linux - definitely feels like going back to Windows :-(

Reproducible: Didn't try

Steps to Reproduce:
1. Install 11.4 and block some packages in YAST.
2. remove some packages that come in as part of the installed patterns
3. allow firefox to install an RPM from the net with packagekit
4. packagekit will then install all the packages blocked in step 1 and removed in step 2.
Actual Results:  
packagekit installed all the unwanted packages

Expected Results:  
packagekit should only have installed the one selected package (metamorphose) and its dependencies

I could add a screenshot of the packagekit dialog showing the result of the action - I made a screenshot to document the packages I need to remove again in YAST.
But I'm writing this from work, and even when I'll be home again, I'll be busy for a while reinstalling my system.
Comment 1 Christian Boltz 2011-04-08 22:45:25 UTC
Please attach /var/log/pk_backend_zypp* to this bugreport.

Please also save all the logfiles in /var/log/ before reinstalling the system in case the developers need another logfile.

BTW: /var/log/zypp/history should give you an insight which packages were installed.
Comment 2 Gustav Ostner 2011-04-10 19:59:44 UTC
Sorry, I needed the system urgently, so I reinstalled everything as soon as I came back from work on Friday, around 18:00 UTC. And (re-)installing Linux _IS_ fast, faster than other operating systems ;-)

The only thing I still have is the screenshot I took of the kpackagekit summary dialogue that I took to get rid of the newly installed stuff I didn't want.
Comment 3 Christian Boltz 2011-04-10 22:44:36 UTC
Then please attach the screenshot, it's better than nothing ;-)
(however I'm not sure how helpful it is - that's something the developers will tell you)
Comment 4 Gustav Ostner 2011-04-17 10:54:04 UTC
Created attachment 425285 [details]
Summary of the kpackagekit install
Comment 5 Bjørn Lie 2011-04-17 12:56:42 UTC
This sounds a lot like https://bugzilla.novell.com/show_bug.cgi?id=681404
Comment 6 Michael Andres 2011-05-02 18:03:56 UTC
duplicate

*** This bug has been marked as a duplicate of bug 690038 ***