Opened 9 years ago

Closed 8 years ago

#50990 closed defect (worksforme)

Could not update macports

Reported by: anukriti1107@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: base Version: 2.3.4
Keywords: Cc:
Port:

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

I have tried upgrading macports, which got upgraded successfully but error is coming while updating synchronising macport

on giving the command

sudo port -d selfupdate 

following error is coming

DEBUG: Copying /Users/anukriti/Library/Preferences/com.apple.dt.Xcode.plist to /opt/local/var/macports/home/Library/Preferences
DEBUG: MacPorts sources location: /opt/local/var/macports/sources/rsync.macports.org/release/tarballs
--->  Updating MacPorts base sources using rsync
receiving file list ... done

sent 36 bytes  received 69 bytes  30.00 bytes/sec
total size is 27013120  speedup is 257267.81
receiving file list ... done

sent 36 bytes  received 76 bytes  32.00 bytes/sec
total size is 512  speedup is 4.57
DEBUG: successful verification with key /opt/local/share/macports/macports-pubkey.pem
DEBUG: /usr/bin/tar -C /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/tmp -xf /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/base.tar
MacPorts base version 2.3.4 installed,
DEBUG: Rebuilding and reinstalling MacPorts if needed
MacPorts base version 2.3.4 downloaded.
--->  Updating the ports tree
Synchronizing local ports tree from http://www.macports.org/files/ports.tar.gz
Warning: Cannot check if http://www.macports.org/files/ports.tar.gz was updated, (Couldn't connect to server)
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   185  100   185    0     0   1115      0 --:--:-- --:--:-- --:--:--  1114
Error: Fetching http://www.macports.org/files/ports.tar.gz failed (Failed to connect to distfiles.macports.org port 443: Connection refused)
DEBUG: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
    while executing
"macports::selfupdate [array get global_options] base_updated"
Error: Couldn't sync the ports tree: Synchronization of 1 source(s) failed
To report a bug, follow the instructions in the guide:
    http://guide.macports.org/#project.tickets
Error: /opt/local/bin/port: port selfupdate failed: Couldn't sync the ports tree: Synchronization of 1 source(s) failed

Change History (6)

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

Priority: HighNormal

The Priority field is for use by Macports team members only.

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

Component: portsbase
Description: modified (diff)

I don't know why you get Failed to connect to distfiles.macports.org port 443: Connection refused. Works fine for me. Do you have trouble accessing other web sites over https? Can you access https://distfiles.macports.org in a web browser or do you get an error there too?

comment:3 Changed 9 years ago by anukriti1107@…

I was able to access https://distfiles.macports.org from the browser without any problem

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

Do you use a proxy server of some sort?

You'll have to help us figure out why this is failing for you, because it's not failing for us.

comment:5 Changed 9 years ago by anukriti1107@…

Hi..thanks for the reply

Yes I use internet under college proxy. But I was able to update ports till last month. Last month I updated and upgraded macports and only after that I am not able to update them.

Though, even now, under same proxy server I am able to upgrade them but not update.

I have modified /opt/local/etc/macports/macports.conf file to work under firewall or proxy.

Suddenly it stopped updating

comment:6 Changed 8 years ago by raimue (Rainer Müller)

Resolution: worksforme
Status: newclosed

Not enough information to reproduce.

Note: See TracTickets for help on using tickets.