[Yum] Weirdness with Package Errors

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Friday 30 September 2005 11:44, seth vidal wrote:
> how have you come to the conclusion that yum is cutting off the
> release value?
>
> Can you describe the situation in a bit more detail.

So far, I have seen this in a couple of situations.  The conclusion is 
drawn from the fact that the pattern you see in the previous email 
somehow is seeping out of the woodwork.  

This actually means:

> libxml2-python-2.6.21-4.el3 -> libxml2-devel-2.6.21-3.el3.pyv
> python2.4-devel-2 -> python2.4-devel-2.4-1pydotorg

The packages on the left are written out in the error. This is what 
_processReq() thinks they are inside of depsolve.py.  However, the 
actual packages are named on the right.  There *may* be a true problem 
with the underlying packages and transaction.  But the above error 
prevents Yum from clearly explaining what the problem is.

If you still need an example, what follows is another scenario and it's 
pretty long, so bear with me:

I have setup a system with PyVault's packages on a CentOS 3 system.  
This puts a python24 on CentOS along with dependencies that enable Yum 
to run.  One day, I decide to rollback the change and back out the 
changes:

$ yum remove python24

Technically, this should remove all dependencies, including yum, based 
on python(abi) = 2.4, etc. etc.  However, I get the following result 
with the aforementioned error spewed forth in great quantities (short 
conclusion follows the output):

==============================================

[root@plain root]# yum -d10 remove python24
Yum Version: 2.4.0
COMMAND: yum -d10
Installroot: /
Ext Commands:
   python24
Setting up Remove Process
Reading Local RPMDB
Resolving Dependencies
1128070284.46
--> Populating transaction set with selected packages. Please wait.
Member: python24.i386 0-2.4.1-12.el3.pyv - e
---> Package python24.i386 0:2.4.1-12.el3.pyv set to be erased
Removing Package python24 - 2.4.1-12.el3.pyv.i386
--> Running transaction check
# of Deps = 30

Dep Number: 1/30
Setting up repositories
Baseurl(s) for repo: ['http://python.org/pyvault/centos-3-i386']
pyvault                   100% |=========================|  951 B    
00:00
Reading repository metadata in from local files
Setting up Package Sacks
Excluding Incompatible Archs
Finished
libxml2-python24 requires: /usr/lib/python2.4
--> Processing Dependency: /usr/lib/python2.4 for package: 
libxml2-python24
Requiring package libxml2-python24-2.6.21-2.el3 not in transaction set                                   
nor in rpmdb

Dep Number: 2/30
python24-twisted-core requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-core
Requiring package python24-twisted-core-2.0.1-1.el3 not in transaction 
set                                   nor in rpmdb

Dep Number: 3/30
python24-twisted-pair requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-pair
Requiring package python24-twisted-pair-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 4/30
python24-twisted-web requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-web
Requiring package python24-twisted-web-0.5.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 5/30
python24-twisted-lore requires: /usr/bin/python2.4
--> Processing Dependency: /usr/bin/python2.4 for package: 
python24-twisted-lore
Requiring package python24-twisted-lore-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 6/30
python24-twisted-conch requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-conch
Requiring package python24-twisted-conch-0.5.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 7/30
python24-twisted-mail requires: /usr/bin/python2.4
--> Processing Dependency: /usr/bin/python2.4 for package: 
python24-twisted-mail
Requiring package python24-twisted-mail-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 8/30
python24-twisted-web requires: /usr/bin/python2.4
--> Processing Dependency: /usr/bin/python2.4 for package: 
python24-twisted-web
Requiring package python24-twisted-web-0.5.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 9/30
python24-fpconst requires: python-abi = 2.4
--> Processing Dependency: python-abi = 2.4 for package: 
python24-fpconst
Requiring package python24-fpconst-0.7.1-1 not in transaction set                                   
nor in rpmdb

