Bug 862256 - IOError: [Errno 2] No such file or directory: '/tmp/lorax.FGoV2J/installtree/usr/share/anaconda/lang-table'
IOError: [Errno 2] No such file or directory: '/tmp/lorax.FGoV2J/installtree/...
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: lorax (Show other bugs)
18
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Martin Gracik
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2012-10-02 09:15 EDT by Kamil Páral
Modified: 2013-07-04 09:04 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2012-10-02 09:21:50 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Kamil Páral 2012-10-02 09:15:30 EDT
Description of problem:
$ sudo lorax -p fedora -v foo -r bar -s http://download.eng.brq.redhat.com/pub/fedora/linux/development/18/x86_64/os/ -s http://download.eng.brq.redhat.com/pub/fedora/linux/updates/testing/18/x86_64/ out
checking for root privileges
checking yum base object
setting up build architecture
setting up build parameters
installing runtime packages
got release: fedora-release
running runtime-install.tmpl
installpkg NetworkManager-gnome failed: No package(s) available to install
installpkg specspo failed: No package(s) available to install
Package eject is obsoleted by util-linux, trying to install util-linux-2.22-1.fc18.x86_64 instead
downloading packages
<snip>
checking package signatures
running test transaction
Running Transaction Check
running transaction
<snip>
writing .buildstamp file
doing post-install configuration
running runtime-postinstall.tmpl
template command error in runtime-postinstall.tmpl:
  copy usr/share/anaconda/lang-table etc
  IOError: [Errno 2] No such file or directory: '/tmp/lorax.FGoV2J/installtree/usr/share/anaconda/lang-table'
Traceback (most recent call last):
  File "/sbin/lorax", line 223, in <module>
    main(sys.argv)
  File "/sbin/lorax", line 131, in main
    volid=opts.volid, domacboot=opts.domacboot, remove_temp=True)
  File "/usr/lib/python2.7/site-packages/pylorax/__init__.py", line 214, in run
    rb.postinstall()
  File "/usr/lib/python2.7/site-packages/pylorax/treebuilder.py", line 123, in postinstall
    self._runner.run("runtime-postinstall.tmpl", configdir=configdir_path)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 136, in run
    self._run(commands)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 155, in _run
    f(*args)
  File "/usr/lib/python2.7/site-packages/pylorax/ltmpl.py", line 294, in copy
    cpfile(self._out(src), self._out(dest))
  File "/usr/lib/python2.7/site-packages/pylorax/sysutils.py", line 89, in cpfile
    shutil.copy2(src, dst)
  File "/usr/lib64/python2.7/shutil.py", line 128, in copy2
    copyfile(src, dst)
  File "/usr/lib64/python2.7/shutil.py", line 82, in copyfile
    with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory: '/tmp/lorax.FGoV2J/installtree/usr/share/anaconda/lang-table'


Version-Release number of selected component (if applicable):
lorax-17.27-1.fc17.x86_64

How reproducible:
always
Comment 1 Brian Lane 2012-10-02 09:21:50 EDT
You need to use the matching release to build with. So to build f18 use the f18 release of lorax.

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