Bug 772509 - ERROR with transaction check vs depsolve
Summary: ERROR with transaction check vs depsolve
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 16
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-01-08 23:48 UTC by John Reiser
Modified: 2014-01-21 23:20 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-09 19:17:19 UTC
Type: ---


Attachments (Terms of Use)

Description John Reiser 2012-01-08 23:48:36 UTC
Description of problem: Composing an install DVD of rawhide for Fedora 17, but with updated anaconda .rpm in new local repo, fails when creating initramfs.


Version-Release number of selected component (if applicable):
yum-3.4.3-7.fc16.noarch
lorax-17.1-1.fc17.x86_64
pungi-2.9-1.fc16.noarch
anaconda-17.2-1.fc17.src.rpm

How reproducible: every time (4 times so far)


Steps to Reproduce:
1. Download anaconda-17.2-1.fc17.src.rpm, apply patch to bring source code up to tip of git master (commit eb17cee2b0a9185795509fa7c32405a974b9589e), in anaconda.spec increment Release to be "Release: 2.fc17", then "rpmbuild -ba anaconda.spec".
2. Copy resulting anaconda-17.2-2.fc17.x86_64.rpm to a new directory /ext4/repo-jreiser, run 'createrepo .' in that directory.
3. Add the new repo as am additional repo to the kickstart file for pungi+lorax:
"repo --name=repo-jreiser --baseurl=file:///ext4/repo-jreiser --cost=1" where the ionly other repo is "repo --name=fedora-17 --baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/rawhide/$basearch/os  ..."
4. /usr/bin/pungi -c fedora-install-fedora-17.ks \
        --destdir=$DESTDIR --name Fedora --ver $VERSION --nosource

  
Actual results:
running runtime-install.tmpl
downloading packages
(  2/  2) [100%] downloading gdb-gdbserver-7.4.50.20120103-5.fc17.x86_64.rpm
checking package signatures
running test transaction
template command error in runtime-install.tmpl:
  run_pkg_transaction
  YumRPMCheckError: [u'ERROR with transaction check vs depsolve:', 'libarchive.so.2()(64bit) is needed by anaconda-17.2-2.fc17.x86_64', u'Please report this error at http://yum.baseurl.org/report']
Traceback (most recent call last):
  File "/usr/bin/pungi", line 222, in <module>
    main()
  File "/usr/bin/pungi", line 124, in main
    mypungi.doBuildinstall()
  File "/usr/lib/python2.7/site-packages/pypungi/__init__.py", line 845, in doBuildinstall
    workdir=workdir, outputdir=outputdir)
  File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 183, in run
    rb.install()
  File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 81, in install
    self._runner.run("runtime-install.tmpl")
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 135, in run
    self._run(commands)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 154, in _run
    f(*args)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 415, in run_pkg_transaction
    rpmDisplay=LoraxRpmCallback())
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 4999, in processTransaction
    self._doTestTransaction(callback,display=rpmTestDisplay)
  File "/usr/lib/python2.7/site-packages/yum/__init__.py", line 5078, in _doTestTransaction
    raise Errors.YumRPMCheckError,retmsgs
yum.Errors.YumRPMCheckError: [u'ERROR with transaction check vs depsolve:', 'libarchive.so.2()(64bit) is needed by anaconda-17.2-2.fc17.x86_64', u'Please report this error at http://yum.baseurl.org/report']


Expected results: successful compose


Additional info:

Comment 1 John Reiser 2012-01-08 23:54:17 UTC
$ ls -l /usr/lib*/libarchive*
lrwxrwxrwx. 1 root root     19 Nov  4 07:53 /usr/lib64/libarchive.so -> libarchive.so.2.8.5
lrwxrwxrwx. 1 root root     20 Dec 21 13:07 /usr/lib64/libarchive.so.11 -> libarchive.so.11.0.0
-rwxr-xr-x. 1 root root 525864 Nov 14 07:49 /usr/lib64/libarchive.so.11.0.0
lrwxrwxrwx. 1 root root     19 Oct  7 08:36 /usr/lib64/libarchive.so.2 -> libarchive.so.2.8.5
-rwxr-xr-x. 1 root root 274584 Sep  5 01:57 /usr/lib64/libarchive.so.2.8.5
$ rpm -qf /usr/lib64/libarchive.so.11.0.0
libarchive-3.0.0-0.1.a.fc17.x86_64
$ rpm -qf /usr/lib64/libarchive.so.2.8.5
libarchive-2.8.5-1.fc16.x86_64
$ rpm -q --provides libarchive-3.0.0-0.1.a.fc17.x86_64
libarchive.so.11()(64bit)  
libarchive = 3.0.0-0.1.a.fc17
libarchive(x86-64) = 3.0.0-0.1.a.fc17
[jreiser@f16a64 ~]$ rpm -q --provides libarchive-2.8.5-1.fc16.x86_64
libarchive.so.2()(64bit)  
libarchive = 2.8.5-1.fc16
libarchive(x86-64) = 2.8.5-1.fc16
$

Comment 2 John Reiser 2012-01-09 00:35:48 UTC
$ pwd
/var/cache/pungi/fedora-17/packages
$ ls -l libarchive*
-rw-r--r--. 1 root root 127677 Sep  5 01:51 libarchive-2.8.5-1.fc17.x86_64.rpm
-rw-r--r--. 2 root root 233505 Nov 14 07:49 libarchive-3.0.0-0.1.a.fc17.x86_64.rpm
$

Comment 3 James Antill 2012-01-09 19:17:19 UTC
 If you look at the repodata for rawhide you'll see that only libarchive-3.0.0-0.1.a.fc17 is available.


Note You need to log in before you can comment on or make changes to this bug.