I mirrored the Debian Lenny repositories for i386 and amd64 onto one of my home PCs using apt-mirror. Everything works great. However, whenever I run apt-mirror, at the end I get output like this:
Code:
closedir() attempted on invalid dirhandle DIR at /usr/bin/apt-mirror line 528.
closedir() attempted on invalid dirhandle DIR at /usr/bin/apt-mirror line 528.
closedir() attempted on invalid dirhandle DIR at /usr/bin/apt-mirror line 528.
closedir() attempted on invalid dirhandle DIR at /usr/bin/apt-mirror line 528.
(...many repeats...)
closedir() attempted on invalid dirhandle DIR at /usr/bin/apt-mirror line 528.
closedir() attempted on invalid dirhandle DIR at /usr/bin/apt-mirror line 528.
closedir() attempted on invalid dirhandle DIR at /usr/bin/apt-mirror line 528.
0.0 bytes in 0 files and 0 directories can be freed.
Run /mirror/var/clean.sh for this purpose.
Is this something I need to fix? This is all that is in the clean.sh script:
Code:
cd /mirror/mirror || exit 1
echo 'Removing 0 unnecessary files [0 bytes]...'
echo 'done.'
echo
echo 'Removing 0 unnecessary directories...'
echo 'done.'
echo
Following one online post I set executable permissions of clean.sh, but it didn't make a difference.