search for: yumbase

Displaying 5 results from an estimated 5 matches for "yumbase".

2013 Aug 23
1
yum update after update from 6.3 to 6.4 - problems with epel repository.
....org/mirrorlist?repo=epel-6&arch=$basearch failovermethod=priority gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-5 #gpgkey=http://download.fedora.redhat.com/pub/epel/RPM-GPG-KEY-EPEL-5 exclude=mongodb* enabled=1 gpgcheck=0 Yum variables are ok: # python -c 'import yum, pprint; yb = yum.YumBase(); pprint.pprint(yb.conf.yumvar, width=1)' Loaded plugins: fastestmirror {'arch': 'ia32e', 'basearch': 'x86_64', 'releasever': '6', 'uuid': 'd42ce92e-d28b-4637-8365-2cf02892ee58'} But yum exits with error: # yum --disablerepo=&...
2007 Nov 15
1
Yum update fails
...self.extcmds) File "/usr/share/yum-cli/yumcommands.py", line 150, in doCommand return base.updatePkgs(extcmds) File "/usr/share/yum-cli/cli.py", line 672, in updatePkgs self.doRepoSetup() File "/usr/share/yum-cli/cli.py", line 104, in doRepoSetup yum.YumBase.doRepoSetup(self, thisrepo=thisrepo) File "/usr/lib/python2.4/site-packages/yum/__init__.py", line 313, in doRepoSetup self.plugins.run('postreposetup') File "/usr/lib/python2.4/site-packages/yum/plugins.py", line 153, in run func(conduitcls(self, self.base,...
2013 Jun 11
3
Re: [PATCH] Mask some package names if appliance is build for SUSE
On Tue, Jun 11, Richard W.M. Jones wrote: > But supermin is supposed to ignore packages that don't exist in the > distro. This is a bug in supermin or the zypp plugin for supermin. It looks like zypper has no "ignore unknown packages/provides" flag. zypper .. install $pkg is called with an unknown package then zypper will just abort because it expects valid input. Maybe
2012 Jan 23
4
Another Discovered/Undocumented feature of yumrepo - and a workaround
I was working with yumrepo, defining new entried and seeing them appear in /etc/yum.repos.d After considerable tinkering, and with the sad discovery that resource { ''yumrepo'': purge => true } does not work, I moved my working /etc/yum.repos.d to /etc/yum.repos.d-old and re-ran my catalog. To my surprise, the repo entried were appended to /etc/yum.conf Long story short: I
2014 Feb 25
2
[PATCH supermin v4] Supermin 5 rewrite.
...- - (* Liberate this data from python. *) - let tmpfile = tmpdir // "names.tmp" in - let py = sprintf " -import yum -import yum.misc -import sys - -verbose = %d - -if verbose: - print \"supermin_yum_rpm: running python code to query yum and resolve deps\" - -yb = yum.YumBase () -yb.preconf.debuglevel = verbose -yb.preconf.errorlevel = verbose -try: - yb.prerepoconf.multi_progressbar = None -except: - pass -if %s: - yb.preconf.fn = %S -try: - yb.setCacheDir () -except AttributeError: - pass - -if verbose: - print \"supermin_yum_rpm: looking up the...