Atualize o problema de 10.04LTS para 10.10

3
Checking for a new ubuntu release
Done Upgrade tool signature
Done Upgrade tools 
Done downloading            
extracting 'maverick.tar.gz'
authenticate 'maverick.tar.gz' against 'maverick.tar.gz.gpg' 
tar: Removing leading '/' from member names

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree        
Reading state information... Done
Building data structures... Done 
Reading package lists... Done    
Building dependency tree          
Reading state information... Done
Building data structures... Done 

Updating repository information
WARNING: Failed to read mirror file


A fatal error occurred 

Please report this as a bug and include the files 
/var/log/dist-upgrade/main.log and /var/log/dist-upgrade/apt.log in 
your report. The upgrade has aborted. 
Your original sources.list was saved in 
/etc/apt/sources.list.distUpgrade. 

Traceback (most recent call last): 

File "/tmp/tmpe_xVWd/maverick", line 7, in <module> 
sys.exit(main()) 

File "/tmp/tmpe_xVWd/DistUpgradeMain.py", line 158, in main 
if app.run(): 

File "/tmp/tmpe_xVWd/DistUpgradeController.py", line 1616, in run 
return self.fullUpgrade() 

File "/tmp/tmpe_xVWd/DistUpgradeController.py", line 1534, in 
fullUpgrade 
if not self.updateSourcesList(): 

File "/tmp/tmpe_xVWd/DistUpgradeController.py", line 664, in 
updateSourcesList 
if not self.rewriteSourcesList(mirror_check=True): 

File "/tmp/tmpe_xVWd/DistUpgradeController.py", line 486, in 
rewriteSourcesList 
distro.get_sources(self.sources) 

File "/tmp/tmpe_xVWd/distro.py", line 103, in get_sources 
source.template.official == True and 

AttributeError: 'Template' object has no attribute 'official' 

Isso é o que eu recebi quando tentei atualizar a edição para desktop: sudo do-release-upgrade. Mais uma informação: Eu tenho o kde instalado.

    
por Gopal 19.03.2011 / 17:27

1 resposta

2

O primeiro hit no Google (a busca por "AttributeError: 'Template' não tem atributo 'official'") produz o próximo tópico do Ubuntu: Atualizando para 10.10:" AttributeError: objeto 'Template' não possui atributo 'official' ".

Tente atualizar sua lista de pacotes e verifique se seu sistema está atualizado antes de fazer o upgrade para a versão 10.10:

sudo apt-get update && sudo apt-get upgrade
    
por Lekensteyn 19.03.2011 / 19:38