Opened 7 years ago

Closed 7 years ago

#54402 closed defect (fixed)

transfig @3.2.5e_1: port upgrade outdated fails

Reported by: togaen Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.1
Keywords: Cc: kurthindenburg (Kurt Hindenburg), roumbaba
Port: transfig fig2dev octave

Description

I have installed Octave, which depends on transfig. When I try to run sudo port upgrade outdated I get the following:

$ sudo port upgrade outdated
--->  transfig is replaced by fig2dev
--->  Computing dependencies for fig2dev
Error: Can't install fig2dev because conflicting ports are active: transfig
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

See attached console log for more info.

Attachments (2)

console.txt (2.4 KB) - added by togaen 7 years ago.
console output
consoleOut1.txt (543 bytes) - added by roumbaba 7 years ago.

Download all attachments as: .zip

Change History (10)

Changed 7 years ago by togaen

Attachment: console.txt added

console output

comment:1 Changed 7 years ago by Schamschula (Marius Schamschula)

As a quick workaround:

sudo port uninstall transfig

sudo port install fig2dev

sudo port upgrade outdated

comment:2 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

Cc: kurthindenburg added

comment:3 Changed 7 years ago by togaen

Thanks. Will that affect Octave at all? In other words, will that workaround affect packages that depend on transfig?

comment:4 Changed 7 years ago by kurthindenburg (Kurt Hindenburg)

this should be fixed - try to sync again

Changed 7 years ago by roumbaba

Attachment: consoleOut1.txt added

comment:5 Changed 7 years ago by roumbaba

Still cannot install octave:

On the exact same error ("Can't install fig2dev because conflicting ports are active: transfig"), I actually deactivated transfig and went on with my port upgrade outdated. Most port got updated but not octave. At some point I think I had to reactivate transfig.

now when I do port install octave, port warns that it will install transfig. Upon continuation, transfig install fails because it is an outdated port and should be replaced by fig2dev. (see attached file consoleOut1.txt)

I haev tried uninstalling fig2dev, octave transfig, and clean everything. Even did the following:

sudo port -f clean --all all sudo port -f uninstall inactive

no luck. port install octave still wants to install transfig. I thinkmacport remembers my last variant of octave and thiks it needs transfig?

Any idea what I could do? I resynced of course (port selfupdate) but still no luck

comment:6 Changed 7 years ago by togaen

@kurthindenburg: yes, it's working now for me after a sudo port selfupdate. Thanks.

comment:7 Changed 7 years ago by roumbaba

I modified octave's Portfile on my computer and put fig2dev instead of transfig as a runtime dependency. That did the trick and octave is now installed and works. Is there anything I should be worried about in the future (problems caused down the line) because I manually did the Portfile modification?

comment:8 in reply to:  7 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: roumbaba added
Resolution: fixed
Status: newclosed

Replying to roumbaba:

Is there anything I should be worried about in the future (problems caused down the line) because I manually did the Portfile modification?

No, that's fine.

Note: See TracTickets for help on using tickets.