AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • Início
  • system&network
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • Início
  • system&network
    • Recentes
    • Highest score
    • tags
  • Ubuntu
    • Recentes
    • Highest score
    • tags
  • Unix
    • Recentes
    • tags
  • DBA
    • Recentes
    • tags
  • Computer
    • Recentes
    • tags
  • Coding
    • Recentes
    • tags
Início / ubuntu / Perguntas / 1454409
Accepted
popey
popey
Asked: 2023-02-11 10:48:30 +0800 CST2023-02-11 10:48:30 +0800 CST 2023-02-11 10:48:30 +0800 CST

Onde obtenho a origem dos pacotes ESM?

  • 772

Meu servidor doméstico está executando o Ubuntu 22.04 (Jammy) e está registrado no Ubuntu Pro.

alan@earth:~$ pro status
SERVICE          ENTITLED  STATUS    DESCRIPTION
esm-apps         yes       enabled   Expanded Security Maintenance for Applications
esm-infra        yes       enabled   Expanded Security Maintenance for Infrastructure
livepatch        yes       enabled   Canonical Livepatch service
realtime-kernel  yes       disabled  Ubuntu kernel with PREEMPT_RT patches integrated

Enable services with: pro enable <service>

     Account: (my email here)
Subscription: Ubuntu Pro - free personal subscription

Recebi uma atualização para um ou mais pacotes via ESM.

alan@earth:~$ dpkg -l  | grep esm
ii  imagemagick                            8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 amd64        image manipulation programs -- binaries
ii  imagemagick-6-common                   8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 all          image manipulation programs -- infrastructure
ii  imagemagick-6.q16                      8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 amd64        image manipulation programs -- quantum depth Q16
ii  libmagickcore-6.q16-6:amd64            8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 amd64        low-level image manipulation library -- quantum depth Q16
ii  libmagickcore-6.q16-6-extra:amd64      8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 amd64        low-level image manipulation library - extra codecs (Q16)
ii  libmagickwand-6.q16-6:amd64            8:6.9.11.60+dfsg-1.3ubuntu0.22.04.1+esm1 amd64        image manipulation library -- quantum depth Q16
ii  libopenexr25:amd64                     2.5.7-1ubuntu0.1~esm1                    amd64        runtime files for the OpenEXR image library

Por exemplo, libopenexr25:

alan@earth:~$ apt-cache policy libopenexr25
libopenexr25:
  Installed: 2.5.7-1ubuntu0.1~esm1
  Candidate: 2.5.7-1ubuntu0.1~esm1
  Version table:
 *** 2.5.7-1ubuntu0.1~esm1 500
        500 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main amd64 Packages
        100 /var/lib/dpkg/status
     2.5.7-1 500
        500 http://gb.archive.ubuntu.com/ubuntu jammy/universe amd64 Packages

Eu gostaria da fonte para estes. Eu tenho as linhas de origem em meus arquivos sources.list relevantes.

alan@earth:~$ cat /etc/apt/sources.list.d/ubuntu-esm-*
deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-security main
deb-src https://esm.ubuntu.com/apps/ubuntu jammy-apps-security main
deb https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates main
deb-src https://esm.ubuntu.com/apps/ubuntu jammy-apps-updates main
deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
deb-src https://esm.ubuntu.com/infra/ubuntu jammy-infra-security main
deb https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates main
deb-src https://esm.ubuntu.com/infra/ubuntu jammy-infra-updates main

No entanto, quando tento baixar a fonte, recebo um erro 401.

alan@earth:~/foo$ apt source libopenexr25
Reading package lists... Done
Picking 'openexr' as source package instead of 'libopenexr25'
NOTICE: 'openexr' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/debian-phototools-team/openexr.git
Please use:
git clone https://salsa.debian.org/debian-phototools-team/openexr.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 27.6 MB of source archives.
Err:1 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main openexr 2.5.7-1ubuntu0.1~esm1 (tar)
  401  Unauthorized [IP: 185.125.190.23 443]
