Minde,
when you're doing clever stuff loading packages from PPAs, then
probably the most efficient way of keeping packages smoothly in
order is to install synaptic. The alternative CLI commands
are all too easy to forget or to mis-type, unless one is a
head-case developer.
The joy of synaptic is that it makes package management very elegant, particularly the important matter of keeping everything up-to-date. One suspects that the error you saw is due to a package mismatch, perhaps because something is out-of-date. On Ubuntu 16.04 the library package referred to seems to have the label that was missing on the system that you were using.
These days with broadband pretty much ubiquitous, there are few
excuses for not keeping a Linux box (or *BSD, OS/X, WindowsN
&c.) fully up-to-date. Unlike the Redmond experience, the
update process on Debian derivatives (Debian, Ubuntu, Mint
&c.) is unlikely to drive one to drink!
HTH, 73,
Robin, G8DQX