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 / 1527709
Accepted
Phlp
Phlp
Asked: 2024-09-22 23:46:36 +0800 CST2024-09-22 23:46:36 +0800 CST 2024-09-22 23:46:36 +0800 CST

Por que a atualização de 23.04 para 24.04.1 está falhando com "instalar todas as atualizações disponíveis"?

  • 772

A atualização para 24.04.1 está falhando com uma mensagem de que preciso fazer todas as atualizações antes de instalar. Como você pode ver no log em anexo, tentei fazer todas as atualizações, mas algumas atualizações 'esm-apps' não estão sendo instaladas e preciso instalar o Ubuntu Pro para atualizá-las. Estou assumindo que essas atualizações não são necessárias para fazer a atualização.

Há uma série de atualizações do dotnet que não estão instaladas, mas eu removi o dotnet anteriormente. Essas são as atualizações que estão bloqueando a atualização? Se sim, posso me livrar delas?

Aliás, também tentei o Atualizador de Software e ele sai sem nenhuma mensagem. :-(

Cumprimentos

$ sudo apt update
Hit:1 https://download.docker.com/linux/ubuntu jammy InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu jammy InRelease                                 
Hit:3 http://security.ubuntu.com/ubuntu jammy-security InRelease                          
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                             
Hit:5 http://us.archive.ubuntu.com/ubuntu jammy-updates InRelease                         
Hit:6 https://packages.microsoft.com/repos/vscode stable InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu jammy-backports InRelease           
Hit:8 https://packages.microsoft.com/ubuntu/22.04/prod jammy InRelease        
Hit:9 https://packages.microsoft.com/repos/code stable InRelease
Hit:10 https://hub-dist.unity3d.com/artifactory/hub-debian-prod-local stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
4 packages can be upgraded. Run 'apt list --upgradable' to see them.


$ sudo apt upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
Get more security updates through Ubuntu Pro with 'esm-apps' enabled:
  libheif1 libjs-jquery-ui libpathplan4 graphviz libgvpr2 libgvc6 libopenexr25
  python3-scipy libcgraph6 libmagickcore-6.q16-6-extra libcdt5
  libmagickwand-6.q16-6 imagemagick-6.q16 libmagickcore-6.q16-6 liblab-gamut1
  imagemagick-6-common libde265-0 libpmix2
Learn more about Ubuntu Pro at https://ubuntu.com/pro
The following packages have been kept back:
  dotnet-hostfxr-7.0 ubuntu-advantage-tools ubuntu-pro-client ubuntu-pro-client-l10n
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.


$ do-release-upgrade 
Checking for a new Ubuntu release
Please install all available updates for your release before upgrading.

$ sudo apt list --upgradeable -a
Listing... Done
dotnet-hostfxr-7.0/jammy-updates,jammy-security 7.0.119-0ubuntu1~22.04.1 amd64 [upgradable from: 7.0.5-1]
dotnet-hostfxr-7.0/jammy 7.0.20-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.19-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.18-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.17-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.16-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.15-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.14-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.13-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.12-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.11-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.10-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.9-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.8-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.7-1 amd64
dotnet-hostfxr-7.0/jammy,now 7.0.5-1 amd64 [installed,upgradable to: 7.0.119-0ubuntu1~22.04.1]
dotnet-hostfxr-7.0/jammy 7.0.4-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.3-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.2-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.1-1 amd64
dotnet-hostfxr-7.0/jammy 7.0.0-1 amd64

$ sudo apt remove dotnet
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'dotnet' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
upgrade
  • 1 1 respostas
  • 41 Views

1 respostas

  • Voted
  1. Best Answer
    user535733
    2024-09-23T02:16:37+08:002024-09-23T02:16:37+08:00
    1. " Tentei fazer todas as atualizações, mas algumas atualizações do 'esm-apps' não estão sendo instaladas e preciso instalar o Ubuntu Pro para atualizá-las. "

      Você interpretou mal a saída. O Ubuntu Pro ('esm-apps') não é necessário.


    1. O motivo pelo qual seu sistema não libera a atualização é...

      The following packages have been kept back:
        dotnet-hostfxr-7.0 ubuntu-advantage-tools ubuntu-pro-client ubuntu-pro-client-l10n
      0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
      

      ...atualizações em fases.

      O caminho mais seguro é simplesmente deixar o phasing ser concluído. Talvez alguns dias. Talvez uma semana. Então esses pacotes (exceto dotnet-hostfxr-7.0) serão instalados, e então você pode fazer release-upgrade.

      Se você realmente quiser, pode sobrepor o phasing e instalá-los agora. Como fazer isso já foi explicado muitas vezes, então vou deixar você procurar se quiser seguir esse caminho.


    1. Seu problema com o dotnet parece bastante simples:

      O nome do pacote édotnet-hostfxr-7.0

      Mas você escreveu$ sudo apt remove dotnet

      Tente usar o nome completo do pacote:$ sudo apt remove dotnet-hostfxr-7.0

    • 1

relate perguntas

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