Err:2 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main openexr 2.5.7-1ubuntu0.1~esm1 (asc)
  401  Unauthorized [IP: 185.125.190.23 443]
Err:3 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main openexr 2.5.7-1ubuntu0.1~esm1 (diff)
  401  Unauthorized [IP: 185.125.190.23 443]
Err:4 https://esm.ubuntu.com/apps/ubuntu jammy-apps-security/main openexr 2.5.7-1ubuntu0.1~esm1 (dsc)
  401  Unauthorized [IP: 185.125.190.23 443]
E: Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/o/openexr/openexr_2.5.7.orig.tar.gz  401  Unauthorized [IP: 185.125.190.23 443]
E: Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/o/openexr/openexr_2.5.7.orig.tar.gz.asc  401  Unauthorized [IP: 185.125.190.23 443]
E: Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/o/openexr/openexr_2.5.7-1ubuntu0.1%7eesm1.debian.tar.xz  401  Unauthorized [IP: 185.125.190.23 443]
E: Failed to fetch https://esm.ubuntu.com/apps/ubuntu/pool/main/o/openexr/openexr_2.5.7-1ubuntu0.1%7eesm1.dsc  401  Unauthorized [IP: 185.125.190.23 443]

Como obtenho esses arquivos de origem?

apt
  • 1 1 respostas
  • 149 Views

1 respostas

  • Voted
  1. Best Answer
    Julian Andres Klode
    2023-02-11T11:43:44+08:002023-02-11T11:43:44+08:00

    O acesso é protegido por um token armazenado em um arquivo dentro de /etc/apt/auth.conf.d. esse arquivo não pode ser lido por usuários normais, portanto, você deve usar o sudo ou executar o download como root ou dar permissão ao usuário para ler esse trecho (mas ainda não tenho certeza se o cliente profissional o preserva).

    • 3

relate perguntas

  • Como posso ver todas as versões de um pacote que estão disponíveis no arquivo?

  • Como os PPAs podem ser removidos?

Sidebar

Stats

  • Perguntas 205573
  • respostas 270741
  • best respostas 135370
  • utilizador 68524
  • Highest score
  • respostas
  • Marko Smith

    Existe um comando para listar todos os usuários? Também para adicionar, excluir, modificar usuários, no terminal?

    • 9 respostas
  • Marko Smith

    Como excluir um diretório não vazio no Terminal?

    • 4 respostas
  • Marko Smith

    Como descompactar um arquivo zip do Terminal?

    • 9 respostas
  • Marko Smith

    Como instalo um arquivo .deb por meio da linha de comando?

    • 11 respostas
  • Marko Smith

    Como instalo um arquivo .tar.gz (ou .tar.bz2)?

    • 14 respostas
  • Marko Smith

    Como listar todos os pacotes instalados

    • 24 respostas
  • Martin Hope
    Flimm Como posso usar o docker sem sudo? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    led-Zepp Como faço para salvar a saída do terminal em um arquivo? 2014-02-15 11:49:07 +0800 CST
  • Martin Hope
    ubuntu-nerd Como descompactar um arquivo zip do Terminal? 2011-12-11 20:37:54 +0800 CST
  • Martin Hope
    TheXed Como instalo um arquivo .deb por meio da linha de comando? 2011-05-07 09:40:28 +0800 CST
  • Martin Hope
    Ivan Como listar todos os pacotes instalados 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    David Barry Como determino o tamanho total de um diretório (pasta) na linha de comando? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher "Os seguintes pacotes foram retidos:" Por que e como resolvo isso? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford Como os PPAs podem ser removidos? 2010-07-30 01:09:42 +0800 CST

Hot tag

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • Início
  • Perguntas
    • Recentes
    • Highest score
  • tag
  • help

Footer

AskOverflow.Dev

About Us

  • About Us
  • Contact Us

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve