APT totalmente quebrado

0

eu estou no Ubuntu 14.04 e meu apt está totalmente quebrado.

O problema começou com grub-pc package e agora continua, junto com esse pacote, com libuuid1:amd64 package.

a inserção de libuuid1:amd64 package (usando apt ou dpkg ) dá erro

package libuuid1:amd64 2.20.1-5.1ubuntu20.6 cannot be configured because libuuid1:i386 is at a different version (2.20.1-5.1ubuntu20.4)

antes pelo menos, sempre que recebi atualizações, os outros pacotes foram instalados. Agora, não há [ackages instalados!

Por favor ajude. Não consigo instalar ou atualizar nada!

Resultado de sudo apt-get upgrade

nirmik@nirmik-esds:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  kodi kodi-bin
The following packages will be upgraded:
  apparmor firefox firefox-locale-en flashplugin-installer google-chrome-beta
  libapparmor-perl libapparmor1 linux-firmware openssh-client openssh-server
  openssh-sftp-server ssh-askpass-gnome thunderbird thunderbird-gnome-support
  tzdata tzdata-java xul-ext-ubufox y-ppa-manager yad
19 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
5 not fully installed or removed.
Need to get 0 B/149 MB of archives.
After this operation, 15.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
dpkg: error processing package libuuid1:amd64 (--configure):
 package libuuid1:amd64 2.20.1-5.1ubuntu20.6 cannot be configured because libuuid1:i386 is at a different version (2.20.1-5.1ubuntu20.4)
dpkg: dependency problems prevent configuration of libblkid1:amd64:
 libblkid1:amd64 depends on libuuid1 (>= 2.16); however:
  Package libuuid1:amd64 is not configured yet.

dpkg: error processing package libblkid1:amd64 (--configure):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libmount1:amd64:
 libmount1:amd64 depends on libblkid1 (>= 2.17.2); however:
  Package libblkid1:amd64 is not configured yet.

dpkg: error processing package libmount1:amd64 (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          No apport report written because the error message indicates its a followup error from a previous failure.
                  E: Sub-process /usr/bin/dpkg returned an error code (1)

saída de find /etc/apt/ -name "*.list" -exec bash -c 'printf "\n%s\n%s\n%s\n" "========" "$1" "========"; cat "$1"' _ {} \;

========
/etc/apt/sources.list
========
# deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release amd64 (20140722.2)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ trusty universe
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty universe
deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates universe
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://in.archive.ubuntu.com/ubuntu/ trusty multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty multiverse
deb http://in.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://in.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://in.archive.ubuntu.com/ubuntu/ trusty-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu trusty-security main restricted
deb-src http://security.ubuntu.com/ubuntu trusty-security main restricted
deb http://security.ubuntu.com/ubuntu trusty-security universe
deb-src http://security.ubuntu.com/ubuntu trusty-security universe
deb http://security.ubuntu.com/ubuntu trusty-security multiverse
deb-src http://security.ubuntu.com/ubuntu trusty-security multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
deb http://archive.canonical.com/ubuntu trusty partner
# deb-src http://archive.canonical.com/ubuntu trusty partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu trusty main
deb-src http://extras.ubuntu.com/ubuntu trusty main

deb http://deb.torproject.org/torproject.org trusty main
deb-src http://deb.torproject.org/torproject.org trusty main

========
/etc/apt/sources.list.d/mozillateam-thunderbird-next-trusty.list
========
deb http://ppa.launchpad.net/mozillateam/thunderbird-next/ubuntu trusty main
# deb-src http://ppa.launchpad.net/mozillateam/thunderbird-next/ubuntu trusty main

========
/etc/apt/sources.list.d/noobslab-indicators-trusty.list
========
deb http://ppa.launchpad.net/noobslab/indicators/ubuntu trusty main
# deb-src http://ppa.launchpad.net/noobslab/indicators/ubuntu trusty main

========
/etc/apt/sources.list.d/ravefinity-project-ppa-trusty.list
========
deb http://ppa.launchpad.net/ravefinity-project/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/ravefinity-project/ppa/ubuntu trusty main

========
/etc/apt/sources.list.d/leolik-leolik-trusty.list
========
deb http://ppa.launchpad.net/leolik/leolik/ubuntu trusty main
# deb-src http://ppa.launchpad.net/leolik/leolik/ubuntu trusty main

========
/etc/apt/sources.list.d/google-chrome-beta.list
========
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main

========
/etc/apt/sources.list.d/team-xbmc-ppa-trusty.list
========
deb http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/team-xbmc/ppa/ubuntu trusty main

========
/etc/apt/sources.list.d/noobslab-apps-trusty.list
========
deb http://ppa.launchpad.net/noobslab/apps/ubuntu trusty main
# deb-src http://ppa.launchpad.net/noobslab/apps/ubuntu trusty main

========
/etc/apt/sources.list.d/tsbarnes-indicator-keylock-trusty.list
========
deb http://ppa.launchpad.net/tsbarnes/indicator-keylock/ubuntu trusty main
# deb-src http://ppa.launchpad.net/tsbarnes/indicator-keylock/ubuntu trusty main

========
/etc/apt/sources.list.d/indicator-multiload-daily-trusty.list
========
deb http://ppa.launchpad.net/indicator-multiload/daily/ubuntu trusty main
# deb-src http://ppa.launchpad.net/indicator-multiload/daily/ubuntu trusty main

========
/etc/apt/sources.list.d/vlijm-qle-trusty.list
========
deb http://ppa.launchpad.net/vlijm/qle/ubuntu trusty main
# deb-src http://ppa.launchpad.net/vlijm/qle/ubuntu trusty main

========
/etc/apt/sources.list.d/webupd8team-y-ppa-manager-trusty.list
========
deb http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu trusty main
# deb-src http://ppa.launchpad.net/webupd8team/y-ppa-manager/ubuntu trusty main

========
/etc/apt/sources.list.d/libreoffice-ppa-trusty.list
========
deb http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main
# deb-src http://ppa.launchpad.net/libreoffice/ppa/ubuntu trusty main

========
/etc/apt/sources.list.d/amandeepgrewal-notifyosdconfig-trusty.list
========
deb http://ppa.launchpad.net/amandeepgrewal/notifyosdconfig/ubuntu trusty main
# deb-src http://ppa.launchpad.net/amandeepgrewal/notifyosdconfig/ubuntu trusty main

Saída de apt-cache policy libuuid1

libuuid1:
  Installed: 2.20.1-5.1ubuntu20.6
  Candidate: 2.20.1-5.1ubuntu20.6
  Version table:
 *** 2.20.1-5.1ubuntu20.6 0
        500 http://in.archive.ubuntu.com/ubuntu/ trusty-updates/main amd64 Packages
        100 /var/lib/dpkg/status
     2.20.1-5.1ubuntu20 0
        500 http://in.archive.ubuntu.com/ubuntu/ trusty/main amd64 Packages
    
por Nirmik 17.08.2015 / 09:25

2 respostas

1

Antes de começar, tente excluir os pacotes desnecessários usando:

sudo apt-get autoremove

Agora, você precisa instalar todos os pacotes de dependências usando:

sudo apt-get update
sudo apt-get install -f

Depois disso, tente instalar atualizações usando:

sudo apt-get upgrade
    
por Ahmed Abdelkafi 17.08.2015 / 10:28
0

Use o servidor principal em vez de http://in.archive.ubuntu.com/ubuntu/

sudo sed -i 's://in\.://:g' /etc/apt/sources.list
sudo apt-get update

ou altere o servidor por meio de Software & amp; Atualizações . Selecione Servidor principal para Download de :

Instaleaversãocorretadelibuuid1:i386

sudoapt-getupdatesudoapt-getinstalllibuuid1:i386=2.20.1-5.1ubuntu20.6

Masacreditoqueum

sudoapt-getupdatesudoapt-getdist-ugradesudoapt-getinstall--reinstalllibuuid1:i386

serásuficiente,jáqueaversãonecessáriaestánosrepositóriosdoUbuntu(trusty-updates).

VerifiquesevocêativouAtualizaçõesrecomendadas(atualizaçõesconfiáveis)emSoftware&Atualizações.AcapturadetelaéparaoVivid,portanto,noseuUbuntuvividésubstituídoportrusty

    
por A.B. 17.08.2015 / 09:40