unable to get addons list and addons parkets

Questions to IPFire Addons.
baiclamp
Posts: 4
Joined: January 8th, 2019, 12:19 am

unable to get addons list and addons parkets

Post by baiclamp » January 8th, 2019, 12:32 am

hi, I am installed ipfire IPFire 2.21 (armv5tel) - Core Update 126 on my banana pi r1(lambo r1) and it works well but i could not install addons. the info is below:
----------------------
Linux gfw.home.local 4.14.86-ipfire-multi #1 SMP Mon Dec 10 21:59:20 GMT 2018 armv7l Allwinner sun7i (A20) Family GNU/Linux
----------------------
[root@gfw red]# dig www.ipfire.org

; <<>> DiG 9.11.5 <<>> www.ipfire.org
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 9917
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1

;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 4096
;; QUESTION SECTION:
;www.ipfire.org. IN A

;; ANSWER SECTION:
www.ipfire.org. 18999 IN CNAME fw01.ipfire.org.
fw01.ipfire.org. 998 IN A 81.3.27.38

;; Query time: 734 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Tue Jan 08 08:25:52 CST 2019
;; MSG SIZE rcvd: 78
-------------------------------
[root@gfw red]# ping pakfire.ipfire.org
PING fw01.ipfire.org (81.3.27.38) 56(84) bytes of data.
64 bytes from 81.3.27.38 (81.3.27.38): icmp_seq=1 ttl=45 time=215 ms
64 bytes from 81.3.27.38 (81.3.27.38): icmp_seq=2 ttl=45 time=214 ms
64 bytes from 81.3.27.38 (81.3.27.38): icmp_seq=3 ttl=44 time=215 ms

------------------------------------
[root@gfw red]# pakfire list
packages total.
[root@gfw red]#
-------------------------------
[root@gfw red]# pakfire install -y nmap

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.
MIRROR ERROR: Could not find or download a server list

-------------------------------------
pakfire logs:

01:28:38 pakfire: PAKFIRE INFO: IPFire Pakfire 2.21-armv5tel started!
01:28:38 pakfire: DOWNLOAD STARTED: 2.21-armv5tel/lists/server-list.db
01:28:38 pakfire: DOWNLOAD INFO: Host: pakfire.ipfire.org (HTTP) - File: 2.21-armv5tel/lists/serv er-list.db
01:28:42 pakfire: DOWNLOAD INFO: 2.21-armv5tel/lists/server-list.db has size of bytes
01:28:42 pakfire: DOWNLOAD INFO: HTTP-Status-Code: 500 - 500 Server closed connection without sen ding any data back
01:28:42 pakfire: Giving up: There was no chance to get the file 2.21-armv5tel/lists/server-list. db from any available server. There was an error on the way. Please fix it.
01:28:42 pakfire: DOWNLOAD STARTED: lists/packages_list.db
01:28:42 pakfire: DOWNLOAD STARTED: 2.21-armv5tel/lists/server-list.db
01:28:42 pakfire: DOWNLOAD INFO: Host: pakfire.ipfire.org (HTTP) - File: 2.21-armv5tel/lists/serv er-list.db
01:28:42 pakfire: DOWNLOAD INFO: 2.21-armv5tel/lists/server-list.db has size of bytes
01:28:42 pakfire: DOWNLOAD INFO: HTTP-Status-Code: 500 - 500 Server closed connection without sen ding any data back
01:28:42 pakfire: Giving up: There was no chance to get the file 2.21-armv5tel/lists/server-list. db from any available server. There was an error on the way. Please fix it.

I don't know what is happen. can someone help me? thanks !

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8221
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: unable to get addons list and addons parkets

Post by Arne.F » January 9th, 2019, 8:48 am

I have no idea, the server side looks ok. Check if the time is correct set and try again.
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

baiclamp
Posts: 4
Joined: January 8th, 2019, 12:19 am

Re: unable to get addons list and addons parkets

Post by baiclamp » January 10th, 2019, 3:01 pm

