[Bug 2008533] [NEW] sudo do-release-upgrade wont launch

Michael 2008533 at bugs.launchpad.net
Sat Feb 25 00:19:47 UTC 2023


Public bug reported:

It believes I have ppa packages but I went through the steps to remove
them and the upgrader still thinks they are there.  Can't the upgrade
program do this itself or provide an over ride?  I dont know how to
proceed.   Steps I did:

There is no built-in option in the do-release-upgrade command to ignore
Personal Package Archive (PPA) packages during the upgrade process.
However, there is a workaround that you can use to achieve this:

    First, you should disable all PPAs on your system. This can be done
by editing the configuration files in the /etc/apt/sources.list.d/
directory and adding a # at the beginning of each line that starts with
deb. For example, you can run the following command to disable all PPAs
on your system:


sudo sed -i 's/^deb/# deb/g' /etc/apt/sources.list.d/*

    Next, update the package list by running the following command:


sudo apt-get update

    Now, run the do-release-upgrade command as usual to start the
upgrade process

ProblemType: Bug
DistroRelease: Ubuntu 20.04
Package: ubuntu-release-upgrader-core 1:20.04.40 [origin: unknown]
ProcVersionSignature: Ubuntu 5.4.0-139.156-generic 5.4.224
Uname: Linux 5.4.0-139-generic x86_64
ApportVersion: 2.20.11-0ubuntu27.25
Architecture: amd64
CasperMD5CheckResult: skip
CrashDB: ubuntu
Date: Sat Feb 25 00:12:36 2023
Ec2AMI: ami-0b0a60c0a2bd40612
Ec2AMIManifest: (unknown)
Ec2AvailabilityZone: eu-west-2c
Ec2InstanceType: m6i.2xlarge
Ec2Kernel: unavailable
Ec2Ramdisk: unavailable
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to focal on 2023-02-25 (0 days ago)
mtime.conffile..etc.update-manager.release-upgrades: 2019-04-21T21:11:54.086120

** Affects: ubuntu-release-upgrader (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug dist-upgrade ec2-images focal third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2008533

Title:
  sudo do-release-upgrade wont launch

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  It believes I have ppa packages but I went through the steps to remove
  them and the upgrader still thinks they are there.  Can't the upgrade
  program do this itself or provide an over ride?  I dont know how to
  proceed.   Steps I did:

  There is no built-in option in the do-release-upgrade command to
  ignore Personal Package Archive (PPA) packages during the upgrade
  process. However, there is a workaround that you can use to achieve
  this:

      First, you should disable all PPAs on your system. This can be
  done by editing the configuration files in the
  /etc/apt/sources.list.d/ directory and adding a # at the beginning of
  each line that starts with deb. For example, you can run the following
  command to disable all PPAs on your system:

  
  sudo sed -i 's/^deb/# deb/g' /etc/apt/sources.list.d/*

      Next, update the package list by running the following command:

  
  sudo apt-get update

      Now, run the do-release-upgrade command as usual to start the
  upgrade process

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.40 [origin: unknown]
  ProcVersionSignature: Ubuntu 5.4.0-139.156-generic 5.4.224
  Uname: Linux 5.4.0-139-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.25
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  Date: Sat Feb 25 00:12:36 2023
  Ec2AMI: ami-0b0a60c0a2bd40612
  Ec2AMIManifest: (unknown)
  Ec2AvailabilityZone: eu-west-2c
  Ec2InstanceType: m6i.2xlarge
  Ec2Kernel: unavailable
  Ec2Ramdisk: unavailable
  PackageArchitecture: all
  ProcEnviron:
   TERM=xterm-256color
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_US.UTF-8
   SHELL=/bin/bash
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2023-02-25 (0 days ago)
  mtime.conffile..etc.update-manager.release-upgrades: 2019-04-21T21:11:54.086120

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2008533/+subscriptions




More information about the foundations-bugs mailing list