Opened 8 years ago

Closed 7 years ago

#51220 closed defect (duplicate)

couldn't create error file for command: permission denied

Reported by: cpsull23@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port:

Description (last modified by ryandesign (Ryan Carsten Schmidt))

shell commands and resulting errors:

$ sudo port upgrade outdated
--->  Fetching archive for libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/libffi
--->  Attempting to fetch libffi-3.2.1_0.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/libffi
Warning: Failed to verify signature for archive!
Error: org.macports.archivefetch for port libffi returned: archivefetch failed for libffi @3.2.1_0
Please see the log file for port libffi for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_libffi/libffi/main.log
Error: Unable to upgrade port: 1
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
chucks@cps-mbpr[ ~ ]$ 
chucks@cps-mbpr[ ~ ]$ 
chucks@cps-mbpr[ ~ ]$ 
chucks@cps-mbpr[ ~ ]$ sudo port install ffmpeg
--->  Computing dependencies for pkgconfig
--->  Fetching archive for pkgconfig
--->  Attempting to fetch pkgconfig-0.29.1_0.darwin_15.x86_64.tbz2 from https://packages.macports.org/pkgconfig
--->  Attempting to fetch pkgconfig-0.29.1_0.darwin_15.x86_64.tbz2.rmd160 from https://packages.macports.org/pkgconfig
Warning: Failed to verify signature for archive!
Error: org.macports.archivefetch for port pkgconfig returned: archivefetch failed for pkgconfig @0.29.1_0
Please see the log file for port pkgconfig for details:
    /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_devel_pkgconfig/pkgconfig/main.log
Error: Unable to upgrade port: 1
Error: Unable to execute port: upgrade pkgconfig failed

mail.log attached.

I downloaded reinstalled the MacPorts for OSX El Capitan pkg. I searched the web on the error and found no relevant information so far.

Regards,
Chuck Sullivan

Attachments (1)

main.log (2.4 KB) - added by cpsull23@… 8 years ago.
main.log

Download all attachments as: .zip

Change History (5)

Changed 8 years ago by cpsull23@…

Attachment: main.log added

main.log

comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Component: portsbase
Description: modified (diff)
Summary: I get a similar error on any update or install I attemptcouldn't create error file for command: permission denied

Don't forget to use WikiFormatting when writing in Trac.

The relevant error in the log seems to be:

openssl output: couldn't create error file for command: permission denied

The signature for the archive (any archive) cannot be verified because a temporary error output file could not be created because the permissions of the directory it tried to create it in didn't allow that. I'm not sure what directory it's using, but the tmp directory would be a good first guess. What are its permissions? Find out with:

ls -ld /private/tmp

comment:2 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

This same problem was reported by another user in #50867.

comment:3 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:4 Changed 7 years ago by jmroot (Joshua Root)

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