On Sat, Oct 14, 2006 at 11:18:30PM -0400, Joey Hess wrote:
> Are you sure you don't have a /dvb directory? The code is as follows:
> if [ -e /dvb ] ; then
> echo -n "Incorrect directory /dvb found; attempting to delete it ..."
> find /dvb -type c -exec rm {} \;
> find /dvb -type d -exec rmdir {} 2> /dev/null \;
>
> rmdir /dvb 2> /dev/null
>
>
> I guess that running sh -x /var/lib/dpkg/info/dvbtune.postinst will show what
> the problem is with this. Only bug I see in the above is that it fails
> if /dvb exists as a file, not a directory.
I didn't have one at the time of reporting the bug; I had run the
postinst a few times by then and a previous iteration may have removed
it (but then it shouldn't keep failing).
Interestingly, I was running the upgrade from sudo ("sudo apt-get
dselect-upgrade"); later I had occasion to be switched to root with su
and the postinst ran ok. I don't know whether that's connected. Odd.
thanks
Hamish
--
Hamish Moffatt VK3SB <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]