Dep Number: 10/30
python24-twisted-words requires: /usr/bin/python2.4
--> Processing Dependency: /usr/bin/python2.4 for package: 
python24-twisted-words
Requiring package python24-twisted-words-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 11/30
python24-urlgrabber requires: /usr/bin/python2.4
--> Processing Dependency: /usr/bin/python2.4 for package: 
python24-urlgrabber
Requiring package python24-urlgrabber-2.9.6-3 not in transaction set                                   
nor in rpmdb

Dep Number: 12/30
python24-twisted-words requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-words
Requiring package python24-twisted-words-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 13/30
python24-twisted-conch requires: /usr/bin/python2.4
--> Processing Dependency: /usr/bin/python2.4 for package: 
python24-twisted-conch
Requiring package python24-twisted-conch-0.5.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 14/30
python24-devel requires: python24 = 2.4.1-12.el3.pyv
--> Processing Dependency: python24 = 2.4.1-12.el3.pyv for package: 
python24-devel
Requiring package python24-devel-2.4.1-12.el3 not in transaction set                                   
nor in rpmdb

Dep Number: 15/30
python24-twisted-runner requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-runner
Requiring package python24-twisted-runner-0.1.0-2.el3 not in transaction 
set                                   nor in rpmdb

Dep Number: 16/30
python24-sqlite requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-sqlite
Requiring package python24-sqlite-1.1.6-1.1.el3 not in transaction set                                   
nor in rpmdb

Dep Number: 17/30
python24-twisted-mail requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-mail
Requiring package python24-twisted-mail-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 18/30
python24-elementtree requires: python-abi = 2.4
--> Processing Dependency: python-abi = 2.4 for package: 
python24-elementtree
Requiring package python24-elementtree-1.2.6-4.1.el3 not in transaction 
set                                   nor in rpmdb

Dep Number: 19/30
yum requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: yum
Requiring package yum-2.4.0-5 not in transaction set                                   
nor in rpmdb

Dep Number: 20/30
python24-twisted-core requires: /usr/bin/python2.4
--> Processing Dependency: /usr/bin/python2.4 for package: 
python24-twisted-core
Requiring package python24-twisted-core-2.0.1-1.el3 not in transaction 
set                                   nor in rpmdb

Dep Number: 21/30
rpm-python24 requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: rpm-python24
Requiring package rpm-python24-4.4.2.3-1.el3 not in transaction set                                   
nor in rpmdb

Dep Number: 22/30
python24-twisted-lore requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-lore
Requiring package python24-twisted-lore-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 23/30
python24-twisted-xish requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-xish
Requiring package python24-twisted-xish-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 24/30
python24-twisted-names requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-names
Requiring package python24-twisted-names-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 25/30
python24-zope-interface requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-zope-interface
Requiring package python24-zope-interface-3.0.1-2.el3 not in transaction 
set                                   nor in rpmdb

Dep Number: 26/30
python24-pycrypto requires: python-abi = 2.4
--> Processing Dependency: python-abi = 2.4 for package: 
python24-pycrypto
Requiring package python24-pycrypto-2.0.1-1.el3 not in transaction set                                   
nor in rpmdb

Dep Number: 27/30
python24-twisted-flow requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-flow
Requiring package python24-twisted-flow-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 28/30
python24-pyopenssl requires: python-abi = 2.4
--> Processing Dependency: python-abi = 2.4 for package: 
python24-pyopenssl
Requiring package python24-pyopenssl-0.6-4.el3 not in transaction set                                   
nor in rpmdb

Dep Number: 29/30
python24-twisted-news requires: python(abi) = 2.4
--> Processing Dependency: python(abi) = 2.4 for package: 
python24-twisted-news
Requiring package python24-twisted-news-0.1.0-2 not in transaction set                                   
nor in rpmdb

