Deadlock in APT with cdrom?
Hello.
I'm using a Debian Woody with apt version 0.3.17.
Sometimes during updating (dselect with method apt and sources.list pointing
to cdroms and local files) I think I get a deadlock situation:
just before asking "Yes" to update/install confirmation (after [I]nstall's
dselect option) or just before asking to replace cdrom, I see a blocking
situation; this is the process-tree (for the latter case):
15869 tty2 S 0:00 \_ sh /usr/lib/dpkg/methods/apt/install /var/lib/dpkg apt apt
15872 tty2 S 0:02 \_ /usr/bin/apt-get -f dselect-upgrade
15885 tty2 S 0:00 \_ /usr/lib/apt/methods/cdrom
"strace -p 15885" shows:
select(1, [0], NULL, NULL, NULL <unfinished ...>
That never unblocks... since all coditions are NULL. I usually "unblock" the
situation with a "kill -PIPE 15885" but I think this is not normal. :)
Thanks in advance, Leonardo Macchia.
--
Leonardo Macchia
macchia@students.cs.unibo.it
http://WWW.Students.CS.UniBO.IT/~macchia/
IK4PKV
System Administrator of Cantina's cluster (IPv4: 130.136.{3,5,30,31}.0/24)
Reply to: