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

Bug#662762: Regression: Useless warning "Ignoring foo as it is not a regular file"



David Kalnischkies <kalnischkies+debian@gmail.com> writes:
> 2012/3/6 Bjørn Mork <bjorn@mork.no>:
>> I have tried playing with Dir::Ignore-Files-Silently to turn it off
>> without any success.  Could this noise please be removed again?
>
> No, the "noise" will not be removed as many people in an even harsher
> wording than yours complained about not complaining about ignored files.

OK, but you're not really ignoring it then...

> Based on your friendly request i have added the default ignorance of
> directories though - as it is already the case for hidden files which is
> why .svn and such are 'save' in this regard.

Thanks!  Much appreciated, and more than satisfying for me.

> For now, you can do:
> echo 'Dir::Ignore-Files-Silently:: "CVS";' > /etc/apt/apt.conf.d/99ignore-cvs
>
> [Haven't tested this against apt/sid though, only apt/experimental.]

Should have said so in the initial report, but I did try this and all
other permutations I could think of before reporting the bug.  Doesn't
work in sid:

nemi:/tmp# apt-config dump|grep Ign
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Dir::Ignore-Files-Silently:: "CVS";
nemi:/tmp# apt-get clean
N: Ignoring 'CVS' in directory '/etc/apt/apt.conf.d/' as it is not a regular file




Bjørn



Reply to: