Re: Check if a repository is being used?

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

 



Bruno Wolff III wrote:
> On Fri, Jul 06, 2007 at 09:12:02 -0500,
>   Stanczak Group <justin@xxxxxxxxxxxxxxxxx> wrote:
>> If you have a couple different repositories and you'd like to remove 
>> one, is there a way to see if there are any packages on your system that 
>> are from the repository?
> 
> The low level way to do this is edit the files in /etc/yum.repos.d .
> There is an enabled flag that should be 1 if the repo is to be used and 0
> if it isn't.
> 
If the repo adds an identification to the name, you can use
something like: (for Livna)

yum list installed *lvn*

If not, you could try something like:

yum list extras > list1
<disable repo>
yum list extras > list2
diff list1 list 2 | less

Mikkel
-- 

  Do not meddle in the affairs of dragons,
for thou art crunchy and taste good with Ketchup!

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux