[MacPorts] #22001: If any file is missing from a port, it can't be uninstalled

MacPorts noreply at macports.org
Tue Oct 13 07:21:51 PDT 2009


#22001: If any file is missing from a port, it can't be uninstalled
------------------------------------+---------------------------------------
  Reporter:  vaulse@…               |       Owner:  macports-tickets@…                   
      Type:  defect                 |      Status:  closed                               
  Priority:  Normal                 |   Milestone:  MacPorts 1.8.2                       
 Component:  base                   |     Version:  1.8.1                                
Resolution:  fixed                  |    Keywords:                                       
      Port:                         |  
------------------------------------+---------------------------------------
Changes (by ryandesign@…):

 * cc: ryandesign@… (added)
  * milestone:  => MacPorts 1.8.2


Old description:

> The error is:
>
> Error: port uninstall failed: realpath failed: No such file or directory
>
> I use a script to delete unnecessary files from my MacPorts installation,
> saving a lot of storage space and backup time in the process. I don't,
> for example, need localizations in languages such as Malayalam or
> Klingon, nor do I need 200 copies of the GPL. This used to cause no
> problems, but now it does. What's wrong with just skipping a missing file
> during the uninstall process, perhaps with a warning?

New description:

 The error is:

 {{{
 Error: port uninstall failed: realpath failed: No such file or directory
 }}}

 I use a script to delete unnecessary files from my MacPorts installation,
 saving a lot of storage space and backup time in the process. I don't, for
 example, need localizations in languages such as Malayalam or Klingon, nor
 do I need 200 copies of the GPL. This used to cause no problems, but now
 it does. What's wrong with just skipping a missing file during the
 uninstall process, perhaps with a warning?

--

Comment:

 I don't think we need a warning; we never had one before. realpath was
 added to MacPorts 1.8.1 to fix a different problem; we just didn't
 consider that files might be missing.

 Files could also be missing from a port by accident or as the result of
 another MacPorts bug. We [http://lists.macosforge.org/pipermail/macports-
 users/2009-October/017255.html had this recently] on the mailing list. We
 should get this fix into 1.8.2.

-- 
Ticket URL: <http://trac.macports.org/ticket/22001#comment:4>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list