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 / 1528888
Accepted
born2code
born2code
Asked: 2024-10-03 20:46:48 +0800 CST2024-10-03 20:46:48 +0800 CST 2024-10-03 20:46:48 +0800 CST

Não é possível reparar pacotes quebrados no Ubuntu 20.04

  • 772

Tenho os seguintes erros quando executo esta vírgula

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  accountsservice-ubuntu-schemas alacarte gnome-applets gnome-applets-data
  gnome-panel gnome-panel-data gnome-screensaver gstreamer1.0-gtk3
  indicator-applet indicator-appmenu indicator-bluetooth indicator-datetime
  indicator-keyboard indicator-messages indicator-power indicator-printers
  indicator-session indicator-sound jayatana libabw-0.1-1 libaccounts-glib0
  libavahi-ui-gtk3-0 libbamf3-2 libboost-date-time1.71.0
  libboost-filesystem1.71.0 libboost-iostreams1.71.0 libboost-locale1.71.0
  libclucene-contribs1v5 libclucene-core1v5 libcmis-0.5-5v5 libcpufreq0
  libe-book-0.1-1 libeot0 libepubgen-0.1-1 libetonyek-0.1-1 libevent-2.1-7
  libexttextcat-2.0-0 libexttextcat-data libfcitx-gclient1 libfcitx-utils0
  libfreehand-0.1-1 libfreerdp-client2-2 libfreerdp2-2 libgnome-panel0
  libgpgmepp6 libgucharmap-2-90-7 libido3-0.1-0 libjuh-java libjurt-java
  liblangtag-common liblangtag1 liblightdm-gobject-1-0 libmessaging-menu0
  libmhash2 libmspub-0.1-1 libmwaw-0.3-3 libmythes-1.2-0 libnatpmp1
  libneon27-gnutls libodfgen-0.1-1 liborcus-0.15-0 libpagemaker-0.0-0
  libpanel-applet3 libraptor2-0 librasqal3 librdf0 libridl-java
  libunity-gtk2-parser0 libunity-gtk3-parser0 libuno-cppu3
  libuno-cppuhelpergcc3-3 libuno-purpenvhelpergcc3-3 libuno-sal3
  libuno-salhelpergcc3-3 libunoloader-java liburl-dispatcher1 libvncclient1
  libwinpr2-2 libwps-0.4-4 libxmlsec1 libxmlsec1-nss libyajl2 lp-solve
  ubuntu-touch-sounds unity-gtk-module-common unity-gtk2-module
  unity-gtk3-module unity-settings-daemon-schemas uno-libs-private ure
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  dbus dbus-x11 libavahi-client3:i386 libavahi-common-data:i386
  libavahi-common3:i386 libcom-err2:i386 libcups2:i386 libdbus-1-3
  libdbus-1-3:i386 libexpat1:i386 libfreetype6:i386 libfribidi0:i386
  libgail-common:i386 libgail18:i386 libgdk-pixbuf2.0-0:i386 libgmp10:i386
  libgssapi-krb5-2:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed5:i386
  libicu66:i386 libjbig0:i386 libk5crypto3:i386 libkeyutils1:i386
  libkrb5-3:i386 libkrb5support0:i386 liblz4-1:i386 libnettle7:i386
  libnss-systemd libp11-kit0:i386 libpam-systemd libpcre2-8-0:i386
  libpcre3:i386 libpixman-1-0:i386 libssl1.1:i386 libsystemd0 libsystemd0:i386
  libtiff5:i386 libwebp6:i386 libxml2:i386 libzstd1:i386 systemd systemd-sysv
  systemd-timesyncd
Suggested packages:
  krb5-doc:i386 krb5-user:i386 librsvg2-common:i386 gvfs:i386
  systemd-container
The following NEW packages will be installed:
  libsystemd0:i386
The following packages will be upgraded:
  dbus dbus-x11 libavahi-client3:i386 libavahi-common-data:i386
  libavahi-common3:i386 libcom-err2:i386 libcups2:i386 libdbus-1-3
  libdbus-1-3:i386 libexpat1:i386 libfreetype6:i386 libfribidi0:i386
  libgail-common:i386 libgail18:i386 libgdk-pixbuf2.0-0:i386 libgmp10:i386
  libgssapi-krb5-2:i386 libgtk2.0-0:i386 libharfbuzz0b:i386 libhogweed5:i386
  libicu66:i386 libjbig0:i386 libk5crypto3:i386 libkeyutils1:i386
  libkrb5-3:i386 libkrb5support0:i386 liblz4-1:i386 libnettle7:i386
  libnss-systemd libp11-kit0:i386 libpam-systemd libpcre2-8-0:i386
  libpcre3:i386 libpixman-1-0:i386 libssl1.1:i386 libsystemd0 libtiff5:i386
  libwebp6:i386 libxml2:i386 libzstd1:i386 systemd systemd-sysv
  systemd-timesyncd
43 upgraded, 1 newly installed, 0 to remove and 19 not upgraded.
139 not fully installed or removed.
Need to get 0 B/22.0 MB of archives.
After this operation, 1,341 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Extracting templates from packages: 100%
Preconfiguring packages ...
(Reading database ... 225599 files and directories currently installed.)
Preparing to unpack .../liblz4-1_1.9.2-2ubuntu0.20.04.1_i386.deb ...
Unpacking liblz4-1:i386 (1.9.2-2ubuntu0.20.04.1) over (1.9.2-2) ...
dpkg: error processing archive /var/cache/apt/archives/liblz4-1_1.9.2-2ubuntu0.2
0.04.1_i386.deb (--unpack):
 trying to overwrite shared '/usr/share/doc/liblz4-1/changelog.Debian.gz', which
 is different from other instances of package liblz4-1:i386
Errors were encountered while processing:
 /var/cache/apt/archives/liblz4-1_1.9.2-2ubuntu0.20.04.1_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
20.04
  • 2 2 respostas
  • 30 Views

2 respostas

  • Voted
  1. kyodake
    2024-10-03T21:20:21+08:002024-10-03T21:20:21+08:00

    Tente o seguinte:

    Abra um terminal.

    Corra nele:

     sudo apt update
    
     sudo apt clean
    
     sudo apt autoremove
    
     sudo dpkg --configure -a
    
     sudo apt dist-upgrade
    

    Se você tiver algum problema, escreva um comentário, não uma pergunta.

    • 0
  2. Best Answer
    born2code
    2024-10-03T23:37:13+08:002024-10-03T23:37:13+08:00

    Esta resposta me ajudou! https://askubuntu.com/a/862436/676932 Removendo o arquivo change-log para LIBRARY:

    sudo rm /usr/share/doc/LIBRARY/changelog.Debian.gz
    

    Então:

    sudo apt update
    sudo apt upgarde
    

    Como tive problemas com muitas bibliotecas, excluí doca pasta.

    • 0

relate perguntas

  • Como posso configurar a resolução de domínio curinga local (127.0.0.1) em 18.04..20.04?

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