Bug#573589: Couldn't configure pre-depend openoffice.org-java-common
tag 573589 + pending
thanks
Hi,
On Fri, Mar 12, 2010 at 02:05:51PM -0500, Anthony DeRobertis wrote:
> I can't find a reason for this in the changelog. It appears the
> pre-depends are for removing the extension in the preinst on upgrade. Is
> there some reason to not just do that in the prerm instead, which
> currently only does it in the remove case.
>
> I'm probably missing something, but it seems if that were done, you
> could get rid of the preinst and the pre-depends.
I did the latter now (more a hack than a fix, but...):
=== modified file 'changelog'
--- changelog 2010-03-24 23:03:48 +0000
+++ changelog 2010-03-24 23:04:00 +0000
@@ -36,14 +36,16 @@
(closes: #476213)
* debian/README.Debian-source: update for 3.2, mention new extra compnents
* debian/scripts/vars.alpha: add
- * debian/control.in:
+ * debian/control*.in:
- remove full-featured from short description to accommodate longer
language names (closes: #566606)
- Standards-Version: 3.8.4 (no changes)
- fix python-unos description
- fix Breaks: on -sdbc-postgresql for lenny-backports (allow -4~...)
+ - hack: "lower" Pre-Depends: on -java-common to -common for -report-builder.
+ Add -java-common to Depends: instead (closes: #571771)
- -- Rene Engelhard <rene@debian.org> Wed, 24 Mar 2010 19:33:42 +0100
+ -- Rene Engelhard <rene@debian.org> Wed, 24 Mar 2010 23:38:35 +0100
openoffice.org (1:3.2.0-4) unstable; urgency=low
=== modified file 'control.reportdesign.in'
--- control.reportdesign.in 2010-02-03 20:40:34 +0000
+++ control.reportdesign.in 2010-03-24 23:04:00 +0000
@@ -1,8 +1,8 @@
Package: openoffice.orgVER-report-builder
Section: misc
Architecture: all
-Pre-Depends: openoffice.org-java-common (>= ${base-version}), ${java-runtime-depends}, debconf (>= 0.5) | debconf-2.0, procps
-Depends: ${report-builder-jar-depends}, openoffice.orgVER-report-builder-bin (>= 1:3.2.0~), openoffice.org-core (>= 1:3.2.0~rc5),
+Pre-Depends: openoffice.org-common, ${java-runtime-depends}, debconf (>= 0.5) | debconf-2.0, procps
+Depends: ${report-builder-jar-depends}, openoffice.orgVER-report-builder-bin (>= 1:3.2.0~), openoffice.org-core (>= 1:3.2.0~rc5), openoffice.org-java-common (>= 1:3.2.0~)
${misc:Depends}
Conflicts: openoffice.org-reportdesigner, openoffice.org-java-common (>= ${base-version}.1), ure (<< 1.5.1+OOo3.1.1-15)
Replaces: openoffice.org-reportdesigner
This still can cause Java errors on install/upgrade of the package
(as I did in my first full-upgrade attempt, reinstall fixed it, the
second run from scratch worked) but it's better than not working
at all.
Grüße/Regards,
René
--
.''`. René Engelhard -- Debian GNU/Linux Developer
: :' : http://www.debian.org | http://people.debian.org/~rene/
`. `' rene@debian.org | GnuPG-Key ID: D03E3E70
`- Fingerprint: E12D EA46 7506 70CF A960 801D 0AA0 4571 D03E 3E70
Reply to: