• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

portupgrade for package py27-acme failing

dpalme

Well-Known Member

Thanks: 3
Messages: 285

#1
I ran the portsnap update this morning and I got an update for py27-acme. When running portupgrade it fails with the following:

Code:
py27-Josepy-1.0.1 conflicts with py27-acme installs files in the same place.
Problematic file: /usr/local/bin/jws
I double checked UPDATING, and it has an OLD reference back in 2016 for acme, apparently the letsencrypt paths have changed is that the issue here?

If so, I'm assuming the fix in
Code:
UPDATING
would still be correct?

Code:
mv /usr/local/etc/letsencrypt /usr/local/etc/acme
...
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,492
Messages: 25,656

#2
Both packages try to install the same file; /usr/local/bin/jws.
 

dpalme

Well-Known Member

Thanks: 3
Messages: 285

#3
So I'm assuming that the move directions in the UPDATING file would be correct. From what I'm reading, they moved the letsencryptnow to acme.
 

SirDice

Administrator
Staff member
Administrator
Moderator

Thanks: 5,492
Messages: 25,656

#4
Except it's not the same offending file. So those move instructions are not correct and will not solve the issue.

Simplest solution, remove one of the offending packages.
 

tobik@

Daemon
Developer

Thanks: 1,179
Messages: 1,770

#5
py27-acme split some of its functionality into a new external library py27-josepy. It seems portupgrade cannot handle this scenario smoothly. Uninstall py27-acme manually first then try to reinstall it.