Bug 1021063

Summary: ERROR with transaction check vs depsolve
Product: [Fedora] Fedora Reporter: Daniel A. Veiga <dveiga>
Component: yumAssignee: Packaging Maintenance Team <packaging-team-maint>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: admiller, ffesti, firas.alkafri, jfilak, jzeleny, packaging-team-maint, zpavlas
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-10-21 07:15:58 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Daniel A. Veiga 2013-10-19 00:03:56 UTC
Description of problem:
when running yum to update deps are resolved, packages downloaded. When about to start updating this error is shown and the operation canceled:

Downloading Packages:
Running Transaction Check
ERROR with transaction check vs depsolve:
sysvinit-tools < 0:2.88-14 conflicts with procps-ng-3.3.8-16.fc21.x86_64
sysvinit-tools < 2.88-14 conflicts with util-linux-2.24-0.1.fc21.x86_64
Please report this error in https://bugzilla.redhat.com/enter_bug.cgi?product=Fedora&version=rawhide&component=yum
 You could try running: rpm -Va --nofiles --nodigest
Your transaction was saved, rerun it with:
 yum load-transaction /tmp/yum_save_tx.2013-10-18.20-55.49j4to.yumtx

The problem is easy to reproduce, happens every time "yum update" is run.

Comment 1 Jan Zeleny 2013-10-21 07:15:58 UTC
This is not a bug in yum. It just reports you a problem in your system installation. Uninstalling one of the conflicting packages (for each conflict) should help.

Comment 2 Jakub Filak 2013-11-04 10:33:14 UTC
It seems to me that this bug is caused by these two lines from procps-ng.spec:

Conflicts: sysvinit-tools < 0:2.88-14
Obsoletes: sysvinit-tools > 0:2.88-14

I have installed sysvinit-tools 0:2.88-13.dsf and when I run 'yum update sysvinit-tools' I get this output:

Resolving Dependencies
--> Running transaction check
---> Package procps-ng.x86_64 0:3.3.8-14.fc21 will be updated
---> Package procps-ng.x86_64 0:3.3.8-16.fc21 will be an update
---> Package sysvinit-tools.x86_64 0:2.88-13.dsf.fc20 will be updated
---> Package sysvinit-tools.x86_64 0:2.88-14.dsf.fc21 will be an update
Removing sysvinit-tools.x86_64 0:2.88-14.dsf.fc21 - u due to obsoletes from procps-ng.x86_64 0:3.3.8-16.fc21 - u
--> Restarting Dependency Resolution with new changes.
--> Running transaction check
---> Package sysvinit-tools.x86_64 0:2.88-14.dsf.fc21 will be an update
--> Processing Dependency: sysvinit-tools >= 2.87-5 for package: initscripts-9.50-1.fc21.x86_64
--> Running transaction check
---> Package initscripts.x86_64 0:9.50-1.fc21 will be updated
---> Package initscripts.x86_64 0:9.50-2.fc21 will be an update
--> Finished Dependency Resolution

Dependencies Resolved

 ...

Running transaction check
ERROR with transaction check vs depsolve:
sysvinit-tools < 0:2.88-14 conflicts with procps-ng-3.3.8-16.fc21.x86_64

Comment 3 Jakub Filak 2013-11-04 12:26:12 UTC
The following sequence of commands fixes this issue for me:

$ yum update sysvinit-tools --exclude procps-ng
$ yum update

Comment 4 Daniel A. Veiga 2013-11-08 22:14:23 UTC
Thanks for your reply. I don't remember how I fixed if, but I already did it the same day I reported the bug. I didn't really reported it to get help, but as a courtesy to the person who asked for it to be reported. I agree it's a database problem, not a yum problem. But that error in the dependency database may be solved, and I hope this helps...
Thanks.