I am upgrading from 13.10 to 14.04 in Terminal mode.
Meu entendimento é que o apt-get update atualiza a lista de repositórios disponíveis, e o apt-get upgrade executa a atualização. É verdade que não entendi a diferença entre sudo apt-get upgrade
e do-release-upgrade
. Obrigado por explicar este ponto.
Para esclarecer meu processo, o Muon Update Manager não pôde fazer o download de nenhum dado, independentemente das configurações que eu usei e, acredite, tentei todos eles.
Então, decidi trabalhar exclusivamente no Terminal, o que ajuda a entender quando as coisas ficam um pouco complicadas.
Inicialmente, tentei do-release-upgrade
, que forneceu uma mensagem de erro.
In order to perform sudo apt-get update
, I needed to set 'Prompt=normal.
Eu pesquisei isso online, e semelhante à experiência de outros, pelo menos em 13.10, sudo apt-get update
não seria executado, com Prompt=lts
. Com Prompt=normal
, isso aconteceu.
sudo apt-get update
completed successfully (after much tweaking of existing repos in sources.list.d
and sources.list
).
Primeiramente, a execução de sudo apt-get update
resultou em vários erros.
A pesquisa online descobriu várias situações muito semelhantes que indicavam que os ppa's de terceiros podem bloquear sudo apt-get update
.
Cada vez que eu deletei uma entrada de sources-list.d
, apt-get update
foi um pouco mais longe. Como havia apenas quatro entradas, todas para aplicativos de terceiros que eu realmente não preciso, acabei excluindo todas elas, ou seja, sources-list.d
está agora vazia.
Quando examinei a lista de origens, descobri que era uma verdadeira bagunça (criada pelo Gerenciador de Atualizações), com várias entradas duplicadas, algumas entradas bastardizadas e arquivos de diferentes locais. Eu estou no Canadá, a propósito.
Eu pesquisei on-line e encontrei um exemplo de uma lista de origens primitiva, alterei a minha para corresponder, comentando as entradas que eu não queria.
Minha lista de fontes agora não contém referências a "atrevido" e está configurada para fazer o download apenas de "confiáveis", "confiáveis atualizadas" e "segurança confiável".
Aqui está (http é alterado para evitar links ao vivo, comentários indicados por "-" para evitar negrito acidental):
fiteyes@fiteyes-wr:~$ cat /etc/apt/sources.list
-- deb cdrom:[Kubuntu 12.04 LTS _Precise Pangolin_ - Release i386 (20120423)]/ precise main restricted
-- See -ttp://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
-- newer versions of the distribution.
deb -ttp://ca.archive.ubuntu.com/ubuntu/ trusty main restricted
deb-src -ttp://ca.archive.ubuntu.com/ubuntu/ trusty main restricted
-- Major bug fix updates produced after the final release of the
-- distribution.
deb -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-updates main restricted
deb-src -ttp://ca.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 -ttp://ca.archive.ubuntu.com/ubuntu/ trusty universe
-- deb-src -ttp://ca.archive.ubuntu.com/ubuntu/ trusty universe
-- deb -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-updates universe
-- deb-src -ttp://ca.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 -ttp://ca.archive.ubuntu.com/ubuntu/ trusty multiverse
-- deb-src -ttp://ca.archive.ubuntu.com/ubuntu/ trusty multiverse
-- deb -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
-- deb-src -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-updates multiverse
-- Uncomment the following two lines to add software from the 'backports'
-- repository
-- 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 -ttp://ca.archive.ubuntu.com/ubuntu/ Trusty-backports main restricted universe multiverse
-- deb-src -ttp://ca.archive.ubuntu.com/ubuntu/ Trusty-backports main restricted universe 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 -ttp://archive.canonical.com/ubuntu trusty partner
-- deb-src -ttp://archive.canonical.com/ubuntu trusty partner
deb -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-security main restricted
deb-src -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-security main restricted
-- deb -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-security universe
-- deb-src -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-security universe
-- deb -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-security multiverse
-- deb-src -ttp://ca.archive.ubuntu.com/ubuntu/ trusty-security multiverse
-- This software is not part of Ubuntu, but is offered by third-party
-- developers who want to ship their latest software.
-- deb -ttp://archive.ubuntu.com/ubuntu/ trusty main
-- deb-src -ttp://archive.ubuntu.com/ubuntu/ trusty main
-- deb -ttp://archive.ubuntu.com/ubuntu/ trusty, trusty-updates, trusty-security
-- deb-src -ttp://archive.ubuntu.com/ubuntu/ trusty, trusty-updates, trusty-security
fiteyes@fiteyes-wr:~$
sudo apt-get update now ran without errors.
Here are the results:
fiteyes@fiteyes-wr:~$ sudo apt-get update
Ign -ttp://ca.archive.ubuntu.com trusty InRelease
Ign -ttp://ca.archive.ubuntu.com trusty-updates InRelease
Ign -ttp://ca.archive.ubuntu.com trusty-security InRelease
Get:1 -ttp://ca.archive.ubuntu.com trusty Release.gpg [933 B]
Get:2 -ttp://ca.archive.ubuntu.com trusty-updates Release.gpg [933 B]
Get:3 -ttp://ca.archive.ubuntu.com trusty-security Release.gpg [933 B]
Get:4 -ttp://ca.archive.ubuntu.com trusty Release [58.5 kB]
Get:5 -ttp://ca.archive.ubuntu.com trusty-updates Release [63.5 kB]
Get:6 -ttp://ca.archive.ubuntu.com trusty-security Release [63.5 kB]
Get:7 -ttp://ca.archive.ubuntu.com trusty/main Sources [1,064 kB]
Get:8 -ttp://ca.archive.ubuntu.com trusty/restricted Sources [5,433 B]
Get:9 -ttp://ca.archive.ubuntu.com trusty/main i386 Packages [1,348 kB]
Get:10 -ttp://ca.archive.ubuntu.com trusty/restricted i386 Packages [13.4 kB]
Get:11 -ttp://ca.archive.ubuntu.com trusty/main Translation-en_CA [7,324 B]
Get:12 -ttp://ca.archive.ubuntu.com trusty/main Translation-en [762 kB]
Get:13 -ttp://ca.archive.ubuntu.com trusty/restricted Translation-en [3,457 B]
Get:14 -ttp://ca.archive.ubuntu.com trusty-updates/main Sources [196 kB]
Get:15 -ttp://ca.archive.ubuntu.com trusty-updates/restricted Sources [2,564 B]
Get:16 -ttp://ca.archive.ubuntu.com trusty-updates/main i386 Packages [500 kB]
Get:17 -ttp://ca.archive.ubuntu.com trusty-updates/restricted i386 Packages [9,256 B]
Get:18 -ttp://ca.archive.ubuntu.com trusty-updates/main Translation-en [243 kB]
Get:19 -ttp://ca.archive.ubuntu.com trusty-updates/restricted Translation-en [2,433 B]
Get:20 -ttp://ca.archive.ubuntu.com trusty-security/main Sources [80.2 kB]
Get:21 -ttp://ca.archive.ubuntu.com trusty-security/restricted Sources [2,061 B]
Get:22 -ttp://ca.archive.ubuntu.com trusty-security/main i386 Packages [256 kB]
Get:23 -ttp://ca.archive.ubuntu.com trusty-security/restricted i386 Packages [8,846 B]
Get:24 -ttp://ca.archive.ubuntu.com trusty-security/main Translation-en [136 kB]
Get:25 -ttp://ca.archive.ubuntu.com trusty-security/restricted Translation-en [2,266 B]
Ign -ttp://ca.archive.ubuntu.com trusty/restricted Translation-en_CA
Fetched 4,830 kB in 23s (206 kB/s)
Reading package lists... Done
Please note: this is a basic upgrade, no third-party ppa's (except possibly a grub editor, which I will add later).
I am concerned that running sudo apt-get upgrade
now will take me all the way to 14.10, which I do not want.
Will changing update-manager back to "Prompt=lts" at this point, ensure I get 14.04, or will that even work now that the "trusty" files have been downloaded?
I've searched through the duplicates and see nothing that answers this specific question.
I cannot do a fresh install, because I will lose valuable, remotely installed, health related software.
Any knowledgeable input appreciated.
Thanks
Muito obrigado pela sua resposta até agora, Thomas. Você foi muito útil. Eu tenho três perguntas de acompanhamento:
-
Dado o que eu expliquei, você ainda recomenda a execução do-release-upgrade.
-
Para minha edificação, com base no que expliquei agora, o que sudo apt-get upgrade faria?
-
Meu desejo é atualizar para o 14.04, mantendo o aplicativo que foi instalado remotamente no tato. Qual desses métodos, se algum deles, conseguirá isso?
Mais uma vez, muito apreciado. Aguarde pela sua resposta. :)