I can explore a given deb packets with
You can use
dpkg –S <lib> or
apt-file search <lib>. The later one looks only in the sourcelist. More general is
dpkg. One can check it with
apt-cache policy <package> if the package is from Ubuntu or self-installed.