[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#218787: cannot handle swapping 2 files between 2 packages



Package: dpkg
Version: 1.10.18
Severity: normal

debconf has a file that should be in debconf-utils, and debconf-utils has a
file that should be in debconf. But if I swap the files and make debconf-utils
conflict and replace debconf, and debconf conflict and replace debconf-utils
(which also depends on debconf..), dpkg gets confused and wants to remove
debconf-utils entirely:

root@dragon:/home/joey/src/debconf>dpkg -i ../debconf_1.3.20_all.deb ../debconf-utils_1.3.20_all.deb
dpkg: considering removing debconf-utils in favour of debconf ...
dpkg: no, cannot remove debconf-utils (--auto-deconfigure will help):
 debhelper depends on debconf-utils (>= 1.1.1)
  debconf-utils is to be removed.
dpkg: regarding ../debconf_1.3.20_all.deb containing debconf:
 debconf conflicts with debconf-utils (= 1.3.19)
  debconf-utils (version 1.3.19) is installed.
dpkg: error processing ../debconf_1.3.20_all.deb (--install):
 conflicting packages - not installing debconf
dpkg: considering removing debconf in favour of debconf-utils ...
dpkg: no, cannot remove debconf (--auto-deconfigure will help):
 ipmasq pre-depends on debconf (>= 0.5.00)
  debconf is to be removed.
dpkg: regarding .../debconf-utils_1.3.20_all.deb containing debconf-utils:
 debconf-utils conflicts with debconf (= 1.3.19)
  debconf (version 1.3.19) is installed.
dpkg: error processing ../debconf-utils_1.3.20_all.deb (--install):
 conflicting packages - not installing debconf-utils
Errors were encountered while processing:
 ../debconf_1.3.20_all.deb
 ../debconf-utils_1.3.20_all.deb
zsh: exit 1     dpkg -i ../debconf_1.3.20_all.deb ../debconf-utils_1.3.20_all.deb

My conflicts and replaces are versioned, and I think dpkg should be able
to figure out that it can break the sycle by doing both operations at the
same time.

Any advice to deal with this would be appreciated.

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux dragon 2.4.22 #1 Sun Oct 12 15:11:10 EDT 2003 i686
Locale: LANG=en_US, LC_CTYPE=en_US

Versions of packages dpkg depends on:
ii  dselect                      1.10.18     a user tool to manage Debian packa
ii  libc6                        2.3.2.ds1-8 GNU C Library: Shared libraries an

-- no debconf information

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: