Koozali.org: home of the SME Server

perl-Filesys-DiskFree

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl-Filesys-DiskFree
« Reply #15 on: July 30, 2015, 06:46:58 PM »
ok... found the issue..

yum clean all works ONLY on enabled repos..

to verify it, try

Code: [Select]
yum --enablerepo=dag clean all
yum --enablerepo=dag list perl-Filesys-DiskFree*

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl-Filesys-DiskFree
« Reply #16 on: July 30, 2015, 06:49:47 PM »
ps what can I use instead of VMware?  On my backup server SME 9 (in the same box) I would like to run one more test server.

virtualbox works on SME
search here in the forums and in the wiki


Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: perl-Filesys-DiskFree
« Reply #17 on: July 30, 2015, 08:53:49 PM »
something seems wrong on your side..

My guess is it would be fixed via "yum clean all".

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl-Filesys-DiskFree
« Reply #18 on: July 30, 2015, 08:55:35 PM »
no.. yum clean all works only with enabled repos..
just try yourself :-)

and, IMHO, this is bad

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: perl-Filesys-DiskFree
« Reply #19 on: July 30, 2015, 09:00:13 PM »
no.. yum clean all works only with enabled repos..

So I noticed just after posting.

Quote
and, IMHO, this is bad

Agreed.

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl-Filesys-DiskFree
« Reply #20 on: July 31, 2015, 11:50:40 AM »
from yum man page:

Quote
Clean Options

The following are the ways which you can invoke yum in clean
mode. Note that "all files" in the commands below means "all files in currently enabled repositories". If you want to also clean any (temporarily) disabled repositories you need to use --enablerepo='*' option.

so it's not a bug, it's a feature (Cit.)

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: perl-Filesys-DiskFree
« Reply #21 on: July 31, 2015, 03:17:13 PM »
No, it's a documented bug. :-)

Offline Stefano

  • *
  • 10,839
  • +2/-0
Re: perl-Filesys-DiskFree
« Reply #22 on: July 31, 2015, 03:29:52 PM »
No, it's a documented bug. :-)

I agree..

now, the question is.. should it be documented anywhere in the wiki?

Offline janet

  • ****
  • 4,812
  • +0/-0
Re: perl-Filesys-DiskFree
« Reply #23 on: July 31, 2015, 04:57:21 PM »
Stefano & Charlie

So where there is a need to use
yum clean all
then a better command to use would be
yum clean all --enablerepo=*
(not sure if the inverted commas were really needed).

I think this should be added to the wiki, in the section that refers to repositories etc (is it the FAQ ?)


Please search before asking, an answer may already exist.
The Search & other links to useful information are at top of Forum.

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: perl-Filesys-DiskFree
« Reply #24 on: July 31, 2015, 05:04:22 PM »
I think this should be added to the wiki, in the section that refers to repositories etc (is it the FAQ ?)

Go for it!

Offline raem

  • *
  • 3,972
  • +4/-0
Re: perl-Filesys-DiskFree
« Reply #25 on: August 01, 2015, 09:32:02 AM »
I have updated this page
http://wiki.contribs.org/SME_Server:Documentation:FAQ:Section01#General
to show
yum clean all --enablerepo=*

If there is anywhere else people can think of, let me know.
...


Offline raem

  • *
  • 3,972
  • +4/-0
Re: perl-Filesys-DiskFree
« Reply #27 on: August 02, 2015, 05:45:37 AM »
...