Bug 865073

Summary: Dependency errors during package installation cause anaconda to crash (they are not handled gracefully)
Product: [Fedora] Fedora Reporter: Luya Tshimbalanga <luya>
Component: anacondaAssignee: Chris Lumens <clumens>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 18CC: awilliam, dan.mashal, eparis, g.kaviyarasu, jonathan, kevin, mbanas, neilsbb, notting, orion, petersen, pfrields, robatino, satellitgo, twoerner, vanmeeuwen+fedora, william
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:972517d27b918ad0a1d62f92fbb216ecf04a1755206825efda2d1ba1451cbc50 RejectedBlocker
Fixed In Version: anaconda-18.30-1 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-01-23 04:25:19 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: release
none
File: anaconda.log
none
File: type
none
File: ifcfg.log
none
File: storage.log
none
File: version
none
File: environ
none
File: product
none
File: syslog
none
File: install.log
none
File: hashmarkername
none
File: packaging.log
none
File: cmdline_file
none
File: anaconda-tb
none
File: program.log
none
anaconda-tb-9EDLs5 none

Description Luya Tshimbalanga 2012-10-10 18:38:38 UTC
Description of problem:
Installer crashed during "Starting package installation process".

Version-Release number of selected component:
anaconda-18.14

Additional info:
libreport version: 2.0.14
cmdline:        /usr/bin/python  /sbin/anaconda
kernel:         3.6.1-1.fc18.x86_64

