here is a pretty serious one i can't uninstall sun-j2sdk and i can't install anything else until it gets fixed<br>
here is the ouput:<br>
<br>
Reading package lists... Done<br>
Building dependency tree... Done<br>
Correcting dependencies... Done<br>
The following packages will be REMOVED:<br>
sun-j2sdk1.5.0<br>
0 upgraded, 0 newly installed, 1 to remove and 96 not upgraded.<br>
Need to get 0B of archives.<br>
After unpacking 140MB disk space will be freed.<br>
Do you want to continue [Y/n]? y<br>
(Reading database ... 122467 files and directories currently installed.)<br>
Removing sun-j2sdk1.5.0 ...<br>
rm: cannot remove `/usr/bin/apt': No such file or directory<br>
dpkg: error processing sun-j2sdk1.5.0 (--remove):<br>
subprocess pre-removal script returned error exit status 1<br>
Errors were encountered while processing:<br>
sun-j2sdk1.5.0<br>
<br>
i tried touching the "missing" files (hell java trying to remove is
very wrong but i'm desparate my system is hosed anyways). ther's a
whole bunch of them so i even went as far as coinning an ugly script
together:<br>
<br>
#!/bin/bash<br>
errFile="not null"<br>
until [ -z "$errFile" ]; do<br>
for i in $(cat touchy); do<br>
sudo touch $i<br>
echo "touching:$i"<br>
done<br>
if ! sudo dpkg --force-all --remove sun-j2sdk1.5.0 2> out >/dev/null; then<br>
errFile="$(head -n 1 out | sed -e"s|rm: cannot remove .\(.*\).:.*|\1|")"<br>
echo "$errFile" | tee -a touchy<br>
fi<br>
done<br>
<br>
but it loops on /usr/bin/javah. aparentky touching isn't enough here. help needed<br>
<br>
till<br>
<br>
p.s.: excuse me for the caps etc.. i'm typing from my breezy box and shift doesn't work.<br>
<br>