babolivier / cozy-archlinux

Old Archlinux packaging for Cozy v2
4 stars 0 forks source link

Package conflict: nodejs-lts-bin and nodejs, failing install #12

Open toothstone opened 8 years ago

toothstone commented 8 years ago

On a clean, up-to-date arch I get this package conflict when executing yaourt -S cozy. Choosing nodejs-lts-bin to replace nodejs does not result in a working cozy install: http://pastebin.com/N9GUCgrb

ArchangeGabriel commented 8 years ago

The conflict is known, see https://docs.cozy.io/en/host/install/install-on-archlinux.html.

I think that you might have leftover from previous attempt. Remove cozy package and check whether any thing exists in /usr/lib/node_modules/cozy*.

babolivier commented 8 years ago

Hi @toothstone, The package conflict is caused by yaourt not taking into account dependencies order. That way, it installs the nodejs official package because the coffee-script one depends on it, and only after it installs the nodejs-lts-bin one. Once you chose to replace the official one by the LTS one, it should be all right, so I don't think that's why the problem happen. This is due to a recent change, and I didn't find time to update the doc on that yet.

Can you please do a node -v to be sure (and paste the result here)? Also, please tell me if there's any file in the /usr/local/var/log/cozy/ directory.

babolivier commented 8 years ago

Lastly, as it seems like the Controller didn't start correctly, can you please run manually sudo cozy-controller and paste the output here?