apt-mirror won't delete it's lock-file on exit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-mirror (Ubuntu) |
Fix Released
|
Medium
|
Brandon Holtsclaw | ||
Karmic |
Won't Fix
|
Medium
|
Unassigned |
Bug Description
Binary package hint: apt-mirror
affected package:
apt-mirror 0.4.6-0ubuntu2
use case:
install apt-mirror
run as root:
su - apt-mirror -c apt-mirror
hit "Ctrl + c" to abort the command
run again:
su - apt-mirror -c apt-mirror
and you get this output:
apt-mirror is already running, exiting at /usr/bin/apt-mirror line 187.
the case for this error message is that file:
/var/spool/
was not deleted on apt-mirror exit.
If you delete apt-mirror.lock file, then apt-mirror will run OK, but you have to delete the file every time apt-mirror finishes it's job.
possible bug introduction was in apt-mirror (0.4.6-0ubuntu1) karmic, because file locking was added:
* added file locking, more than one apt-mirror instance cant run at once
description: | updated |
tags: | added: apt-mirror karmic |
tags: | added: 187 already line running |
Eu também tive esse problema. Somente apagando manualmente o Lock o apt-mirror volta a funcionar.
BORGES.