[Bug 1969284] [NEW] mixed ports/archive setup fails to update source list correctly

Liz Fong-Jones 1969284 at bugs.launchpad.net
Sat Apr 16 20:28:11 UTC 2022


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
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/1969284

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

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

Bug description:
  $ 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]

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




More information about the foundations-bugs mailing list