I had been check the time. but still could not get list. could you get me the full path of 2.21-armv5tel/lists/server-list.db ? I want to try downloading this file by browser!
--------------------------
[root@gfw ~]# ping pakfire.ipfire.org
PING Fw01.ipfire.org (81.3.27.38) 56(84) bytes of data.
64 bytes from 81.3.27.38 (81.3.27.38): icmp_seq=1 ttl=44 time=214 ms
64 bytes from 81.3.27.38 (81.3.27.38): icmp_seq=2 ttl=45 time=223 ms
64 bytes from 81.3.27.38 (81.3.27.38): icmp_seq=3 ttl=44 time=217 ms
^C
--- Fw01.ipfire.org ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 3900ms
rtt min/avg/max/mdev = 214.499/218.279/223.096/3.625 ms
[root@gfw ~]# date
Thu Jan 10 22:48:21 CST 2019
[root@gfw ~]# pakfire list
PAKFIRE ERROR: You need to be online to run pakfire!
[root@gfw ~]# touch /var/ipfire/red/active
[root@gfw ~]# pakfire list
packages total.
[root@gfw ~]# pakfire install freeradius

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.
MIRROR ERROR: Could not find or download a server list
------------------------
[root@gfw ~]# date
Thu Jan 10 14:54:15 UCT 2019
[root@gfw ~]# pakfire list
packages total.
[root@gfw ~]# pakfire install freeradius

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

Giving up: There was no chance to get the file "2.21-armv5tel/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.
MIRROR ERROR: Could not find or download a server lis

------------------

Jan 10 15:00:37 gfw pakfire: DOWNLOAD INFO: Host: pakfire.ipfire.org (HTTP) - File: 2.21-armv5tel/lists/server-list.db
Jan 10 15:00:37 gfw pakfire: DOWNLOAD INFO: 2.21-armv5tel/lists/server-list.db has size of bytes
Jan 10 15:00:38 gfw pakfire: DOWNLOAD INFO: HTTP-Status-Code: 500 - 500 Server closed connection without sending any data back
Jan 10 15:00:38 gfw pakfire: Giving up: There was no chance to get the file 2.21-armv5tel/lists/server-list.db from any available server. There was an error on the way. Please fix it.
Jan 10 15:00:38 gfw pakfire: DOWNLOAD STARTED: 2.21-armv5tel/lists/server-list.db
Jan 10 15:00:38 gfw pakfire: DOWNLOAD INFO: Host: pakfire.ipfire.org (HTTP) - File: 2.21-armv5tel/lists/server-list.db
Jan 10 15:00:38 gfw pakfire: DOWNLOAD INFO: 2.21-armv5tel/lists/server-list.db has size of bytes
Jan 10 15:00:38 gfw pakfire: DOWNLOAD INFO: HTTP-Status-Code: 500 - 500 Server closed connection without sending any data back
Jan 10 15:00:38 gfw pakfire: Giving up: There was no chance to get the file 2.21-armv5tel/lists/server-list.db from any available server. There was an error on the way. Please fix it.
Jan 10 15:00:38 gfw pakfire: DOWNLOAD STARTED: 2.21-armv5tel/lists/server-list.db
Jan 10 15:00:38 gfw pakfire: DOWNLOAD INFO: Host: pakfire.ipfire.org (HTTP) - File: 2.21-armv5tel/lists/server-list.db
Jan 10 15:00:38 gfw pakfire: DOWNLOAD INFO: 2.21-armv5tel/lists/server-list.db has size of bytes
Jan 10 15:00:38 gfw pakfire: DOWNLOAD INFO: HTTP-Status-Code: 500 - 500 Server closed connection without sending any data back
Jan 10 15:00:38 gfw pakfire: Giving up: There was no chance to get the file 2.21-armv5tel/lists/server-list.db from any available server. There was an error on the way. Please fix it.
Jan 10 15:00:38 gfw pakfire: DOWNLOAD STARTED: 2.21-armv5tel/lists/server-list.db
Jan 10 15:00:38 gfw pakfire: DOWNLOAD INFO: Host: pakfire.ipfire.org (HTTP) - File: 2.21-armv5tel/lists/server-list.db
Jan 10 15:00:39 gfw pakfire: DOWNLOAD INFO: 2.21-armv5tel/lists/server-list.db has size of bytes
Jan 10 15:00:39 gfw pakfire: DOWNLOAD INFO: HTTP-Status-Code: 500 - 500 Server closed connection without sending any data back
Jan 10 15:00:39 gfw pakfire: Giving up: There was no chance to get the file 2.21-armv5tel/lists/server-list.db from any available server. There was an error on the way. Please fix it.
Jan 10 15:00:39 gfw pakfire: MIRROR ERROR: Could not find or download a server list

