yum clean all returns "listed more than once" error (RHEL5.2)

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

 



Hi list,

For some reason or other yum has started to complain about my
repositories being listed more than once.

This might, or might not, be related to an update occuring last week:

"Aug 15 12:59:01 Updated: yum-rhn-plugin - 0.5.3-12.el5_2.9.noarch"

(Systems where this error appears are all RHEL5u2, and yum package is
yum-3.2.8-9.el5_2.1)

I have tried to remove the individual .repo files from my
/etc/yum.repos.d/, but unless that folder is empty yum complains with
the same error (for the repo that remains).

I tried to see if someone/something had added configuration to yum with
repoinfo somewhere else by using strace :

(strace -e trace=all 2> yumdebug.log ; grep reponame yumdebug.log)

stat("///etc/yum.repos.d/reponame.repo", {st_mode=S_IFREG|0644,
st_size=175, ...}) = 0
stat("/etc/yum.repos.d/reponame.repo", {st_mode=S_IFREG|0644,
st_size=175, ...}) = 0
open("/etc/yum.repos.d/reponame.repo", O_RDONLY) = 4
read(4, "[reponame]\nname=RepoName"..., 4096) = 175
write(2, "\n\nRepository reponame is li"..., 73
Repository reponame is listed more than once in the configuration

>From the above it does not seem to me that "reponame" is actually
defined more than once, if it was surely [reponame] would appear in more
than one read?

The last strace output before yum dies is :

open("//var/cache/yum", O_RDONLY|O_NONBLOCK|O_DIRECTORY) = 5
fstat(5, {st_mode=S_IFDIR|0755, st_size=4096, ...}) = 0
fcntl(5, F_SETFD, FD_CLOEXEC)           = 0
getdents(5, /* 15 entries */, 4096)     = 584
getdents(5, /* 0 entries */, 4096)      = 0
close(5)                                = 0
gettimeofday({1219227761, 177787}, NULL) = 0

Any hints / tips to what to do to debug this further?


Regards
--
Denis Braekhus

_______________________________________________
Yum mailing list
Yum@xxxxxxxxxxxxxxxxxxxx
https://lists.dulug.duke.edu/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