LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-06-2009, 12:46 PM   #1
CoderMan
Member
 
Registered: Jan 2009
Location: Gemini Capsule 25164
Distribution: Gentoo
Posts: 375
Blog Entries: 24

Rep: Reputation: 43
Apt-mirror clean.sh


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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: How To Create A Local Debian/Ubuntu Mirror With apt-mirror LXer Syndicated Linux News 0 01-04-2007 05:33 PM
apt mirror or cache for 15 - 20 workstations amon Debian 3 04-07-2006 11:09 AM
What's a good apt-get mirror for PPC ?! TheHushedCaskeT Linux - Software 1 04-11-2005 09:36 AM
add apt-get mirror johntramp Debian 3 04-22-2004 09:05 AM
apt mirror preference dbkluck Debian 5 10-31-2003 12:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration