[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



Control: severity -1 important
Version: 1.2.12

On Wed, Jun 14, 2017 at 04:56:19PM +0200, Andreas Beckmann wrote:
> 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.

I believe that is fixed in 1.2.11 with
  * recheck Pre-Depends satisfaction in SmartConfigure (LP: #1569099)

If not, feel free to reopen. That's a somewhat odd corner case though,
and not release critical.

-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
                  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.


Reply to: