Package: libgnokii3-dev
Version: 0.6.13-1
Severity: important

From trying to install libgnokii3-dev with libgnokii2-dev already installed:

frobnitz:~# aptitude install libgnokii3-dev
Reading package lists... Done
Building dependency tree... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
Reading task descriptions... Done
Building tag database... Done
The following packages have been kept back:
  linux-headers-2.6-686 linux-headers-2.6.16-2 linux-headers-2.6.16-2-686
  valgrind
The following NEW packages will be installed:
  libgnokii3-dev
0 packages upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/277kB of archives. After unpacking 815kB will be used.
Writing extended state information... Done
(Reading database ... 247925 files and directories currently installed.)
Unpacking libgnokii3-dev (from .../libgnokii3-dev_0.6.13-2+pb1_i386.deb) ...
dpkg: error processing 
/var/cache/pbuildd/pool/g/gnokii/libgnokii3-dev_0.6.13-2+pb1_i386.deb 
(--unpack):
 trying to overwrite `/usr/include/gnokii/bitmaps.h', which is also in package 
libgnokii2-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/pbuildd/pool/g/gnokii/libgnokii3-dev_0.6.13-2+pb1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:

As the subject says, you need to fix this by adding Conflicts: and Replaces:
on libgnokii2-dev to libgnokii3-dev (but *not* Provides:).
-- 
Daniel Schepler

Reply via email to