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

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

 



On Wed, Jan 26, 2011 at 9:08 PM, James Antill <james-yum@xxxxxxx> wrote:
> 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".

Please allow me to repeat question 1 and revise and extend my remarks
like a Congress Critter :)

[root@shell yum.repos.d]# grep -i enabled *.repo
adobe.repo:enabled=0
atrpms.repo:enabled=0
CentOS-Base.repo:enabled=0
CentOS-Base.repo:enabled=0
CentOS-Media.repo:enabled=0
dag.repo:enabled=0
sl-contrib.repo:enabled=0
sl-debuginfo.repo:enabled=0
sl-fastbugs.repo:enabled=0
sl.repo:enabled=1
sl-security.repo:enabled=1
sl-srpms.repo:enabled=0
sl-testing.repo:enabled=0
[root@shell yum.repos.d]#

kind regards/ldv
_______________________________________________
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