Atualizacao Ubuntu [RESOLVIDO]

1. Atualizacao Ubuntu [RESOLVIDO]

Arthur Ferrari Sofiatti
arthurf

(usa Ubuntu)

Enviado em 08/09/2016 - 01:11h

Boa tarde!

Perdao por escrever sem acentuacao, mas estou usando o liveCD. Tinha em meu computador instalado o Ubuntu 12.04 32bits. Resolvi instalar a atualizacao para o 16.04 que o proprio sistema me sugeriu. No meio da atualizacao houve uma queda de luz e quando reiniciei o modo grafico havia sumido. Aparentemente alguns pacotes estao quebrados, mas nao sei como arrumar.

Quando ligo o computador ha uma lista de acoes que sao todas "OK", menos uma
[FAILED] Failed to start LSB: AppArmor initialization.

No final a mensagem eh:
Welcome to emergency mode! After logging in, type "journalctl -xb" to view system logs, "systemctl reboot" to reboot, "system default" or Control-D to try again to boot into default mode.
Press Enter for maintenance
(or press Control-D to continue):


Entrando com control-D o resultado eh sempre o mesmo. Com Enter entro como root.

Tentei entrar no modo grafico usando o $strartx, mas a resposta que recebo eh:

X.Org X Server 1.18.3
Release Date: 2016-04-04
X Protocol Version 11, Revision 0
Build Operating System: Linux arthur-MS-7788 3.13.0-34-generic #60-Ubuntu SMP Wed Aug 13 15:49:09 UTC 2014 i686
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.13.0-34-generic root=UUID=7275bb10-f4f2-4327-a0e3-85fc0091cfba ro quiet splash vt.handoff=7
Build Date: 22 July 2016 07:50:53AM
Xorg-server 2:1.18.3-1ubuntu2.3 (For technical support please see http://www.ubuntu.com/support)
Current version of pixman: 0.33.6
Before repporting problems, check http://wiki.x.org to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting, (++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Sep 7 23:51:20 2016
(==) Using config file: "/etc/X11/xorg.conf"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
waiting for X server to shut down (II) Server terminated successfullt (0). Closing log file.
Ignoring extra sy


Entrando com

$apt-get -f install
Lendo listas de pacotes...
Construindo árvore de dependências...
Lendo informação de estado...
Corrigindo dependências... Pronto
Os seguintes pacotes foram instalados automaticamente e já não são necessários:
appmenu-qt appmenu-qt5 aptitude-common checkbox-ng comerr-dev
firefox-locale-pt g++-4.8 gir1.2-gnomebluetooth-1.0 gstreamer0.10-nice
gstreamer1.0-clutter indicator-appmenu jetty jsvc krb5-multidev
kubuntu-debug-installer libapt-inst1.5 libarchive-extract-perl libart2.0-cil
libastro1 libatk-wrapper-java libatk-wrapper-java-jni libavahi-client-dev
libavahi-common-dev libbaloocore4 libbaloofiles4 libbalooxapian4
libbasicusageenvironment0 libbetter-appframework-java
libboost-date-time1.54.0 libboost-filesystem1.54.0 libboost-iostreams1.54.0
libboost-program-options1.54.0 libboost-regex1.54.0 libboost-thread1.54.0
libcdr-0.0-0 libcdt4 libcgal10 libcglib-java libcgraph5
libclang-common-3.4-dev libclang1-3.4 libcmis-0.4-4 libcolorhug1
libcommons-daemon-java libdb-je-java libdbd-mysql-perl libdbi-perl
libdvbpsi8 libeasymock-java libecap2 libegl1-mesa-drivers libelfg0
libept1.4.12 libepub0 libexif-dev libfarstream-0.1-0 libffi-dev
libflute-java libfriends0 libgconf2-4 libgcrypt11-dev libgd2-xpm libglamor0
libglew1.10 libgnome-desktop-2-17 libgnome2.24-cil libgnutls-dev
libgnutlsxx27 libgpg-error-dev libgphoto2-dev libgphoto2-l10n libgps20
libgps22 libgraph4 libgroupsock1 libgsoap4 libgssglue1 libgvpr1
libidl-common libieee1284-3-dev libisl10 libjetty-java libjs-codemirror
libjs-jquery-cookie libjs-jquery-event-drag libjs-jquery-metadata
libjs-jquery-mousewheel libjs-jquery-tablesorter libjs-jquery-ui libjson0
libjtidy-java libkactivities-models1 libkadm5clnt-mit9 libkadm5srv-mit9
libkf5crash5 libkf5dbusaddons-data libkf5dbusaddons5 libkf5kiocore5
libkf5service-bin libkf5service-data libkf5service5 libkidletime4
libkrb5-dev libkscreen1 liblivemedia23 libllvm3.4 liblog-message-simple-perl
liblucene2-java libmarblewidget-qt5-23 libmbim-glib0 libmcrypt4
libmodule-pluggable-perl libmono-system-runtime4.0-cil libmono-web4.0-cil
libmspub-0.0-0 libnb-platform13-java libnepomukcleaner4 libnepomukcore4abi1
libnetx-java libobjc-4.8-dev libodfgen-0.0-0 libokularcore4 libopenvg1-mesa
liborcus-0.6-0 libp11-kit-dev libparted0debian1 libphonon4qt5-4
libpocketsphinx1 libpod-latex-perl libpostproc52 libprocps3 libprotobuf8
libpth20 libqapt3 libqapt3-runtime libqextserialport1 libqmi-glib0
libqt5qml-graphicaleffects libqt5sensors5 libqt5webkit5-qmlwebkitplugin
libqtlocation1 libqtwebkit-dev libquazip0 libreadline5 librhythmbox-core8
librpmsign1 libsac-java libsac-java-gcj libsctp1 libshp1 libshp2
libsphinxbase1 libstdc++-4.8-dev libswingx1-java libsystemd-daemon0
libsystemd-journal0 libtar0 libtasn1-6-dev libterm-readkey-perl
libterm-ui-perl libtext-soundex-perl libthumbnailer0 libts-0.0-0
libunity-gtk2-parser0 libunity-gtk3-parser0 libunityvoice1 libupower-glib1
libusageenvironment1 libv4l-dev libv4l2rds0 libvisio-0.0-0 libwlocate0
libwnck-common libwnck22 libwpd-0.9-9 libwpg-0.2-2 libwps-0.2-2 libxcb-util0
libxtables10 libzip2 lksctp-tools llvm-3.4 llvm-3.4-dev llvm-3.4-runtime
marble-data marble-plugins nepomuk-core-data overlay-scrollbar-gtk2 php5-gd
php5-mcrypt python-dbus-dev python-ibus python-pycurl python-smbc
python3-checkbox-ng qapt-batch qtdeclarative5-dialogs-plugin
qtdeclarative5-localstorage-plugin qtdeclarative5-privatewidgets-plugin
qtdeclarative5-qtfeedback-plugin
qtdeclarative5-ubuntu-ui-extras-browser-plugin
qtdeclarative5-ubuntu-ui-extras-browser-plugin-assets
qtdeclarative5-window-plugin rhythmbox-mozilla scilab-doc
shared-desktop-ontologies sphinx-voxforge-hmm-en sphinx-voxforge-lm-en
squid3 sun-javadb-common telepathy-indicator tsconf udisks
unity-gtk-module-common unity-gtk2-module unity-gtk3-module
unity-lens-friends unity-scope-audacious unity-scope-clementine
unity-scope-gmusicbrowser unity-scope-gourmet unity-scope-guayadeque
unity-scope-musique unity-voice-service xfonts-mathml
Utilize 'sudo apt autoremove' para os remover.
The following additional packages will be installed:
bless squid3
Os pacotes a seguir serão atualizados:
bless squid3
2 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 635 não atualizados.
704 pacotes não totalmente instalados ou removidos.
É preciso baixar 0 B/451 kB de arquivos.
Depois desta operação, 6.070 kB de espaço em disco serão liberados.
Você quer continuar? [S/n] Configurando squid (3.5.12-1ubuntu7.2) ...
insserv: warning: script 'S99iptables' missing LSB tags and overrides
initctl: Não foi possível conectar ao Upstart: Failed to connect to socket /com/ubuntu/upstart: Conexão recusada
insserv: warning: script 'binfmt-support' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `binfmt-support'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `binfmt-support'
insserv: warning: script 'iptables.sh' missing LSB tags and overrides
insserv: There is a loop at service boinc if started
insserv: There is a loop between service iptables and hwclock if started
insserv: loop involving service hwclock at depth 3
insserv: loop involving service mountdevsubfs at depth 2
insserv: There is a loop between service iptables and udev if started
insserv: loop involving service udev at depth 1
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Max recursions depth 99 reached
insserv: loop involving service logkeys at depth 1
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: loop involving service mountkernfs at depth 1
insserv: There is a loop at service iptables if started
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: Starting iptables.sh depends on boinc-client and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: erro ao processar o pacote squid (--configure):
sub-processo script post-installation instalado retornou estado de saída de erro 1
Erros foram encontrados durante o processamento de:
squid


Alguem tem alguma ideia de como concertar isso?


  


2. MELHOR RESPOSTA

Perfil removido
removido

(usa Nenhuma)

Enviado em 08/09/2016 - 13:14h

clodoaldops escreveu:

-ubuntu não é linux rolling release portanto a atualização de versões é uma operação de risco
-sugiro que vc faça bkp de seus arquivos e reinstale seu SO


Boa tarde,

Outra coisa, o 'pulo' do 12.04 ao 16.04 é muito grande e com certeza uma atualização via sistema mesmo sem ter tido o problema da falta de luz, daria mer*****
Faça o que os colegas te sugeriram e seja feliz!!!


Usuário de Slackware 14.2
GNU/Linux se resume em: Perfeição !!

3. Re: Atualizacao Ubuntu [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 08/09/2016 - 01:16h

Reinstale. Sua instalação está corromoida, não vale todo o trabalho do conserto, se é que tem.
Se tem partição separada para HOME, foi precavido. Veja: https://goo.gl/oh5VLZ


4. Re: Atualizacao Ubuntu [RESOLVIDO]

Clodoaldo Santos
clodoaldops

(usa Linux Mint)

Enviado em 08/09/2016 - 13:04h

-ubuntu não é linux rolling release portanto a atualização de versões é uma operação de risco
-sugiro que vc faça bkp de seus arquivos e reinstale seu SO



5. Re: Atualizacao Ubuntu [RESOLVIDO]

Arthur Ferrari Sofiatti
arthurf

(usa Ubuntu)

Enviado em 21/09/2016 - 17:19h

Jbaf escreveu:

clodoaldops escreveu:

-ubuntu não é linux rolling release portanto a atualização de versões é uma operação de risco
-sugiro que vc faça bkp de seus arquivos e reinstale seu SO


Boa tarde,

Outra coisa, o 'pulo' do 12.04 ao 16.04 é muito grande e com certeza uma atualização via sistema mesmo sem ter tido o problema da falta de luz, daria mer*****
Faça o que os colegas te sugeriram e seja feliz!!!


Usuário de Slackware 14.2
GNU/Linux se resume em: Perfeição !!


Obrigado pelas respostas.
Realmente, só consegui resolver o problema reinstalando o SO. Consegui acessar a pasta home pelo liveCD e copiá-la. Agora aprendi a lição e criei uma partição separada para ela além de fazer backup de tudo importante em HD externo.






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts