Opened 7 years ago

Closed 7 years ago

#54350 closed defect (fixed)

libcdio-paranoia @10.2+0.94+1: version field should not contain "+" symbol

Reported by: ballapete (Peter "Pete" Dyballa) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: g5pw (Aljaž Srebrnič), ctreleaven (Craig Treleaven)
Port: libcdio-paranoia

Description

The error is:

Error: port uninstall failed: Registry error: libcdio-paranoia @10.2 not registered as installed

Installed are:

  libcdio-paranoia @10.2+0.93+1_0
  libcdio-paranoia @10.2+0.94+1_0 (active)

And the elder version cannot be removed…

Change History (12)

comment:1 Changed 7 years ago by kencu (Ken)

This happens to me sometimes as well. Finding the exact name to uninstall is not always completely obvious. If you try:

sudo port uninstall libcdio-paranoia

it should present you with a menu to choose from, and you can select the one you want to uninstall by number.

comment:2 Changed 7 years ago by mf2k (Frank Schima)

What is the command you tried?

comment:3 Changed 7 years ago by mf2k (Frank Schima)

Port: libcdio-paranoia added; port removed

comment:4 Changed 7 years ago by mf2k (Frank Schima)

This might be a problem with the version number of this port. base assumes + means a variant.

comment:5 Changed 7 years ago by mf2k (Frank Schima)

Keywords: snowleopard removed

comment:6 in reply to:  1 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Replying to kencu:

This happens to me sometimes as well. Finding the exact name to uninstall is not always completely obvious. If you try:

sudo port uninstall libcdio-paranoia

it should present you with a menu to choose from, and you can select the one you want to uninstall by number.

This worked fine, thank you!

comment:7 in reply to:  2 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

Replying to mf2k:

What is the command you tried?

A very simple and straightforward port uninstall libcdio-paranoia @10.2+0.93+1_0. Performed as root.

comment:8 Changed 7 years ago by ballapete (Peter "Pete" Dyballa)

The problem is solved, but something should be done that is does not occur again.

comment:9 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Summary: On Mac OS X 10.8.8, Snow Leopard, one particular port cannot be uninstalledlibcdio-paranoia @10.2+0.94+1: version field should not contain "+" symbol

comment:10 Changed 7 years ago by ctreleaven (Craig Treleaven)

The version numbering used by upstream clearly causes a lot of confusion. Repology currently shows that 15 repos carry this software with a variety of numbering schemes:

https://repology.org/metapackage/libcdio-paranoia/versions

The "10.2" portion of the string comes from CDDA Paranoia (https://www.xiph.org/paranoia/). AIUI, that software is not portable and cdio-paranoia was created to provide such. The CDDA project is apparently stagnant--last release in 2008.

The "0.9x" portion of the version string relates to the underlying libcdio version. See:

http://git.savannah.gnu.org/cgit/libcdio.git

When there are releases of libcdio-paranoia, they tend to follow a libcdio release. There are execptions; there was no libcdio-paranoia release for the .91 and .92 libcdio releases. Nonetheless, I think we should use the 0.9x portion as the MacPorts version number.

For implementing this in MacPorts, I found a somewhat similar case which was address with:

https://github.com/macports/macports-ports/commit/64fe6935a8a4a8cea8669ee0e6d8e3a2388e9fb1

This is as Frank suggested in #54430, increase the epoch and change the MacPorts version number. Since epoch has to be an integer, I'm tempted to set it to "102".

If no one objects to a) the 0.94 version number, or b) the use of 102 as the epoch value, I can commit this in a couple of days.

comment:11 Changed 7 years ago by mf2k (Frank Schima)

Cc: g5pw ctreleaven added

comment:12 Changed 7 years ago by ctreleaven (Craig Treleaven)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.