Algumas atualizações não são efetuadas

Iniciado por vini vini, 29 de Agosto de 2012, 20:54

tópico anterior - próximo tópico

vini vini

vini@vini-MS-1454:~$ sudo apt-get dist-upgrade
[sudo] password for vini:
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.
W: Duplicate sources.list entry http://archive.ubuntugames.org/ ubuntugames/main i386 Packages (/var/lib/apt/lists/archive.ubuntugames.org_dists_ubuntugames_main_binary-i386_Packages)
W: Você terá que executar apt-get update para corrigir estes problemas
vini@vini-MS-1454:~$ apt-get update
E: Não foi possível abrir arquivo de trava /var/lib/apt/lists/lock - open (13: Permissão negada)
E: Impossível criar acesso exclusivo ao directório /var/lib/apt/lists/
E: Não foi possível abrir arquivo de trava /var/lib/dpkg/lock - open (13: Permissão negada)
E: Não foi possível criar acesso exclusivo ao directório de administração (/var/lib/dpkg/), é root?
vini@vini-MS-1454:~$ root su
No command 'root' found, did you mean:
Command 'rootv' from package 'xawtv' (universe)
Command 'rott' from package 'rott' (multiverse)
Command 'rbot' from package 'rbot' (universe)
root: command not found
vini@vini-MS-1454:~$ sudo su
root@vini-MS-1454:/home/vini# apt-get update
Ign http://br.archive.ubuntu.com precise InRelease
Ign http://br.archive.ubuntu.com precise-updates InRelease                     
Ign http://br.archive.ubuntu.com precise-backports InRelease                   
Atingido http://br.archive.ubuntu.com precise Release.gpg                     
Ign http://archive.ubuntugames.org ubuntugames InRelease                       
Atingido http://br.archive.ubuntu.com precise-updates Release.gpg             
Atingido http://br.archive.ubuntu.com precise-backports Release.gpg           
Ign http://extras.ubuntu.com precise InRelease                                 
Ign http://dl.google.com stable InRelease                                     
Ign http://dl.google.com stable InRelease                                     
Atingido http://archive.ubuntugames.org ubuntugames Release.gpg               
Atingido http://br.archive.ubuntu.com precise Release                         
Ign http://deb.playonlinux.com karmic InRelease                               
Ign http://security.ubuntu.com precise-security InRelease                     
Ign http://archive.canonical.com precise InRelease                             
Atingido http://br.archive.ubuntu.com precise-updates Release                 
Ign http://ppa.launchpad.net precise InRelease                                 
Atingido http://archive.ubuntugames.org ubuntugames Release                   
Obter:1 http://extras.ubuntu.com precise Release.gpg [72 B]                   
Atingido http://br.archive.ubuntu.com precise-backports Release               
Obter:2 http://dl.google.com stable Release.gpg [198 B]                       
Atingido http://br.archive.ubuntu.com precise/main Sources                     
Atingido http://br.archive.ubuntu.com precise/restricted Sources               
Atingido http://br.archive.ubuntu.com precise/universe Sources                 
Atingido http://br.archive.ubuntu.com precise/multiverse Sources               
Atingido http://br.archive.ubuntu.com precise/main i386 Packages               
Atingido http://br.archive.ubuntu.com precise/restricted i386 Packages         
Atingido http://br.archive.ubuntu.com precise/universe i386 Packages           
Atingido http://br.archive.ubuntu.com precise/multiverse i386 Packages         
Atingido http://br.archive.ubuntu.com precise/main TranslationIndex           
Atingido http://archive.ubuntugames.org ubuntugames/main i386 Packages         
Obter:3 http://security.ubuntu.com precise-security Release.gpg [198 B]       
Atingido http://archive.canonical.com precise Release.gpg                     
Atingido http://br.archive.ubuntu.com precise/multiverse TranslationIndex     
Atingido http://br.archive.ubuntu.com precise/restricted TranslationIndex     
Atingido http://br.archive.ubuntu.com precise/universe TranslationIndex       
Atingido http://br.archive.ubuntu.com precise-updates/main Sources             
Atingido http://br.archive.ubuntu.com precise-updates/restricted Sources       
Atingido http://br.archive.ubuntu.com precise-updates/universe Sources         
Obter:4 http://extras.ubuntu.com precise Release [11,9 kB]                     
Obter:5 http://dl.google.com stable Release.gpg [198 B]                       
Atingido http://ppa.launchpad.net precise Release.gpg                         
Ign http://archive.ubuntugames.org ubuntugames/main TranslationIndex           
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Sources       
Atingido http://br.archive.ubuntu.com precise-updates/main i386 Packages       
Atingido http://br.archive.ubuntu.com precise-updates/restricted i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/universe i386 Packages   
Atingido http://br.archive.ubuntu.com precise-updates/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise-updates/main TranslationIndex   
Atingido http://br.archive.ubuntu.com precise-updates/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/restricted TranslationIndex
Atingido http://br.archive.ubuntu.com precise-updates/universe TranslationIndex
Ign http://deb.playonlinux.com karmic Release.gpg                             
Atingido http://br.archive.ubuntu.com precise-backports/main Sources           
Atingido http://br.archive.ubuntu.com precise-backports/restricted Sources     
Atingido http://br.archive.ubuntu.com precise-backports/universe Sources       
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Sources     
Atingido http://br.archive.ubuntu.com precise-backports/main i386 Packages     
Atingido http://br.archive.ubuntu.com precise-backports/restricted i386 Packages
Atingido http://archive.canonical.com precise Release                         
Obter:6 http://security.ubuntu.com precise-security Release [49,6 kB]         
Obter:7 http://dl.google.com stable Release                                   
Atingido http://br.archive.ubuntu.com precise-backports/universe i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/multiverse i386 Packages
Atingido http://br.archive.ubuntu.com precise-backports/main TranslationIndex 
Atingido http://br.archive.ubuntu.com precise-backports/multiverse TranslationIndex
Atingido http://br.archive.ubuntu.com precise-backports/restricted TranslationIndex
Atingido http://ppa.launchpad.net precise Release                             
Atingido http://br.archive.ubuntu.com precise-backports/universe TranslationIndex
Atingido http://br.archive.ubuntu.com precise/main Translation-pt_BR           
Atingido http://br.archive.ubuntu.com precise/main Translation-pt             
Atingido http://br.archive.ubuntu.com precise/main Translation-en             
Ign http://deb.playonlinux.com karmic Release                                 
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt_BR     
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-pt       
Atingido http://br.archive.ubuntu.com precise/multiverse Translation-en       
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt_BR     
Atingido http://br.archive.ubuntu.com precise/restricted Translation-pt       
Atingido http://br.archive.ubuntu.com precise/restricted Translation-en       
Obter:8 http://dl.google.com stable Release                                   
Atingido http://archive.canonical.com precise/partner Sources                 
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt_BR       
Atingido http://br.archive.ubuntu.com precise/universe Translation-pt         
Atingido http://br.archive.ubuntu.com precise/universe Translation-en         
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-pt_BR   
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-pt     
Atingido http://br.archive.ubuntu.com precise-updates/main Translation-en     
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/multiverse Translation-en
Atingido http://ppa.launchpad.net precise/main Sources                         
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-pt
Atingido http://br.archive.ubuntu.com precise-updates/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-pt_BR
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-pt 
Atingido http://br.archive.ubuntu.com precise-updates/universe Translation-en 
Obter:9 http://dl.google.com stable/main i386 Packages [464 B]                 
Ign http://dl.google.com stable/main TranslationIndex                         
Atingido http://archive.canonical.com precise/partner i386 Packages           
Ign http://archive.canonical.com precise/partner TranslationIndex             
Atingido http://br.archive.ubuntu.com precise-backports/main Translation-en   
Atingido http://br.archive.ubuntu.com precise-backports/multiverse Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/restricted Translation-en
Atingido http://br.archive.ubuntu.com precise-backports/universe Translation-en
Obter:10 http://extras.ubuntu.com precise/main Sources [4.875 B]               
Ign http://deb.playonlinux.com karmic/main TranslationIndex                   
Atingido http://ppa.launchpad.net precise/main i386 Packages                   
Ign http://ppa.launchpad.net precise/main TranslationIndex                     
Obter:11 http://dl.google.com stable/main i386 Packages [776 B]               
Ign http://dl.google.com stable/main TranslationIndex                         
Obter:12 http://extras.ubuntu.com precise/main i386 Packages [6.346 B]         
Ign http://extras.ubuntu.com precise/main TranslationIndex                     
Ign http://archive.ubuntugames.org ubuntugames/main Translation-pt_BR         
Ign http://archive.ubuntugames.org ubuntugames/main Translation-pt             
Ign http://archive.ubuntugames.org ubuntugames/main Translation-en             
Obter:13 http://security.ubuntu.com precise-security/main Sources [41,0 kB]   
Err http://deb.playonlinux.com karmic/main i386 Packages                       
  404  Not Found
Ign http://dl.google.com stable/main Translation-pt_BR                         
Ign http://dl.google.com stable/main Translation-pt                           
Ign http://dl.google.com stable/main Translation-en                           
Ign http://dl.google.com stable/main Translation-pt_BR                         
Ign http://ppa.launchpad.net precise/main Translation-pt_BR                   
Ign http://archive.canonical.com precise/partner Translation-pt_BR             
Ign http://deb.playonlinux.com karmic/main Translation-pt_BR                   
Ign http://deb.playonlinux.com karmic/main Translation-pt                     
Ign http://dl.google.com stable/main Translation-pt                           
Ign http://dl.google.com stable/main Translation-en                           
Ign http://ppa.launchpad.net precise/main Translation-pt                       
Obter:14 http://security.ubuntu.com precise-security/restricted Sources [1.950 B]
Obter:15 http://security.ubuntu.com precise-security/universe Sources [12,1 kB]
Ign http://archive.canonical.com precise/partner Translation-pt               
Ign http://deb.playonlinux.com karmic/main Translation-en                     
Ign http://ppa.launchpad.net precise/main Translation-en                       
Obter:16 http://security.ubuntu.com precise-security/multiverse Sources [1.386 B]
Obter:17 http://security.ubuntu.com precise-security/main i386 Packages [162 kB]
Ign http://archive.canonical.com precise/partner Translation-en               
Ign http://extras.ubuntu.com precise/main Translation-pt_BR                   
Ign http://extras.ubuntu.com precise/main Translation-pt                       
Ign http://extras.ubuntu.com precise/main Translation-en                       
Obter:18 http://security.ubuntu.com precise-security/restricted i386 Packages [3.968 B]
Obter:19 http://security.ubuntu.com precise-security/universe i386 Packages [41,6 kB]
Obter:20 http://security.ubuntu.com precise-security/multiverse i386 Packages [2.369 B]
Obter:21 http://security.ubuntu.com precise-security/main TranslationIndex [73 B]
Obter:22 http://security.ubuntu.com precise-security/multiverse TranslationIndex [71 B]
Obter:23 http://security.ubuntu.com precise-security/restricted TranslationIndex [71 B]
Obter:24 http://security.ubuntu.com precise-security/universe TranslationIndex [73 B]
Atingido http://security.ubuntu.com precise-security/main Translation-en       
Atingido http://security.ubuntu.com precise-security/multiverse Translation-en
Atingido http://security.ubuntu.com precise-security/restricted Translation-en
Obter:25 http://security.ubuntu.com precise-security/universe Translation-en [25,7 kB]
Baixados 369 kB em 10s (35,4 kB/s)                                             
W: Falhou ao buscar http://deb.playonlinux.com/dists/karmic/main/binary-i386/Packages  404  Not Found

E: Alguns arquivos index falharam ao ser baixados. Eles foram ignorados, ou cópias antigas são usadas ao invés.
root@vini-MS-1454:/home/vini#

vini vini

resolvido:

wget -q "http://deb.playonlinux.com/public.gpg" -O- | sudo apt-key add -
sudo wget http://deb.playonlinux.com/playonlinux_oneiric.list -O /etc/apt/sources.list.d/playonlinux.list
sudo apt-get update
sudo apt-get install playonlinux