Christopher J. Bottaro wrote: > Aaron J. Seigo wrote: > >> On Friday 25 February 2005 11:36, Christopher J. Bottaro wrote: >>> kproc << "--enablerepo=base,updates-released" >> >> does: >> >> kproc << "--enablerepo" << "base,updates-released"; >> >> work better? >> > > No: > > slotReceiveStderr(): No Match for argument --enablerepo > > slotReceiveStderr(): No Match for argument base,updates-released > > Thanks for the suggestion though. > > P.S. I'm using PyKDE if it makes any difference. > > self.process << "yum" > self.process << command > self.process << "--disablerepo" << ','.join(drepos) > self.process << "--enablerepo" << ','.join(erepos) > #self.process << "--disablerepo=%s" % ','.join(drepos) > #self.process << "--enablerepo=%s" % ','.join(erepos) > for p in packages: > self.process << p > self.process.start(KProcess.NotifyOnExit, KProcess.All) > > Funny thing is that the rest works. Its just the --disablerepo and > --enablerepo options that yum complains about. Ugh, dumb mistake. The arguments need to come before the yum command. Sometimes I lose my head...sorry for the noise. >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<