прерванное обновление

Я работал с Ubuntu 11.10 без серьезных недостатков, немного адаптировался к своему вкусу и решил обновить его еще раз. Так или иначе, я делаю это каждые пару лет и каждый раз, когда сталкиваюсь с переустановкой. На этот раз я пока не сдаюсь. Я добрался до 12.04 после всего лишь полдня возни с ним, все работало, кроме Wi-Fi и css, перепутанного, но я хотел перейти к 12.10. Мне удалось начать обновление с небольшим разочарованием, и, поскольку на этапе установки прошло около 10%, я случайно нажал клавишу «вверх» на одном из сеансов терминала и произвел boom apt-get clean. Во время обновления. Конечно он умер, бросил ошибку за ошибкой, не позволил бы мне отменить, не закончил бы настройку хотя бы того, что уже было установлено. Итак, я убил это. Я смог перезагрузить и удалить заново установить некоторые вещи, но после перезагрузки я даже не смог войти в режим восстановления. Так что я в живом режиме, используя chroot, и это мои выводы. Кажется, у меня нет подключения к интернету через chroot, но по выходным данным видно, что в источниках ничего нет.

clean, autoclean, autoremove

root@ubuntu:/# apt-get clean
root@ubuntu:/# apt-get autoclean
Reading package lists... Done
Building dependency tree      
Reading state information... Done
root@ubuntu:/# apt-get autoremove
Reading package lists... Done
Building dependency tree      
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 apturl-common : Depends: python3-update-manager but it is not installed
 ca-certificates-java : Depends: ca-certificates (>= 20121114) but 20111211 is     installed
 chromium-browser-l10n : Depends: chromium-browser (= 22.0.1229.94~r161065-0ubuntu1)     but 20.0.1132.47~r144678-0ubuntu0.12.04.1 is installed
 e2fsprogs : PreDepends: e2fslibs (= 1.42-1ubuntu2) but 1.42.5-1ubuntu3 is installed
 gir1.2-mutter-3.0 : Depends: libmutter0a but it is not installable
 gnome-orca : Depends: python3-speechd (>= 0.6.2) but it is not installed
 gnome-shell : Depends: libmutter0a but it is not installable
               Recommends: gnome-user-guide but it is not installed
 libexttextcat0 : Depends: libexttextcat-data (= 3.2.0-1ubuntu1) but 3.4.0-1 is     installed
 libmutter0 : Depends: mutter-common (= 3.6.1-0ubuntu1) but 3.6.2-0ubuntu1 is installed
 libreoffice-base-core : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but     1:3.5.4-0ubuntu1.1 is installed
 libreoffice-calc : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
 libreoffice-common : Breaks: libreoffice-style-tango (>= 1:3.6~) but 1:3.6.2~rc2-0ubuntu6 is installed
 libreoffice-draw : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
                Recommends: libreoffice-pdfimport but it is not installed
 libreoffice-gnome : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
 libreoffice-gtk : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
 libreoffice-impress : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
 libreoffice-math : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
 libreoffice-writer : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
 mahjongg : Depends: gnome-mahjongg but it is not installed
 module-init-tools : Depends: kmod but it is not installable
 python-uno : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but     1:3.5.4-0ubuntu1.1 is installed
 python3-distupgrade : Depends: python3-update-manager but it is not installed
 rpm : Depends: rpm-common (= 4.10.1-2) but 4.9.1.1-1build1 is installed
 rpm2cpio : Depends: rpm-common (= 4.10.1-2) but 4.9.1.1-1build1 is installed
 ubuntuone-control-panel-qt : Depends: python-ubuntuone-control-panel (= 3.0.1-0ubuntu1) but 4.0.0-0ubuntu1 is installed
                          Depends: ubuntuone-control-panel (= 3.0.1-0ubuntu1) but     4.0.0-0ubuntu1 is installed
 update-manager-core : Depends: python3-update-manager (= 1:0.174.3) but it is not installed
 vlc-nox : Depends: libupnp6 (>= 1.4.3) but it is not installed
E: Unmet dependencies. Try using -f.
root@ubuntu:/# 

update upgrade dist-upgrade

    root@ubuntu:/# apt-get update
    Err http://archive.ubuntu.com quantal InRelease
    Err http://archive.ubuntu.com quantal-updates InRelease
    Err http://archive.ubuntu.com quantal-security InRelease
    Err http://archive.ubuntu.com quantal Release.gpg
    Could not resolve 'archive.ubuntu.com'
    Err http://archive.ubuntu.com quantal-updates Release.gpg
    Could not resolve 'archive.ubuntu.com'
    Err http://archive.ubuntu.com quantal-security Release.gpg
    Could not resolve 'archive.ubuntu.com'
    Reading package lists... Done
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/InRelease
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/InRelease
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/InRelease
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal/Release.gpg Could not resolve 'archive.ubuntu.com'
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-updates/Release.gpg Could not resolve 'archive.ubuntu.com'
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/quantal-security/Release.gpg Could not resolve 'archive.ubuntu.com'
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    root@ubuntu:/# apt-get upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
    apturl-common : Depends: python3-update-manager but it is not installed
    ca-certificates-java : Depends: ca-certificates (>= 20121114) but 20111211 is installed
    chromium-browser-l10n : Depends: chromium-browser (= 22.0.1229.94~r161065-0ubuntu1) but 20.0.1132.47~r144678-0ubuntu0.12.04.1 is installed
    e2fsprogs : PreDepends: e2fslibs (= 1.42-1ubuntu2) but 1.42.5-1ubuntu3 is installed
    gir1.2-mutter-3.0 : Depends: libmutter0a but it is not installable
    gnome-orca : Depends: python3-speechd (>= 0.6.2) but it is not installed
    gnome-shell : Depends: libmutter0a but it is not installable
    Recommends: gnome-user-guide but it is not installed
    libexttextcat0 : Depends: libexttextcat-data (= 3.2.0-1ubuntu1) but 3.4.0-1 is installed
    libmutter0 : Depends: mutter-common (= 3.6.1-0ubuntu1) but 3.6.2-0ubuntu1 is installed
    libreoffice-base-core : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-calc : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-common : Breaks: libreoffice-style-tango (>= 1:3.6~) but 1:3.6.2~rc2-0ubuntu6 is installed
    libreoffice-draw : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    Recommends: libreoffice-pdfimport but it is not installed
    libreoffice-gnome : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-gtk : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-impress : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-math : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-writer : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    mahjongg : Depends: gnome-mahjongg but it is not installed
    module-init-tools : Depends: kmod but it is not installable
    python-uno : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    python3-distupgrade : Depends: python3-update-manager but it is not installed
    rpm : Depends: rpm-common (= 4.10.1-2) but 4.9.1.1-1build1 is installed
    rpm2cpio : Depends: rpm-common (= 4.10.1-2) but 4.9.1.1-1build1 is installed
    ubuntuone-control-panel-qt : Depends: python-ubuntuone-control-panel (= 3.0.1-0ubuntu1) but 4.0.0-0ubuntu1 is installed
    Depends: ubuntuone-control-panel (= 3.0.1-0ubuntu1) but 4.0.0-0ubuntu1 is installed
    update-manager-core : Depends: python3-update-manager (= 1:0.174.3) but it is not installed
    vlc-nox : Depends: libupnp6 (>= 1.4.3) but it is not installed
    E: Unmet dependencies. Try using -f.
    root@ubuntu:/# apt-get dist-upgrade
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    You might want to run 'apt-get -f install' to correct these.
    The following packages have unmet dependencies:
    apturl-common : Depends: python3-update-manager but it is not installed
    ca-certificates-java : Depends: ca-certificates (>= 20121114) but 20111211 is installed
    chromium-browser-l10n : Depends: chromium-browser (= 22.0.1229.94~r161065-0ubuntu1) but 20.0.1132.47~r144678-0ubuntu0.12.04.1 is installed
    e2fsprogs : PreDepends: e2fslibs (= 1.42-1ubuntu2) but 1.42.5-1ubuntu3 is installed
    gir1.2-mutter-3.0 : Depends: libmutter0a but it is not installable
    gnome-orca : Depends: python3-speechd (>= 0.6.2) but it is not installed
    gnome-shell : Depends: libmutter0a but it is not installable
    Recommends: gnome-user-guide but it is not installed
    libexttextcat0 : Depends: libexttextcat-data (= 3.2.0-1ubuntu1) but 3.4.0-1 is installed
    libmutter0 : Depends: mutter-common (= 3.6.1-0ubuntu1) but 3.6.2-0ubuntu1 is installed
    libreoffice-base-core : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-calc : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-common : Breaks: libreoffice-style-tango (>= 1:3.6~) but 1:3.6.2~rc2-0ubuntu6 is installed
    libreoffice-draw : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    Recommends: libreoffice-pdfimport but it is not installed
    libreoffice-gnome : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-gtk : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-impress : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-math : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    libreoffice-writer : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    mahjongg : Depends: gnome-mahjongg but it is not installed
    module-init-tools : Depends: kmod but it is not installable
    python-uno : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
    python3-distupgrade : Depends: python3-update-manager but it is not installed
    rpm : Depends: rpm-common (= 4.10.1-2) but 4.9.1.1-1build1 is installed
    rpm2cpio : Depends: rpm-common (= 4.10.1-2) but 4.9.1.1-1build1 is installed
    ubuntuone-control-panel-qt : Depends: python-ubuntuone-control-panel (= 3.0.1-0ubuntu1) but 4.0.0-0ubuntu1 is installed
    Depends: ubuntuone-control-panel (= 3.0.1-0ubuntu1) but 4.0.0-0ubuntu1 is installed
    update-manager-core : Depends: python3-update-manager (= 1:0.174.3) but it is not installed
    vlc-nox : Depends: libupnp6 (>= 1.4.3) but it is not installed
    E: Unmet dependencies. Try using -f.
    root@ubuntu:/#

