You are not logged in.

#1 2016-03-05 22:23

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,993

Dependency issue

I have created an installer and set up a clean installation for testing, and found the installer fails if there are unmet dependencies, is it possible to get the installer to also install dependencies? I have listed them in the PK_DEPENDS which is why the installation fails, but I thought it would get them if available... Would I need to create CUSTOMHOOK_PRERUN_SCRIPT and use that to check for and install dependencies?

Dai

Offline

#2 2016-03-06 21:30

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,516
Website

Re: Dependency issue

Installer will try to satisfy all dependencies listed in PK_DEPENDS, the same way as 'apt-get' command. If there are some dependencies unavailable, installer will refuse installation and report a dependencies error.

Offline

#3 2016-03-06 21:38

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,993

Re: Dependency issue

Well that's an odd one, I will investigate further, but I have included the package in PK_DEPENDS and it knows that it is required, but I have to run

sudo apt-get -f install 

to get dependencies actually installed...

Offline

#4 2016-03-06 21:42

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,516
Website

Re: Dependency issue

You can attach your 'installer.cfg' here or send it to support@q4os.org , we will check it in action.

Offline

#5 2016-03-06 21:52

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,516
Website

Re: Dependency issue

There is also 'SETUP_TYPE' parameter in 'installer.cfg', it should be set to '2' to check all dependencies, see 'q4os_setup.cfg.sample'

Offline

#6 2016-03-06 22:05

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,993

Re: Dependency issue

That's what I was missing! thank you, I just ran a test and it all worked smile

Offline

Board footer

Powered by FluxBB