Eu tenho uma versão antiga do Fedora que eu gostaria de atualizar. Eu tenho acesso apenas à linha de comando (por meio do PuTTy em uma máquina Windows). Pelo que eu li, preupgrade-cli
é o que eu deveria estar fazendo, mas isso sempre falha com a mensagem "[Errno 256] Não há mais espelhos para tentar."
[root@localhost ~]# cat /etc/fedora-release
Fedora release 9 (Sulphur)
[root@localhost ~]# preupgrade-cli
Loaded plugins: blacklist, refresh-packagekit, whiteout
Loaded plugins: refresh-packagekit
please give a release to try to pre-upgrade to
valid entries include:
"Fedora 16 (Verne)"
"Fedora 15 (Lovelock)"
"Fedora 13 (Goddard)"
"Fedora 11 (Leonidas)"
"Fedora 12 (Constantine)"
"Fedora 17 (Beefy Miracle)"
"Fedora 14 (Laughlin)"
"Fedora 10 (Cambridge)"
[root@localhost ~]# preupgrade-cli "Fedora 16 (Verne)"
Loaded plugins: blacklist, refresh-packagekit, whiteout
Loaded plugins: refresh-packagekit
preupgrade-main (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-16&arch=$basearch
now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-16&arch=i386
preupgrade (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/16/Fedora/$basearch/os/
now: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/16/Fedora/i386/os/
preupgrade-updates-newkey (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f16.newkey&arch=i386
now: http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f16.newkey&arch=i386
Can't set up new repo preupgrade-updates-newkey - removing
preupgrade-fedora (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-16&arch=i386
now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-16&arch=i386
preupgrade-updates (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f16&arch=i386
now: http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f16&arch=i386
Fetched treeinfo from http://ftp.heanet.ie/pub/fedora/linux/releases/16/Fedora/i386/os//.treeinfo
treeinfo timestamp: Thu Nov 3 03:11:15 2011
.treeinfo | 906 B 00:00
/boot/upgrade/vmlinuz checksum OK
/boot/upgrade/initrd.img checksum OK
Traceback (most recent call last):
File "/usr/share/preupgrade/preupgrade-cli.py", line 305, in <module>
pu.main(myrelease)
File "/usr/share/preupgrade/preupgrade-cli.py", line 204, in main
stage2file = self.retrieve_non_critical_files()
File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 556, in retrieve_non_critical_files
self._retrieve_file(self.mainimage,targetdir)
File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 437, in _retrieve_file
tmp = self.instgrab.urlopen(fileinfo)
File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 417, in urlopen
return self._mirror_try(func, url, kw)
File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 390, in _mirror_try
mirrorchoice = self._get_mirror(gr)
File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 287, in _get_mirror
raise URLGrabError(256, _('No more mirrors to try.'))
urlgrabber.grabber.URLGrabError: [Errno 256] No more mirrors to try.
[root@localhost ~]# traceroute ftp.heanet.ie
traceroute to ftp.heanet.ie (193.1.193.64), 30 hops max, 60 byte packets
1 192.168.1.254 (192.168.1.254) 0.318 ms 0.383 ms 0.584 ms
2 b-ras1.pgs.portlaoise.eircom.net (159.134.155.8) 31.286 ms 34.831 ms 35.415 ms
3 tenge-5-1-1.pe1.pgs.lmk-pgs.eircom.net (86.43.247.133) 39.728 ms 39.806 ms 40.421 ms
4 tenge-7-1-1.core1.bdt.core.eircom.net (86.43.252.249) 48.627 ms 48.872 ms 48.938 ms
5 * * *
6 83.71.115.181 (83.71.115.181) 55.914 ms 33.992 ms 38.373 ms
7 te0-0-0-1-cr2-cwt.hea.net (193.242.111.16) 83.851 ms 44.684 ms 44.839 ms
8 te5-1-blanch-sr1.services.hea.net (193.1.236.2) 39.659 ms 40.871 ms 44.635 ms
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 te5-1-blanch-sr1.services.hea.net (193.1.236.2) 53.721 ms !X * *
A atualização para o Fedora 17 também falha. (Eu tentei 16 primeiro, porque 17 está fora de ordem na lista, então eu nunca notei isso.)
[root@localhost ~]# preupgrade-cli "Fedora 17 (Beefy Miracle)"
Loaded plugins: blacklist, refresh-packagekit, whiteout
Loaded plugins: refresh-packagekit
preupgrade-main (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=$basearch
now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=i386
preupgrade (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/17/Fedora/$basearch/os/
now: http://mirrors.fedoraproject.org/mirrorlist?path=pub/fedora/linux/releases/17/Fedora/i386/os/
preupgrade-updates-newkey (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f17.newkey&arch=i386
now: http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f17.newkey&arch=i386
Can't set up new repo preupgrade-updates-newkey - removing
preupgrade-fedora (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=i386
now: http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-17&arch=i386
preupgrade-updates (mirrorlist)
url: http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f17&arch=i386
now: http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f17&arch=i386
Fetched treeinfo from http://ftp.heanet.ie/pub/fedora/linux/releases/16/Fedora/i386/os//.treeinfo
treeinfo timestamp: Thu Nov 3 03:11:15 2011
.treeinfo | 906 B 00:00
/boot/upgrade/vmlinuz checksum OK
/boot/upgrade/initrd.img checksum OK
Traceback (most recent call last):
File "/usr/share/preupgrade/preupgrade-cli.py", line 305, in <module>
pu.main(myrelease)
File "/usr/share/preupgrade/preupgrade-cli.py", line 204, in main
stage2file = self.retrieve_non_critical_files()
File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 556, in retrieve_non_critical_files
self._retrieve_file(self.mainimage,targetdir)
File "/usr/lib/python2.5/site-packages/preupgrade/__init__.py", line 437, in _retrieve_file
tmp = self.instgrab.urlopen(fileinfo)
File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 417, in urlopen
return self._mirror_try(func, url, kw)
File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 390, in _mirror_try
mirrorchoice = self._get_mirror(gr)
File "/usr/lib/python2.5/site-packages/urlgrabber/mirror.py", line 287, in _get_mirror
raise URLGrabError(256, _('No more mirrors to try.'))
urlgrabber.grabber.URLGrabError: [Errno 256] No more mirrors to try.
Existe alguma maneira de contornar isso e instalar uma atualização, ou seria melhor fazer o backup dos meus dados, limpar e começar do zero?
link e link e link tudo sugiro que o ftp.heanet.ie hospede o Fedora 17, mas por algum motivo o comando de pré-atualização não o encontra lá. Devo usar um espelho diferente (se sim, como?) Ou reconfigurar outra coisa na conexão para ftp.heanet.ie?