Dep Number: 30/30
python24-soappy requires: python-abi = 2.4
--> Processing Dependency: python-abi = 2.4 for package: python24-soappy
Requiring package python24-soappy-0.11.6-1 not in transaction set                                   
nor in rpmdb
miss = 30
conf = 0
CheckDeps = 0
--> Finished Dependency Resolution
Dependency Process ending
Error: Requiring package libxml2-python24-2.6.21-2.el3 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-twisted-core-2.0.1-1.el3 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-twisted-pair-0.1.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-twisted-web-0.5.0-2 not in transaction 
set                                   nor in rpmdb
Error: Requiring package python24-twisted-lore-0.1.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-twisted-conch-0.5.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-twisted-mail-0.1.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-fpconst-0.7.1-1 not in transaction set                                   
nor in rpmdb
Error: Requiring package python24-twisted-words-0.1.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-urlgrabber-2.9.6-3 not in transaction 
set                                   nor in rpmdb
Error: Requiring package python24-devel-2.4.1-12.el3 not in transaction 
set                                   nor in rpmdb
Error: Requiring package python24-twisted-runner-0.1.0-2.el3 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-sqlite-1.1.6-1.1.el3 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-elementtree-1.2.6-4.1.el3 not in 
transaction set                                   nor in rpmdb
Error: Requiring package yum-2.4.0-5 not in transaction set                                   
nor in rpmdb
Error: Requiring package rpm-python24-4.4.2.3-1.el3 not in transaction 
set                                   nor in rpmdb
Error: Requiring package python24-twisted-xish-0.1.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-twisted-names-0.1.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-zope-interface-3.0.1-2.el3 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-pycrypto-2.0.1-1.el3 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-twisted-flow-0.1.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-pyopenssl-0.6-4.el3 not in transaction 
set                                   nor in rpmdb
Error: Requiring package python24-twisted-news-0.1.0-2 not in 
transaction set                                   nor in rpmdb
Error: Requiring package python24-soappy-0.11.6-1 not in transaction set                                   
nor in rpmdb

==============================================

Now, check this out:

[root@plain root]# rpm -qa |grep python24
python24-soappy-0.11.6-1.py24
python24-twisted-mail-0.1.0-2.py24
python24-twisted-2.0.1-1.el3.pyv
python24-twisted-web-0.5.0-2.py24
python24-twisted-pair-0.1.0-2.py24
python24-urlgrabber-2.9.6-3.py24
python24-pyopenssl-0.6-4.el3.pyv
python24-twisted-flow-0.1.0-2.py24
python24-twisted-lore-0.1.0-2.py24
python24-twisted-words-0.1.0-2.py24
python24-2.4.1-12.el3.pyv
python24-elementtree-1.2.6-4.1.el3.pyv
python24-fpconst-0.7.1-1.py24
python24-zope-interface-3.0.1-2.el3.pyv
python24-twisted-names-0.1.0-2.py24
python24-twisted-runner-0.1.0-2.el3.pyv
python24-twisted-xish-0.1.0-2.py24
rpm-python24-4.4.2.3-1.el3.pyv
python24-twisted-core-2.0.1-1.el3.pyv
python24-twisted-conch-0.5.0-2.py24
libxml2-python24-2.6.21-2.el3.pyv
python24-sqlite-1.1.6-1.1.el3.pyv
python24-pycrypto-2.0.1-1.el3.pyv
python24-twisted-news-0.1.0-2.py24
python24-devel-2.4.1-12.el3.pyv
python24-yum-2.4.0-5.py24

======================================

Provides sampling:

[root@plain root]# rpm -q --provides python24-twisted
Twisted = 2.0.1-1.el3.pyv
twisted = 2.0.1-1.el3.pyv
python24-twisted = 2.0.1-1.el3.pyv

Requires sampling:

[root@plain root]# rpm -q --requires python24-twisted-core
/usr/bin/python2.4
libc.so.6
libc.so.6(GLIBC_2.0)
libc.so.6(GLIBC_2.1.3)
libpthread.so.0
python(abi) = 2.4
python24-pyopenssl
python24-zope-interface
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1

======================================

My conclusion is that something is amiss.  I tried to check the xml-md 
output, but, I don't see anything mismatched like the above.

Anyway, I just wanted to throw out an email to see if anyone has hit 
this yet.  I'll dig deeper into depsolve.py, resolveDeps() and see what 
RPM is thinking in it's TS. I might have to probe deeper into the 
pkgSack to see if it's getting corrupted, caching gone awry, or 
something.  

If you have any ideas, let me know.  


-- 
-jeff

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux