anandslab / AtoMiC-ToolKit

AtoMiC Toolkit simplifies HTPC / Home Server setup and management on Ubuntu and Debian variants including Raspbian. It currently supports: Couchpotato, Deluged, Emby, FFmpeg, Headphones, Htpcmanager, Jackett, Kodi, Lazylibrarian, Madsonic, Mono, Mylar, Nzbget, Nzbhydra, NzbToMedia, Ombi, Plex, Plexpy, Pyload, qBittorrent, Radarr, Sabnzbd+, Sickgear, Sickrage, Sonarr, Subsonic, Transmission, Unrar, Watcher, and Webmin.
https://www.smarthomebeginner.com
MIT License
846 stars 116 forks source link

Unrar installation error, checkinstall/installwatch permission denied #300

Open trohnjavolta opened 6 years ago

trohnjavolta commented 6 years ago

Trying to update unrar, it gets built, checkinstall starts then gives me this:

Installing with make install...
========================= Installation results ===========================
/usr/bin/installwatch: line 338: /var/tmp/tmp.VCFXIVpVuX/installscript.sh: Permission denied
****  Installation failed. Aborting package creation.

The script already removed my unrar install, so now I'm stuck with no unrar and cannot install it due to some permission error. Can anyone help me? A dl server without unrar sucks :(

My Linux distribution and version is:

I'm seeing this behaviour on:

I'm not a dummy, so I've checked these!

trohnjavolta commented 6 years ago

Installed it now without checkinstall, just with make and install -D unrar /usr/bin/unrar. Hope I'm fine now. Maybe you could leave the checkinstall part out in the script until this is fixed...or maybe I'm the only one that is affected by this permission error, idk.