Bug 389211 - mock -r fedora-8-x86_64 init fails
Summary: mock -r fedora-8-x86_64 init fails
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: mock
Version: 8
Hardware: x86_64
OS: Linux
low
low
Target Milestone: ---
Assignee: David Cantrell
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2007-11-18 10:35 UTC by Jan ONDREJ
Modified: 2013-01-10 01:43 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2007-11-18 12:13:28 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
root.log (36.51 KB, text/plain)
2007-11-18 10:46 UTC, Jan ONDREJ
no flags Details

Description Jan ONDREJ 2007-11-18 10:35:17 UTC
Description of problem:
mock -r fedora-8-x86_64 init
fails, when cache is not stored locally.

Version-Release number of selected component (if applicable):
mock-0.8.7-1.fc8

How reproducible:
always

Steps to Reproduce:
1. mkdir -p /var/lib/mock/old
2. mv -f /var/lib/mock/* /var/lib/mock/old
3. su - anyuser
4. mock -r fedora-8-x86_64 init
  
Actual results:

INFO: mock.py version 0.8.7 starting...
State Changed: init plugins
State Changed: start
State Changed: lock buildroot
State Changed: clean
State Changed: init
State Changed: lock buildroot
State Changed: enabled yum cache, cleaning yum metadata
State Changed: enabling root cache
ERROR: Could not find useradd in chroot, maybe the install failed?

Expected results:
NO ERROR.

Additional info:
May be wrong is the Fedora 8 Everything repository. These files are in repodata:
http://download.fedora.redhat.com/pub/fedora/linux/releases/8/Fedora/x86_64/os/repodata/
[TXT]	Fedora-8-comps.xml 	02-Nov-2007 10:35 	1.2M	 
[ ]	filelists.sqlite.bz2 	02-Nov-2007 10:35 	2.9M	 
[ ]	filelists.xml.gz 	02-Nov-2007 10:35 	2.4M	 
[ ]	other.sqlite.bz2 	02-Nov-2007 10:35 	7.2M	 
[ ]	other.xml.gz 	02-Nov-2007 10:35 	7.7M	 
[ ]	primary.sqlite.bz2 	02-Nov-2007 10:35 	1.7M	 
[ ]	primary.xml.gz 	02-Nov-2007 10:35 	949K	 
[TXT]	repomd.xml 	02-Nov-2007 10:35 	2.1K	 

comps.xml required for "yum groupinfo buildsys-build" is not included. It fails
like this:
[root@sagator64 ~]# yum grouplist buildsys-build
Setting up Group Process
fedora                    100% |=========================| 2.1 kB    00:00     
updates                   100% |=========================| 2.3 kB    00:00     
http://ftp.upjs.sk/pub/fedora/linux/releases/8/Everything/x86_64/os/repodata/comps.xml:
[Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Done

I don't know, where exactly is the problem, but it fails always. :-(

Comment 1 Jan ONDREJ 2007-11-18 10:46:54 UTC
Created attachment 262791 [details]
root.log

Comment 2 Jan ONDREJ 2007-11-18 12:13:28 UTC
OK, problem solved (thanks to lkundrak).

Problem was in my mirror, which contained old repodata files. I don't know where
they may be created. After next sync the problem disappeared.


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