-f install

        root@ubuntu:/# apt-get -f install
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Correcting dependencies... failed.
    The following packages have unmet dependencies:
     apturl-common : Depends: python3-update-manager but it is not installed
     ca-certificates-java : Depends: ca-certificates (>= 20121114) but 20111211 is installed
     chromium-browser-l10n : Depends: chromium-browser (= 22.0.1229.94~r161065-0ubuntu1) but 20.0.1132.47~r144678-0ubuntu0.12.04.1 is installed
     e2fsprogs : PreDepends: e2fslibs (= 1.42-1ubuntu2) but 1.42.5-1ubuntu3 is installed
     gir1.2-mutter-3.0 : Depends: libmutter0a but it is not installable
     gnome-orca : Depends: python3-speechd (>= 0.6.2) but it is not installed
     gnome-shell : Depends: libmutter0a but it is not installable
                   Recommends: gnome-user-guide but it is not installed
     libexttextcat0 : Depends: libexttextcat-data (= 3.2.0-1ubuntu1) but 3.4.0-1 is installed
     libmutter0 : Depends: mutter-common (= 3.6.1-0ubuntu1) but 3.6.2-0ubuntu1 is installed
     libreoffice-base-core : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
     libreoffice-calc : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
     libreoffice-common : Breaks: libreoffice-style-tango (>= 1:3.6~) but 1:3.6.2~rc2-0ubuntu6 is installed
     libreoffice-draw : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
                        Recommends: libreoffice-pdfimport but it is not installed
     libreoffice-gnome : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
     libreoffice-gtk : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
     libreoffice-impress : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
     libreoffice-math : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
     libreoffice-writer : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
     mahjongg : Depends: gnome-mahjongg but it is not installed
     module-init-tools : Depends: kmod but it is not installable
     python-uno : Depends: libreoffice-core (= 1:3.6.2~rc2-0ubuntu6) but 1:3.5.4-0ubuntu1.1 is installed
     python3-distupgrade : Depends: python3-update-manager but it is not installed
     rpm : Depends: rpm-common (= 4.10.1-2) but 4.9.1.1-1build1 is installed
     rpm2cpio : Depends: rpm-common (= 4.10.1-2) but 4.9.1.1-1build1 is installed
     ubuntuone-control-panel-qt : Depends: python-ubuntuone-control-panel (= 3.0.1-0ubuntu1) but 4.0.0-0ubuntu1 is installed
      Depends: ubuntuone-control-panel (= 3.0.1-0ubuntu1) but 4.0.0-0ubuntu1 is installed
     update-manager-core : Depends: python3-update-manager (= 1:0.174.3) but it is not installed
     vlc-nox : Depends: libupnp6 (>= 1.4.3) but it is not installed
    E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
    E: Unable to correct dependencies

dpkg.log blablabla 2012-12 -01 01:11:49 статус полу-сконфигурированный python3.3: amd64 3.3.0-4 2012-12-01 01:11:49 настройка автоматических обновлений: все 0.79.3ubuntu6 2012-12-01 01:11:49 статус полу-сконфигурированные автоматические обновления: все 0.79.3ubuntu6 2012-12-01 01:11:49 configure dmsetup: amd64 2: 1.02.74-5ubuntu1 2012-12-01 01:11:49 статус полу-сконфигурированные dmsetup: amd64 2: 1.02.74-5ubuntu1 2012-12-01 01:11:51 настройка python3: amd64 3.3.0-0ubuntu3 2012-12-01 01:11:51 состояние полуконфигурированного python3: amd64 3.3.0-0ubuntu3 2012- 12-01 01:11:51 configure apparmor: amd64 2.8.0-0ubuntu7 2012-12-01 01:11:51 полуконфигурированный статус apparmor: amd64 2.8.0-0ubuntu7 2012-12-01 01:11:52 configure initramfs-tools: все 0.103ubuntu0.3 2012-12-01 01:11:52 полуконфигурированные состояния initramfs-tools: все 0.103ubuntu0.3

dpkg --configure -a --force-all ( ничего не делает и заканчивается этим:)

[ 113]

Кто-нибудь знает, как удалить эти неудовлетворенные зависимости, переустановить их, настроить их, обновить мою ОС, чтобы я мог использовать ее снова? Спасибо!


Я сделал еще один шаг! только что dpkg установил много пакетов. После этого конфигурация не удалась, но после этого -f установить, что волшебным образом даже пытались удалить и переустановить некоторые вещи! Это эпический успех, я постараюсь скачать то, что нужно в моей живой системе, и передать его через dpkg

Я буду держать вас в курсе.

2
задан 30 May 2014 в 09:10

2 ответа

1113 Похоже, вы пытаетесь зайти слишком далеко.

Попробуйте обновить с меньшим шагом. По вашим источникам вы едете с 11.10 до 12.10. Вместо этого попробуйте обновить до 12.04

Также у вас есть

W: Не удалось получить http://archive.ubuntu.com/ubuntu/dists/quantal/InRelease [ 110]
W: не удалось получить
http://archive.ubuntu.com/ubuntu/dists/quantal-updates/InRelease
W: не удалось получить [ 112] http://archive.ubuntu.com/ubuntu/dists/quantal-security/InRelease
W: не удалось получить
http://archive.ubuntu.com/ubuntu/ dists / quantal / Release.gpg Не удалось разрешить «archive.ubuntu.com»
W: Не удалось получить http://archive.ubuntu.com/ubuntu/dists/quantal- updates / Release.gpg Не удалось разрешить «archive.ubuntu.com»
W: Не удалось получить http://archive.ubuntu.com/ubuntu/dists/quantal-security/ Release.gpg Не удалось разрешить «archive.ubuntu.com»

Это означает, что вы пропустили довольно много нужных вам пакетов CORE.

Начните с устранения ошибки, достигающей ваших репозиториев, затем повторите попытку обновления.

Если вы не можете связаться с archive.ubuntu.com, попробуйте одно из зеркал здесь .

Как только вы сможете получить список пакетов, все должно разрешиться самостоятельно.

Попробуйте этот ответ для помощи в разрешении репо.

0
ответ дан 30 May 2014 в 09:10

в конце концов решил ее, сбросив пакеты вручную, что позволило бы мне снова загрузиться в него, сделал это, установил, настроил, обновил, обновил, перестал обновлять, перенастроил и т. Д., Пока он не заработал. Также получил новую оболочку и т. Д. Все красиво и гладко. Спасибо, хотя!

0
ответ дан 30 May 2014 в 09:10

Другие вопросы по тегам:

Похожие вопросы: