Solved Iocage fails fetch

Trying to use sysutils/iocage for the first time on my system, and it fails when I run iocage fetch. Here is the result:
Code:
root@Kranov:/iocage # iocage fetch
Supported releases are:
  10.2-RELEASE
  9.3-RELEASE
Please select a release [10.2-RELEASE]:
cd: /iocage/download/10.2-RELEASE: No such file or directory
base.txz  100% of  64 MB  987 kBps 01m06s
doc.txz  100% of 1398 kB  247 kBps 00m05s
lib32.txz  100% of  16 MB  582 kBps 00m28s
src.txz  100% of  118 MB 1128 kBps 01m47s
Extracting: base.txz
chflags: /iocage/releases/10.2-RELEASE/root: No such file or directory
tar: could not chdir to '/iocage/releases/10.2-RELEASE/root'

Extracting: doc.txz
chflags: /iocage/releases/10.2-RELEASE/root: No such file or directory
tar: could not chdir to '/iocage/releases/10.2-RELEASE/root'

Extracting: lib32.txz
chflags: /iocage/releases/10.2-RELEASE/root: No such file or directory
tar: could not chdir to '/iocage/releases/10.2-RELEASE/root'

Extracting: src.txz
chflags: /iocage/releases/10.2-RELEASE/root: No such file or directory
tar: could not chdir to '/iocage/releases/10.2-RELEASE/root'

* Updating base jail..

Creating basejail ZFS datasets... please wait.
tar: could not chdir to '/iocage/releases/10.2-RELEASE/root'

ln: chown: File exists
Failed to build new tree.

Any ideas?
 
Last edited by a moderator:
You probably don't have a /iocage directory?
 
That's weird. Here is the same command on a just installed system.
Code:
# iocage fetch
  INFO: Creating zroot/iocage
  INFO: Creating zroot/iocage/jails
  INFO: Creating zroot/iocage/.defaults
  INFO: Creating zroot/iocage/download
  INFO: Creating zroot/iocage/releases
Supported releases are:
  10.2-RELEASE
  9.3-RELEASE
Please select a release [-]: 10.2-RELEASE
--- SNIP ---
src component not installed, skipped
Installing updates... done.

Creating basejail ZFS datasets... please wait.
You can see iocage(8) creating the needed datasets and I do not see it in your case. I guess it is at the origin of your problem. May be something went wrong at some point and you should restart from scratch with iocage clean -a (from iocage(8) : this removes the ZFS datasets associated with the flag called. The -a switch will destroy everything associated with iocage) and try again. Sorry I can't help you more.
 
Back
Top