Uninstall not removing packages?

Ryan Schmidt ryandesign at macports.org
Thu Aug 30 14:38:23 PDT 2007


On Aug 30, 2007, at 15:31, markd at macports.org wrote:

> Troy Telford writes:
>
>> Simple enough:  I uninstalled a couple of packages, in particular,  
>> TeTeX,
>> and XeTeX.  (port uninstall tetex && port uninstall xetex)
>>
>> Port claimed to have uninstalled both without error, problems, etc.
>>
>> However, nothing was uninstalled.  All of the files for both  
>> packages are
>> still there.
>>
>> So, I tried re-installing both.
>>
>> That failed, because the same files were already in place.
>>
>> I next re-installed, using the '-f' switch to force it.
>>
>> Lots of file renames, and port re-installed the package.  I  
>> deleted the
>> renamed files.
>>
>> I then tried to uninstall the package.  Same deal as before -- files
>> which should have been deleted weren't.
>>
>> Has anybody seen this behavior and/or have an idea what I need to  
>> do to
>> uninstall these packages?
>>
>> (the thought already occured to me to make a list of the 'renamed'  
>> files,
>> edit the list so it's the original filenames, then 'cat list |  
>> xargs rm')  But
>> I'd rather macports do it properly.
>
> Have you tried uninstalling using the case-sensitive portname?  I  
> don't
> have time to look right now, but I think there is a bug filed on  
> this.  I
> think you can install without matching the case, but when you  
> ininstall
> without matching the case it doesn't work correctly.

Right. You must say "port uninstall TeTeX", not "port uninstall  
tetex". This is the bug:

http://trac.macosforge.org/projects/macports/ticket/11759





More information about the macports-users mailing list