Public bug reported:

$ uname -a
Linux daisy 5.13.0-27-generic #29~20.04.1-Ubuntu SMP Fri Jan 14 00:35:28 UTC 
2022 aarch64 aarch64 aarch64 GNU/Linux

$ grep main /etc/apt/sources.list
deb [arch=arm64,armhf] http://us.ports.ubuntu.com/ubuntu-ports/ focal main 
restricted
deb [arch=amd64] http://us.archive.ubuntu.com/ubuntu/ focal main restricted

when do-release-upgrade -d is run to upgrade to jammy, all the sources
get changed to us.ports.ubuntu.com/ubuntu-ports, even the amd64 arch
sources which do not exist on ports, only on archive. This results in
this 404 in apt update and the upgrade bailing:

Err http://ports.ubuntu.com/ubuntu-ports jammy/main amd64 Packages              
  404  Not Found [IP: 185.125.190.36 80]                                        
Err http://ports.ubuntu.com/ubuntu-ports jammy/restricted amd64 Packages        
  404  Not Found [IP: 185.125.190.36 80]                                        
Err http://ports.ubuntu.com/ubuntu-ports jammy/universe amd64 Packages          
  404  Not Found [IP: 185.125.190.36 80]                                        
Err http://ports.ubuntu.com/ubuntu-ports jammy/multiverse amd64 Packages        
  404  Not Found [IP: 185.125.190.36 80]

** 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/1969284

Title:
  mixed ports/archive setup fails to update source list correctly

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


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to