apt and package versioning
Colin Law
clanlaw at gmail.com
Fri Mar 6 09:31:17 UTC 2020
On Thu, 5 Mar 2020 at 23:22, Colin Watson <cjwatson at ubuntu.com> wrote:
> > ...
> > I had assumed that apt would consider npm 5.8.0+ds6-4 to be >= 5.8, or
> > am I misinterpreting what the problem is?
>
> Your understanding of versioning is correct, so it's probably some other
> problem. Try "apt install nodered npm" and see what that tells you;
> iterate adding package names from the error message until the resulting
> error message makes sense. :-)
>
Thanks for that, your suggestion did the job and I now see the
problem. In case anyone is interested the situation arises if the
nodesource nodejs repository is enabled. Once that is done the
nodered install from the Raspbian repo will not work, due to the
different way that nodesource installs npm I think. The solution is
to use the recommended script for installing node-red, which also
works well for Ubuntu in fact.
https://nodered.org/docs/getting-started/raspberrypi
Colin
More information about the ubuntu-users
mailing list