Mach

Discussion in 'HOWTO-Related Questions' started by bclark94, Jul 2, 2008.

  1. bclark94

    bclark94 New Member

    I have run into an issue with mach.

    I am getting a 'No definition for packages found for fedora-9-i386' message.

    I am not sure what it is looking for??

    Brian
     
  2. cecolong

    cecolong New Member

    I have the same problem with fedora-6-i386. However, fedora-6-i386 is in /etc/mach/dist.d/. My mach version is 0.9.1. Does anyone have a solution for this?
     
  3. hybby

    hybby New Member

    i know it's been a while since cecolong's question, but here's the answer:

    fedora-9-i386 isn't a valid entry for config['defaultroot'] in ~/.machrc. sure, it's in /etc/mach/dist.d, but that's not what machrc is looking for.

    if you look in the file /etc/mach/dist.d/fedora-9-i386 then you'll see a line referring to fedora "flavours".

    ### Fedora flavours
    aptsources[DIST] = {
    'core': 'rpm ' + fedora + ' %s/%s core' % (V, A),
    'updates': 'rpm ' + fedora + ' %s/%s updates' % (V, A),
    'gstreamer': 'rpm ' + gstreamer + ' fedora/%s/%s gst' % (V, A),
    'gstreamer-build': 'rpm ' + gstreamer + ' fedora/%s/%s build' % (V, A),
    'gstreamer-deps': 'rpm ' + gstreamer + ' fedora/%s/%s deps' % (V, A),
    'livna': 'rpm ' + livna + ' fedora/%s/%s lvn' % (V, A),
    'freshrpms': 'rpm ' + freshrpmsfd + ' %s/%s freshrpms' % (V, A),
    'jpackage-generic': 'rpm ' + jpackage + '/1.7 generic free',
    'jpackage-fc' + V : 'rpm ' + jpackage + '/1.7 fedora-%s free' % V,
    'jpackage-nonfree': 'rpm ' + jpackagenf + '/1.7 generic non-free',
    }


    each one of those entries is valid when combined with the fedora-9-i386 filename. for example

    fedora-9-i386-core
    fedora-9-i386-updates
    etc

    if you add config['fedora-9-i386-core'] to ~/.machrc and then run mach setup, it should work.
     

Share This Page