[Starlingx-discuss] So many packages are missing
Lin, Shuicheng
shuicheng.lin at intel.com
Fri Aug 10 03:58:24 UTC 2018
Hi Chang,
Yumdownloader will stop download the package if speed is lower than 1K/S.
To work around it, I think you could use ¡°sudo ¨CE yumdownloader ¨CC --url <PACKAGE>¡± to get the url of the package.
Then use wget to download it directly.
To setup the mirror will take some time depends on the network.
But the good news is you just need do it one time. And do incremental downloader later which will be much easier.
Best Regards
Shuicheng
From: liuchang77 at chinaunicom.cn [mailto:liuchang77 at chinaunicom.cn]
Sent: Friday, August 10, 2018 10:16 AM
To: Lin, Shuicheng <shuicheng.lin at intel.com>; Cordoba Malibran, Erich <erich.cordoba.malibran at intel.com>; starlingx-discuss at lists.starlingx.io
Subject: Re: RE: [Starlingx-discuss] So many packages are missing
Hi Shuicheng,
Thanks for your advice.
I can access the links you provided. But the speed is very slow. So I think this is really a problem with my network speed. I work at the carrier, so our network is definitely fine. Maybe the real problem is Chinese firewall.
I spent a few hours to re-run the download package script, and the missing list has not changed. So the only way I can think of now is to use vpn inside the container. But after I tried if, I found that the kernel of the system inside the container does not support pptp. I will keep trying to find another way to solve it.
Thank you very much!
Best Regards
Chang
From: Lin, Shuicheng<mailto:shuicheng.lin at intel.com>
Date: 2018-08-09 16:05
To: liuchang77 at chinaunicom.cn<mailto:liuchang77 at chinaunicom.cn>; Cordoba Malibran, Erich<mailto:erich.cordoba.malibran at intel.com>; starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: RE: [Starlingx-discuss] So many packages are missing
Hi Chang,
I try to check some package in the missing list. Can you access below link for the package?
http://vault.centos.org/7.5.1804/os/Source/SPackages/bash-4.2.46-30.el7.src.rpm
https://s3.amazonaws.com/influxdb/influxdb-0.9.5.1-1.x86_64.rpm
If yes, I think it maybe network speed issue. You could re-run the download package script. And check whether the missing list be shorter or not.
If not, you may need check the networking setting.
Best Regards
Shuicheng
From: liuchang77 at chinaunicom.cn<mailto:liuchang77 at chinaunicom.cn> [mailto:liuchang77 at chinaunicom.cn]
Sent: Thursday, August 9, 2018 3:28 PM
To: Cordoba Malibran, Erich <erich.cordoba.malibran at intel.com<mailto:erich.cordoba.malibran at intel.com>>; starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] So many packages are missing
Thanks£¬Erich£¬
According to your advice, I ran "yum makecache" inside the container. Although it was slow, the task was complete with no error. Attachment 1 is my execution log. And attachment 2 is my missing packages' list. I also think that there are so many missing packages that are not normal. I suspect this is related to Chinese firewall. But I couldn't connect my vpn server in the container. I sincerely hope that you can give me some advice.
Chang
________________________________
Áõ ³©
ÔƼÆËãʵÑéÊÒ
ÖйúÁªºÏÍøÂçͨÐÅÓÐÏÞ¹«Ë¾Ñо¿Ôº
Òƶ¯µç»°:18610741986
µØÖ·:±±¾©ÊÐÒàׯ¾¼Ã¿ª·¢Çø±±»·¶«Â·1ºÅ
From: Cordoba Malibran, Erich<mailto:erich.cordoba.malibran at intel.com>
Date: 2018-08-09 11:28
To: liuchang77 at chinaunicom.cn<mailto:liuchang77 at chinaunicom.cn>; starlingx-discuss at lists.starlingx.io<mailto:starlingx-discuss at lists.starlingx.io>
Subject: Re: [Starlingx-discuss] So many packages are missing
Hi Chang,
You are right, download manually that amount of packages is a painful task. It¡¯s not normal to have so many failures, my guess is that some of the repositories is down or blocked in the network. You can try to identify from where those packages are being downloaded to root cause the problem.
Inside the mirror container you can run ¡°yum makecache¡± to sync the repositories and try to see which repo failed. Also if you can share the list of failed packages we can help to identify what is the problematic repository.
-Erich
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.starlingx.io/pipermail/starlingx-discuss/attachments/20180810/4930b6ab/attachment-0001.html>
More information about the Starlingx-discuss
mailing list