Cannot Handle Specific Enablerepo Disablerepo

try: opts = self.doUtilConfigSetup() except yum.Errors.RepoError, e: self.logger.error("Cannot handle specific enablerepo/disablerepo options.") sys.exit(50) if self.conf.uid != 0: self.logger.error("Error: You must be root to run yum-complete-transaction.") sys.exit(1) # Setup yum (Ts, RPM In addition the actual issue discussion indicates that we might want to pass more options than just the enablerepo or disablerepo options. fink can enable/disable “trees” (i.e. Using YUM Changelog Plugin RPM is powerful, but YUM has its advantages too. get redirected here

Sign in Register Puppet Labs Site Documentation Support Contact Us Download Home Projects Help Search: Puppet Overview Activity Roadmap Issues Wiki Issues View all issues Summary Custom queriesAccepted but Unowned - Error: nvidia-x11-drv conflicts with xorg-x11-drv-nvidia Can anyone help me with this? Error: nvidia-x11-drv conflicts with xorg-x11-drv-nvidia Can anyone help me with this? In practice many sites may only use a single package manager, but some amount of diverse heterogenous environments will have a mix of package managers.

It seems to me that implementing the install_options and uninstall_options would be a better general solution that would solve this specific problem as well. This allows you to do things like: enablerepo => “–*,myrepo” or enablerepo => “*,-myrepo” Cheers MBM #33 Updated by Nigel Kersten about 5 years ago Status changed from Accepted to Needs There are a couple of search options that you can use which are not in the rpm man pages to help you out here.

A generic option like “enablerepo” which could be implemented differently on each package manager is much more general purpose and thus Better. Comment 1 Ville Skyttä 2008-02-14 17:28:33 EST Oops, this is yum-utils-1.1.11-1.fc8.noarch on F8, not devel. I installed fc8 and renstalled fc7 due to the Java problem with fc8. http://www.mjmwired.net/resources/mjm-fedora-f8.html http://fedoraguide.info/index.php/Fedora8 take care Sprawly2417th February 2008, 09:21 PMAlright, so that helped me fix the jpacakge issues, now i'm getting the error again for installing the nvidia drivers.

rpm -qa --last >~/RPMS_by_Install_DateReview the end of the output file in "less" to find all RPMS older than the install date. A package options parameter that provided an array of valid options would be a good puppet design, in keeping with your own design methodology. #89 Updated by Justin Honold over 2 rpm -q --changelog -p /home/my_user/somepackage.rpm | less rpm -q --changelog -p http://mirror.centos.org/centos/6/os/x86_64/Packages/qemu-kvm-0.12.1.2-2.445.el6.x86_64.rpm | less 4.2. echo "%_query_all_fmt %%{name}-%%{version}-%%{release}.%%{arch}" >> ~/.rpmmacros 2.

Try su yum erase nvidia-x11-drv yum install xorg-x11-drv-nvidia kmod-nvidia /usr/sbin/nvidia-config-display enable /sbin/service nvidia restart reboot Sprawly2418th February 2008, 04:58 AMok, i did all that.got the drivrs workin. If it was being rejected, the status would have moved to Rejected. bob 11th December 2007 03:34 PM The 'skip-broken' is a plugin that isn't involved in this problem, so ignore that one. At that time this bug will be closed as WONTFIX if it remains open with a Fedora 'version' of '8'.

I personally think we’re overloading the type with a Yum specific option – and once you open that flood gate it’s hard to stop the flood… If you’d like your patch yum uses an installed repo as well so dont be confused39# when running Yum seperately. 40# take list of rpms as arguments41# check for versions42# obtain stage from config43# obtain app In particular, you probably want to change it from enablerepo to just “repositories” or some similar generic name, and then do the add and disable in one go – this allows Be aware of a few caveats: For CentOS 4 and CentOS 5 it would be best if you use a DSA key for signing, there are no known issues with that.

downgrade Some packages can require a downgraded version of a dependency Imho this one should be autohandled if you specify via ensure a version which is lower than the current installed The original example would result is a yum command line like this: yum -y —enablerepo=epel —enablerepo=epel-testing install facter Which would allow for “facter” to be installed from “epel-testing” if the latest This is a list of packages you want to use from a repository. useful reference Just one line in ~/.rpmmacros will save all sorts of trouble later.

Now you can have it!yum-listbuilddepWant Omniref for your team's code?We've just launched Omniref professional, which gives you all of the annotation, Q&A and code review features of Omniref, for your own I showed it in my example but forgot to mention that problem. While objectively Ben’s post had a harsh tone, I think if you consider the position of the users struggling with this problem it’s not really surprising. #40 Updated by Nigel Kersten

Its not ideal for yum users who are used to being able to enable or disable one repo in addition to the default enabled ones however apt doesn’t have an equivalent

The other thing is that for each package object, we have to work out which enablerepo(-set?) we asked yum about for the updates. I know that Fedora can't supply support for these itself, but I need a video player that has codec support for MPEG-2, AVI and mkv. So that something like this is possible: package { pkgname: ensure => latest, package_options => [ yum => '--enablerepo=epel --disablerepo=security', apt => '', freebsd => '-r', ], } (ignore formatting, this if remote search is on and no remote package deps are available 30# themelios will fail. (make sure installation tree is available)31# check installed before remote? 32# therefore they must be

Your Yum repo options won’t match your Apt options, nor any other provider. Thanks for the help guys, I'm completely new to this. Thanks bob 11th December 2007 05:24 AM Works for me: Quote: [[email protected] bob1]# yumdownloader --enablerepo=jpackage-nonfree java-1.6.0-sun Loading "priorities" plugin Loading "skip-broken" plugin 46 packages excluded due to repository priority protections java-1.6.0-sun-1.6.0.3-1j this page Get set up for rebuilding packages as yourself, not root Sometimes you just have to rebuild that package - maybe only to use some configuration option which just isn't there in

Although we aim to fix as many bugs as possible during every release's lifetime, sometimes those efforts are overtaken by events.