conflicts with other docbook-xsl-doc-xxx packages

Bug #173145 reported by Heiko
72
This bug affects 2 people
Affects Status Importance Assigned to Milestone
docbook-xsl (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Not possible to install more than 1 of:
- docbook-xsl-doc-html
- docbook-xsl-doc-pdf
- docbook-xsl-doc-text
(unless using some --force option I suppose)

I imagine there may be a valid reason for this, but should there be additional "Conflicts" dependency rules in the above packages?

To reproduce:

sudo apt-get install docbook-xsl-doc-html docbook-xsl-doc-pdf
Reading package lists... Done
Building dependency tree
Reading state information... Done
docbook-xsl-doc-html is already the newest version.
The following NEW packages will be installed:
  docbook-xsl-doc-pdf
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/1052kB of archives.
After unpacking 1126kB of additional disk space will be used.
(Reading database ... 148367 files and directories currently installed.)
Unpacking docbook-xsl-doc-pdf (from .../docbook-xsl-doc-pdf_1.72.0.dfsg.1-2_all.deb) ...
dpkg: error processing /var/cache/apt/archives/docbook-xsl-doc-pdf_1.72.0.dfsg.1-2_all.deb (--unpack):
 trying to overwrite `/usr/share/doc/docbook-xsl/doc/reference.pdf.gz', which is also in package docbook-xsl-doc-html
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/docbook-xsl-doc-pdf_1.72.0.dfsg.1-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

EOF

Revision history for this message
Daniel Leidert (dleidert-deactivatedaccount) wrote :

Might be a bashism issue in debian/rules. Otherwise ddebhelper on Ubuntu is broken and does not work correctly.

Revision history for this message
Daniel Leidert (dleidert-deactivatedaccount) wrote :

If you need a rebuild, the attached patch should fix the problem. I'm going to package the upcoming 1.74.0, so there will probably no package updated until this new upstream release.

Revision history for this message
Jonas Björk (jonasbjork) wrote :

Same here.

E: /var/cache/apt/archives/docbook-xsl-doc-pdf_1.72.0.dfsg.1-2_all.deb: försöker
skriva över "/usr/share/doc/docbook-xsl/doc/reference.pdf.gz" som också finns i paketet docbook-xsl-doc-html

(swedish)

"docbook-xsl-doc.pdf 1.72.0 tries to overwrite reference.pdf.gz which also is in package docbook-xsl-doc-html " (translated)

Ubuntu 7.10

Revision history for this message
Tomás Vírseda García (kaskaras) wrote :

Hi, I got this problem too in Hardy and I applied 'The Quick and Dirty' solution:

sudo dpkg --force-all -i /var/cache/apt/archives/docbook-xsl-doc-text_1.73.2.dfsg.1-2_all.deb
sudo dpkg --force-all -i /var/cache/apt/archives/docbook-xsl-doc-pdf_1.73.2.dfsg.1-2_all.deb
sudo apt-get -f install

Revision history for this message
Daniel Leidert (dleidert-deactivatedaccount) wrote :

I already uploaded an updated package to Debian. Try to sync it and check, if the issue still appears. I removed the possible bashism in debian/rules. If the issue is still there, the problem is caused by the Ubuntu buildds or whoever builds the package for Ubuntu. I wasn't able to reproduce the problem on a Debian machine, even not by using DASH as shell. Also the main rebuild of all Debian packages with dash did not reveal this issue. So ask one of the Ubuntu developers for assistence.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.1 KiB)

This bug was fixed in the package docbook-xsl - 1.73.2.dfsg.1-4

---------------
docbook-xsl (1.73.2.dfsg.1-4) unstable; urgency=low

  * debian/docbook-xsl-doc-html.doc-base (Section): Fixed accordingly to
    version 0.8.10 of the doc-base manual.
  * debian/docbook-xsl-doc-pdf.doc-base (Section): Ditto.
  * debian/docbook-xsl-doc-text.doc-base (Section): Ditto.
  * debian/patches/7668_locale_update_and_fix_norwegian_bokmal.dpatch: Small
    fix (adds startquote).
  * debian/patches/7681_fo_fix_colsep_in_entrytbl.dpatch: Added.
    - Fixed to make colsep in entrytbl working.
  * debian/patches/7698_html_fix_rowsep_in_entrytbl.dpatch: Added.
    - Fixed to make rowsep apply to the last row of thead in entrytbl.
  * debian/patches/7731_man_prepend_dots_with_zero_width_char.dpatch: Added.
    - Fixed a regression in the handling of dots. Prepend them with a zero
      width character.
  * debian/patches/7740_man_replace_spaces_in_refname_with_underscores.dpatch:
    Added.
    - Replace any spaces in the refname(s) with underscores for man-page name
      to be compliant with lexgrog and other tools not able to handle spaces
      in filenames.
  * debian/patches/7806_man_fix_non_breaking_space_output.dpatch: Added.
    - Fixed a regression in the conversion of non-breaking spaces (closes:
      #473244).
  * debian/patches/7901_fo_fix_inline_or_block_template.dpatch: Added.
    - Fixed non-working inline.or.block template for indexterm wrappers.
  * debian/patches/7939_html_add_exslt_ns_for_pi.dpatch: Added.
    - Add exslt namespace to (x)html/docbook.xsl. Otherwise there seems to be
      a problem using the profiled version of the stylesheet.
  * debian/patches/00list: Adjusted.

docbook-xsl (1.73.2.dfsg.1-3) unstable; urgency=low

  * debian/presubj: Shorten the general note about bug-reporting (put it into
    README.Debian; closes: #445901). Added a pointer for issues with Debian
    hacks.
  * debian/control: Vcs fields transition. Added DM-Upload-Allowed.
    (Vcs-Svn): Fixed location.
    (Standards-Version): Raised to 3.7.3.
  * debian/copyright: Fixed typo. Thanks to lintian.
  * debian/docbook-xsl-doc-html.copyright: Ditto.
  * debian/docbook-xsl-doc-pdf.copyright: Ditto.
  * debian/docbook-xsl-doc-text.copyright: Ditto.
  * debian/rules (binary-indep): Fixed a possible bashism (LP: #173145).
  * debian/README.Debian: Added new sections to document Debian-only hacks and
    bug reporting (see #447958).
  * debian/patches/02_use_global_papersize_conf.dpatch: Adjusted.
    - fo/docbook.xsl (root.messages): Outsource the information into
      README.Debian and just print a pointer (closes: #447958).
  * debian/patches/7528_common_fix_too_many_nested_elements.dpatch: Added.
    - common/titles.xsl (xref[no.anchor.mode]): Added test to workaround "too
      many nested apply-templates".
  * debian/patches/7564_fo_fix_typo.dpatch: Added.
    - fo/refentry.xsl (format.refentry.subheading): Fixed element typo.
  * debian/patches/7623_man_support_for_processing_structfield.dpatch: Added.
    - manpages/inline.xsl (replaceable|varname): Added support for
      structfield, which appeared in <em> tags in ROFF output.
  * debian/patches/7629...

Read more...

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

Other bug subscribers

Remote bug watches

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