Re: pacman doesn't show download progress

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 08/17/2017 02:23 PM, SET wrote:
> Le jeudi 17 août 2017 06:46:37 CEST Darshit Shah via arch-general a écrit :
> 
>> No, right next to the packages, in the package cache
>> (/var/cache/pacman/pkg by default)
> 
> Though the problem is resolved by choosing another mirror, here is a sample 
> log file : oxygen-icons-1:5.37.0-1-any.pkg.tar.xz.part.log 
> 
>   HTTP/1.1 200 OK
>   Server: nginx/1.6.2
>   Date: Thu, 17 Aug 2017 18:14:56 GMT
>   Content-Type: application/octet-stream
>   X-Varnish: 537330300
>   Age: 0
>   Via: 1.1 varnish-v4
>   Transfer-Encoding: chunked
>   Accept-Ranges: bytes
>   X-IPLB-Instance: 5865
> 
> I don't know how to understand it.

Well, look at this:

```
[eschwartz@arch ~]$ pacman -Sp linux
http://archlinux.mirrors.ovh.net/archlinux/testing/os/i686/linux-4.12.7-1-i686.pkg.tar.xz
[eschwartz@arch ~]$ wget -P /tmp/
http://archlinux.mirrors.ovh.net/archlinux/testing/os/i686/linux-4.12.7-1-i686.pkg.tar.xz
--2017-08-17 14:31:17--
http://archlinux.mirrors.ovh.net/archlinux/testing/os/i686/linux-4.12.7-1-i686.pkg.tar.xz
Resolving archlinux.mirrors.ovh.net... 213.32.5.7,
2001:41d0:202:100:213:32:5:7
Connecting to archlinux.mirrors.ovh.net|213.32.5.7|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [application/octet-stream]
Saving to: ‘/tmp/linux-4.12.7-1-i686.pkg.tar.xz’

linux-4.12.7-1-i686.pkg.tar.xz              [       <=>
                                                  ]   1.37M   912KB/s

```

Length is unspecified, and wget does its <=> slidy-back-and-forth thing.
And it seems pacman just gives up on showing progress information and
instead shows nothing (which isn't unreasonable).

As for your log, that's just the HTTP headers, something you can also
see with curl -I http://...

Notice how the Content-Length: header is missing.

-- 
Eli Schwartz

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux