upgrade fails

Bug #1899058 reported by Eyal Lior
18
This bug affects 4 people
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

main.log:

2020-10-08 19:30:21,850 INFO installing python-is-python2 because python-minimal was installed
2020-10-08 19:30:21,850 DEBUG Installing 'python-is-python2' (python-minimal was installed on the system)
2020-10-08 19:30:29,950 ERROR Dist-upgrade failed: 'E:Unable to correct problems, you have held broken packages.'
2020-10-08 19:30:29,955 DEBUG abort called
2020-10-08 19:30:29,960 DEBUG openCache()
2020-10-08 19:30:33,182 DEBUG Comparing 4.13.0-31 with
2020-10-08 19:30:33,182 DEBUG Comparing 4.13.0-36 with 4.13.0-31
2020-10-08 19:30:33,183 DEBUG Comparing 4.13.0-37 with 4.13.0-36
2020-10-08 19:30:33,185 DEBUG Comparing 4.15.0-117 with 4.13.0-37
2020-10-08 19:30:33,185 DEBUG Comparing 4.15.0-118 with 4.15.0-117
2020-10-08 19:30:33,466 DEBUG /openCache(), new cache size 100003

apt.log:

Log time: 2020-10-08 19:12:20.324706
Log time: 2020-10-08 19:12:29.265652
Log time: 2020-10-08 19:30:21.820801
  MarkInstall python-is-python2:amd64 < none -> 2.7.17-4 @un uN Ib > FU=1
  Installing python2 as Depends of python-is-python2
    MarkInstall python2:amd64 < none -> 2.7.17-2ubuntu4 @un uN Ib > FU=0
    Installing python2-minimal as PreDepends of python2
      MarkInstall python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un uN Ib > FU=0
       Removing: python-minimal
        MarkDelete python-minimal:amd64 < 2.7.15~rc1-1 @ii mK > FU=0
    Installing libpython2-stdlib as Depends of python2
      MarkInstall libpython2-stdlib:amd64 < none -> 2.7.17-2ubuntu4 @un uN Ib > FU=0
       Removing: libpython-stdlib
        MarkDelete libpython-stdlib:amd64 < 2.7.15~rc1-1 @ii mK > FU=0
     Removing: python
      MarkDelete python:amd64 < 2.7.15~rc1-1 @ii mK Ib > FU=0
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) nodejs:amd64 < 14.13.1-1nodesource1 @ii mK Ib >
Broken nodejs:amd64 Depends on python-minimal:amd64 < 2.7.15~rc1-1 @ii gR >
  Considering python-minimal:amd64 1 as a solution to nodejs:amd64 3
  Added python-minimal:amd64 to the remove list
  Fixing nodejs:amd64 via keep of python-minimal:amd64
  MarkKeep python-minimal:amd64 < 2.7.15~rc1-1 @ii gR > FU=0
Investigating (0) python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2-minimal:amd64 Breaks on python-minimal:amd64 < 2.7.15~rc1-1 @ii gK > (< 2.7.15-2)
  Considering python-minimal:amd64 1 as a solution to python2-minimal:amd64 1
  MarkKeep python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib > FU=0
  Holding Back python2-minimal:amd64 rather than change python-minimal:amd64
Investigating (1) python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2:amd64 PreDepends on python2-minimal:amd64 < none | 2.7.17-2ubuntu4 @un umH > (= 2.7.17-2ubuntu4)
  Considering python2-minimal:amd64 1 as a solution to python2:amd64 1
  MarkKeep python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib > FU=0
  Holding Back python2:amd64 rather than change python2-minimal:amd64
Investigating (2) python-is-python2:amd64 < none -> 2.7.17-4 @un pumN Ib >
Broken python-is-python2:amd64 Depends on python2:amd64 < none | 2.7.17-2ubuntu4 @un umH >
  Considering python2:amd64 1 as a solution to python-is-python2:amd64 9999
  Re-Instated python2-minimal:amd64
  Re-Instated python2:amd64
Investigating (2) python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2-minimal:amd64 Breaks on python-minimal:amd64 < 2.7.15~rc1-1 @ii gK > (< 2.7.15-2)
  Considering python-minimal:amd64 1 as a solution to python2-minimal:amd64 1
  MarkKeep python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib > FU=0
  Holding Back python2-minimal:amd64 rather than change python-minimal:amd64
Investigating (3) python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2:amd64 PreDepends on python2-minimal:amd64 < none | 2.7.17-2ubuntu4 @un umH > (= 2.7.17-2ubuntu4)
  Considering python2-minimal:amd64 1 as a solution to python2:amd64 1
  MarkKeep python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib > FU=0
  Holding Back python2:amd64 rather than change python2-minimal:amd64
Investigating (4) python-is-python2:amd64 < none -> 2.7.17-4 @un pumN Ib >
Broken python-is-python2:amd64 Depends on python2:amd64 < none | 2.7.17-2ubuntu4 @un umH >
  Considering python2:amd64 1 as a solution to python-is-python2:amd64 9999
Done
Log time: 2020-10-08 19:30:33.451187

ProblemType: Bug
DistroRelease: Ubuntu 18.04
Package: ubuntu-release-upgrader-core 1:18.04.38
ProcVersionSignature: Ubuntu 4.15.0-118.119-generic 4.15.18
Uname: Linux 4.15.0-118-generic x86_64
ApportVersion: 2.20.9-0ubuntu7.17
Architecture: amd64
CrashDB: ubuntu
CurrentDesktop: ubuntu:GNOME
Date: Thu Oct 8 19:35:51 2020
EcryptfsInUse: Yes
InstallationDate: Installed on 2017-07-09 (1186 days ago)
InstallationMedia: Ubuntu 17.04 "Zesty Zapus" - Release amd64 (20170412)
PackageArchitecture: all
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to bionic on 2020-10-08 (0 days ago)
VarLogDistupgradeTermlog:

Revision history for this message
Eyal Lior (eyallior) wrote :
Revision history for this message
Daniel Letzeisen (dtl131) wrote :
Revision history for this message
Ganesh (ganeshpatil) wrote :
Download full text (6.8 KiB)

I am also facing the same problem however, i do not see nodejs package installed in the machine : Please find the logs below :

  MarkInstall python-is-python2:amd64 < none -> 2.7.17-4 @un uN Ib > FU=1
  Installing python2 as Depends of python-is-python2
    MarkInstall python2:amd64 < none -> 2.7.17-2ubuntu4 @un uN Ib > FU=0
    Installing python2-minimal as PreDepends of python2
      MarkInstall python2-minimal:amd64 < none -> 2.7.17-2ubuntu4 @un uN Ib > FU=0
       Removing: python-minimal
        MarkDelete python-minimal:amd64 < 2.7.15~rc1-1 @ii mK > FU=0
    Installing libpython2-stdlib as Depends of python2
      MarkInstall libpython2-stdlib:amd64 < none -> 2.7.17-2ubuntu4 @un uN Ib > FU=0
       Removing: libpython-stdlib
        MarkDelete libpython-stdlib:amd64 < 2.7.15~rc1-1 @ii mK > FU=0
     Removing: python
      MarkDelete python:amd64 < 2.7.15~rc1-1 @ii mK Ib > FU=0
Starting pkgProblemResolver with broken count: 1
Starting 2 pkgProblemResolver with broken count: 1
Investigating (0) python-dev:amd64 < 2.7.15~rc1-1 @ii mK Ib >
Broken python-dev:amd64 Depends on python:amd64 < 2.7.15~rc1-1 @ii gR > (= 2.7.15~rc1-1)
  Considering python:amd64 11 as a solution to python-dev:amd64 21
  Added python:amd64 to the remove list
  Fixing python-dev:amd64 via keep of python:amd64
  MarkKeep python:amd64 < 2.7.15~rc1-1 @ii gR > FU=0
Investigating (0) python:amd64 < 2.7.15~rc1-1 @ii gK Ib >
Broken python:amd64 PreDepends on python-minimal:amd64 < 2.7.15~rc1-1 @ii gR > (= 2.7.15~rc1-1)
  Considering python-minimal:amd64 0 as a solution to python:amd64 11
  Added python-minimal:amd64 to the remove list
Broken python:amd64 Depends on libpython-stdlib:amd64 < 2.7.15~rc1-1 @ii gR > (= 2.7.15~rc1-1)
  Considering libpython-stdlib:amd64 0 as a solution to python:amd64 11
  Added libpython-stdlib:amd64 to the remove list
"/var/log/dist-upgrade/apt.log" 3758L, 346185C

 Considering python-minimal:amd64 0 as a solution to python:amd64 11
  Added python-minimal:amd64 to the remove list
Broken python:amd64 Depends on libpython-stdlib:amd64 < 2.7.15~rc1-1 @ii gR > (= 2.7.15~rc1-1)
  Considering libpython-stdlib:amd64 0 as a solution to python:amd64 11
  Added libpython-stdlib:amd64 to the remove list
  Fixing python:amd64 via keep of python-minimal:amd64
  MarkKeep python-minimal:amd64 < 2.7.15~rc1-1 @ii gR > FU=0
  Fixing python:amd64 via keep of libpython-stdlib:amd64
  MarkKeep libpython-stdlib:amd64 < 2.7.15~rc1-1 @ii gR > FU=0
Investigating (0) libpython2-stdlib:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken libpython2-stdlib:amd64 Breaks on libpython-stdlib:amd64 < 2.7.15~rc1-1 @ii gK > (< 2.7.15-2)
  Considering libpython-stdlib:amd64 0 as a solution to libpython2-stdlib:amd64 1
  Added libpython-stdlib:amd64 to the remove list
  Fixing libpython2-stdlib:amd64 via remove of libpython-stdlib:amd64
  MarkDelete libpython-stdlib:amd64 < 2.7.15~rc1-1 @ii gK > FU=0
Investigating (0) python2:amd64 < none -> 2.7.17-2ubuntu4 @un umN Ib >
Broken python2:amd64 Breaks on python:amd64 < 2.7.15~rc1-1 @ii gK Ib > (< 2.7.15-2)
  Considering python:amd64 11 as a solution to python2:amd64 1
  MarkKeep python2:amd64 < none -...

Read more...

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ubuntu-release-upgrader (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.