You are not logged in.

#1 2015-06-09 03:24:53

preginald
Member
Registered: 2013-04-04
Posts: 7

curl: HTTP server doesn't seem to support byte ranges. Cannot resume

Hi folks a couple of days ago I cancelled (CTRL+C) an AUR update of plex-media-server via packer.

Now everytime I perform  to perform the update I get the following output in relation to completing updating plex-media-server.

:: Starting full aur upgrade...

Aur Targets    (1): plex-media-server

Proceed with installation? [Y/n] y

Edit plex-media-server PKGBUILD with $EDITOR? [Y/n] n
Edit plex-media-server.install with $EDITOR? [Y/n] n
==> Making package: plex-media-server 0.9.12.3.1173-1 (Tue Jun  9 13:19:39 AEST 2015)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found plexmediaserver.conf.d
  -> Found plexmediaserver.service
  -> Found terms.txt
  -> Downloading plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm...
** Resuming transfer from byte position 10002432
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume.
==> ERROR: Failure while downloading plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm
    Aborting...
The build failed.
 local database is up to date

Is there a command to fix any broken update packages? Thanks.

Offline

#2 2015-06-09 03:35:14

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,085

Re: curl: HTTP server doesn't seem to support byte ranges. Cannot resume

Seems pretty straight forward, delete the partially downloaded file.

Offline

#3 2015-06-09 04:27:44

preginald
Member
Registered: 2013-04-04
Posts: 7

Re: curl: HTTP server doesn't seem to support byte ranges. Cannot resume

Scimmia wrote:

Seems pretty straight forward, delete the partially downloaded file.

It seems pretty straight forward but when I look for the "plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm" file it tells me that it's in a folder that I don't have permission to access even as su.

sudo ls -R / | grep plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm

ls: cannot open directory /run/user/1000/gvfs: Permission denied
-rw-r--r-- 1 preginald users 10002432 Jun  5 18:49 plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm.part

This is the permission for the 'gvfs' directory

d????????? ? ?         ?       ?            ? gvfs/

Does anyone know how to find/delete this partially downloaded file?

Offline

#4 2015-06-09 04:40:55

Scimmia
Fellow
Registered: 2012-09-01
Posts: 12,085

Re: curl: HTTP server doesn't seem to support byte ranges. Cannot resume

use find, not ls.

Offline

#5 2015-06-09 05:07:18

preginald
Member
Registered: 2013-04-04
Posts: 7

Re: curl: HTTP server doesn't seem to support byte ranges. Cannot resume

Scimmia wrote:

use find, not ls.

Ok I found it with the 'find'.

sudo find / -name "plexmediaserver*"
/tmp/packerbuild-1000/plex-media-server/plex-media-server/plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm.part

then delete the part file.

sudo rm /tmp/packerbuild-1000/plex-media-server/plex-media-server/plexmediaserver-0.9.12.3.1173-937aac3.x86_64.rpm.part

Now packer has successfully downloaded and installed the update.

thanks

Offline

Board footer

Powered by FluxBB