puzrin / lbprint

Other
32 stars 1 forks source link

Can't install Ubuntu 20.04 #4

Closed jpmeijers closed 1 year ago

jpmeijers commented 3 years ago

Running the first step in the installation process results in an error:

$ sudo apt-get install imagemagick build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
build-essential is already the newest version (12.8ubuntu1.1).
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libcairo2-dev : Depends: libglib2.0-dev but it is not going to be installed
 libpango1.0-dev : Depends: libglib2.0-dev (>= 2.59.2) but it is not going to be installed
                   Depends: libharfbuzz-dev (>= 2.0.0) but it is not going to be installed
 librsvg2-dev : Depends: libgdk-pixbuf2.0-dev (>= 2.23.5-2) but it is not going to be installed
                Depends: libglib2.0-dev (>= 2.50.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

I can't seem to find the proper steps to get a version of cairo that wants to install.

puzrin commented 3 years ago

Sorry, it's better to ask here about system packages https://github.com/Automattic/node-canvas

Also, use node.js v12, because canvas sucks with v14 & v16.

puzrin commented 1 year ago

1.0.0 should just work. Switched to skr canvas and simplified install.