keenerd / packer

Bash wrapper for pacman and AUR.
247 stars 48 forks source link

curl: (33) HTTP server doesn't seem to support byte ranges. Cannot resume. #136

Open preginald opened 9 years ago

preginald commented 9 years ago

I stopped the upgrade of plex-media-server a couple of days back during a 'packer -Syu' command.

Now when I perform 'packer -Syu' packer goes through the motions of making package, checking dependencies and downloading the plexmediaserver...rpm and here is an output.

preginald@xps /e/conf.d> packer -S plex-media-server

Aur Targets    (1): plex-media-server

Proceed with installation? [Y/n] 

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 (Sun Jun  7 10:06:33 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 --:--:--  0:00:01 --:--:--     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.

How can I resume this download and complete the upgrade?

roguh commented 5 years ago

I just encountered this unfortunate bug as well. For anyone looking for a solution, I simply searched for the package in /tmp and then rm'd it:

sudo find /tmp -name plexmediaserver
sudo rm [path_to_package]