Re: libpng not downloading

[email protected]
Newsgroups gmane.os.apple.fink.general
Message-ID <[email protected]>
On 2023-04-21 07:35, Smith, Geoffrey CIV USN NRL (7233) Washington DC 
(USA) via Fink-users wrote:
>> On Apr 21, 2023, at 7:33 AM, Hanspeter Niederstrasser
>> <[email protected]> wrote:
>> 
>> On 4/21/23 6:04 AM, Smith, Geoffrey CIV USN NRL (7233) Washington DC
>> (USA) via Fink-users wrote:
>> 
>>> Hello all —
>>> I still find fink a very useful tool, and many thanks for all the
>>> maintainers working to keep it going!
>>> I have been having a problem for quite some time now trying to
>>> bring my fink packages up to date.  I am trying to update:
>>> (i)  libpng16-shlibs  1.6.39-1     Shared libraries for libpng16
>>> package
>>> Package is found, but hangs after 25% is downloaded.  Tried many
>>> many different mirrors, and master, but all behave the same.  I
>>> tried going through the mirror selection process again, but that
>>> didn’t see to make any difference either.
>>> It seems that this can’t be a systemic problem, since I didn’t
>>> see anything in the mailing list archives (unless I missed it??).
>>> Any help appreciated!
>>> Info on my setup:
>>> redfish:~ gbsadmin$ fink -V
>>> Package manager version: 0.45.6
>>> Distribution version: selfupdate-rsync Thu Apr 20 21:33:12 2023,
>>> 10.14.5, x86_64
>>> Trees:
>>> local/distributions/fink-distributions/10.9-libcxx/stable/main
>>> local/main stable/main local/injected
>> 
>> Sounds like something specific to your location. Worked from 2
>> different networks for me.
>> 
>> $ fink fetch libpng16
>> curl --connect-timeout 30 -f -L -A 'fink/0.45.6' -O
>> http://downloads.sourceforge.net/libpng/libpng-1.6.39.tar.gz [1]
>> % Total    % Received % Xferd  Average Speed   Time    Time
>> Time Current
>> Dload  Upload   Total   Spent
>> Left Speed
>> 100   380  100   380    0     0   2600      0 --:--:-- --:--:--
>> --:--:--  2923
>> 100   363  100   363    0     0   1738      0 --:--:-- --:--:--
>> --:--:--     0
>> 100 1472k  100 1472k    0     0  1322k      0  0:00:01  0:00:01
>> --:--:-- 1322k
>> 
>> If the automatic download via Fink keeps hanging, have you tried
>> manually downloading the file via your browser, then copying it to
>> /sw/src (or wherever your Fink root is)?
> 
>  Thanks for the tip — that idea totally slipped my mind!  Here is a
> strange thing — your idea worked fine on a different machine; I was
> able to curl the .gz directly.  However, on the machine giving me
> trouble, the download hangs in the same place - even when doing the
> direct web download!??  I can’t see a reason why.
> 
> Regardless, I can download then sftp over to the machine that needs
> it, put it in the /sw/src folder with all the other gz files.
> 
> I tried running the standard update command at that point, and told
> fink to just use the file as-is, but it didn’t seem to work.  Could
> you toss me a link to instructions on how to install from a local src
> file?

I would guess the problematic computer is behind some firewall 
restrictions. Does this hang happen when fetching any other package on 
this machine?

There are no special instructions for using a manually downloaded src 
file. Fink just checks to see if the expected source file (file name and 
checksum check) match what's expected. So if the file you downloaded is 
saved to Fink's $prefix/src directory and the checksum matches, then the 
install should find the tarball and just work.

Can you post the verbatim output of `fink install libpng16` after you 
copied libpng-1.6.39.tar.gz saved to /sw/src?

Hanspeter


_______________________________________________
Fink-users mailing list
[email protected]
List archive:
https://sourceforge.net/p/fink/mailman/fink-users/
Subscription management:
https://lists.sourceforge.net/lists/listinfo/fink-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.