Skip to content

Instantly share code, notes, and snippets.

@kallaballa
Created July 29, 2012 13:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kallaballa/3198670 to your computer and use it in GitHub Desktop.
Save kallaballa/3198670 to your computer and use it in GitHub Desktop.
mic architecture confusion
# selecting i486
sudo mic -vd create fs mer-sb2sdk-i486-chroot-0.20120517.1.ks --pkgmgr=yum --arch=i486 -o .
Debug: Plugin module fs_plugin:/usr/lib/mic/plugins/imager/fs_plugin.pyc imported
Debug: Plugin module livecd_plugin:/usr/lib/mic/plugins/imager/livecd_plugin.pyc imported
Debug: Plugin module liveusb_plugin:/usr/lib/mic/plugins/imager/liveusb_plugin.pyc imported
Debug: Plugin module loop_plugin:/usr/lib/mic/plugins/imager/loop_plugin.pyc imported
Debug: Plugin module raw_plugin:/usr/lib/mic/plugins/imager/raw_plugin.pyc imported
Error <usage>: Invalid architecture: "i486".
Supported architectures are:
x86_64, ia64, i686, i586, armv7tnhl, armv7thl, armv7nhl, armv7l, armv7hl, armv6l, armv5tel, armv5tejl, armv5l
, please use "--help" for more info
# selecting i586
sudo mic -vd create fs mer-sb2sdk-i486-chroot-0.20120517.1.ks --pkgmgr=yum --arch=i586 -o .
Debug: Plugin module fs_plugin:/usr/lib/mic/plugins/imager/fs_plugin.pyc imported
Debug: Plugin module livecd_plugin:/usr/lib/mic/plugins/imager/livecd_plugin.pyc imported
Debug: Plugin module liveusb_plugin:/usr/lib/mic/plugins/imager/liveusb_plugin.pyc imported
Debug: Plugin module loop_plugin:/usr/lib/mic/plugins/imager/loop_plugin.pyc imported
Debug: Plugin module raw_plugin:/usr/lib/mic/plugins/imager/raw_plugin.pyc imported
/usr/lib/python2.7/site-packages/mic/3rdparty/pykickstart/commands/repo.py:177: UserWarning: A repo with the name mer-cross-tools has already been defined.
warnings.warn(_("A repo with the name %s has already been defined.") % rd.name)
Info: Retrieving repo metadata:
Info: Retrieving primary.xml.gz ...
Warning: can't get http://repo.pub.meego.com/releases/Mer-Tools/5.1.0/builds/i486/packages//repodata/repomd.xml.key
Info: Retrieving 6ffd7d45ee05dd1e9c2dce347d84f4f7f4da625e1019a9e51a648800dd2e7723-primary.xml.gz ...
Warning: can't get http://releases.merproject.org/releases/0.20120517.1/builds/i486/cross//repodata/repomd.xml.key
Info: Retrieving 6ffd7d45ee05dd1e9c2dce347d84f4f7f4da625e1019a9e51a648800dd2e7723-primary.xml.gz ...
Warning: can't get http://releases.merproject.org/releases/0.20120517.1/builds/i486/cross//repodata/repomd.xml.key
Info: Retrieving 6ffd7d45ee05dd1e9c2dce347d84f4f7f4da625e1019a9e51a648800dd2e7723-primary.xml.gz ...
Warning: can't get http://releases.merproject.org/releases/0.20120517.1/builds/i486/cross//repodata/repomd.xml.key
Info: Retrieving 6ffd7d45ee05dd1e9c2dce347d84f4f7f4da625e1019a9e51a648800dd2e7723-primary.xml.gz ...
Warning: can't get http://releases.merproject.org/releases/0.20120517.1/builds/i486/cross//repodata/repomd.xml.key
Info: Retrieving acecd8d5b7979f715d8007eca02c9c5bde51cec064e1170acac94c859cf1338b-group.xml.gz ...
Warning: can't get http://releases.merproject.org/releases/0.20120517.1/builds/i486/packages/repodata/repomd.xml.key
DONE
Error: Traceback (most recent call last):
File "/usr/bin/mic", line 208, in <module>
sys.exit(mic.main())
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 257, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 280, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 412, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 1084, in _dispatch_cmd
return handler(argv)
File "/usr/bin/mic", line 77, in do_create
cr.main(argv[1:])
File "/usr/lib/python2.7/site-packages/mic/creator.py", line 235, in main
return self.cmd(args)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 280, in cmd
retval = self.onecmd(argv)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 412, in onecmd
return self._dispatch_cmd(handler, argv)
File "/usr/lib/python2.7/site-packages/mic/utils/cmdln.py", line 1100, in _dispatch_cmd
return handler(argv[0], opts, *args)
File "/usr/lib/mic/plugins/imager/fs_plugin.py", line 67, in do_create
configmgr._ksconf = ksconf
File "/usr/lib/python2.7/site-packages/mic/conf.py", line 110, in __set_ksconf
self._parse_kickstart(ksconf)
File "/usr/lib/python2.7/site-packages/mic/conf.py", line 239, in _parse_kickstart
% (self.create['arch'], ', '.join(archlist)))
ConfigError: <config>Invalid arch i586 for repository. Valid arches: i486
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment