Atualização do kernel com problema, podem ajudar?

13. Re: Atualização do kernel com problema, podem ajudar?

Raimundo Oliveira da Silva
rausilva

(usa Linux Mint)

Enviado em 05/04/2017 - 11:40h

O kernel 4.4.0-72-generic está instalado, mas se vc não está conseguido entrar por ele, entre por um mais antigo e desinstale o que está apresentando problemas: sudo apt-get --purge remove linux-headers-4.4.0-72 linux-headers-4.4.0-72-generic
depois: sudo update-grub
É só esperar pela próxima atualização ou se vc quiser pode instalar o novo kernel manualmente, veja neste link:
http://www.diolinux.com.br/2015/10/como-instalar-qualquer-versao-do-kernel-linux-no-ubuntu.html


  


14. Re: Atualização do kernel com problema, podem ajudar?

Hoheckell Nunes
hoheckell

(usa XUbuntu)

Enviado em 05/04/2017 - 16:34h

izaias escreveu:

Corrompeu o DPKG, se interrompeu o APT em algum momento, isso ocorre mesmo.

Tem que recuperar o DPKG primeiro.

Veja se ajuda: https://www.vivaolinux.com.br/dica/apt-E-Sub-process-usrbindpkg-returned-an-error-code-1-Resolvido


Não sei se resolveu o problema mas a mensagem de erro sumiu.
Queria que o kernel fosse atualizado.

agora os comandos mostram:

$ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt -f autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt update
Ign:1 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
Hit:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu xenial InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:9 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
$ uname -a
4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux




15. Re: Atualização do kernel com problema, podem ajudar?

Perfil removido
removido

(usa Nenhuma)

Enviado em 05/04/2017 - 16:43h

hoheckell escreveu:

izaias escreveu:

Corrompeu o DPKG, se interrompeu o APT em algum momento, isso ocorre mesmo.

Tem que recuperar o DPKG primeiro.

Veja se ajuda: https://www.vivaolinux.com.br/dica/apt-E-Sub-process-usrbindpkg-returned-an-error-code-1-Resolvido


Não sei se resolveu o problema mas a mensagem de erro sumiu.
Queria que o kernel fosse atualizado.

agora os comandos mostram:

$ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt -f autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt update
Ign:1 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
Hit:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu xenial InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:9 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
$ uname -a
4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux



Agora aplique o update e veja se retorna erro.


16. Re: Atualização do kernel com problema, podem ajudar?

Hoheckell Nunes
hoheckell

(usa XUbuntu)

Enviado em 05/04/2017 - 16:48h

izaias escreveu:

hoheckell escreveu:

izaias escreveu:

Corrompeu o DPKG, se interrompeu o APT em algum momento, isso ocorre mesmo.

Tem que recuperar o DPKG primeiro.

Veja se ajuda: https://www.vivaolinux.com.br/dica/apt-E-Sub-process-usrbindpkg-returned-an-error-code-1-Resolvido


Não sei se resolveu o problema mas a mensagem de erro sumiu.
Queria que o kernel fosse atualizado.

agora os comandos mostram:

$ sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt -f autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt update
Ign:1 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 InRelease
Hit:2 http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 Release
Hit:3 http://security.ubuntu.com/ubuntu xenial-security InRelease
Hit:5 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu xenial InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:8 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:9 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.
$ uname -a
4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux



Agora aplique o update e veja se retorna erro.

foi feito entre os comandos acima




17. Re: Atualização do kernel com problema, podem ajudar?

Perfil removido
removido

(usa Nenhuma)

Enviado em 05/04/2017 - 16:51h

hoheckell escreveu:

foi feito entre os comandos acima


Opa!

Agora: sudo update-grub
Reinicie e veja se o Kernel mais atual está disponível para iniciar.



18. Re: Atualização do kernel com problema, podem ajudar?

Hoheckell Nunes
hoheckell

(usa XUbuntu)

Enviado em 05/04/2017 - 18:14h

izaias escreveu:

hoheckell escreveu:

foi feito entre os comandos acima


Opa!

Agora: sudo update-grub
Reinicie e veja se o Kernel mais atual está disponível para iniciar.


$sudo update-grub
[sudo] password :
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.4.0-59-generic
Found initrd image: /boot/initrd.img-4.4.0-59-generic
done
$ sudo dpkg -l | grep linux-headers-*
ii linux-headers-4.4.0-53 4.4.0-53.74 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-53-generic 4.4.0-53.74 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-57 4.4.0-57.78 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-57-generic 4.4.0-57.78 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-59 4.4.0-59.80 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-59-generic 4.4.0-59.80 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-62 4.4.0-62.83 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-62-generic 4.4.0-62.83 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-66 4.4.0-66.87 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-66-generic 4.4.0-66.87 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-71 4.4.0-71.92 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-71-generic 4.4.0-71.92 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-72 4.4.0-72.93 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-72-generic 4.4.0-72.93 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-generic 4.4.0.72.78 amd64 Generic Linux kernel headers






19. Re: Atualização do kernel com problema, podem ajudar?

Perfil removido
removido

(usa Nenhuma)

Enviado em 05/04/2017 - 18:19h

Ótimo!
Se já não iniciou, inicie o último Kernel e remova esse monte de Kernels antigos: sudo apt-get autoremove

O ideal é que fique somente 02.
Sugiro que teste bastante o Kernel mais estável.



20. Re: Atualização do kernel com problema, podem ajudar?

Hoheckell Nunes
hoheckell

(usa XUbuntu)

Enviado em 05/04/2017 - 18:36h

izaias escreveu:

Ótimo!
Se já não iniciou, inicie o último Kernel e remova esse monte de Kernels antigos: sudo apt-get autoremove

O ideal é que fique somente 02.
Sugiro que teste bastante o Kernel mais estável.


Acho que não tah funcionando

$ sudo apt-get autoremove
[sudo] password:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo dpkg -l | grep linux-headers-*
ii linux-headers-4.4.0-53 4.4.0-53.74 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-53-generic 4.4.0-53.74 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-57 4.4.0-57.78 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-57-generic 4.4.0-57.78 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-59 4.4.0-59.80 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-59-generic 4.4.0-59.80 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-62 4.4.0-62.83 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-62-generic 4.4.0-62.83 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-66 4.4.0-66.87 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-66-generic 4.4.0-66.87 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-71 4.4.0-71.92 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-71-generic 4.4.0-71.92 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-4.4.0-72 4.4.0-72.93 all Header files related to Linux kernel version 4.4.0
ii linux-headers-4.4.0-72-generic 4.4.0-72.93 amd64 Linux kernel headers for version 4.4.0 on 64 bit x86 SMP
ii linux-headers-generic 4.4.0.72.78 amd64 Generic Linux kernel headers



21. Re: Atualização do kernel com problema, podem ajudar?

Perfil removido
removido

(usa Nenhuma)

Enviado em 05/04/2017 - 18:38h

Qual o sistema e versão está usando?



22. Re: Atualização do kernel com problema, podem ajudar?

Hoheckell Nunes
hoheckell

(usa XUbuntu)

Enviado em 05/04/2017 - 18:54h

izaias escreveu:

Qual o sistema e versão está usando?


É uma VPs de ubuntu 16.04 da Locaweb



  
01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts