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

Bug#864775: apt-get: computes wrong upgrade path for chained Pre-Depends on i386



Package: apt
Version: 1.0.9.8.4
Severity: serious
User: debian-qa@lists.debian.org
Usertags: piuparts

Hi,

during a test with piuparts I noticed the [non-free]
xserver-xorg-video-nvidia package failed to upgrade from jessie to
stretch (with --install-recommends disabled) on i386, but succeeded on
amd64. TTBOMK there shouldn't be any differences in the packaging
between the architectures.

The upgrade fails with:

  dpkg: dependency problems prevent configuration of nvidia-legacy-check:
   nvidia-legacy-check depends on nvidia-installer-cleanup; however:
    Package nvidia-installer-cleanup is not configured yet.
  
  dpkg: error processing package nvidia-legacy-check (--configure):
   dependency problems - leaving unconfigured

There is a Pre-Depends chain
  xserver-xorg-video-nvidia -> nvidia-legacy-check -> nvidia-installer-cleanup
and at this point both nvidia-legacy-check and nvidia-installer-cleanup
have been unpacked, but not configured, yet. There was a nvidia-installer-cleanup
package in jessie, that was also installed. The nvidia-legacy-check package
is new in stretch.

I'm attaching piuparts logs for the upgrades on these two architectures.

A workaroud is to make the Pre-Depends in nvidia-legacy-check versioned s.t.
the jessie version of nvidia-installer-cleanup cannot satisfy it. In that
case the new nvidia-installer-cleanup is configured first before unpacking
nvidia-legacy-check.

Assigning this bug to jessie's apt, since that was used to perform the
dist-upgrade.


Andreas

Attachment: xxvn.amd64.log.gz
Description: application/gzip

Attachment: xxvn.i386.log.gz
Description: application/gzip


Reply to: