Changes between Initial Version and Version 4 of Ticket #22001


Ignore:
Timestamp:
Oct 13, 2009, 2:21:51 PM (15 years ago)
Author:
ryandesign (Ryan Carsten Schmidt)
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 had this recently on the mailing list. We should get this fix into 1.8.2.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22001

    • Property Status changed from new to closed
    • Property Cc jmr@… ryandesign@… added
    • Property Resolution changed from to fixed
    • Property Milestone changed from to MacPorts 1.8.2
  • Ticket #22001 – Description

    initial v4  
    11The error is:
    22
     3{{{
    34Error: port uninstall failed: realpath failed: No such file or directory
     5}}}
    46
    57I 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?