LaSi icon indicating copy to clipboard operation
LaSi copied to clipboard

Permission Denied on FreeNAS Ubuntu jail

Open hazcod opened this issue 11 years ago • 0 comments

Using Ubuntu 13.04 jail on Freenas. Added 127.0.0.1 jailhostname to /etc/hosts. Running as root and executing sudo ./LaSi.sh Error when trying to install Sabnzbd;

Are you sure you want to continue and install Sabnzbdplus?
[yes/no]: yes


Packagelist is up to date
Checking for newest version...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 isc-dhcp-client : Depends: isc-dhcp-common (= 4.2.4-5ubuntu2) but 4.2.4-5ubuntu2.1 is to be installed
 sabnzbdplus : Depends: python-cheetah (>= 2.0.1) but it is not going to be installed
               Depends: python-configobj but it is not going to be installed
               Depends: python-feedparser but it is not going to be installed
               Depends: sabnzbdplus-theme-plush (= 0.7.17~beta3-0ubuntu1~jcfp1~raring) but it is not going to be installed
               Recommends: python-yenc (>= 0.3) but it is not going to be installed
               Recommends: unzip but it is not going to be installed
               Recommends: par2 (>= 0.4) but it is not going to be installed
               Recommends: unrar (>= 1:3.8.0) but it is not going to be installed or
                           rar (>= 1:3.8.0) but it is not going to be installed
               Recommends: sabnzbdplus-theme-classic but it is not going to be installed
               Recommends: sabnzbdplus-theme-smpl but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

Solving dependencys...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  isc-dhcp-client
Suggested packages:
  avahi-autoipd
The following packages will be upgraded:
  isc-dhcp-client
1 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
87 not fully installed or removed.
Need to get 0 B/775 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 54962 files and directories currently installed.)
Preparing to replace isc-dhcp-client 4.2.4-5ubuntu2 (using .../isc-dhcp-client_4.2.4-5ubuntu2.1_i386.deb) ...
Unpacking replacement isc-dhcp-client ...
dpkg: error processing /var/cache/apt/archives/isc-dhcp-client_4.2.4-5ubuntu2.1_i386.deb (--unpack):
 trying to overwrite '/var/run', which is also in package base-files 6.12ubuntu2
Processing triggers for man-db ...
fopen: Permission denied
Errors were encountered while processing:
 /var/cache/apt/archives/isc-dhcp-client_4.2.4-5ubuntu2.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)```

hazcod avatar Apr 08 '14 10:04 hazcod