Bug 503475 - yum update from kickstart fails with db4 error and dependency issues
Summary: yum update from kickstart fails with db4 error and dependency issues
Keywords:
Status: CLOSED DUPLICATE of bug 496961
Alias: None
Product: Fedora
Classification: Fedora
Component: yum
Version: 10
Hardware: i386
OS: Linux
low
medium
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-06-01 08:51 UTC by Ian Donaldson
Modified: 2014-01-21 23:09 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-06-04 19:06:43 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
anaconda-ks.cfg, minus stuff past the yum update (3.26 KB, text/plain)
2009-06-01 08:51 UTC, Ian Donaldson
no flags Details

Description Ian Donaldson 2009-06-01 08:51:41 UTC
Created attachment 346065 [details]
anaconda-ks.cfg, minus stuff past the yum update

Description of problem:

I'm kickstarting FC10 host using PXE from an NFS server from the 
Everything area.  

I had to modify Everything slightly to get the install.img;
copied that from the FC10 DVD image to Everything/i386/os/images
(I didn't need to do that in FC7)

yum update fails with all sorts of errors during kickstart...
(see below).  Initially a db4 error, then lotsa badness,
probably related.

The yum.conf points at a NFS mounted copy of Everything...
and has this in it:

	[fedora]
	name=Fedora $releasever - $basearch
	baseurl=file:///import/kick/fedora_core10/Everything/i386/os

	[updates]
	name=Fedora $releasever - $basearch - Updates
	baseurl=file:///import/kick/fedora_core10/fc10-updates-i386/i386


However running 'yum update' after kickstart works fine.

Didn't have this problem with FC7 kickstart; all good there.

FC10 kickstart output...

Running yum update... (will take yonks)...
Loaded plugins: refresh-packagekit
Repository updates is listed more than once in the configuration
Repository fedora is listed more than once in the configuration
Setting up Update Process
error: db4 error(2) from dbcursor->c_get: No such file or directory
Resolving Dependencies
--> Running transaction check
---> Package libiec61883.i386 0:1.2.0-1.fc10 set to be updated
---> Package libselinux-utils.i386 0:2.0.78-1.fc10 set to be updated
--> Processing Dependency: libselinux = 2.0.78-1.fc10 for package: libselinux-utils
---> Package openobex.i386 0:1.4-1.fc10 set to be updated
---> Package db4.i386 0:4.7.25-7.fc10 set to be updated
---> Package nscd.i386 0:2.9-3 set to be updated
---> Package libarchive.i386 0:2.5.5-2.fc10 set to be updated
---> Package libsilc.i386 0:1.1.8-1.fc10 set to be updated
---> Package db4-cxx.i386 0:4.7.25-7.fc10 set to be updated
---> Package rhino.noarch 0:1.7-0.4.r2pre.1.1.fc10 set to be updated
---> Package kde-i18n-Brazil.noarch 1:3.5.10-4.fc10 set to be updated
---> Package rpm-devel.i386 0:4.6.0-2.fc10 set to be updated
--> Processing Dependency: rpm = 4.6.0-2.fc10 for package: rpm-devel
---> Package libv4l.i386 0:0.5.9-1.fc10 set to be updated
---> Package libattr-devel.i386 0:2.4.43-2.fc10 set to be updated
--> Processing Dependency: libattr = 2.4.43-2.fc10 for package: libattr-devel
---> Package xhtml1-dtds.noarch 0:1.0-20020801.1.2 set to be updated
---> Package words.noarch 0:3.0-13.1.fc10 set to be updated
--> Processing Dependency: db4 = 4.7.25-5.fc10 for package: db4-devel
---> Package sqlite.i386 0:3.5.9-4.fc10 set to be updated
---> Package fftw.i386 0:3.2.1-1.fc10 set to be updated
---> Package vlgothic-fonts.noarch 0:20090422-1.fc10 set to be updated
--> Processing Dependency: vlgothic-fonts-common = 20090422-1.fc10 for package: vlgothic-fonts
---> Package kde-l10n-German.noarch 0:4.2.3-1.fc10 set to be updated
--> Running transaction check
--> Processing Dependency: libselinux = 2.0.73-1.fc10 for package: libselinux-devel
--> Processing Dependency: libselinux = 2.0.73-1.fc10 for package: libselinux-python
---> Package libselinux.i386 0:2.0.78-1.fc10 set to be updated
---> Package libattr.i386 0:2.4.43-2.fc10 set to be updated
--> Processing Dependency: rpm = 4.6.0-0.rc1.7 for package: rpm-libs
--> Processing Dependency: rpm = 4.6.0-0.rc1.7 for package: rpm-python
--> Processing Dependency: rpm = 4.6.0-0.rc1.7 for package: rpm-build
---> Package rpm.i386 0:4.6.0-2.fc10 set to be updated
---> Package vlgothic-fonts-common.noarch 0:20090422-1.fc10 set to be updated
--> Processing Dependency: fontpackages-filesystem for package: vlgothic-fonts-common
--> Processing Dependency: db4 = 4.7.25-5.fc10 for package: db4-devel
--> Running transaction check
--> Processing Dependency: libselinux = 2.0.73-1.fc10 for package: libselinux-devel
--> Processing Dependency: libselinux = 2.0.73-1.fc10 for package: libselinux-python
--> Processing Dependency: rpm = 4.6.0-0.rc1.7 for package: rpm-libs
--> Processing Dependency: rpm = 4.6.0-0.rc1.7 for package: rpm-python
--> Processing Dependency: rpm = 4.6.0-0.rc1.7 for package: rpm-build
---> Package fontpackages-filesystem.noarch 0:1.20-1.fc10 set to be updated
--> Processing Dependency: db4 = 4.7.25-5.fc10 for package: db4-devel
--> Finished Dependency Resolution
libselinux-devel-2.0.73-1.fc10.i386 from installed has depsolving problems
  --> Missing Dependency: libselinux = 2.0.73-1.fc10 is needed by package libselinux-devel-2.0.73-1.fc10.i386 (installed)
db4-devel-4.7.25-5.fc10.i386 from installed has depsolving problems
  --> Missing Dependency: db4 = 4.7.25-5.fc10 is needed by package db4-devel-4.7.25-5.fc10.i386 (installed)
rpm-python-4.6.0-0.rc1.7.i386 from installed has depsolving problems
  --> Missing Dependency: rpm = 4.6.0-0.rc1.7 is needed by package rpm-python-4.6.0-0.rc1.7.i386 (installed)
rpm-build-4.6.0-0.rc1.7.i386 from installed has depsolving problems
  --> Missing Dependency: rpm = 4.6.0-0.rc1.7 is needed by package rpm-build-4.6.0-0.rc1.7.i386 (installed)
rpm-libs-4.6.0-0.rc1.7.i386 from installed has depsolving problems
  --> Missing Dependency: rpm = 4.6.0-0.rc1.7 is needed by package rpm-libs-4.6.0-0.rc1.7.i386 (installed)
libselinux-python-2.0.73-1.fc10.i386 from installed has depsolving problems
  --> Missing Dependency: libselinux = 2.0.73-1.fc10 is needed by package libselinux-python-2.0.73-1.fc10.i386 (installed)
Error: Missing Dependency: rpm = 4.6.0-0.rc1.7 is needed by package rpm-libs-4.6.0-0.rc1.7.i386 (installed)
Error: Missing Dependency: db4 = 4.7.25-5.fc10 is needed by package db4-devel-4.7.25-5.fc10.i386 (installed)
Error: Missing Dependency: rpm = 4.6.0-0.rc1.7 is needed by package rpm-build-4.6.0-0.rc1.7.i386 (installed)
Error: Missing Dependency: libselinux = 2.0.73-1.fc10 is needed by package libselinux-python-2.0.73-1.fc10.i386 (installed)
Error: Missing Dependency: rpm = 4.6.0-0.rc1.7 is needed by package rpm-python-4.6.0-0.rc1.7.i386 (installed)
Error: Missing Dependency: libselinux = 2.0.73-1.fc10 is needed by package libselinux-devel-2.0.73-1.fc10.i386 (installed)




Version-Release number of selected component (if applicable):

FC10


How reproducible:

100%


Steps to Reproduce:
1. see attached kickstart file
2.
3.
 
Actual results:

see above failures from ks-postinstall.log

Expected results:

successful yum update

Additional info:

Comment 1 seth vidal 2009-06-01 18:22:45 UTC
Is this a pure fc10 install tree or something else? B/c it sure doesn't look like a real fc10 install tree.

Comment 2 Ian Donaldson 2009-06-01 22:11:12 UTC
pure FC10 from the Everything area.

Comment 3 Ian Donaldson 2009-06-03 11:10:20 UTC
I should elaborate; the Everything area was rysnc'd from an rc10 
mirror a few months back and the fc10-updates-i386 area is 
rsync'd from an fc10 mirror a few days ago.

These were the way they were derived.

Everything...

VER=10
rsync -av --delete --exclude=debug/ rsync://mirror.internode.on.net/fedora-enchilada/linux/releases/${VER}/Everything/i386 Everything


Running that again right now shows

receiving incremental file list
deleting i386/os/images/install.img
deleting i386/os/images/TRANS.TBL
deleting i386/os/images/
i386/os/

As mentioned those files were put on my version to allow PXE installing.


updates...

rsync -av --delete --exclude=debug/ rsync://mirror.internode.on.net/fedora-enchilada/linux/updates/${VER}/i386 fc${VER}-updates-i386

Comment 4 Panu Matilainen 2009-06-04 16:13:19 UTC
This is dupe of bug 496961, but as this is in anaconda there's little chance of fixing it for F10. Adding "rm -f /var/lib/rpm/__db*" into the kickstart %post before the rpm/yum commands should cure it though.

Comment 5 seth vidal 2009-06-04 19:06:43 UTC

*** This bug has been marked as a duplicate of bug 496961 ***


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