'apt-get install freebsd-manpages' fails trying to overwrite /usr/share/man/man2/clock_gettime.2.gz, provided by manpages-dev

Bug #220020 reported by Kai Stempfle
18
Affects Status Importance Assigned to Milestone
freebsd-manpages (Ubuntu)
Fix Released
Undecided
Unassigned
Nominated for Hardy by Andrea Gasparini

Bug Description

installing package freebsd-manpages fails, because the package tries to overwrite /usr/share/man/man2/clock_gettime.2.gz which is also provided by the package manpages-dev.
Installing is only possible by running 'dpkg --force-overwrite -i freebsd-manpages_6.2-1_all.deb'

test case:
install manpages-dev
afterwards install freebsd-manpages

Ubuntu release info:
# lsb_release -cdr
Description: Ubuntu 8.04
Release: 8.04
Codename: hardy

Package info:
# dpkg -s freebsd-manpages
Package: freebsd-manpages
Status: install ok installed
Priority: optional
Section: doc
Installed-Size: 8048
Maintainer: Ubuntu MOTU Developers <email address hidden>
Architecture: all
Version: 6.2-1
Suggests: man-browser
Conflicts: fdutils, ipchains, opie-client, linux-manual-2.6.18
Description: Manual pages for a GNU/kFreeBSD system
 This package contains a selection of manual pages from FreeBSD that are
 useful on a GNU/kFreeBSD system:
  2 = System calls (functions provided by the kernel)
  4 = Special files (usually found in /dev)
  9 = Kernel routines
Original-Maintainer: Gürkan Sengün <email address hidden>

apt-output:
# apt-get install freebsd-manpages
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
  freebsd-manpages
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/2845kB of archives.
After this operation, 8241kB of additional disk space will be used.
(Reading database ... 114111 files and directories currently installed.)
Unpacking freebsd-manpages (from .../freebsd-manpages_6.2-1_all.deb) ...
dpkg: error processing /var/cache/apt/archives/freebsd-manpages_6.2-1_all.deb (--unpack):
 trying to overwrite `/usr/share/man/man2/clock_gettime.2.gz', which is also in package manpages-dev
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/freebsd-manpages_6.2-1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Revision history for this message
Alex Ruddick (alexrudd0) wrote :

I did it backwards (installed freebsd-manpages, then manpages-dev), but can easily confirm.

Changed in freebsd-manpages:
status: New → Confirmed
Revision history for this message
Lenin (gagarin) wrote :

i think this got fixed once and for all with the latest freebsd-manpages in debian sid...

Revision history for this message
Andrea Gasparini (gaspa) wrote :

This bug is fixed in debian ( http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=367182 ), so in intrepid doesn't need to be considered.

Changed in freebsd-manpages:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.