After moving the partial mirror over to a larger partition and doing "ln -si" to create a symbolic link, I tried running the apt-mirror command again. It failed with the following message:
# su - apt-mirror -c apt-mirrorNow, of course, this was not true; apt-mirror was not running. After some digging, I found the answer over at Ubuntu Forums: http://ubuntuforums.org/showthread.php?p=8701199
apt-mirror is already running
Quoting Stephen Lilley's contribution to that thread:
Bug #424462 this bug is already discussed at https://bugs.launchpad.net/ubuntu/+s...or/+bug/424462I note that Bug #424462 referred to the lock file not getting deleted upon the user terminating the mirroring operation with CTRL-C. In the version of apt-mirror I'm using (0.4.8-4), that bug has been corrected. However, the same bug raises its head when the apt-mirror script aborts due to the disk filling up.
it has given the following solution
"the case for this error message is that file:
/var/spool/apt-mirror/var/apt-mirror.lock
was not deleted on apt-mirror exit.
If you delete apt-mirror.lock file, then apt-mirror will run OK"
No comments:
Post a Comment