node-mapnik armhf xenial npm

Asked by Nicoali

Is it possible to compile node-mapnik on ubuntu 16.04 of a raspberrypi?
I tryed.to use your deb file armhf but fails to install

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu node-mapnik Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What is the output of:

sudo apt-get install node-mapnik

Thanks

Revision history for this message
Nicoali (nicoaliotta) said :
#2

sudo dpkg -i node-mapnik_3.5.12+dfsg-1_armhf.deb
[sudo] password for carto:
(Reading database ... 198884 files and directories currently
installed.)Preparing to unpack node-mapnik_3.5.12+dfsg-1_armhf.deb ...
Unpacking node-mapnik (3.5.12+dfsg-1) over (3.5.12+dfsg-1) ...
dpkg: dependency problems prevent configuration of node-mapnik:
 node-mapnik depends on node-pre-gyp; however:
  Package node-pre-gyp is not configured yet.

If you tell me the ppa name i'll add to raspberry and i'll do sudo spt-get
install

dpkg: error processing package node-mapnik (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 node-mapnik
carto@carto-desktop:~/Windshaft-cartodb$

Il mercoledì 26 ottobre 2016, actionparsnip <
<email address hidden>> ha scritto:

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the output of:
>
> sudo apt-get install node-mapnik
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
Nicoali (nicoaliotta) said :
#3

Welcome to Ubuntu 16.04.1 LTS (GNU/Linux 4.1.19-v7+ armv7l)

 * Documentation: https://help.ubuntu.com
 * Management: https://landscape.canonical.com
 * Support: https://ubuntu.com/advantage

6 packages can be updated.
0 updates are security updates.

carto@carto-desktop:~$ sudo apt-get install node-mapnik
[sudo] password for carto:
Reading package lists... Done
Building dependency tree
Reading state information... Done
node-mapnik is already the newest version (3.5.12+dfsg-1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 node-pre-gyp : Depends: node-rc but it is not installable
                Depends: node-tar-pack but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
carto@carto-desktop:~$

Il mercoledì 26 ottobre 2016, Nico Aliotta <email address hidden> ha
scritto:

> sudo dpkg -i node-mapnik_3.5.12+dfsg-1_armhf.deb
> [sudo] password for carto:
> (Reading database ... 198884 files and directories currently
> installed.)Preparing to unpack node-mapnik_3.5.12+dfsg-1_armhf.deb ...
> Unpacking node-mapnik (3.5.12+dfsg-1) over (3.5.12+dfsg-1) ...
> dpkg: dependency problems prevent configuration of node-mapnik:
> node-mapnik depends on node-pre-gyp; however:
> Package node-pre-gyp is not configured yet.
>
>
> If you tell me the ppa name i'll add to raspberry and i'll do sudo spt-get
> install
>
>
> dpkg: error processing package node-mapnik (--install):
> dependency problems - leaving unconfigured
> Processing triggers for man-db (2.7.5-1) ...
> Errors were encountered while processing:
> node-mapnik
> carto@carto-desktop:~/Windshaft-cartodb$
>
>
>
> Il mercoledì 26 ottobre 2016, actionparsnip <question403512@answers.
> launchpad.net
> <javascript:_e(%7B%7D,'cvml','<email address hidden>');>>
> ha scritto:
>
>> Your question #403512 on node-mapnik in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>>
>> Status: Open => Needs information
>>
>> actionparsnip requested more information:
>> What is the output of:
>>
>> sudo apt-get install node-mapnik
>>
>> Thanks
>>
>> --
>> To answer this request for more information, you can either reply to
>> this email or enter your reply at the following page:
>> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>>
>> You received this question notification because you asked the question.
>>
>

Revision history for this message
Nicoali (nicoaliotta) said :
#4

carto@carto-desktop:~$ sudo apt-get install node-mapnik
[sudo] password for carto:
Sorry, try again.
[sudo] password for carto:
Reading package lists... Done
Building dependency tree
Reading state information... Done
node-mapnik is already the newest version (3.5.12+dfsg-1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 node-pre-gyp : Depends: node-rc but it is not installable
                Depends: node-tar-pack but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
carto@carto-desktop:~$ apt-get -f install
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
carto@carto-desktop:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb dpkg-repack gir1.2-json-1.0
  gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 libdebian-installer4
  libparted-fs-resize0 libtimezonemap-data libtimezonemap1 os-prober
  python3-icu python3-pam rdate
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  node-mapnik node-pre-gyp
0 upgraded, 0 newly installed, 2 to remove and 4 not upgraded.
2 not fully installed or removed.
After this operation, 1,587 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 198883 files and directories currently installed.)Removing node-mapnik (3.5.12+dfsg-1) ...
Removing node-pre-gyp (0.6.25-2~xenial0) ...
Processing triggers for man-db (2.7.5-1) ...
carto@carto-desktop:~$

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

What is the output of:

apt-cache policy node-mapnik node-tar-pack node-pre-gyp

Thanks

Revision history for this message
Nicoali (nicoaliotta) said :
#6

carto@carto-desktop:~$ apt cache policy node-mapnik node-mapnik node-pre-gyp
E: Invalid operation cache
carto@carto-desktop:~

But i clsed terminal before, it'a problem? I have to re do everything ?

Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the output of:
>
> apt-cache policy node-mapnik node-tar-pack node-pre-gyp
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
Nicoali (nicoaliotta) said :
#7

carto@carto-desktop:~$ apt cache policy node-mapnik node-mapnik node-pre-gyp
E: Invalid operation cache
carto@carto-desktop:~

But i clsed terminal before, it'a problem? I have to re do everything

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What is the output of:
>
> apt-cache policy node-mapnik node-tar-pack node-pre-gyp
>
> Thanks
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

Sorry, my mistake

apt-cache policy node-mapnik node-mapnik node-pre-gyp

Thanks

Revision history for this message
Nicoali (nicoaliotta) said :
#9

I did another time all to be sure.
This is the log:

carto@carto-desktop:~/Windshaft-cartodb$ sudo apt-get install node-mapnik
Reading package lists... Done
Building dependency tree
Reading state information... Done
node-mapnik is already the newest version (3.5.12+dfsg-1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 node-mapnik : Depends: node-pre-gyp but it is not installable
               Recommends: node-carto but it is not going to be installed
               Recommends: node-srs but it is not going to be installed
               Recommends: node-zipfile but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
carto@carto-desktop:~/Windshaft-cartodb$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer
required:
  apt-clone archdetect-deb dpkg-repack gir1.2-json-1.0
  gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 libdebian-installer4
  libparted-fs-resize0 libtimezonemap-data libtimezonemap1 os-prober
  python3-icu python3-pam rdate
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  node-mapnik
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 1,469 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 198847 files and directories currently
installed.)Removing node-mapnik (3.5.12+dfsg-1) ...
Processing triggers for man-db (2.7.5-1) ...
carto@carto-desktop:~/Windshaft-cartodb$ apt-cache policy node-mapnik
node-tar-pack node-pre-gyp
N: Unable to locate package node-mapnik
N: Unable to locate package node-tar-pack
N: Unable to locate package node-pre-gyp
carto@carto-desktop:~/Windshaft-cartodb$

Revision history for this message
Nicoali (nicoaliotta) said :
#10

Ok finally this is the log sorry. I'm in ssh with a smartphone ...

carto@carto-desktop:~$ apt cache policy node-mapnik node-tar-pack
node-pre-gyp
E: Invalid operation cache
carto@carto-desktop:~$ sudo dpkg -i node-mapnik_3.5.12+dfsg-1_armhf.deb
[sudo] password for carto:
dpkg: error processing archive node-mapnik_3.5.12+dfsg-1_armhf.deb
(--install):
 cannot access archive: No such file or directory
Errors were encountered while processing:
 node-mapnik_3.5.12+dfsg-1_armhf.deb
carto@carto-desktop:~$ cd Windshaft-cartodb
carto@carto-desktop:~/Windshaft-cartodb$ sudo dpkg -i
node-mapnik_3.5.12+dfsg-1_armhf.deb
Selecting previously unselected package node-mapnik.
(Reading database ... 198825 files and directories currently
installed.)Preparing to unpack node-mapnik_3.5.12+dfsg-1_armhf.deb ...
Unpacking node-mapnik (3.5.12+dfsg-1) ...
dpkg: dependency problems prevent configuration of node-mapnik:
 node-mapnik depends on node-pre-gyp; however:
  Package node-pre-gyp is not installed.

dpkg: error processing package node-mapnik (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 node-mapnik
carto@carto-desktop:~/Windshaft-cartodb$ sudo apt-get install node-mapnik
Reading package lists... Done
Building dependency tree
Reading state information... Done
node-mapnik is already the newest version (3.5.12+dfsg-1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 node-mapnik : Depends: node-pre-gyp but it is not installable
               Recommends: node-carto but it is not going to be installed
               Recommends: node-srs but it is not going to be installed
               Recommends: node-zipfile but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
carto@carto-desktop:~/Windshaft-cartodb$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer
required:
  apt-clone archdetect-deb dpkg-repack gir1.2-json-1.0
  gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 libdebian-installer4
  libparted-fs-resize0 libtimezonemap-data libtimezonemap1 os-prober
  python3-icu python3-pam rdate
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  node-mapnik
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 1,469 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 198847 files and directories currently
installed.)Removing node-mapnik (3.5.12+dfsg-1) ...
Processing triggers for man-db (2.7.5-1) ...
carto@carto-desktop:~/Windshaft-cartodb$ apt-cache policy node-mapnik
node-tar-pack node-pre-gyp
N: Unable to locate package node-mapnik
N: Unable to locate package node-tar-pack
N: Unable to locate package node-pre-gyp
carto@carto-desktop:~/Windshaft-cartodb$ Welcome to Ubuntu 16.04.1 LTS
(GNU/Linux 4.1.19-v7+ armv7l)
-bash: syntax error near unexpected token `('
carto@carto-desktop:~/Windshaft-cartodb$
carto@carto-desktop:~/Windshaft-cartodb$ * Documentation:
https://help.ubuntu.com
12+dfsg-1) ...
dpkg: dependency problems prevent configuration of node-mapnik:
 node-mapnik depends on node-pre-gyp; however:
  Package node-pre-gyp is not installed.

dpkg: error processing package node-mapnik (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 node-mapnik
carto@carto-desktop:~/Windshaft-cartodb$ sudo apt-get install node-mapnik
Reading package lists... Done
Building dependency tree
Reading state information... Done
node-mapnik is already the newest version (3.5.12+dfsg-1).
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 node-mapnik : Depends: node-pre-gyp but it is not installable
               Recommends: node-carto but it is not going to be installed
               Recommends: node-srs but it is not going to be installed
               Recommends: node-zipfile but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
specify a solution).
carto@carto-desktop:~/Windshaft-cartodb$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer
required:
  apt-clone archdetect-deb dpkg-repack gir1.2-json-1.0
  gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 libdebian-installer4
  libparted-fs-resize0 libtimezonemap-data libtimezonemap1 os-prober
  python3-icu python3-pam rdate
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  node-mapnik
0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
1 not fully installed or removed.
After this operation, 1,469 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 198847 files and directories currently
installed.)Removing node-mapnik (3.5.12+dfsg-1) ...
Processing triggers for man-db (2.7.5-1) ...
carto@carto-desktop:~/Windshaft-cartodb$ apt-cache policy node-mapnik
node-tar-pack node-pre-gyp
N: Unable to locate package node-mapnik
N: Unable to locate package node-tar-pack
N: Unable to locate package node-pre-gyp
carto@carto-desktop:~/Windshaft-cartodb$app.js: command not found
carto@carto-desktop:~/Windshaft-cartodb$ * Management:
https://landscape.canonical.com
app.js: command not found
carto@carto-desktop:~/Windshaft-cartodb$ * Support:
https://ubuntu.com/advantage
app.js: command not found
carto@carto-desktop:~/Windshaft-cartodb$
carto@carto-desktop:~/Windshaft-cartodb$ 6 packages can be updated.
6: command not found
carto@carto-desktop:~/Windshaft-cartodb$ 0 updates are security updates.0:
command not found
carto@carto-desktop:~/Windshaft-cartodb$
carto@carto-desktop:~/Windshaft-cartodb$ Last login: Wed Oct 26 13:41:30
2016 from 151.35.71.136
No command 'Last' found, did you mean:
 Command 'ast' from package 'jruby' (universe)
 Command 'last' from package 'util-linux' (main)
 Command 'nast' from package 'nast' (universe)
Last: command not found
carto@carto-desktop:~/Windshaft-cartodb$ carto@carto-desktop:~$ apt cache
policy node-mapnik node-tar-pack node-pre-gyp
carto@carto-desktop:~$: command not found
carto@carto-desktop:~/Windshaft-cartodb$ E: Invalid operation cache
E:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ carto@carto-desktop:~$ sudo dpkg
-i node-mapnik_3.5.12+dfsg-1_armhf.deb [sudo] password for carto:
carto@carto-desktop:~$: command not found
carto@carto-desktop:~/Windshaft-cartodb$ dpkg: error processing archive
node-mapnik_3.5.12+dfsg-1_armhf.deb (--install):
-bash: syntax error near unexpected token `('
carto@carto-desktop:~/Windshaft-cartodb$ cannot access archive: No such
file or directory
cannot: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Errors were encountered while
processing:
Errors: command not found
carto@carto-desktop:~/Windshaft-cartodb$
 node-mapnik_3.5.12+dfsg-1_armhf.deb
node-mapnik_3.5.12+dfsg-1_armhf.deb: command not found
carto@carto-desktop:~/Windshaft-cartodb$ carto@carto-desktop:~$ cd
Windshaft-cartodb
carto@carto-desktop:~/Windshaft-cartodb$
sudo dpkg -i node-mapnik_3.5.12+dfsg-1_armhf.deb
carto@carto-desktop:~$: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Selecting previously unselected
package node-mapnik.
Selecting: command not found
carto@carto-desktop:~/Windshaft-cartodb$ (Reading database ... 198825 files
and directories currently installed.)Preparing to unpack
node-mapnik_3.5.12+dfsg-1_armhf.deb ...
-bash: syntax error near unexpected token `Preparing'
carto@carto-desktop:~/Windshaft-cartodb$ Unpacking node-mapnik
(3.5.12+dfsg-1) ...
-bash: syntax error near unexpected token `('
carto@carto-desktop:~/Windshaft-cartodb$ dpkg: dependency problems prevent
configuration of node-mapnik:
No command 'dpkg:' found, did you mean:
 Command 'dpkg' from package 'dpkg' (main)
dpkg:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ node-mapnik depends on
node-pre-gyp; however:
node-mapnik: command not found
however:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Package node-pre-gyp is not
installed.
No command 'Package' found, did you mean:
 Command 'package' from package 'mailagent' (universe)
Package: command not found
carto@carto-desktop:~/Windshaft-cartodb$
carto@carto-desktop:~/Windshaft-cartodb$ dpkg: error processing package
node-mapnik (--install):
-bash: syntax error near unexpected token `('
carto@carto-desktop:~/Windshaft-cartodb$ dependency problems - leaving
unconfigured
dependency: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Processing triggers for man-db
(2.7.5-1) ...
-bash: syntax error near unexpected token `('
carto@carto-desktop:~/Windshaft-cartodb$ Errors were encountered while
processing:
Errors: command not found
carto@carto-desktop:~/Windshaft-cartodb$ node-mapnik
node-mapnik: command not found
carto@carto-desktop:~/Windshaft-cartodb$
carto@carto-desktop:~/Windshaft-cartodb$
sudo apt-get install node-mapnik
-bash: carto@carto-desktop:~/Windshaft-cartodb$: No such file or directory
carto@carto-desktop:~/Windshaft-cartodb$ Reading package lists... Done
Reading: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Building dependency tree
Building: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Reading state information... Done
Reading: command not found
carto@carto-desktop:~/Windshaft-cartodb$ node-mapnik is already the newest
version (3.5.12+dfsg-1).
-bash: syntax error near unexpected token `('
carto@carto-desktop:~/Windshaft-cartodb$ You might want to run 'apt-get -f
install' to correct these:
You: command not found
carto@carto-desktop:~/Windshaft-cartodb$ The following packages have unmet
dependencies:
No command 'The' found, did you mean:
 Command 'the' from package 'the' (universe)
The: command not found
carto@carto-desktop:~/Windshaft-cartodb$ node-mapnik : Depends:
node-pre-gyp but it is not installable
node-mapnik: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Recommends:
node-carto but it is not going to be installed
Recommends:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Recommends:
node-srs but it is not going to be installed
Recommends:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Recommends:
node-zipfile but it is not going to be installed
Recommends:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ E: Unmet dependencies. Try
'apt-get -f install' with no packages (or specify a solution).
-bash: syntax error near unexpected token `('
carto@carto-desktop:~/Windshaft-cartodb$
carto@carto-desktop:~/Windshaft-cartodb$
sudo apt-get -f install
-bash: carto@carto-desktop:~/Windshaft-cartodb$: No such file or directory
carto@carto-desktop:~/Windshaft-cartodb$ Reading package lists... Done
Reading: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Building dependency tree
Building: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Reading state information... Done
Reading: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Correcting dependencies...
DoneCorrecting: command not found
carto@carto-desktop:~/Windshaft-cartodb$ The following packages were
automatically installed and are no longer required:
No command 'The' found, did you mean:
 Command 'the' from package 'the' (universe)
The: command not found
carto@carto-desktop:~/Windshaft-cartodb$ apt-clone archdetect-deb
dpkg-repack gir1.2-json-1.0
usage: apt-clone [-h] [--debug]
                 {info,clone,restore,restore-new-distro,show-diff} ...
apt-clone: error: invalid choice: 'archdetect-deb' (choose from 'info',
'clone', 'restore', 'restore-new-distro', 'show-diff')
carto@carto-desktop:~/Windshaft-cartodb$ gir1.2-timezonemap-1.0
gir1.2-xkl-1.0 libdebian-installer4
gir1.2-timezonemap-1.0: command not found
carto@carto-desktop:~/Windshaft-cartodb$ libparted-fs-resize0
libtimezonemap-data libtimezonemap1 os-prober
libparted-fs-resize0: command not found
carto@carto-desktop:~/Windshaft-cartodb$ python3-icu python3-pam
rdatepython3-icu: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Use 'sudo apt autoremove' to
remove them.
No command 'Use' found, did you mean:
 Command 'nse' from package 'ns2' (universe)
Use: command not found
carto@carto-desktop:~/Windshaft-cartodb$ The following packages will be
REMOVED:
No command 'The' found, did you mean:
 Command 'the' from package 'the' (universe)
The: command not found
carto@carto-desktop:~/Windshaft-cartodb$ node-mapnik
node-mapnik: command not found
carto@carto-desktop:~/Windshaft-cartodb$ 0 upgraded, 0 newly installed, 1
to remove and 4 not upgraded.
0: command not found
carto@carto-desktop:~/Windshaft-cartodb$ 1 not fully installed or removed.
1: command not found
carto@carto-desktop:~/Windshaft-cartodb$ After this operation, 1,469 kB
disk space will be freed.
After: command not found
carto@carto-desktop:~/Windshaft-cartodb$ Do you want to continue? [Y/n] y
Do: command not found
carto@carto-desktop:~/Windshaft-cartodb$ (Reading database ... 198847 files
and directories currently installed.)Removing node-mapnik (3.5.12+dfsg-1)
...
-bash: syntax error near unexpected token `Removing'
carto@carto-desktop:~/Windshaft-cartodb$ Processing triggers for man-db
(2.7.5-1) ...
-bash: syntax error near unexpected token `('
carto@carto-desktop:~/Windshaft-cartodb$
carto@carto-desktop:~/Windshaft-cartodb$
apt-cache policy node-mapnik node-tar-pack node-pre-gyp
-bash: carto@carto-desktop:~/Windshaft-cartodb$: No such file or directory
carto@carto-desktop:~/Windshaft-cartodb$ N: Unable to locate package
node-mapnik
N:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ N: Unable to locate package
node-tar-pack
N:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ N: Unable to locate package
node-pre-gyp
N:: command not found
carto@carto-desktop:~/Windshaft-cartodb$ carto@carto-desktop
:~/Windshaft-cartodb$

Il mercoledì 26 ottobre 2016, Nico Aliotta <email address hidden> ha
scritto:

> I did another time all to be sure.
> This is the log:
>
>
> carto@carto-desktop:~/Windshaft-cartodb$ sudo apt-get install node-mapnik
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> node-mapnik is already the newest version (3.5.12+dfsg-1).
> You might want to run 'apt-get -f install' to correct these:
> The following packages have unmet dependencies:
> node-mapnik : Depends: node-pre-gyp but it is not installable
> Recommends: node-carto but it is not going to be installed
> Recommends: node-srs but it is not going to be installed
> Recommends: node-zipfile but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or
> specify a solution).
> carto@carto-desktop:~/Windshaft-cartodb$ sudo apt-get -f install
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> The following packages were automatically installed and are no longer
> required:
> apt-clone archdetect-deb dpkg-repack gir1.2-json-1.0
> gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 libdebian-installer4
> libparted-fs-resize0 libtimezonemap-data libtimezonemap1 os-prober
> python3-icu python3-pam rdate
> Use 'sudo apt autoremove' to remove them.
> The following packages will be REMOVED:
> node-mapnik
> 0 upgraded, 0 newly installed, 1 to remove and 4 not upgraded.
> 1 not fully installed or removed.
> After this operation, 1,469 kB disk space will be freed.
> Do you want to continue? [Y/n] y
> (Reading database ... 198847 files and directories currently
> installed.)Removing node-mapnik (3.5.12+dfsg-1) ...
> Processing triggers for man-db (2.7.5-1) ...
> carto@carto-desktop:~/Windshaft-cartodb$ apt-cache policy node-mapnik
> node-tar-pack node-pre-gyp
> N: Unable to locate package node-mapnik
> N: Unable to locate package node-tar-pack
> N: Unable to locate package node-pre-gyp
> carto@carto-desktop:~/Windshaft-cartodb$
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#11

You missed the hyphen as I did beween "apt" and "cache", the command is "apt-cache" not "apt cache"

Revision history for this message
Nicoali (nicoaliotta) said :
#12

carto@carto-desktop:~/Windshaft-cartodb$ apt-cache policy node-mapnik
node-mapnik node-pre-gyp
node-mapnik:
  Installed: 3.5.12+dfsg-1
  Candidate: 3.5.12+dfsg-1
  Version table:
 *** 3.5.12+dfsg-1 100
        100 /var/lib/dpkg/status
node-mapnik:
  Installed: 3.5.12+dfsg-1
  Candidate: 3.5.12+dfsg-1
  Version table:
 *** 3.5.12+dfsg-1 100
        100 /var/lib/dpkg/status
node-pre-gyp:
  Installed: (none)
  Candidate: (none)
  Version table:

2016-10-26 14:38 GMT+02:00 actionparsnip <
<email address hidden>>:

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> You missed the hyphen as I did beween "apt" and "cache", the command is
> "apt-cache" not "apt cache"
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#13

These don't appear to be from the default Ubuntu repositories. How did you install those packages?

Revision history for this message
Nicoali (nicoaliotta) said :
#14

from here:
https://launchpad.net/ubuntu/+source/node-mapnik/3.5.13+dfsg-1/+build/10727231

2016-10-26 15:22 GMT+02:00 actionparsnip <
<email address hidden>>:

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> These don't appear to be from the default Ubuntu repositories. How did
> you install those packages?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#15

If you look at https://launchpad.net/ubuntu/+source/node-mapnik you will see that node-mapnik does not exist in the standard Ubuntu repositories for Ubuntu 16.04 (xenial)

The .deb file that you try to install is for a different Ubuntu version!

Also the dependencies node-tar-pack and node-pre-gyp exist only for yakkety and later.

Possible options that I see:
1. Try installing also the dependent packages manually (the yakkety version)
2. Try using ppa:nicoaliotta/cartodbrpi3 (node-tar-pack and node-pre-gyp for xenial updated 15 minutes ago)

Revision history for this message
Nicoali (nicoaliotta) said :
#16

yes i tryed to upload on my ppa but are Builds

   - [image: [FULLYBUILT]] amd64
   <https://launchpad.net/~nicoaliotta/+archive/ubuntu/cartodbrpi3/+build/11082185>

   - not armhf :(

https://launchpad.net/~nicoaliotta/+archive/ubuntu/cartodbrpi3/+packages

2016-10-26 15:44 GMT+02:00 Manfred Hampl <
<email address hidden>>:

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> If you look at https://launchpad.net/ubuntu/+source/node-mapnik you will
> see that node-mapnik does not exist in the standard Ubuntu repositories
> for Ubuntu 16.04 (xenial)
>
> The .deb file that you try to install is for a different Ubuntu version!
>
> Also the dependencies node-tar-pack and node-pre-gyp exist only for
> yakkety and later.
>
> Possible options that I see:
> 1. Try installing also the dependent packages manually (the yakkety
> version)
> 2. Try using ppa:nicoaliotta/cartodbrpi3 (node-tar-pack and node-pre-gyp
> for xenial updated 15 minutes ago)
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+
> question/403512/+confirm?answer_id=14
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#17

node-tar-pack and node-pre-gyp are architecture-independent and should be installable on any architecture including armhf

Revision history for this message
Nicoali (nicoaliotta) said :
#18

how to install them? :-)

2016-10-26 16:03 GMT+02:00 Manfred Hampl <
<email address hidden>>:

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> node-tar-pack and node-pre-gyp are architecture-independent and should
> be installable on any architecture including armhf
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+
> question/403512/+confirm?answer_id=16
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#19

If you have you added your ppa as additional source (sudo apt-add-repository ppa:nicoaliotta/cartodbrpi3 && sudo apt-get update) then you can do with apt-get install.

if you do not want to add the repository, you can download the file and install with
sudo dpkg --install node-pre-gyp_0.6.25-2~xenial0_all.deb
etc.

Revision history for this message
Nicoali (nicoaliotta) said :
#20

root@carto-desktop:/home/carto/Windshaft-cartodb# sudo dpkg --install
node-rc_1.1.6-2~xenial0_all.deb
Selecting previously unselected package node-rc.
(Reading database ... 198861 files and directories currently installed.)
Preparing to unpack node-rc_1.1.6-2~xenial0_all.deb ...
Unpacking node-rc (1.1.6-2~xenial0) ...
dpkg: dependency problems prevent configuration of node-rc:
 node-rc depends on node-minimist; however:
  Package node-minimist is not installed.
 node-rc depends on node-deep-extend; however:
  Package node-deep-extend is not installed.
 node-rc depends on node-strip-json-comments; however:
  Package node-strip-json-comments is not installed.

dpkg: error processing package node-rc (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 node-rc

And
sudo dpkg --install node-pre-gyp_0.6.25-2~xenial0_all.deb
Selecting previously unselected package node-pre-gyp.
(Reading database ... 198825 files and directories currently installed.)
Preparing to unpack node-pre-gyp_0.6.25-2~xenial0_all.deb ...
Unpacking node-pre-gyp (0.6.25-2~xenial0) ...
dpkg: dependency problems prevent configuration of node-pre-gyp:
 node-pre-gyp depends on node-rc; however:
  Package node-rc is not installed.
 node-pre-gyp depends on node-tar-pack; however:
  Package node-tar-pack is not installed.

dpkg: error processing package node-pre-gyp (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 node-pre-gyp

Sorry if i'm boring you... but if i install all the depencies that comes
maybe will work? :)

2016-10-26 16:23 GMT+02:00 Manfred Hampl <
<email address hidden>>:

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> If you have you added your ppa as additional source (sudo apt-add-
> repository ppa:nicoaliotta/cartodbrpi3 && sudo apt-get update) then you
> can do with apt-get install.
>
> if you do not want to add the repository, you can download the file and
> install with
> sudo dpkg --install node-pre-gyp_0.6.25-2~xenial0_all.deb
> etc.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+
> question/403512/+confirm?answer_id=18
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#21

It seems that you are not fully aware of the package management system on Ubuntu.

If you try installing a package with "dpkg --install ...", you will run into an error message if the dependencies are not satisfied.
If you try installing with "apt-get install ...", then the package will try fulfilling the dependencies by installing the other packages automatically - as long as the package management system is able to locate those dependent packages in one of the defined sources.

The easier way for sure is with apt-get.

sudo apt-get install -f
will add missing packages if it can locate them.

What do you get for that command?

Revision history for this message
Nicoali (nicoaliotta) said :
#22

sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  apt-clone archdetect-deb dpkg-repack gir1.2-json-1.0 gir1.2-timezonemap-1.0
  gir1.2-xkl-1.0 libdebian-installer4 libparted-fs-resize0 libtimezonemap-data
  libtimezonemap1 node-debug node-pre-gyp node-tar-pack node-uid-number
  os-prober python3-icu python3-pam rdate
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  node-debug node-pre-gyp node-tar-pack node-uid-number
The following packages will be REMOVED:
  node-mapnik
The following NEW packages will be installed:
  node-debug node-pre-gyp node-tar-pack node-uid-number
0 upgraded, 4 newly installed, 1 to remove and 12 not upgraded.
1 not fully installed or removed.
Need to get 49.2 kB of archives.
After this operation, 1,116 kB disk space will be freed.
Do you want to continue? [Y/n] y
Get:1 http://ppa.launchpad.net/nicoaliotta/cartodbrpi3/ubuntu xenial/main armhf node-uid-number all 0.0.6-1~xenial0 [3,178 B]
Get:2 http://ports.ubuntu.com xenial/universe armhf node-debug all 2.1.0+dfsg-2 [12.3 kB]
Get:3 http://ppa.launchpad.net/nicoaliotta/cartodbrpi3/ubuntu xenial/main armhf node-tar-pack all 3.1.3-1~xenial0 [6,350 B]
Get:4 http://ppa.launchpad.net/nicoaliotta/cartodbrpi3/ubuntu xenial/main armhf node-pre-gyp all 0.6.25-2~xenial0 [27.4 kB]
Fetched 49.2 kB in 0s (146 kB/s)
(Reading database ... 198884 files and directories currently installed.)
Removing node-mapnik (3.5.13+dfsg-1) ...
Processing triggers for man-db (2.7.5-1) ...
Selecting previously unselected package node-uid-number.
(Reading database ... 198862 files and directories currently installed.)
Preparing to unpack .../node-uid-number_0.0.6-1~xenial0_all.deb ...
Unpacking node-uid-number (0.0.6-1~xenial0) ...
Selecting previously unselected package node-debug.
Preparing to unpack .../node-debug_2.1.0+dfsg-2_all.deb ...
Unpacking node-debug (2.1.0+dfsg-2) ...
Selecting previously unselected package node-tar-pack.
Preparing to unpack .../node-tar-pack_3.1.3-1~xenial0_all.deb ...
Unpacking node-tar-pack (3.1.3-1~xenial0) ...
Selecting previously unselected package node-pre-gyp.
Preparing to unpack .../node-pre-gyp_0.6.25-2~xenial0_all.deb ...
Unpacking node-pre-gyp (0.6.25-2~xenial0) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up node-uid-number (0.0.6-1~xenial0) ...
Setting up node-debug (2.1.0+dfsg-2) ...
Setting up node-tar-pack (3.1.3-1~xenial0) ...
Setting up node-pre-gyp (0.6.25-2~xenial0) ...

Revision history for this message
Manfred Hampl (m-hampl) said :
#23

What do you now get for

sudo apt-get node-mapnik

Revision history for this message
Nicoali (nicoaliotta) said :
#24

carto@carto-desktop:~$ sudo apt-get node-mapnik
[sudo] password for carto:
E: Invalid operation node-mapnik
carto@carto-desktop:~$ sudo apt-get install node-mapnik
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package node-mapnik

while with deb file:
 sudo dpkg -i node-mapnik_3.5.13+dfsg-1_armhf.deb
Selecting previously unselected package node-mapnik.
(Reading database ... 198932 files and directories currently installed.)
Preparing to unpack node-mapnik_3.5.13+dfsg-1_armhf.deb ...
Unpacking node-mapnik (3.5.13+dfsg-1) ...
dpkg: dependency problems prevent configuration of node-mapnik:
 node-mapnik depends on libstdc++6 (>= 6); however:
  Version of libstdc++6:armhf on system is 5.4.0-6ubuntu1~16.04.2.

dpkg: error processing package node-mapnik (--install):
 dependency problems - leaving unconfigured
Processing triggers for man-db (2.7.5-1) ...
Errors were encountered while processing:
 node-mapnik

Other is missing i need libstdc++6:armhf

2016-10-26 17:09 GMT+02:00 Manfred Hampl <
<email address hidden>>:

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> What do you now get for
>
> sudo apt-get node-mapnik
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
Nicoali (nicoaliotta) said :
#25

libstdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.2).

Revision history for this message
Nicoali (nicoaliotta) said :
#26

but says
libstdc++6 is already the newest version (5.4.0-6ubuntu1~16.04.2).

2016-10-26 17:19 GMT+02:00 Nico Aliotta <email address hidden>:

>
> carto@carto-desktop:~$ sudo apt-get node-mapnik
> [sudo] password for carto:
> E: Invalid operation node-mapnik
> carto@carto-desktop:~$ sudo apt-get install node-mapnik
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> E: Unable to locate package node-mapnik
>
>
> while with deb file:
> sudo dpkg -i node-mapnik_3.5.13+dfsg-1_armhf.deb
> Selecting previously unselected package node-mapnik.
> (Reading database ... 198932 files and directories currently installed.)
> Preparing to unpack node-mapnik_3.5.13+dfsg-1_armhf.deb ...
> Unpacking node-mapnik (3.5.13+dfsg-1) ...
> dpkg: dependency problems prevent configuration of node-mapnik:
> node-mapnik depends on libstdc++6 (>= 6); however:
> Version of libstdc++6:armhf on system is 5.4.0-6ubuntu1~16.04.2.
>
> dpkg: error processing package node-mapnik (--install):
> dependency problems - leaving unconfigured
> Processing triggers for man-db (2.7.5-1) ...
> Errors were encountered while processing:
> node-mapnik
>
> Other is missing i need libstdc++6:armhf
>
> 2016-10-26 17:09 GMT+02:00 Manfred Hampl <question403512@answers.
> launchpad.net>:
>
>> Your question #403512 on node-mapnik in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>>
>> Status: Open => Needs information
>>
>> Manfred Hampl requested more information:
>> What do you now get for
>>
>> sudo apt-get node-mapnik
>>
>> --
>> To answer this request for more information, you can either reply to
>> this email or enter your reply at the following page:
>> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>>
>> You received this question notification because you asked the question.
>>
>
>

Revision history for this message
Nicoali (nicoaliotta) said :
#27

Finally i did :) \0/

root@carto-desktop:/home/carto/Windshaft-cartodb# dpkg -i libstdc++6_6.2.0-9_armhf.deb (Reading database ... 198955 files and directories currently installed.)
Preparing to unpack libstdc++6_6.2.0-9_armhf.deb ...
Unpacking libstdc++6:armhf (6.2.0-9) over (5.4.0-6ubuntu1~16.04.2) ...
Setting up libstdc++6:armhf (6.2.0-9) ...
Processing triggers for libc-bin (2.23-0ubuntu4) ...
root@carto-desktop:/home/carto/Windshaft-cartodb# dpkg -i node-mapnik_3.5.13+dfsg-1_armhf.deb
(Reading database ... 198955 files and directories currently installed.)
Preparing to unpack node-mapnik_3.5.13+dfsg-1_armhf.deb ...
Unpacking node-mapnik (3.5.13+dfsg-1) over (3.5.13+dfsg-1) ...
Setting up node-mapnik (3.5.13+dfsg-1) ...
Processing triggers for man-db (2.7.5-1) ...

Now my question is can i add
http://ftp.us.debian.org/debian/pool/main/g/gcc-6/gcc-6-base_6.2.0-9_armhf.deb
and
http://ftp.us.debian.org/debian/pool/main/g/gcc-6/gcc-6-base_6.2.0-9_armhf.deb

to my ppa so next time i don't have to take the deb files and install them?

Revision history for this message
Manfred Hampl (m-hampl) said :
#28

It is not recommended to mix packages from Debian and Ubuntu. The version numbers are not always fully in sync, and you may run into troubles.

It would be better if you could find such package somewhere in the Ubuntu repositories or PPAs.
There are some PPAs https://launchpad.net/ubuntu/+ppas?name_filter=gcc-6
As far as I can see at least one ppa:ubuntu-toolchain-r/ppa contains also armhf builds.

Revision history for this message
Nicoali (nicoaliotta) said :
#29

but some ppa cannot be imported

for example:
https://launchpad.net/ubuntu/+source/cairo/1.14.6-1/+build/8827329

i need this... how to import in my ppa?

2016-10-26 18:02 GMT+02:00 Manfred Hampl <
<email address hidden>>:

> Your question #403512 on node-mapnik in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> It is not recommended to mix packages from Debian and Ubuntu. The
> version numbers are not always fully in sync, and you may run into
> troubles.
>
> It would be better if you could find such package somewhere in the Ubuntu
> repositories or PPAs.
> There are some PPAs https://launchpad.net/ubuntu/+ppas?name_filter=gcc-6
> As far as I can see at least one ppa:ubuntu-toolchain-r/ppa contains also
> armhf builds.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+
> question/403512/+confirm?answer_id=27
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/node-mapnik/+question/403512
>
> You received this question notification because you asked the question.
>

Revision history for this message
Manfred Hampl (m-hampl) said :
#30

Why do you need to import that package into your PPA? it is in a standard Ubuntu repository.

Revision history for this message
Launchpad Janitor (janitor) said :
#31

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.