Alt-F 1.0 package problem

538 views
Skip to first unread message

Matthew Ebben

unread,
Nov 18, 2017, 6:55:27 AM11/18/17
to Alt-F
Hi Joao,
Thank you so much for your work on Alt-F, I've been using it for years. I've recently upgraded to the 1.0 version, but I'm having problems with the package feed. I get the following error:

Downloading http://sourceforge.net/projects/alt-f/files/pkgs/stable/Packages
Downloading http://sourceforge.net/projects/alt-f/files/pkgs/unstable/Packages
An error ocurred, return value: 2.
Collected errors:
ipkg_download: ERROR: Command failed with return value 4: `wget --passive-ftp    -q -P /tmp/ipkg-K2KeFu http://sourceforge.net/projects/alt-f/files/pkgs/stable/Packages'
ipkg_download: ERROR: Command failed with return value 4: `wget --passive-ftp    -q -P /tmp/ipkg-K2KeFu http://sourceforge.net/projects/alt-f/files/pkgs/unstable/Packages'

Any idea how I can fix this?
Thanks,
Matt

João Cardoso

unread,
Nov 18, 2017, 10:01:58 AM11/18/17
to Alt-F
Sourceforge must had been a transient failure, try again.
If it still does not works, does the box has internet connection? Try from the command line:
ping -c 3 sourceforge.net # if that works, then the following should also work
 
 
Thanks,
Matt

Matthew Ebben

unread,
Nov 18, 2017, 6:53:47 PM11/18/17
to Alt-F
Thank you for the quick reply. I was able to ping sourceforge.net. However, I'm still getting the same error...

João Cardoso

unread,
Nov 19, 2017, 1:49:45 PM11/19/17
to Alt-F


On Saturday, 18 November 2017 23:53:47 UTC, Matthew Ebben wrote:
Thank you for the quick reply. I was able to ping sourceforge.net. However, I'm still getting the same error...

Are you using a proxy? If the 'wget' command gave the same result as in the webUI, then that might be the issue. Use Setup->Proxy, that is specific to the 'wget' command used by package manager (ipkg)

You can try to use the wget command for other sites and protocols, e.g.


you should bet a final 'index.html' saved line

Luis Cuervo

unread,
Dec 29, 2017, 5:30:45 AM12/29/17
to Alt-F

d.i.saunders

unread,
Dec 10, 2018, 5:12:05 PM12/10/18
to Alt-F

Jarek Pe

unread,
Feb 23, 2019, 8:44:36 AM2/23/19
to Alt-F
Hi,

I have exactly the same problem. Have you achieved any success in this?

--
Regards 
Jarek

Joao Cardoso

unread,
Feb 23, 2019, 10:49:04 PM2/23/19
to Alt-F
This is generaly a transient betwork problem at the server. Aiting a ciuple of hours the problems aut-solves itself. The return error is 4, whic according to the wget manual represents a network problem, see bellow.

By the way, sorceforge now uses https instead of http.

Exit Status

Wget may return one of several error codes if it encounters problems.

No problems occurred.
Generic error code.
Parse error—for instance, when parsing command-line options, the ‘.wgetrc’ or ‘.netrc’...
File I/O error.
Network failure.
SSL verification failure.
6...

Jarek Pe

unread,
Feb 24, 2019, 9:44:54 AM2/24/19
to Alt-F
Still the same. I have tried by the web interface and from console (screens attached). I don't think this is a network problem. I can manually download packages and deploy it on NAS. Is it possible that wget in Alt-f 1.0 can't handle https?

alt-f terminal.png

alt-f webGUI.png

João Cardoso

unread,
Feb 24, 2019, 11:55:50 AM2/24/19
to Alt-F

ipkg just calls wget and for you wget fails with an error 4.

Sourceforge uses dynamic mirrors, it is possible that the mirror automatically selected by sourceforge is with some issues, please see the post

What do you get if you invoke in the box wget from the command line, as in

In my case https://netcologne.dl.sourceforge.net is used as the download mirror:

[root@DNS-325]# wget  https://sourceforge.net/projects/alt-f/files/pkgs/unstable/vim_7.1-1_arm.ipk

--2019-02-24 16:46:14--  https://sourceforge.net/projects/alt-f/files/pkgs/unstable/vim_7.1-1_arm.ipk

Resolving sourceforge.net... 216.105.38.13

Connecting to sourceforge.net|216.105.38.13|:443... connected.

HTTP request sent
, awaiting response... 302 Found

Location: https://sourceforge.net/projects/alt-f/files/pkgs/unstable/vim_7.1-1_arm.ipk/download [following]

--2019-02-24 16:46:15--  https://sourceforge.net/projects/alt-f/files/pkgs/unstable/vim_7.1-1_arm.ipk/download

Reusing existing connection to sourceforge.net:443.

HTTP request sent
, awaiting response... 302 Found

Location: https://downloads.sourceforge.net/project/alt-f/pkgs/unstable/vim_7.1-1_arm.ipk?r=&ts=1551026775&use_mirror=netcologne [following]

--2019-02-24 16:46:15--  https://downloads.sourceforge.net/project/alt-f/pkgs/unstable/vim_7.1-1_arm.ipk?r=&ts=1551026775&use_mirror=netcologne

Resolving downloads.sourceforge.net... 216.105.38.13

Connecting to downloads.sourceforge.net|216.105.38.13|:443... connected.

HTTP request sent
, awaiting response... 302 Found

Location: https://netcologne.dl.sourceforge.net/project/alt-f/pkgs/unstable/vim_7.1-1_arm.ipk [following]

--2019-02-24 16:46:16--  https://netcologne.dl.sourceforge.net/project/alt-f/pkgs/unstable/vim_7.1-1_arm.ipk

Resolving netcologne.dl.sourceforge.net... 78.35.24.46, 2001:4dd0:1234:6::5f

Connecting to netcologne.dl.sourceforge.net|78.35.24.46|:443... connected.

HTTP request sent
, awaiting response... 200 OK

Length: 3696842 (3.5M) [application/octet-stream]

Saving to: 'vim_7.1-1_arm.ipk'

vim_7
.1-1_arm.ipk      100%[============================>]   3.53M   712KB/s    in 4.9s    

2019-02-24 16:46:22 (733 KB/s) - 'vim_7.1-1_arm.ipk' saved [3696842/3696842]

Jarek Pe

unread,
Jul 4, 2019, 5:32:10 PM7/4/19
to Alt-F
I have finally some time to finish the debug of this problem...

Resolving sourceforge.net... failed: Name or service not known.
wget: unable to resolve host address 'sourceforge.net'

It looks like network problem:

[root@magazyn]# ping google.com
ping: bad address 'google.com'
[root@magazyn]# ping 172.217.20.206
PING 172.217.20.206 (172.217.20.206): 56 data bytes
ping: sendto: Network is unreachable

I have cheked router settings. Everything looks fine. Nothing should block the connection to the Internet. Any idea? :|

João Cardoso

unread,
Jul 4, 2019, 9:36:02 PM7/4/19
to Alt-F


On Thursday, 4 July 2019 22:32:10 UTC+1, Jarek Pe wrote:
I have finally some time to finish the debug of this problem...

Resolving sourceforge.net... failed: Name or service not known.
wget: unable to resolve host address 'sourceforge.net'

It looks like network problem:

[root@magazyn]# ping google.com
ping: bad address 'google.com'
[root@magazyn]# ping 172.217.20.206
PING 172.217.20.206 (172.217.20.206): 56 data bytes
ping: sendto: Network is unreachable

It looks like the box gateway is badly configured. Are you using DHCP or a static IP in the box? Check under Setup->Host that the gateway (your router) IP is correct..
Take the opportunity to check in the same page if the name servers IP are correct -- usually your router is also a DNS server or a DNS forwarder for your ISP nameserver.

Jarek Pe

unread,
Jul 5, 2019, 2:33:20 PM7/5/19
to Alt-F
Thanks... I don't know how but gateway address was empty in settings :| I think it disappeared after upgrade Alt-F to 1.0 version.
Reply all
Reply to author
Forward
0 new messages