[nzlug] Removing legacy broken package
Daniel Pittman
daniel at rimspace.net
Thu Apr 3 17:52:00 NZST 2008
James Paterson <jamespaterson at ihug.co.nz> writes:
> Saturday I tested my new 5gig cap by upgrading in 3 steps from Breezy
> to Gutsy av speed 1.6 mega bits/sec but sometimes much quicker.
> Everything works well except I have a broken legacy package
> libooc-vo-dev I seem to have exhausted the ubuntu install forum on
> ways to remove this. The problem is that a pre removal script
> libooc-vo-dev.prerm refers to a file ooc2-config that is non-existent.
> This prevents removal by synaptic or by various forcing commands.
>
> this is the content of libooc-vo-dev.prerm:
> .....
> #!/bin/sh
>
> set -e
>
> case "$1" in
> remove)
> oo2c-config -r libooc-vo-dev
You should be safe adding '|| true' to the end of that line.
[...]
> I have also tried creating an empty ooc2-config file without success.
If you marked it executable it /should/ have worked.
> I have thought of removing the reference to ooc2-config in the
> pre removal script but not till I have the install disks on hand which
> I have ordered in case I have to use a windows type solution.
Actually, in most cases it is safe enough to do: editing the script
means that whatever action you disable will not take place, but if you
don't actually care...
So, yeah, in this case go for it.
Daniel
More information about the NZLUG
mailing list