Opened 4 years ago

Closed 11 months ago

Last modified 10 months ago

#60446 closed defect (fixed)

Port name unexpectedly handled case-sensitively when uninstalling

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jmroot (Joshua Root)
Priority: Normal Milestone: MacPorts 2.9.0
Component: base Version: 2.6.2
Keywords: Cc:
Port:

Description

Port names are supposed to be treated case-insensitively on the command line, but I encountered a situation where that didn't happen:

$ sudo port uninstall libunwind-headers libunwind pdal
--->  Unable to uninstall libunwind @5.0.1_0, the following ports depend on it:
--->  	PDAL @2.0.1_1
Error: Failed to uninstall libunwind: Please uninstall the ports that depend on libunwind first.
$ sudo port uninstall libunwind-headers libunwind PDAL
--->  Deactivating PDAL @2.0.1_1
--->  Cleaning PDAL
--->  Uninstalling PDAL @2.0.1_1
--->  Cleaning PDAL
--->  Deactivating libunwind @5.0.1_0
--->  Cleaning libunwind
--->  Uninstalling libunwind @5.0.1_0
--->  Cleaning libunwind
--->  Deactivating libunwind-headers @5.0.1_0
--->  Cleaning libunwind-headers
--->  Uninstalling libunwind-headers @5.0.1_0
--->  Cleaning libunwind-headers

Change History (3)

comment:1 Changed 11 months ago by jmroot (Joshua Root)

Owner: set to jmroot
Resolution: fixed
Status: newclosed

In 772a9ccaba5ae6417a12512669c3c061568a95b7/macports-base (master):

Use normalised port names in portlist_sortdependents

Closes: #60446

comment:2 Changed 11 months ago by jmroot (Joshua Root)

Milestone: MacPorts Future

comment:3 Changed 10 months ago by jmroot (Joshua Root)

Milestone: MacPorts FutureMacPorts 2.9.0
Note: See TracTickets for help on using tickets.