description:
:The following was filed automatically by anaconda:
:anaconda 18.14 exception report
:Traceback (most recent call first):
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1110, in checkSoftwareSelection
:    raise DependencyError(msgs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/packaging/yumpayload.py", line 1164, in preInstall
:    self.checkSoftwareSelection()
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/install.py", line 111, in doInstall
:    payload.preInstall(packages=packages, groups=payload.languageGroups(ksdata.lang.lang))
:  File "/usr/lib64/python2.7/threading.py", line 504, in run
:    self.__target(*self.__args, **self.__kwargs)
:  File "/usr/lib64/python2.7/site-packages/pyanaconda/threads.py", line 87, in run
:    threading.Thread.run(self, *args, **kwargs)
:DependencyError: [u'1:totem-nautilus-3.6.0-1.fc18.x86_64 requires totem = 1:3.6.0-1.fc18']

Comment 1 Luya Tshimbalanga 2012-10-10 18:38:40 UTC
Created attachment 625091 [details]
File: release

Comment 2 Luya Tshimbalanga 2012-10-10 18:38:42 UTC
Created attachment 625092 [details]
File: anaconda.log

Comment 3 Luya Tshimbalanga 2012-10-10 18:38:43 UTC
Created attachment 625093 [details]
File: type

Comment 4 Luya Tshimbalanga 2012-10-10 18:38:45 UTC
Created attachment 625094 [details]
File: ifcfg.log

Comment 5 Luya Tshimbalanga 2012-10-10 18:38:47 UTC
Created attachment 625095 [details]
File: storage.log

Comment 6 Luya Tshimbalanga 2012-10-10 18:38:49 UTC
Created attachment 625096 [details]
File: version

Comment 7 Luya Tshimbalanga 2012-10-10 18:38:50 UTC
Created attachment 625097 [details]
File: environ

Comment 8 Luya Tshimbalanga 2012-10-10 18:38:52 UTC
Created attachment 625098 [details]
File: product

Comment 9 Luya Tshimbalanga 2012-10-10 18:38:55 UTC
Created attachment 625099 [details]
File: syslog

Comment 10 Luya Tshimbalanga 2012-10-10 18:38:56 UTC
Created attachment 625100 [details]
File: install.log

Comment 11 Luya Tshimbalanga 2012-10-10 18:38:59 UTC
Created attachment 625101 [details]
File: hashmarkername

Comment 12 Luya Tshimbalanga 2012-10-10 18:39:01 UTC
Created attachment 625102 [details]
File: packaging.log

Comment 13 Luya Tshimbalanga 2012-10-10 18:39:03 UTC
Created attachment 625103 [details]
File: cmdline_file

Comment 14 Luya Tshimbalanga 2012-10-10 18:39:11 UTC
Created attachment 625104 [details]
File: anaconda-tb

Comment 15 Luya Tshimbalanga 2012-10-10 18:39:12 UTC
Created attachment 625105 [details]
File: program.log

Comment 16 Chris Lumens 2012-10-11 02:43:04 UTC
This is a repo problem that should be filed against the packages in question if you want it to not happen again in the future.  However, we should display a real error dialog instead of a traceback.  An error dialog's just going to say this same information dressed up a little nicer, though.

Comment 17 Luya Tshimbalanga 2012-10-11 07:43:28 UTC
hadess is totem maintainer. I don't know his email address. 
Maybe a graceful fallback would be nice like the ability to skip that broken dependency for non-crucial package.

Comment 18 Chris Lumens 2012-10-11 19:56:30 UTC
Yeah, we'll do something along those lines.  I'm going to need to wait a couple days until msivak is done straightening out some threading problems since how he fixes that will influence what I do to fix this.

Comment 19 Paul W. Frields 2012-10-12 14:21:17 UTC
Used default GNOME Desktop package selection when installing F18.

Package: anaconda-18.14
OS Release: Fedora release 18

Comment 20 Paul W. Frields 2012-10-12 15:11:38 UTC
Weirdly, I'm getting this problem even when I select Minimal install -- the packages showing up in the traceback shouldn't even be part of that group (e.g. perl-Git, kdelibs).  Even more interestingly, they seem to have ".fc17" in the release.  I checked the local mirror I'm using with "inst.repo=", just rsync'd this morning from a public mirror, and no such package content there.

Comment 21 Neil 2012-10-17 00:59:34 UTC
Attempting to install Fedora Beta TC4 with netinst ISO in kvm

Package: anaconda-18.16
OS Release: Fedora release 18-Beta-TC4

Comment 22 Neil 2012-10-17 01:24:38 UTC
Attempted to install Fedora 18 Beta TC4 from netinst ISO in kvm

Package: anaconda-18.16
OS Release: Fedora release 18-Beta-TC4

Comment 23 Dan Mashal 2012-10-17 04:22:51 UTC
This some how crashed a netinstall of f18 MATE

Comment 24 Kevin Fenzi 2012-10-17 04:46:40 UTC
Perhaps all broken deps issues are getting duplicated to this issue? 

The orig report here seems to be a dvd install from something 10 days ago... 

The later ones seem to be network installs... it might be nice to see packaging.log from the later ones, so we could see what deps are broken and get them fixed.

Comment 25 Neil 2012-10-17 05:07:15 UTC
pulseaudio-2.1-4 requires libwebrtc

Comment 26 Kevin Fenzi 2012-10-17 05:10:45 UTC
Yep. Should be fixed in tomorrow's branched compose... 

webrtc-audio-processing-0.1-1.fc18 is going stable.

Comment 27 Dan Mashal 2012-10-17 08:34:16 UTC
smoke10 same issue.

It seems that broken dependencies cause anaconda to crash.. is there a way around this?

This time it's pulseaudio:

packaging.log:

21:25:26,797 DEBUG packaging: select package grub2
21:25:26,799 DEBUG packaging: select package e2fsprogs
21:25:26,799 DEBUG packaging: select package authconfig
21:25:26,800 DEBUG packaging: select package system-config-firewall-base
21:25:26,943 INFO packaging: checking dependencies
21:25:33,753 WARN packaging: pulseaudio-2.1-4.fc18.x86_64 requires libwebrtc_audio_processing.so.0()(64bit)

Comment 28 Dan Mashal 2012-10-17 08:39:53 UTC
minimal install works.

Comment 29 Michal Nowak 2012-10-17 09:12:58 UTC
Installation started and Anaconda claimed root pasword not to be set (= root account disabled). So I opted to create root password and then it happened.

Package: anaconda-18.14
OS Release: Fedora release 18

Comment 30 William Brown 2012-10-17 12:45:23 UTC
Using netinstall with default repo.

Package: anaconda-18.16
OS Release: Fedora release 18-Beta-TC4

Comment 31 Eric Paris 2012-10-17 13:06:27 UTC
It was when the status bar said "Starting package installation process"

Could be related to the fact that I was trying to change repositories to found one that met the pulseaudio requires...


Package: anaconda-18.16
OS Release: Fedora release 18-Beta-TC4

Comment 32 satellitgo 2012-10-17 16:01:44 UTC
try to install gnome

Package: anaconda-18.17
OS Release: Fedora release 18

Comment 33 Adam Williamson 2012-10-17 17:25:34 UTC
Discussed at 2012-10-17 blocker review meeting: http://meetbot.fedoraproject.org/fedora-qa/2012-10-17/f18beta-blocker-review-4.2012-10-17-16.00.log.txt . This bug seems to be used by libreport any time *any* dependency error crops up during package install. As such it is effectively not a bug for any specific dependency error, but a bug for the fact that anaconda does not handle such errors gracefully.

Evaluated on that basis it is rejected as a blocker, as it does not violate any criteria, and graceful handling will really only make things look a bit better, it won't make it much easier to complete an installation. In general the idea is that you should never hit such errors when doing an install: specific cases of dependency errors on the release media are blockers, but will be reported and resolved separately.

Comment 34 Chris Lumens 2012-10-18 13:42:37 UTC
*** Bug 867411 has been marked as a duplicate of this bug. ***

Comment 35 Adam Williamson 2012-10-22 23:33:57 UTC
anaconda team: MODIFIED here means we should see some kind of smart error dialog if we hit any dep issues in an install now, right? might be slightly tricky to 'reproduce' for testing, unfortunately.

Comment 36 Martin Banas 2012-11-09 11:41:02 UTC
Anaconda shows traceback instead of nicely informing user about missing dependencies.

Package: anaconda-18.24
OS Release: Fedora release 18-Beta-TC7

Comment 37 Martin Banas 2012-11-09 11:44:52 UTC
I'm moving this back to assigned, since I've got traceback on anaconda-18.24-1, and the bug says it should be fixed in 18.19-1.

Adam,
I'm able to reproduce it, so I'll retest once the bug is fixed again.

Comment 38 Chris Lumens 2012-11-12 17:00:33 UTC
Please attach the traceback you are getting.

Comment 39 Martin Banas 2012-11-13 08:18:23 UTC
Created attachment 643997 [details]
anaconda-tb-9EDLs5

Comment 40 Martin Banas 2012-11-13 08:27:48 UTC
this happens during kickstart installation..

Comment 43 Orion Poplawski 2012-11-28 21:11:19 UTC
This was a very strange install - trying to install using the rawhide repo with the F18 RC1 installer image.  However, it does seem like we shouldn't be getting python tracebacks/crashes for yum dependency issues.

Package: anaconda-18.29.2
OS Release: Fedora release 18-Beta

Comment 44 Dan Mashal 2012-12-24 06:22:43 UTC
Any update on this? If not, I will propose this as a blocker.