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 / 1244502
Accepted
kramer65
kramer65
Asked: 2020-05-29 03:39:33 +0800 CST2020-05-29 03:39:33 +0800 CST 2020-05-29 03:39:33 +0800 CST

A atualização para o Ubuntu 20.04 falha devido a PPAs. Como proceder?

  • 772

Estou no Ubuntu 19.10 e estou tentando atualizar para 20.04. Infelizmente, a atualização falhou com uma mensagem dizendo que " possivelmente falhou por causa de pacotes de software não oficiais que não são fornecidos pelo Ubuntu " (traduzido do holandês).

A notificação sugere usar ppa-purge" para remover o software de um PPA do Launchpad ". Ele não especifica qual PPA, então verifiquei o arquivo de log /var/log/dist-upgrade/20200528-1225/main.log. Mas aí não vejo problemas. Aqui está uma pasta do arquivo main.log completo . Colei o final do arquivo de log abaixo.

Alguém sabe como posso resolver isso para que eu possa atualizar para 20.04?

2019-10-30 16:00:15,624 DEBUG Start checking for obsolete pkgs
2019-10-30 16:00:21,655 DEBUG package 'multiarch-support' produces an unwanted removal 'nextcloud-client', skipping
2019-10-30 16:00:22,705 DEBUG 'multiarch-support' scheduled for remove but not safe to remove, skipping
2019-10-30 16:00:26,392 DEBUG package 'libgnome-keyring0' produces an unwanted removal 'nextcloud-client', skipping
2019-10-30 16:00:27,797 DEBUG 'libgnome-keyring0' scheduled for remove but not safe to remove, skipping
2019-10-30 16:00:28,098 DEBUG package 'libjson-c3' produces an unwanted removal 'libisccfg160', skipping
2019-10-30 16:00:29,442 DEBUG 'libjson-c3' scheduled for remove but not safe to remove, skipping
2019-10-30 16:00:31,026 DEBUG package 'libgnome-keyring-common' produces an unwanted removal 'nextcloud-client', skipping
2019-10-30 16:00:32,251 DEBUG 'libgnome-keyring-common' scheduled for remove but not safe to remove, skipping
2019-10-30 16:00:33,215 DEBUG Finish checking for obsolete pkgs
2019-10-30 16:00:33,273 DEBUG The following packages are marked for removal: libx265-165 linux-modules-4.15.0-1056-oem liblvm2cmd2.02 libglade2-0 libjpeg-turbo-progs gir1.2-mutter-4 ifupdown libparse-debianchangelog-perl libapt-inst2.0 libobjc-8-dev libllvm8 gir1.2-clutter-1.0 libcrystalhd3 openjfx-source libgupnp-1.0-4 ubuntu-wallpapers-cosmic libgtksourceview-3.0-common libip6tc0 pppoeconf libmutter-4-0 example-content command-not-found-data libapt-pkg5.0 ubuntu-wallpapers-disco libisl19 libvpx5 linux-oem-headers-4.15.0-1056 gir1.2-clutter-gst-3.0 gnome-calculator gir1.2-cogl-1.0 libgnome-desktop-3-17 g++-8 gir1.2-gtksource-3.0 xscreensaver-data python3-evdev liblouisutdml8 liblvm2app2.2 chromium-codecs-ffmpeg-extra linux-headers-4.15.0-1056-oem libgssdp-1.0-3 linux-image-4.15.0-1056-oem libigdgmm5 libmysqlclient20 libgtksourceview-3.0-1 libhtml-template-perl gir1.2-coglpango-1.0 libebook-contacts-1.2-2 libphobos2-ldc-shared82 libtagc0 libgeos-3.7.1 pppconfig libecal-1.2-19 libpoppler85 libip4tc0 openjfx libgtkspell3-3-0 gir1.2-gtkclutter-1.0 libreoffice-avmedia-backend-gstreamer libdouble-conversion1
2019-10-30 16:01:14,154 INFO cache.commit()
2019-10-30 16:01:34,131 DEBUG quirks: running PostCleanup
2019-10-30 16:01:34,131 DEBUG running Quirks.PostCleanup
2019-10-30 16:01:34,132 DEBUG Running PostInstallScript: './xorg_fix_proprietary.py'
package-management upgrade ppa apt do-release-upgrade
  • 1 1 respostas
  • 5095 Views

1 respostas

  • Voted
  1. Best Answer
    kramer65
    2020-05-29T04:09:30+08:002020-05-29T04:09:30+08:00

    Ok, encontrei esta resposta , que sugere pesquisar os logs por uma linha como esta:

    2013-10-17 15:00:30,543 ERROR Dist-upgrade failed: 'The package 'xubuntu-desktop' is marked for removal but it is in the removal blacklist.'
    

    Para os futuros leitores, foi isso que fiz. Fiz uma pesquisa assim:

    sudo apt install ack-grep
    ack "ERROR Dist-upgrade failed" /var/log/dist-upgrade/
    

    que deu esta saída:

    ack: apt-clone_system_state.tar.gz: cannot open file for reading
    main.log 
    115:2020-05-28 13:59:48,248 ERROR Dist-upgrade failed: 'The package 'postgresql-12-postgis-3' is marked for removal but it is in the removal blacklist.'
    
    20200528-1350/main.log 
    117:2020-05-28 13:48:27,555 ERROR Dist-upgrade failed: 'The package 'postgresql-11-postgis-2.5' is marked for removal but it is in the removal blacklist.'
    

    Eu então desinstalei esses pacotes:

    sudo apt purge postgresql-12-postgis-3
    sudo apt purge postgresql-11-postgis-2.5
    

    e depois disso a atualização continua a ser instalada..

    • 7

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