OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
i am 'borked'...

From: -f (fobiit.org)
Date: Mon Nov 29 2004 - 17:48:56 CST


hi there,

i have just installed a current machine and started
installing packages. i did a pkg_add $PKG/mozilla-firefox-1.0.tgz
where $PKG points to openbsd.org's packages snapshots.

my flatmate halt(8) -ed the router by mistake so naturally
the pkg_add just hung.

after ctrl+c -ing i got:
mozilla-firefox-1.0: complete
Adjusting md5 for /usr/local/mozilla-firefox/components/libuconv.so.1.0 from cfd2f9ca82767cf785c81af264bbdbae to 06dcc1e7f43fbbbadcc1352d04554041
Installation of mozilla-firefox-1.0 failed, partial installation
recorded as borked.1 at /usr/libdata/perl5/OpenBSD/Add.pm line 138

so i naturally went to clean up:
amaaq> sudo pkg_delete borked.1
/var/db/pkg/borked.1/+DEINSTALL[37]: cd: /usr/local/mozilla-firefox/chrome - No such file or directory
--- borked.1 -------------------
system(/var/db/pkg/borked.1/+DEINSTALL, borked.1, DEINSTALL) failed: 256
Deinstall script borked at /usr/libdata/perl5/OpenBSD/PackingElement.pm line 1170

my question is, what now?
i can't get rid of the borked.1 package unless i do it manually in
/var/db/pkg/, don't i?

could the pkg tools be even more idiot-proof?
--
it takes both rain and sunshine to make a rainbow.