Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#53423 closed defect (duplicate)

Beaker-1.8.1 cannot be found for MacPorts 2.4.0 on PowerMac

Reported by: noloader (Jeffrey Walton) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: Cc:
Port: py-beaker

Description

This issue has persisted for the last day or so. I'm guessing the project is not aware. My apologies if it is known.

sudo find /opt -name py27-setuptools -exec rm -rf {} \;
sudo find /opt -iname '*beaker*' -exec rm -rf {} \;

Then

sudo port selfupdate
--->  Updating MacPorts base sources using rsync
MacPorts base version 2.4.0 installed,
MacPorts base version 2.4.0 downloaded.
--->  Updating the ports tree
--->  MacPorts base is already the latest version
...

sudo port upgrade outdated
--->  Computing dependencies for py27-beaker
--->  Fetching archive for py27-beaker
--->  Attempting to fetch py27-beaker-1.8.1_0.darwin_9.noarch.tbz2 from http://packages.macports.org/py27-beaker
--->  Attempting to fetch py27-beaker-1.8.1_0.darwin_9.noarch.tbz2 from http://mse.uk.packages.macports.org/sites/packages.macports.org/py27-beaker
--->  Attempting to fetch py27-beaker-1.8.1_0.darwin_9.noarch.tbz2 from http://sea.us.packages.macports.org/macports/packages/py27-beaker
--->  Fetching distfiles for py27-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://distfiles.macports.org/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from https://pypi.python.org/packages/source/B/Beaker/
--->  Attempting to fetch Beaker-1.8.1.tar.gz from https://files.pythonhosted.org/packages/source/B/Beaker/
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://lil.fr.distfiles.macports.org/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://sea.us.distfiles.macports.org/macports/distfiles/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://nue.de.distfiles.macports.org/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://osl.no.distfiles.macports.org/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://kmq.jp.distfiles.macports.org/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://cjj.kr.distfiles.macports.org/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://pek.cn.distfiles.macports.org/macports/distfiles/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://jnb.za.distfiles.macports.org/distfiles/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://jog.id.distfiles.macports.org/macports/distfiles/py-beaker
--->  Attempting to fetch Beaker-1.8.1.tar.gz from http://her.gr.distfiles.macports.org/py-beaker
Error: Failed to fetch py27-beaker: The requested URL returned error: 404
Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_python_py-beaker/py27-beaker/main.log for details.
Error: Problem while installing py27-beaker
Error: Follow https://guide.macports.org/#project.tickets to report a bug.

Change History (9)

comment:1 Changed 8 years ago by mf2k (Frank Schima)

Keywords: py27-setuptools py27-beaker removed
Port: py-beaker added; py27-beaker removed

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

Resolution: duplicate
Status: newclosed

Duplicate of #53347.

comment:3 Changed 8 years ago by noloader (Jeffrey Walton)

Following the manual download instructions provided at Install software using a downloaded port file results in an error. It looks like HTTPS is redirected to HTTP, but then the file is not available at HTTP (the original problem).

Maybe the instructions are not quite correct or I am doing something wrong:

PowerMac:~$ sudo mkdir /opt/local/var/macports/distfiles/Beaker-1.8.1.tar.gz
PowerMac:~$ cd /opt/local/var/macports/distfiles/Beaker-1.8.1.tar.gz
PowerMac:Beaker-1.8.1.tar.gz$ wget https://distfiles.macports.org/py-beaker
--2017-01-30 01:41:01--  https://distfiles.macports.org/py-beaker
Resolving distfiles.macports.org (distfiles.macports.org)... 198.232.124.196
Connecting to distfiles.macports.org (distfiles.macports.org)|198.232.124.196|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://distfiles.macports.org/py-beaker/ [following]
--2017-01-30 01:41:02--  http://distfiles.macports.org/py-beaker/
Connecting to distfiles.macports.org (distfiles.macports.org)|198.232.124.196|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 947 [text/html]
py-beaker: Permission denied

