yum clean bug
Luciano Miguel Ferreira Rocha
strange at nsk.no-ip.org
Fri Dec 9 00:58:33 UTC 2005
On Thu, Dec 08, 2005 at 07:19:08PM -0500, Konstantin Ryabitsev wrote:
> On Thu, 2005-08-12 at 22:59 +0000, Luciano Miguel Ferreira Rocha wrote:
> > 1. yum clean ignores repo configuration and works at filesystem level
> > only.
>
> cd /var/cache/yum
> for DIR in *; do
> if ! grep -q "[$DIR]" /etc/yum.repos.d/*.repo; then
> rm -rf $DIR
> fi
> done
>
> There you go. You can put it in your cron.weekly.
> Now can we move on?
No. I'm tired of contributing and volunteering my time to a project that
ignores me.
Best of luck to Fedora, Yum and Red Hat.
--
lfr
0/0
More information about the devel
mailing list