package libmapnik-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/mapnik-config', which is also in package libmapnik 2.3.0+dev20140426.git.a4985b3-1~trusty1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
mapnik (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Trying to build Viking 1.6.2 from source as a previous version does not run in Ubuntu 16.04. I read:
¨viking: error while loading shared libraries: libgps.so.20: cannot open shared object file: No such file or directory¨
On running configure I get: ¨configure: error: mapnik/map.hpp is needed but not found - you will need to install package 'libmapnik-dev' or similar. The feature can be disabled with --disable-mapnik¨
On trying to install libmapnik-dev using Synaptic the process failed with:
¨E: /var/cache/
ProblemType: Package
DistroRelease: Ubuntu 16.04
Package: libmapnik-dev (not installed)
ProcVersionSign
Uname: Linux 4.4.0-21-generic x86_64
NonfreeKernelMo
ApportVersion: 2.20.1-0ubuntu2
AptOrdering:
libmapnik3.0: Install
libmapnik-dev: Install
libmapnik3.0: Configure
libmapnik-dev: Configure
NULL: ConfigurePending
Architecture: amd64
Date: Wed Apr 27 20:36:47 2016
ErrorMessage: trying to overwrite '/usr/bin/
InstallationDate: Installed on 2011-01-07 (1937 days ago)
InstallationMedia: Ubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101007)
RelatedPackageV
dpkg 1.18.4ubuntu1
apt 1.2.10ubuntu1
SourcePackage: mapnik
Title: package libmapnik-dev (not installed) failed to install/upgrade: trying to overwrite '/usr/bin/
UpgradeStatus: Upgraded to xenial on 2016-04-27 (0 days ago)
Solved by removing libmapnik. Configured and installed without problem subsequently.