#193540 dpkg: Should behave better on upgraes with Conflicts and several packages on the same run

Package:
dpkg
Source:
dpkg
Description:
Debian package management system
Submitter:
Rene Engelhard
Date:
2015-03-29 01:30:05 UTC
Severity:
wishlist
#193540#5
Date:
2003-05-16 10:07:05 UTC
From:
To:
Package: dpkg
Version: 1.10.10
Severity: important

Hi,

openoffice.org-mimelnk conflicts with openoffice.org (<= 1.0.3-2) and
openoffice.org with openoffice.org-l10n-en (<= 1.0.3-2) due to a package
split and file moving from package A to package B,.

OK, let's test the 2.3pre1 packages:

$ LANG="C" sudo dpkg -i openoffice.org*2.3pre1*deb
dpkg: regarding openoffice.org_1.0.3-2.3pre1_all.deb containing openoffice.org:
 openoffice.org conflicts with openoffice.org-l10n-en (<= 1.0.3-2)
  openoffice.org-l10n-en (version 1.0.3-2) is installed.
dpkg: error processing openoffice.org_1.0.3-2.3pre1_all.deb (--install):
 conflicting packages - not installing openoffice.org
[...]
dpkg: regarding openoffice.org-mimelnk_1.0.3-2.3pre1_all.deb containing openoffice.org-mimelnk:
 openoffice.org-mimelnk conflicts with openoffice.org (<= 1.0.3-2)
  openoffice.org (version 1.0.3-2) is installed.
dpkg: error processing openoffice.org-mimelnk_1.0.3-2.3pre1_all.deb (--install):
 conflicting packages - not installing openoffice.org-mimelnk
[...]
Errors were encountered while processing:
 openoffice.org_1.0.3-2.3pre1_all.deb
 openoffice.org-mimelnk_1.0.3-2.3pre1_all.deb

a-ha.

dpkg should notice that I am about to install all 2.3pre1 packages (which
will replace the 1.0.3-2 packages) and let me do it...

apt works fine.

Regards,

Rene

#193540#10
Date:
2003-09-21 15:19:35 UTC
From:
To:
severity 193540 normal
thanks

Maybe apt runs dpkg with --auto-deconfigure or so?