Cannot write to ‘py-beaker’ (Permission denied).
PowerMac:Beaker-1.8.1.tar.gz$ wget https://distfiles.macports.org/py-beaker/Beaker-1.8.1.tar.gz
--2017-01-30 01:41:52--  https://distfiles.macports.org/py-beaker/Beaker-1.8.1.tar.gz
Resolving distfiles.macports.org (distfiles.macports.org)... 198.232.124.196
Connecting to distfiles.macports.org (distfiles.macports.org)|198.232.124.196|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-01-30 01:41:53 ERROR 404: Not Found.

PowerMac:Beaker-1.8.1.tar.gz$ wget https://distfiles.macports.org/Beaker-1.8.1.tar.gz
--2017-01-30 01:42:10--  https://distfiles.macports.org/Beaker-1.8.1.tar.gz
Resolving distfiles.macports.org (distfiles.macports.org)... 198.232.124.196
Connecting to distfiles.macports.org (distfiles.macports.org)|198.232.124.196|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2017-01-30 01:42:10 ERROR 404: Not Found.

comment:4 Changed 8 years ago by kencu (Ken)

the CURL library on the powermac is too old. This is a common problem on older systems. As a temporary workaround for this port, do this

cd /opt/local/var/macports/distfiles/py-beaker

then

sudo wget https://files.pythonhosted.org/packages/source/B/Beaker/Beaker-1.8.1.tar.gz

This works, and gets you your file.

LeopardG5:py-beaker$ ls -la
total 152
drwxr-xr-x    4 macports  admin    136 Jan 29 23:21 .
drwxr-xr-x  346 root      admin  11764 Jan 28 15:06 ..
-rw-r--r--    1 macports  admin  34299 Oct 16 14:12 Beaker-1.7.0.tar.gz
-rw-r--r--    1 root      admin  37064 Oct 23 16:40 Beaker-1.8.1.tar.gz

once you have it downloaded, you can sudo port -v install py27-beaker and it will install as usual.

Best, K

comment:5 Changed 8 years ago by kencu (Ken)

For a more comprehensive way to fix this for all ports, see the many posts on trac about this issue. My solution is to install a bootstrap version of macports into /opt/bootstrap, install libcurl in there, and then reference that curl installation when installing the main installation of macports into /opt/local (by source).

comment:6 Changed 8 years ago by mrkapqa

Last edited 8 years ago by mrkapqa (previous) (diff)

comment:7 Changed 8 years ago by mrkapqa

thanks, i had to install wget first, then it would work on my leopard powermac

http://www.makeuseof.com/tag/wget-mac/

comment:8 Changed 8 years ago by mrkapqa

why is it not possible to delete a comment?

after py-beaker installed succesully, similar problem arised here

Failed to fetch py27-tz: The requested URL returned error: 404

?

do i need to manually download the files for all errors?

Last edited 8 years ago by mrkapqa (previous) (diff)

comment:9 Changed 8 years ago by mrkapqa

sudo wget https://pypi.python.org/packages/source/p/pytz/pytz-2016.10.tar.gz --2017-02-06 14:39:15-- https://pypi.python.org/packages/source/p/pytz/pytz-2016.10.tar.gz Resolving pypi.python.org... 151.101.12.223 Connecting to pypi.python.org|151.101.12.223|:443... connected. ERROR: cannot verify pypi.python.org's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA':

Unable to locally verify the issuer's authority.

ERROR: certificate common name www.python.org' doesn't match requested host name pypi.python.org'. To connect to pypi.python.org insecurely, use `--no-check-certificate'. Unable to establish SSL connection. neu-neus-power-mac-g5:py-tz neuneu$ sudo wget https://pypi.python.org/packages/source/p/pytz/pytz-2016.10.tar.gz --no-check-certificate --2017-02-06 14:39:22-- https://pypi.python.org/packages/source/p/pytz/pytz-2016.10.tar.gz Resolving pypi.python.org... 151.101.12.223 Connecting to pypi.python.org|151.101.12.223|:443... connected. WARNING: cannot verify pypi.python.org's certificate, issued by `/C=US/O=DigiCert Inc/OU=www.digicert.com/CN=DigiCert SHA2 Extended Validation Server CA':

Unable to locally verify the issuer's authority.

WARNING: certificate common name www.python.org' doesn't match requested host name pypi.python.org'. HTTP request sent, awaiting response... 404 Not Found 2017-02-06 14:39:23 ERROR 404: Not Found.

neu-neus-power-mac-g5:py-tz neuneu$ sudo wget http://pek.cn.distfiles.macports.org/macports/distfiles/py-tz/pytz-2016.10.tar.gz --2017-02-06 14:39:43-- http://pek.cn.distfiles.macports.org/macports/distfiles/py-tz/pytz-2016.10.tar.gz Resolving pek.cn.distfiles.macports.org... 166.111.206.177 Connecting to pek.cn.distfiles.macports.org|166.111.206.177|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-02-06 14:39:45 ERROR 404: Not Found.

neu-neus-power-mac-g5:py-tz neuneu$ sudo wget http://pek.cn.distfiles.macports.org/macports/distfiles/py-tz/pytz-2016.10.tar.gz --no-check-certificate --2017-02-06 14:39:53-- http://pek.cn.distfiles.macports.org/macports/distfiles/py-tz/pytz-2016.10.tar.gz Resolving pek.cn.distfiles.macports.org... 166.111.206.177 Connecting to pek.cn.distfiles.macports.org|166.111.206.177|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-02-06 14:39:54 ERROR 404: Not Found.

neu-neus-power-mac-g5:py-tz neuneu$ port distfiles py-tz ---> Distfiles for py-tz neu-neus-power-mac-g5:py-tz neuneu$ port distfiles py27-tz ---> Distfiles for py27-tz [pytz-2016.10.tar.gz] /opt/local/var/macports/distfiles/py-tz/pytz-2016.10.tar.gz

rmd160: 73bb2b4c73c476fe5b3d4bbfc159f4f6f00fd5ab sha256: 9a43e20aa537cfad8fe7a1715165c91cb4a6935d40947f2d070e4c80f2dcd22b

https://pypi.python.org/packages/source/p/pytz/pytz-2016.10.tar.gz https://files.pythonhosted.org/packages/source/p/pytz/pytz-2016.10.tar.gz http://distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/py-tz/pytz-2016.10.tar.gz http://cjj.kr.distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://fco.it.distfiles.macports.org/mirrors/macports-distfiles/py-tz/pytz-2016.10.tar.gz http://her.gr.distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://jnb.za.distfiles.macports.org/distfiles/py-tz/pytz-2016.10.tar.gz http://jog.id.distfiles.macports.org/macports/distfiles/py-tz/pytz-2016.10.tar.gz http://kmq.jp.distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://lil.fr.distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://mse.uk.distfiles.macports.org/sites/distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://nou.nc.distfiles.macports.org/pub/macports/distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://nue.de.distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://osl.no.distfiles.macports.org/py-tz/pytz-2016.10.tar.gz http://pek.cn.distfiles.macports.org/macports/distfiles/py-tz/pytz-2016.10.tar.gz http://sea.us.distfiles.macports.org/macports/distfiles/py-tz/pytz-2016.10.tar.gz http://ykf.ca.distfiles.macports.org/MacPorts/mpdistfiles/py-tz/pytz-2016.10.tar.gz

neu-neus-power-mac-g5:py-tz neuneu$ sudo wget http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/py-tz/pytz-2016.10.tar.gz --2017-02-06 14:41:22-- http://aarnet.au.distfiles.macports.org/pub/macports/distfiles/py-tz/pytz-2016.10.tar.gz Resolving aarnet.au.distfiles.macports.org... 202.158.214.106 Connecting to aarnet.au.distfiles.macports.org|202.158.214.106|:80... connected. HTTP request sent, awaiting response... 404 Not Found 2017-02-06 14:41:23 ERROR 404: Not Found.

Note: See TracTickets for help on using tickets.