On 2012-04-16 15:58, Ondřej Surý wrote: > It shouldn't fail even with missing tools. Do you have a installation log file > for the failure?
Just regenerated some logfiles and attached one to the bug The following packages are failing to upgrade from squeeze: cyrus-common-2.2 cyrus-imapd-2.2 cyrus-nntpd-2.2 cyrus-pop3d-2.2 The scenario is: * minimal squeeze chroot without recommends * install one of these packages (with recommends) * distupgrade to wheezy ==> fails: db4.7-util not installed Now that there is a dependency on db-util, I'll retry again without recommends in a few days. >> Since the transitional cyrus-*-2.2 packages are most likely >> installed/upgraded on old installations only that will need to perform a >> database upgrade during the dist-upgrade step, adding Depends for the >> extra tools needed in that case seems sensible to me. > > Yes, but they depend on cyrus-common-2.4, which depend on cyrus-common, > so only cyrus-common is needed. > >> What about adding an extra package like 'cyrus-upgrade' that depends on >> the tools needed to perform a database upgrade? This could be installed >> by the admin to ensure that there are always the right tools available >> in case of a dist-upgrade. > > How does that differ from having the packages to depend on the right tools? Depending on the amount and size of the packages, having many dependencies only for the upgrade case may be undesirable. But old and new dbX.Y-util are probably not that big. > I have changed cyrus-common to Depend on db-util which should always pull > up-to-date libdb package utilities and I think that should be enough. For upgrades, also the old version of dbX.Y-util needs to be available. Andreas -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org