Re: yum repolist vs. grep -i enabled *.repo

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

 



Larry Vaden <vaden@xxxxxxxxxx> writes:

> Hello,
>
> After attempting a migration from CentOS 5.5 to Scientific Linux 5.5,
> the result is a system in an inconsistent state.
>
> The basic stanza used for the migration was from
> SCIENTIFIC-LINUX-USERS@xxxxxxxxxxxxxxxxx and is below the yum/grep
> output.
>
> Trying to learn more about yum and its use, I ran the commands below the sig.
>
> 1) What am I missing about the possible/perceived discrepancies
> between the outputs of yum repolist and grep?

 .repo files can contain one or more repos. ... Eg. base.repo
 Also grepping for "enabled=" will miss lines like "enabled = 1".

> 2) For a given installed package, is it possible to get yum to
> identify which repository was used for the installation?

 Only in versions of yum newer than what is in CentOS-5 (you can try
the RHEL-5 yum-rawhide rebuild repo. ... at your own risk :)

-- 
James Antill -- james@xxxxxxx
_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxx
http://lists.baseurl.org/mailman/listinfo/yum


[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux