[Bug 2068155] [NEW] If you choose 'Yes' here it will update all 'focal' to 'jammy' entries -- but it doesn't

strk 2068155 at bugs.launchpad.net
Wed Jun 5 10:46:41 UTC 2024


Public bug reported:

This is my starting /etc/apt/source.list:
```
deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu focal main restricted universe multiverse
deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu focal-updates main restricted universe multiverse
deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu focal-backports main restricted universe multiverse
deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu focal-security main restricted universe multiverse
deb [trusted=yes arch=amd64] http://apt.cust.om/pgdg/pub/repos/apt focal-pgdg main
deb [trusted=yes arch=amd64] http://apt.cust.om/cust-ubuntu/ focal-backports main
```

When running do-release-upgrade it tells me:

  No valid mirror found
  Do you want to rewrite your 'sources.list' file anyway? 
  If you choose 'Yes' here it will update all 'focal' to 'jammy' entries.

I chose 'Yes' and this is the resulting /etc/apt/source.list:
```
deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu jammy main restricted universe multiverse
deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu jammy-updates main restricted universe multiverse
deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu jammy-backports main restricted universe multiverse
deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu jammy-security main restricted universe multiverse
deb [trusted=yes arch=amd64] http://apt.cust.om/pgdg/pub/repos/apt focal-pgdg main
# deb [trusted=yes arch=amd64] http://apt.cust.om/cust-ubuntu/ focal-backports main
```

As you can see the second-last line did not get "focal" replaced by
"jammy".

Also I don't know why the last line was disabled.

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

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

Title:
  If you choose 'Yes' here it will update all 'focal' to 'jammy' entries
  -- but it doesn't

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

Bug description:
  This is my starting /etc/apt/source.list:
  ```
  deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu focal main restricted universe multiverse
  deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu focal-updates main restricted universe multiverse
  deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu focal-backports main restricted universe multiverse
  deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu focal-security main restricted universe multiverse
  deb [trusted=yes arch=amd64] http://apt.cust.om/pgdg/pub/repos/apt focal-pgdg main
  deb [trusted=yes arch=amd64] http://apt.cust.om/cust-ubuntu/ focal-backports main
  ```

  When running do-release-upgrade it tells me:

    No valid mirror found
    Do you want to rewrite your 'sources.list' file anyway? 
    If you choose 'Yes' here it will update all 'focal' to 'jammy' entries.

  I chose 'Yes' and this is the resulting /etc/apt/source.list:
  ```
  deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu jammy main restricted universe multiverse
  deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu jammy-updates main restricted universe multiverse
  deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu jammy-backports main restricted universe multiverse
  deb [trusted=yes arch=amd64] http://apt.cust.om/ubuntu jammy-security main restricted universe multiverse
  deb [trusted=yes arch=amd64] http://apt.cust.om/pgdg/pub/repos/apt focal-pgdg main
  # deb [trusted=yes arch=amd64] http://apt.cust.om/cust-ubuntu/ focal-backports main
  ```

  As you can see the second-last line did not get "focal" replaced by
  "jammy".

  Also I don't know why the last line was disabled.

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




More information about the foundations-bugs mailing list