Frequent Errors - Parcks/core GitHub Wiki

At this page you can find common errors raised by Parcks. Is your error not listed? Then feel free to open an issue.

During the installation proces

ImportError

images/SetupDebian.JPG We have seen this issue while installing Parcks on Debian. You can solve it by installing setuptools: apt install -y python-setuptools.

While running Parcks

PackageInstallationFailureError

PackageInstallationFailure

Possible causes

  • The current user is not in the sudoers file. This is visible in at the first line after the prompt for the sudo password.

NoInstallationFileProvidedError

NoInstallationFileProvidedError This error will be thrown if there is no installation file provided to Parcks. Make sure you called Parcks with the -i installation_file.parcks option.

InvalidInstallationFileExtensionError

InvalidInstallationFileExtensionError Every parcks installation file requires the *.parcks extension. When this requirement is not met, this error will be thrown.

OSError

images/NoSudoCommand.JPG Although the error message is a bit misleading, this has nothing to do with an unexisting file. Note that the last line of the stack trace points to subprocess. This error most of the times means that you don't have sudo installed. You can verify this by typing sudo pwd, when sudo is not installed you will see the following output:

images/sudo.JPG

You can solve this error by installing sudo. (Debian-based: su - ; apt install -y sudo).