JonM
Posts: 101
Joined: August 4th, 2017, 5:49 pm
Location: US

Re: unable to get addons list and addons parkets

Post by JonM » January 10th, 2019, 6:43 pm

baiclamp wrote:
January 10th, 2019, 3:01 pm
I had been check the time. but still could not get list.
. . .
[root@gfw ~]# date
Thu Jan 10 22:48:21 CST 2019
. . .
[root@gfw ~]# date
Thu Jan 10 14:54:15 UCT 2019
. . .
I was curious about the results of the date command. One date is CST (central US) and one is UCT (unknown). What is the correct timezone?

Try these two command to see if the date command and NTP are in agreement:

Code: Select all

date

ntpdate -d -q 0.ipfire.pool.ntp.org
The -d = debug and the -q = quiet and it does not set the time. Please post the results of both.

Sorry, I do not know the path of server-list.db.

EDIT: I am running IPFire 2.21 (armv5tel) - Core Update 126 also and the pakfire commands all work as expected.
Production:
Image

Testing Raspi 3B+:
Image

rodneyp
Posts: 130
Joined: October 4th, 2010, 2:17 am
Location: Australia

Re: unable to get addons list and addons parkets

Post by rodneyp » January 10th, 2019, 10:00 pm

I am running core 126 on Banana Pi (not the R1 router) and have no problem getting the pakfire list or installing an addon.

One of your error messages is:
"PAKFIRE ERROR: You need to be online to run pakfire!"

It does not appear to be a DNS issue, because you are able to ping by name.

I did earlier have some issues with the BPi dropping the RED connection for no apparent reason. Now use a USB dongle having a LED. Have you tried a simple reboot ?.

baiclamp
Posts: 4
Joined: January 8th, 2019, 12:19 am

Re: unable to get addons list and addons parkets

Post by baiclamp » January 10th, 2019, 11:18 pm

The time zone is set to different(1\CST = China Standard Time UT+8:00 | 2\UCT = Coordinated Universal Time(UTC) CST - 8 ) for testing
And two of them are not get the addons list.


. . .
[root@gfw ~]# date
Thu Jan 10 22:48:21 CST 2019
. . .
[root@gfw ~]# date
Thu Jan 10 14:54:15 UCT 2019
. . .
[/quote]

I was curious about the results of the date command. One date is CST (central US) and one is UCT (unknown). What is the correct timezone?

Try these two command to see if the date command and NTP are in agreement:

Code: Select all

date

ntpdate -d -q 0.ipfire.pool.ntp.org
The -d = debug and the -q = quiet and it does not set the time. Please post the results of both.

Sorry, I do not know the path of server-list.db.

EDIT: I am running IPFire 2.21 (armv5tel) - Core Update 126 also and the pakfire commands all work as expected.
[/quote]

daxigua
Posts: 7
Joined: February 21st, 2019, 5:10 am

Re: unable to get addons list and addons parkets

Post by daxigua » February 21st, 2019, 5:20 am

I have the same issue.

IPFire 2.21 (x86_64) - Core Update 126

My guess is this is occurring due to being in China and the GFW is not allowing the connection using RST ACK packets.

One way around this is to setup a VPN outside the GFW on ipfire.
Or, a local mirror?

This is preventing updates and Pakfire addons;

Feb 21 11:33:17 ipfire pakfire: Giving up: There was no chance to get the file 2.21-x86_64/lists/server-list.db from any available server. There was an error on the way. Please fix it.
Feb 21 11:33:17 ipfire pakfire: DOWNLOAD STARTED: 2.21-x86_64/lists/server-list.db
Feb 21 11:33:17 ipfire pakfire: DOWNLOAD INFO: Host: pakfire.ipfire.org (HTTP) - File: 2.21-x86_64/lists/server-list.db
Feb 21 11:33:17 ipfire pakfire: DOWNLOAD INFO: 2.21-x86_64/lists/server-list.db has size of bytes
Feb 21 11:33:17 ipfire pakfire: DOWNLOAD INFO: HTTP-Status-Code: 500 - 500 Server closed connection without sending any data back

daxigua

daxigua
Posts: 7
Joined: February 21st, 2019, 5:10 am

Re: unable to get addons list and addons parkets

Post by daxigua » February 21st, 2019, 5:36 am

Some whacky stuff here;

System Status:
Core-Update-Level: 126 Last update made 71d 23h 3m 56s ago. [this is correct since installation]
Last server list update made 17948d 5h 23m 19s ago.
Last core list update made 17948d 5h 23m 19s ago.
Last packages list update made 17948d 5h 23m 19s ago.


At this URL it mentions
"import the gpg-keys" and "it is necessary that TCP port 11371 is once reachable"

https://wiki.ipfire.org/configuration/i ... fire/start

however, it seems this is only on a high security lockdown and I see no firewall drops in my logs

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8221
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: unable to get addons list and addons parkets

Post by Arne.F » February 21st, 2019, 8:11 am

can you download this url https://pakfire.ipfire.org/2.21-x86_64/ ... er-list.db
and get something like this ?

Code: Select all

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

HTTPS;firemirror.scp-systems.ch;pakfire2/2.21-x86_64;
HTTPS;ftp.acc.umu.se;mirror/ipfire.org/pakfire2/2.21-x86_64;
HTTPS;ftp.cc.uoc.gr;mirrors/linux/ipfire/pakfire2/2.21-x86_64;
HTTPS;ftp.fau.de;ipfire/pakfire2/2.21-x86_64;
HTTPS;ftp.gwdg.de;pub/linux/ipfire/pakfire2/2.21-x86_64;
HTTPS;ftp.nluug.nl;os/Linux/distr/ipfire/pakfire2/2.21-x86_64;
HTTPS;ipfire.earl-net.com;pakfire2/2.21-x86_64;
HTTPS;ipfire-mirror.eissler.pro;pakfire2/2.21-x86_64;
HTTPS;mirror1.ipfire.org;pakfire2/2.21-x86_64;
HTTPS;mirror7.ipfire.org;pakfire2/2.21-x86_64;
HTTPS;mirror.aarnet.edu.au;pub/ipfire/pakfire2/2.21-x86_64;
HTTPS;mirror.clarkson.edu;ipfire/pakfire2/2.21-x86_64;
HTTPS;mirror.csclub.uwaterloo.ca;ipfire/pakfire2/2.21-x86_64;
HTTPS;mirror.datacenter.by;pub/ipfire/pakfire2/2.21-x86_64;
HTTPS;mirrors.up.pt;pub/ipfire/pakfire2/2.21-x86_64;
HTTPS;mirror.uce.edu.ec;ipfire/pakfire2/2.21-x86_64;
HTTPS;mirror.ueb.edu.ec;ipfire/pakfire2/2.21-x86_64;
HTTPS;muug.ca;mirror/ipfire/pakfire2/2.21-x86_64;
HTTPS;quantum-mirror.hu;mirrors/pub/ipfire/pakfire2/2.21-x86_64;
HTTPS;www.mirrorservice.org;sites/downloads.ipfire.org/pakfire2/2.21-x86_64;
-----BEGIN PGP SIGNATURE-----

iQIcBAEBCgAGBQJcbkyxAAoJEG/veo7XE1lLJaAP/je/NzhUataLkIbhFsNzk5RE
l67WghMlTCNL8vGWX/kIiIuxriCsHa0iuO1NVYYB5gZvguOR3Hs4XxY5oziBHjzR
yhB6gzA17DeefDBWrbdO3Uos9skhJEwMIcNRIAIR+hkZZdx2KtBlv85VQrl6YDxM
qpra1K46g6ShhtmJUCKn3wzrIt0+6CgKAqqI4kJlkfQEv0u9j68RtiPMRHrT/vII
cwvNuu2zzhg3ZdjkWFBg/yiTVcNWlpvaV/QNXiwwjwDavfAuCTCXWNTkZSudOQPK
iQe0mLF/ZZSboZpN6SvUzHWnKKEqOACmEUnbFHidBKTaQVNm/NswNpLrPnoBB8xX
BawK++b+DN+K98MESxPTC6Gy8T9sDc8HO9Bhvhn5kdD+ht9VsS1g/bcw7s6s01Vl
mNzTBRYHqOgi556BQjTjcndgbAQ2v1KrKdsT17HrEErCe0qPDXpNLzRrmir0cw/Q
wXk8bV/SBf+T96lG6RQVtHIrWWHB0cvmIRsSO5iIWoF3vw/kwA71VSAphrppdlHa
AOf3uoS2T4n9Yfudq17PObq03Z7PCcShQQOCVGF4fFIEGpwwh1yZJpDTL00OnIU9
DAJYb9/7pTF6AuiQHD0pboM+QHxFrqAq4YUBcYMX3dkwWM9/WKHA3G8Dlh3EdT/O
/JDKLHzPjpm1KHD773/d
=Jn6+
-----END PGP SIGNATURE-----
If not pakfire is blocked.
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

daxigua
Posts: 7
Joined: February 21st, 2019, 5:10 am

Re: unable to get addons list and addons parkets

Post by daxigua » February 21st, 2019, 4:40 pm

Yes, that does work!

So, to fix this one would SSH into ipfire and adjust the sources conf file?

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8221
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: unable to get addons list and addons parkets

Post by Arne.F » February 25th, 2019, 8:40 am

I don't think that this will help. Pakfire try nothing else than downloading this file from the url above.

Try
wget https://pakfire.ipfire.org/2.21-x86_64/ ... er-list.db
via ssh on the console.
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

daxigua
Posts: 7
Joined: February 21st, 2019, 5:10 am

Re: unable to get addons list and addons parkets

Post by daxigua » February 26th, 2019, 7:21 am

Ok, I spell out in case this is useful for others;

sudo ssh -p 222 root@10.8.8.1
then typed my password for the computer I was using and Enter
type yes if this is the first time SSH to the warning
10.8.8.1 responds with; root@10.8.8.1's password:
type password, type enter
10.8.8.1 responds with; Last login: xxx
type: wget https://pakfire.ipfire.org/2.21-x86_64/ ... er-list.db

10.8.8.1 responds with;
--2019-02-26 13:22:02-- https://pakfire.ipfire.org/2.21-x86_64/ ... er-list.db
Resolving pakfire.ipfire.org... 81.3.27.38
Connecting to pakfire.ipfire.org|81.3.27.38|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1978 (1.9K)
Saving to: 'server-list.db'

server-list.db 100%[===================>] 1.93K --.-KB/s in 0s

2019-02-26 13:22:04 (71.0 MB/s) - 'server-list.db' saved [1978/1978]

type; pakfire update

10.8.8.1 responds with;

Giving up: There was no chance to get the file "2.21-x86_64/lists/server-list.db" from any available server.
There was an error on the way. Please fix it.

any ideas on what else to check Arne.F or others?

User avatar
Arne.F
Core Developer
Core Developer
Posts: 8221
Joined: May 7th, 2006, 8:57 am
Location: BS <-> NDH
Contact:

Re: unable to get addons list and addons parkets

Post by Arne.F » February 26th, 2019, 10:08 am

Strange. Looks like pearl cannot download or there is a not working upstream proxy configured.
Arne

Support the project on the donation!

Image

Image

Image
PS: I will not answer support questions via email and ignore IPFire related messages on my non IPFire.org mail addresses.

daxigua
Posts: 7
Joined: February 21st, 2019, 5:10 am

Re: unable to get addons list and addons parkets

Post by daxigua » February 28th, 2019, 1:52 am

Indeed, strange and unexpected behaviour.

I am at a loss of what to try except to fully re-install or try out an alternate.

daxigua

rodneyp
Posts: 130
Joined: October 4th, 2010, 2:17 am
Location: Australia

Re: unable to get addons list and addons parkets

Post by rodneyp » February 28th, 2019, 2:51 am

I would be inclined to backup your settings and install core 127. Alternatively core 126, if you want to try to home in on the problem. If re-using an SD card then be aware that it is advisable to first run "SD Formatter", which is explained towards the end of:

https://forum.armbian.com/topic/3776-th ... ment-27413

Post Reply