You are not logged in.
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
Seems pretty straight forward, delete the partially downloaded file.
Offline
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
use find, not ls.
Offline
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