Public bug reported:

"apt download" fails when attempting to download an app from the ESM
repos. "sudo apt download" is necessary.

$ apt download hello
Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1
Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1
Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1
Err:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1
  401  Unauthorized [IP: 2620:2d:4000:1::2e 443]
E: Failed to fetch 
https://esm.ubuntu.com/infra/ubuntu/pool/main/h/hello/hello_2.10-2ubuntu4%2besm1_amd64.deb
  401  Unauthorized [IP: 2620:2d:4000:1::2e 443]

$ sudo apt download hello
Get:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1 [26.5 kB]
Fetched 26.5 kB in 10s (2,610 B/s)

A wild stab in the dark: the credentials to access the ESM servers are
not readable by unpriveleged users.

ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: apt 2.4.12
ProcVersionSignature: Ubuntu 6.8.0-38.38~22.04.1-generic 6.8.8
Uname: Linux 6.8.0-38-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.6
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: MATE
Date: Sat Aug 24 19:58:06 2024
SourcePackage: apt
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: apt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug jammy third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/2077805

Title:
  "apt download" fails for ESM packages

Status in apt package in Ubuntu:
  New

Bug description:
  "apt download" fails when attempting to download an app from the ESM
  repos. "sudo apt download" is necessary.

  $ apt download hello
  Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1
  Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1
  Ign:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1
  Err:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1
    401  Unauthorized [IP: 2620:2d:4000:1::2e 443]
  E: Failed to fetch 
https://esm.ubuntu.com/infra/ubuntu/pool/main/h/hello/hello_2.10-2ubuntu4%2besm1_amd64.deb
  401  Unauthorized [IP: 2620:2d:4000:1::2e 443]

  $ sudo apt download hello
  Get:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 hello 
amd64 2.10-2ubuntu4+esm1 [26.5 kB]
  Fetched 26.5 kB in 10s (2,610 B/s)

  A wild stab in the dark: the credentials to access the ESM servers are
  not readable by unpriveleged users.

  ProblemType: Bug
  DistroRelease: Ubuntu 22.04
  Package: apt 2.4.12
  ProcVersionSignature: Ubuntu 6.8.0-38.38~22.04.1-generic 6.8.8
  Uname: Linux 6.8.0-38-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu82.6
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: MATE
  Date: Sat Aug 24 19:58:06 2024
  SourcePackage: apt
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/2077805/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to