VR2022
(usa Linux Mint)
Enviado em 24/01/2023 - 11:24h
alexabolada escreveu:
A atualização do Debian 8.11 (jessie) para o Debian 9 (stretch) geralmente segue os seguintes passos:
1. Verifique a versão atual:
$ cat /etc/os-release
2. Atualize os pacotes e instalar upgrades disponíveis:
$ sudo apt-get update
$ sudo apt-get upgrade
3. Coloque o pacotes para atualização no seu sources.list:
$ sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
4. Atualize os pacotes novamente:
$sudo apt-get update
5. Execute o dist-upgrade:
$ sudo apt-get dist-upgrade
6. Atualize o Grub:
$ sudo update-grub
7. Verifique a versão atualizada:
$ cat /etc/os-release
Todos estes passos podem ser vistos com mais detalhamento na KB do fórum do Viva o Linux, que tem uma seção dedicada especialmente à atualização do Debian.
Fiz tudo isso passo a passo, e não atualizou! Está aqui tudo q apareceu
1. root@daten-linux:/home/daten# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
------------------------------------------------------------------------
2.1. root@daten-linux:/home/daten# sudo apt-get update
Atingido
http://dl.google.com stable InRelease
Atingido
https://dl.winehq.org stretch InRelease
Atingido
http://deb.playonlinux.com stretch InRelease
Atingido
https://repo.skype.com stable InRelease
Atingido
http://dl.google.com stable/main amd64 Packages
Atingido
https://dl.winehq.org stretch/main amd64 Packages
Atingido
https://dl.winehq.org stretch/main i386 Packages
Obter:1
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Obter:2
https://dl.winehq.org stretch/main Translation-pt [196 B]
Obter:3
https://dl.winehq.org stretch/main Translation-en [196 B]
Obter:4
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Obter:5
https://dl.winehq.org stretch/main Translation-pt [196 B]
Obter:6
https://dl.winehq.org stretch/main Translation-en [196 B]
Obter:7
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Obter:8
https://dl.winehq.org stretch/main Translation-pt [196 B]
Obter:9
https://dl.winehq.org stretch/main Translation-en [196 B]
Obter:10
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Obter:11
https://dl.winehq.org stretch/main Translation-pt [196 B]
Obter:12
https://dl.winehq.org stretch/main Translation-en [196 B]
Obter:13
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Ign
https://dl.winehq.org stretch/main Translation-pt_BR
Obter:14
https://dl.winehq.org stretch/main Translation-pt [196 B]
Ign
https://dl.winehq.org stretch/main Translation-pt
Obter:15
https://dl.winehq.org stretch/main Translation-en [196 B]
Ign
https://dl.winehq.org stretch/main Translation-en
Atingido
http://deb.playonlinux.com stretch/main amd64 Packages
Atingido
http://deb.playonlinux.com stretch/main i386 Packages
Atingido
https://repo.skype.com stable/main amd64 Packages
Obter:16
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Obter:17
https://repo.skype.com stable/main Translation-pt [196 B]
Obter:18
https://repo.skype.com stable/main Translation-en [196 B]
Obter:19
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Obter:20
https://repo.skype.com stable/main Translation-pt [196 B]
Obter:21
https://repo.skype.com stable/main Translation-en [196 B]
Ign
http://deb.playonlinux.com stretch/main Translation-pt_BR
Obter:22
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Ign
http://deb.playonlinux.com stretch/main Translation-pt
Ign
http://dl.google.com stable/main Translation-pt_BR
Obter:23
https://repo.skype.com stable/main Translation-pt [196 B]
Ign
http://deb.playonlinux.com stretch/main Translation-en
Ign
http://dl.google.com stable/main Translation-pt
Ign
http://dl.google.com stable/main Translation-en
Obter:24
https://repo.skype.com stable/main Translation-en [196 B]
Obter:25
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Obter:26
https://repo.skype.com stable/main Translation-pt [196 B]
Obter:27
https://repo.skype.com stable/main Translation-en [196 B]
Obter:28
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Ign
https://repo.skype.com stable/main Translation-pt_BR
Obter:29
https://repo.skype.com stable/main Translation-pt [196 B]
Ign
https://repo.skype.com stable/main Translation-pt
Obter:30
https://repo.skype.com stable/main Translation-en [196 B]
Ign
https://repo.skype.com stable/main Translation-en
Lendo listas de pacotes... Pronto
--------------------------------------------------------------------------------------------------
2.2. root@daten-linux:/home/daten# sudo apt-get upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
----------------------------------------------------------------------------------------------------------------------------------------
3. root@daten-linux:/home/daten# sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list
---------------------------------------------------------------------------------------------------------------------------------------
4. root@daten-linux:/home/daten# sudo apt-get update
Atingido
http://dl.google.com stable InRelease
Atingido
https://dl.winehq.org stretch InRelease
Atingido
http://deb.playonlinux.com stretch InRelease
Atingido
https://repo.skype.com stable InRelease
Atingido
http://dl.google.com stable/main amd64 Packages
Atingido
https://dl.winehq.org stretch/main amd64 Packages
Atingido
https://dl.winehq.org stretch/main i386 Packages
Obter:1
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Obter:2
https://dl.winehq.org stretch/main Translation-pt [196 B]
Obter:3
https://dl.winehq.org stretch/main Translation-en [196 B]
Atingido
https://repo.skype.com stable/main amd64 Packages
Obter:4
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Obter:5
https://repo.skype.com stable/main Translation-pt [196 B]
Atingido
http://deb.playonlinux.com stretch/main amd64 Packages
Obter:6
https://repo.skype.com stable/main Translation-en [196 B]
Atingido
http://deb.playonlinux.com stretch/main i386 Packages
Obter:7
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Obter:8
https://repo.skype.com stable/main Translation-pt [196 B]
Ign
http://dl.google.com stable/main Translation-pt_BR
Obter:9
https://repo.skype.com stable/main Translation-en [196 B]
Obter:10
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Obter:11
https://repo.skype.com stable/main Translation-pt [196 B]
Obter:12
https://repo.skype.com stable/main Translation-en [196 B]
Ign
http://dl.google.com stable/main Translation-pt
Ign
http://dl.google.com stable/main Translation-en
Obter:13
https://dl.winehq.org stretch/main Translation-pt [196 B]
Obter:14
https://dl.winehq.org stretch/main Translation-en [196 B]
Obter:15
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Obter:16
https://dl.winehq.org stretch/main Translation-pt [196 B]
Obter:17
https://dl.winehq.org stretch/main Translation-en [196 B]
Obter:18
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Obter:19
https://dl.winehq.org stretch/main Translation-pt [196 B]
Obter:20
https://dl.winehq.org stretch/main Translation-en [196 B]
Obter:21
https://dl.winehq.org stretch/main Translation-pt_BR [196 B]
Ign
https://dl.winehq.org stretch/main Translation-pt_BR
Obter:22
https://dl.winehq.org stretch/main Translation-pt [196 B]
Ign
https://dl.winehq.org stretch/main Translation-pt
Obter:23
https://dl.winehq.org stretch/main Translation-en [196 B]
Ign
https://dl.winehq.org stretch/main Translation-en
Ign
http://deb.playonlinux.com stretch/main Translation-pt_BR
Ign
http://deb.playonlinux.com stretch/main Translation-pt
Ign
http://deb.playonlinux.com stretch/main Translation-en
Obter:24
https://repo.skype.com stable/main Translation-pt [196 B]
Obter:25
https://repo.skype.com stable/main Translation-en [196 B]
Obter:26
https://repo.skype.com stable/main Translation-pt_BR [196 B]
Ign
https://repo.skype.com stable/main Translation-pt_BR
Obter:27
https://repo.skype.com stable/main Translation-pt [196 B]
Ign
https://repo.skype.com stable/main Translation-pt
Obter:28
https://repo.skype.com stable/main Translation-en [196 B]
Ign
https://repo.skype.com stable/main Translation-en
Lendo listas de pacotes... Pronto
-------------------------------------------------------------------------------------------------------
5. root@daten-linux:/home/daten# sudo apt-get dist-upgrade
Lendo listas de pacotes... Pronto
Construindo árvore de dependências
Lendo informação de estado... Pronto
Calculando atualização... Pronto
0 pacotes atualizados, 0 pacotes novos instalados, 0 a serem removidos e 0 não atualizados.
---------------------------------------------------------------------------------------------------------------------------------
6. root@daten-linux:/home/daten# sudo update-grub
Generating grub configuration file ...
Imagem Linux encontrada: /boot/vmlinuz-4.19.98
Imagem initrd encontrada: /boot/initrd.img-4.19.98
Imagem Linux encontrada: /boot/vmlinuz-3.16.0-11-amd64
Imagem initrd encontrada: /boot/initrd.img-3.16.0-11-amd64
Imagem Linux encontrada: /boot/vmlinuz-4.19.98
Imagem initrd encontrada: /boot/initrd.img-4.19.98
Imagem Linux encontrada: /boot/vmlinuz-3.16.0-11-amd64
Imagem initrd encontrada: /boot/initrd.img-3.16.0-11-amd64
Imagem Linux encontrada: /boot/vmlinuz-4.19.98
Imagem initrd encontrada: /boot/initrd.img-4.19.98
Imagem Linux encontrada: /boot/vmlinuz-3.16.0-11-amd64
Imagem initrd encontrada: /boot/initrd.img-3.16.0-11-amd64
concluído
----------------------------------------------------------------------------------------
7. root@daten-linux:/home/daten# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 8 (jessie)"
NAME="Debian GNU/Linux"
VERSION_ID="8"
VERSION="8 (jessie)"
ID=debian
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
------------------------------------------------------------------------
root@daten-linux:/home/daten#