[Bug 1990821] Re: Cound not replace ppa repos to upgrade system

Olivier Gayot 1990821 at bugs.launchpad.net
Tue Sep 27 22:32:40 UTC 2022


Hello @ekateriner,

Looking at the logs provided, it seems that you have added multiple
third-party sources in etc/apt/sources.list.d.

AFAIK, The suggested command `ppa-purge ppa:<user_name>/<ppa_name>` only
works for launchpad PPAs, and not for third-party sources.

Could you please try to cleanup the /etc/apt/sources.list.d/ directory
first?

You can try the following command:

$ sudo find /etc/apt/sources.list.d -type f -name '*.list' -exec mv {} {}.back ';'
$ sudo apt update

And then try the upgrade again

** Changed in: ubuntu-release-upgrader (Ubuntu)
       Status: New => Incomplete

-- 
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/1990821

Title:
  Cound not replace ppa repos to upgrade system

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

Bug description:
  There is an error during system update:
  ```
  This was likely caused by: 
  * Unofficial software packages not provided by Ubuntu 
  Please use the tool 'ppa-purge' from the ppa-purge 
  package to remove software from a Launchpad PPA and 
  try the upgrade again. 
  ```
  But when I try `sudo ppa-purge ppa:<user_name>/<ppa_name>` it returns  `Warning:  Could not find package list for PPA: <ppa_name>` for all packages and `sudo apt-add-repository --remove ppa:<user_name>/<ppa_name>` 
  doesn't help too

  ProblemType: Bug
  DistroRelease: Ubuntu 20.04
  Package: ubuntu-release-upgrader-core 1:20.04.39
  ProcVersionSignature: Ubuntu 5.15.0-48.54~20.04.1-generic 5.15.53
  Uname: Linux 5.15.0-48-generic x86_64
  ApportVersion: 2.20.11-0ubuntu27.24
  Architecture: amd64
  CasperMD5CheckResult: skip
  CrashDB: ubuntu
  CurrentDesktop: ubuntu:GNOME
  Date: Mon Sep 26 11:43:10 2022
  DistributionChannelDescriptor:
   # This is a distribution channel descriptor
   # For more information see http://wiki.ubuntu.com/DistributionChannelDescriptor
   canonical-oem-somerville-xenial-amd64-20160624-2
  InstallationDate: Installed on 2018-08-22 (1496 days ago)
  InstallationMedia: Ubuntu 16.04 "Xenial" - Build amd64 LIVE Binary 20160624-10:47
  PackageArchitecture: all
  SourcePackage: ubuntu-release-upgrader
  UpgradeStatus: Upgraded to focal on 2022-09-26 (0 days ago)
  mtime.conffile..etc.update-manager.release-upgrades: 2020-04-21T00:04:03.879343

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




More information about the foundations-bugs mailing list