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
Bugs, which is subscribed to 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

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to