yum 3.2.1 conflict resolution bug (was : yum 3.2.1 released)
"Fajar A. Nugraha" <[email protected]>
| Newsgroups | gmane.linux.rpm.yum |
|---|---|
| Message-ID | <[email protected]> |
seth vidal wrote:
> let us know what breaks,
>
Hi seth,
I believe I found a bug here.
I made my own yum-3.2.1 rpm, with some modifications to the .spec file
so that now I have :
====================
# rpm -q --conflicts yum
python-sqlite
====================
Now I'm testing whether the conflict is honoured correctly :
====================
# rpm -ivh python-sqlite-1.1.8-11.i586.rpm
error: Failed dependencies:
python-sqlite conflicts with yum-3.2.1-1.fan.noarch
====================
Okay, so rpm -ivh properly detects it. But with yum :
====================
# yum install python-sqlite-1.1.8-11.i586.rpm
Loading "priorities" plugin
Loading "skip-broken" plugin
Loading "allowdowngrade" plugin
Setting up Install Process
Parsing package install arguments
Examining python-sqlite-1.1.8-11.i586.rpm: python-sqlite - 1.1.8-11.i586
Marking python-sqlite-1.1.8-11.i586.rpm to be installed
base-non-oss 100% |=========================| 951 B 00:00
xorg 100% |=========================| 951 B 00:00
guru 100% |=========================| 951 B 00:00
beryl 100% |=========================| 951 B 00:00
base 100% |=========================| 951 B 00:00
updates 100% |=========================| 951 B 00:00
packman 100% |=========================| 951 B 00:00
local 100% |=========================| 951 B 00:00
144 packages excluded due to repository priority protections
Resolving Dependencies
--> Running transaction check
---> Package python-sqlite.i586 0:1.1.8-11 set to be updated
Dependencies Resolved
=============================================================================
Package Arch Version Repository Size
=============================================================================
Installing:
python-sqlite i586 1.1.8-11
python-sqlite-1.1.8-11.i586.rpm 72 k
Transaction Summary
=============================================================================
Install 1 Package(s)
Update 0 Package(s)
Remove 0 Package(s)
Total download size: 72 k
Is this ok [y/N]: y
Downloading Packages:
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing: python-sqlite ######################### [1/1]
Installed: python-sqlite.i586 0:1.1.8-11
Complete!
====================
The conflict is ignored. Is this an expected behavior?
Since rpm properly detects the conflict, and refuse to install python
sqlite, I assume it's not rpm/librpm problem.
Using yum-3.2.1/opensuse-10.2/python-2.5-19.2/rpm-python-4.4.2-76
Regards,
Fajar