Frank K?ster wrote: > mkdir: cannot create directory `': No such file or directory > dpkg: error processing > /var/cache/apt/archives/tetex-extra_2.96.5.20040711-4_all.deb > (--install): > subprocess pre-installation script returned error exit status 1
It looks like mkdir is getting called with an empty filename (in your preinst?). Check the calls to mkdir, and print debugging info from the preinst to narrow it down if necessary. Is the source package available somewhere?

