Can't end do-release-upgrade without error

Bug #2085156 reported by Tjark Remar
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ubuntu-release-upgrader (Ubuntu)
New
Undecided
Unassigned

Bug Description

### English Summary of the Issue:

During an attempt to upgrade an Ubuntu system from version 22.04 to 24.04 using the `do-release-upgrade` command, the process failed due to unresolved package conflicts or issues related to third-party software repositories (PPAs).

#### Steps that were taken:
1. **Initial Command:**
   The upgrade process was initiated manually using:
   ```bash
      sudo do-release-upgrade
   ```

2. **SSH Warning:**
   The system detected that the session was running over SSH, warning about potential risks and offering to start an additional SSH service on port 1022 for recovery in case of failure.

3. **Download and Preparation:**
   The upgrade tool downloaded the required packages and began verifying the system’s package management and installed software.

4. **Error Encounter:**
   During the upgrade process, an issue was encountered:
   - The system could not calculate the available updates and reported an *unresolvable problem* during the upgrade calculation phase.
   - The error message indicated that this was likely caused by *non-official software packages* installed from third-party repositories (PPAs).
   - The suggestion was to use `ppa-purge` to remove these external packages and retry the upgrade process.

5. **Automatic Rollback:**
   After detecting the issue, the upgrade tool restored the system to its previous state and aborted the upgrade process.

6. **Bug Report Initiated:**
   To address this issue, a bug report was filed using the following command:
   ```bash
      ubuntu-bug ubuntu-release-upgrader-core
   ```

The logs for this failed upgrade can be found in the `/var/log/dist-upgrade/` directory, specifically in the `main.log` and `apt.log` files. These logs provide further details on the issue, including which packages or repositories caused the conflict.

### Next Steps:
- Investigate the conflicting third-party repositories or packages.
- Remove or disable them using tools like `ppa-purge`.
- Retry the upgrade after resolving the package issues.

Would you like to proceed with additional troubleshooting steps or need help with log analysis?

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: ubuntu-release-upgrader-core 1:22.04.20
ProcVersionSignature: Ubuntu 6.8.0-47.47~22.04.1-generic 6.8.12
Uname: Linux 6.8.0-47-generic x86_64
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
CrashDB: ubuntu
CrashReports: 640:0:128:714222:2024-10-21 13:18:44.042301326 +0200:2024-10-21 13:18:43.854301318 +0200:/var/crash/_usr_sbin_plymouthd.0.crash
Date: Mon Oct 21 20:58:03 2024
InstallationDate: Installed on 2021-05-13 (1257 days ago)
InstallationMedia: Ubuntu-Budgie 20.04.2.0 LTS "Focal Fossa" - Release amd64 (20210210.1)
PackageArchitecture: all
ProcEnviron:
 TERM=xterm-256color
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=de_DE.UTF-8
 SHELL=/bin/bash
SourcePackage: ubuntu-release-upgrader
UpgradeStatus: Upgraded to jammy on 2024-10-21 (0 days ago)
modified.conffile..etc.update-manager.release-upgrades: [modified]
mtime.conffile..etc.update-manager.release-upgrades: 2024-10-21T12:26:34.075145

Revision history for this message
Tjark Remar (technomage1977) wrote :
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.