Re: How to tell yum to exclude updating a package

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/14/2011 12:15 PM, Michael Schwendt wrote:
> On Thu, 14 Apr 2011 08:49:48 -0700, J wrote:
>
>> On 04/14/2011 03:53 AM, Michael Schwendt wrote:
>>> On Wed, 13 Apr 2011 22:06:53 -0700, J wrote:
>>>
>>>> On 04/13/2011 08:15 PM, Richard Shaw wrote:
>>>>> Have you tried --skip-broken?
>>>>>
>>>>> Richard
>>>>>
>>>> Found out the syntax to insert into the .repo file is
>>>>
>>>> exclude=pkg1 pkg2 pkg3... etc
>>> Do you need libmad-devel for compiling software? Else remove it. It is not
>>> needed at run-time.
>> I need libmad, because several media apps need
>> /usr/lib/libmad.so.0.2.1
> I've told you before that you don't need libmad, but _any_ package that
> provides 'libmad.so.0.2.1' (not the file but the library SONAME). For
> atrpms, the package that provides it is called 'libmad0'.
>
>> I just did not want the same lib from rpmfusion to
>> be used by yum as an update to the one from
>> atrpms.
>> Now I know how to exclude packages.
> "libmad" from rpmfusion is only pulled in because you have installed
> libmad-devel. If you don't need libmad-devel (and you sound as if you
> don't need it), erase it, and this particular dependency problem is
> gone.
I used libmad in a generic way, and not as a specific package name.
Take a look at this ( I saved it for this purpose):

# yum check
Loaded plugins: auto-update-debuginfo, langpacks, presto, priorities, 
refresh-packagekit
Adding en_US to language list
gpac-libs-0.4.6-0.11.cvs20100527.fc14.i686 has missing requires of 
libmad.so.0
gstreamer-plugins-ugly-0.10.17-13.fc14.i686 has missing requires of 
libmad.so.0
1:k3b-extras-freeworld-2.0.1-2.fc14.i686 has missing requires of libmad.so.0
4:mplayer-1.0-81_snap20110324.fc14.i686 has missing requires of libmad.so.0
normalize-0.7.7-5.fc11.i586 has missing requires of libmad.so.0
streamripper-1.64.6-1.fc11.i586 has missing requires of libmad.so.0
vlc-core-1.1.8-2.fc14.i686 has missing requires of libmad.so.0
xine-lib-1.1.19-22.1.fc14.i686 has missing requires of libmad.so.0
xmms2-mad-0.7-1.fc14.i686 has missing requires of libmad.so.0

Sure, it does not call for any specific package name, just
a package that provides libmad.so.0

So, I had gone ahead and installed it directly from atrpms.

However, after I installed libmad0 from atrpms,
yum update still wanted to install libmad from rpmfusion!!!

So, I edited the rpmfusion repo file and added to it the line

exclude=libmad libmad-devel
exclude=vcdimager vcdimager-devel vcdimager-libs libmad libmad-devel 
audacious-plugins-uade

These are packages at rpmfusion that I DO NOT WANT FROM RPMFUSION.

yum update no longer tries to bring in the conflict causing
libmad from rpmfusion. Now all is well.

I hope this clarifies it.

JD
-- 
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux