Re: [gentoo-user] downloading remote eix data file
On 05/29/2016 01:16 AM, Andrew Savchenko wrote: eix-remote update works fine here, http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 is also available via any tool (e.g. wget). Maybe it was a temporary server glitch or some provider issues. However, eix-remote update2 fails for me for a long time (over a year, I guess). Best regards, Andrew Savchenko This time I tried, it worked for me too. I really don't know what was changed though. Thanks :)
Re: [gentoo-user] downloading remote eix data file
On Mon, 23 May 2016 15:57:35 +0300 Thanasis wrote: > On 05/23/2016 03:39 PM, Neil Bothwick wrote: > > > > > The other question is: why are you using wget when eix already has the > > facility to download and import this file built in. > > > > > Hmmm, I suspect, that *should* be the reason why it fails for me ... > However, I don't remember having specified the use *wget* somewhere ... > > /etc/eixrc/00-eixrc has everything commented out... > > So, I run the following to get a log and here is how it goes ... > -- > eix-remote update 2>&1 |tee log eix-remote update works fine here, http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 is also available via any tool (e.g. wget). Maybe it was a temporary server glitch or some provider issues. However, eix-remote update2 fails for me for a long time (over a year, I guess). Best regards, Andrew Savchenko pgp8WzywMzqRm.pgp Description: PGP signature
Re: [gentoo-user] downloading remote eix data file
On 05/23/2016 03:39 PM, Neil Bothwick wrote: The other question is: why are you using wget when eix already has the facility to download and import this file built in. Hmmm, I suspect, that *should* be the reason why it fails for me ... However, I don't remember having specified the use *wget* somewhere ... /etc/eixrc/00-eixrc has everything commented out... So, I run the following to get a log and here is how it goes ... -- eix-remote update 2>&1 |tee log --2016-05-23 15:47:57-- http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 Resolving gpo.zugaina.org... 176.31.182.181 Connecting to gpo.zugaina.org|176.31.182.181|:80... connected. HTTP request sent, awaiting response... 200 OK Length: 3960739 (3.8M) [text/plain] The sizes do not match (local 2150704) -- retrieving. --2016-05-23 15:47:58-- http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 Reusing existing connection to gpo.zugaina.org:80. HTTP request sent, awaiting response... 200 OK Length: 3960739 (3.8M) [text/plain] Saving to: ‘eix-cache.tbz2’ 0K .. .. .. .. .. 1% 31.8K 2m0s 50K .. ... 1% 9.75K=3.3s 2016-05-23 15:48:02 (20.2 KB/s) - Read error at byte 68762/3960739 (Success). Retrying. --2016-05-23 15:48:03-- (try: 2) http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 Connecting to gpo.zugaina.org|176.31.182.181|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 3960739 (3.8M), 3891977 (3.7M) remaining [text/plain] Saving to: ‘eix-cache.tbz2’ [ skipping 50K ] 50K ,, ,,,... .. ...2% 24.2K=0.7s 2016-05-23 15:48:05 (24.2 KB/s) - Read error at byte 85649/3960739 (Success). Retrying. --2016-05-23 15:48:07-- (try: 3) http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 Connecting to gpo.zugaina.org|176.31.182.181|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 3960739 (3.8M), 3875090 (3.7M) remaining [text/plain] Saving to: ‘eix-cache.tbz2’ [ skipping 50K ] 50K ,, ,, ,, ,,,... .. 2% 67.1K 2m52s 100K 2% 253G=0.7s 2016-05-23 15:48:10 (22.1 KB/s) - Read error at byte 102536/3960739 (Success). Retrying.until it *fails* at the end like so: Connecting to gpo.zugaina.org|176.31.182.181|:80... connected. HTTP request sent, awaiting response... 206 Partial Content Length: 3960739 (3.8M), 2608830 (2.5M) remaining [text/plain] Saving to: ‘eix-cache.tbz2’ [ skipping 1300K ] 1300K ,, ,, .. .. .. 34% 50.2K 84s 1350K .. .. .. .. .. 36% 29.0K 84s 1400K .. .. 36% 10.7K=3.9s 2016-05-23 15:51:51 (23.7 KB/s) - Read error at byte 1446554/3960739 (Success). Giving up. * failed: wget -N -- http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 -- and *ps* shows the following: ps -ef |grep eix portage 13839 1681 0 15:47 pts/100:00:00 /bin/sh /usr/bin/eix-remote -K update portage 13860 13839 0 15:47 pts/100:00:00 /bin/sh /usr/bin/eix-remote -K update portage 13861 13860 0 15:47 pts/100:00:00 wget -N -- http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 root 14062 1702 0 15:50 pts/200:00:00 grep --color=auto eix
Re: [gentoo-user] downloading remote eix data file
On Mon, 23 May 2016 15:08:35 +0300, Thanasis wrote: > On 05/23/2016 12:49 PM, Neil Bothwick wrote: > > On Mon, 23 May 2016 09:32:14 +0100, Neil Bothwick wrote: > > > >>> wget -N http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 > >>> > >>> But the command fails, and it looks like the file eix-cache.tbz2, > >>> which > >>> is downloaded, is either empty or corrupt. > >>> > >>> Any one else faced/facing the same problem? > >> > >> "eix - q remote" still works here. > > > > Sorry, copying commands on a mobile while distracted is never a good > > idea. That should be > > > > eix-remote -q update > > > > > > Can you check what file gets downloaded in your case, because it fails > here: > > # eix-remote -q update > > * failed: wget -N --no-verbose -- > http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 So the same as yours. So either it's a problem with routing from you to the server or there's some sort of user-agent checking to stop people randomly using wget ;-) No, it's not that, wget worked from here. The other question is: why are you using wget when eix already has the facility to download and import this file built in. -- Neil Bothwick I am Speedy Gonzales of Borg: Prepare to be accelerated! pgpWl24p38Vk9.pgp Description: OpenPGP digital signature
Re: [gentoo-user] downloading remote eix data file
On 05/23/2016 12:49 PM, Neil Bothwick wrote: On Mon, 23 May 2016 09:32:14 +0100, Neil Bothwick wrote: wget -N http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 But the command fails, and it looks like the file eix-cache.tbz2, which is downloaded, is either empty or corrupt. Any one else faced/facing the same problem? "eix - q remote" still works here. Sorry, copying commands on a mobile while distracted is never a good idea. That should be eix-remote -q update Can you check what file gets downloaded in your case, because it fails here: # eix-remote -q update * failed: wget -N --no-verbose -- http://gpo.zugaina.org/eix_cache/eix-cache.tbz2
Re: [gentoo-user] downloading remote eix data file
On Mon, 23 May 2016 09:32:14 +0100, Neil Bothwick wrote: > > wget -N http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 > > > > But the command fails, and it looks like the file eix-cache.tbz2, > > which > > is downloaded, is either empty or corrupt. > > > > Any one else faced/facing the same problem? > > "eix - q remote" still works here. Sorry, copying commands on a mobile while distracted is never a good idea. That should be eix-remote -q update -- Neil Bothwick But I thought YOU did the backups... pgpAloV5IudJX.pgp Description: OpenPGP digital signature
Re: [gentoo-user] downloading remote eix data file
On 23 May 2016 08:33:34 BST, Thanasis wrote: > I have a script that runs daily as a cron job, which among others, has > > the following command in it, in order to update locally the (remote) > eix > database. > > wget -N http://gpo.zugaina.org/eix_cache/eix-cache.tbz2 > > But the command fails, and it looks like the file eix-cache.tbz2, > which > is downloaded, is either empty or corrupt. > > Any one else faced/facing the same problem? "eix - q remote" still works here. -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.