dpkg erro [RESOLVIDO]

1. dpkg erro [RESOLVIDO]

Edgar
edgar.barker

(usa Ubuntu)

Enviado em 23/02/2012 - 16:00h

Olá pessoal

Sempre q tento instalar algo da este erro (abaixo) que pode ser? como resolver?

dpkg: erro: não foi possível vasculhar diretório de atualizações '/var/lib/dpkg/updates/': Arquivo ou diretório não encontrado
E: Sub-process /usr/bin/dpkg returned an error code (2)












  


2. Re: dpkg erro [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/02/2012 - 01:27h

edgar.barker escreveu:

Olá pessoal

Sempre q tento instalar algo da este erro (abaixo) que pode ser? como resolver?

dpkg: erro: não foi possível vasculhar diretório de atualizações '/var/lib/dpkg/updates/': Arquivo ou diretório não encontrado
E: Sub-process /usr/bin/dpkg returned an error code (2)











Leia até o final

http://ubuntuforum-pt.org/index.php?topic=90464.0



3. Re: dpkg erro [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 24/02/2012 - 17:36h

Qual a versão do seu Ubuntu?
Como está seu sources.list:

$ cat /etc/apt/sources.list


4. Re: dpkg erro [RESOLVIDO]

Edgar
edgar.barker

(usa Ubuntu)

Enviado em 24/02/2012 - 17:36h

amarildosertorio escreveu:

edgar.barker escreveu:

Olá pessoal

Sempre q tento instalar algo da este erro (abaixo) que pode ser? como resolver?

dpkg: erro: não foi possível vasculhar diretório de atualizações '/var/lib/dpkg/updates/': Arquivo ou diretório não encontrado
E: Sub-process /usr/bin/dpkg returned an error code (2)











Leia até o final

http://ubuntuforum-pt.org/index.php?topic=90464.0


Olá Amarildo

Antes de postar este erro, procurei sobre este erro fiz tudo que pediram neste forum e não deu certo continuo com o erro! qndo tento instalar ou update olha a mensagem:


W: Falhou ao buscar http://ppa.launchpad.net/tualatrix/gnome-terminal/ubuntu/dists/oneiric/main/source/Sources 404 Not Found

W: Falhou ao buscar http://ppa.launchpad.net/tualatrix/gnome-terminal/ubuntu/dists/oneiric/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.



5. Re: dpkg erro [RESOLVIDO]

Edgar
edgar.barker

(usa Ubuntu)

Enviado em 24/02/2012 - 17:39h

Josue A. Santos escreveu:

Qual a versão do seu Ubuntu?
Como está seu sources.list:

$ cat /etc/apt/sources.list


Olá Josue,

Seria isto?



# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-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 http://br.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-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 http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse

## 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 http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security 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 http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb http://archive.ubuntugames.org ubuntugames main
deb http://archive.ubuntugames.org ubuntugames main
deb-src http://archive.ubuntugames.org ubuntugames main



6. Re: dpkg erro [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 24/02/2012 - 18:04h

yes. Olha uma dica, quando isso ocorre o que bem provável, pegue o endereço e cole na url do seu navegador e tente acessar.
O que eu quero dizer simples sources.list nada mais são do que repositórios hospedados e servidores que podem muito bem a vir a sair do ar, um boa maneira de descobrir é tentando acessa-los.

http://ppa.launchpad.net/tualatrix/gnome-terminal/ubuntu/dists/oneiric/main/source/Sources

Not Found

The requested URL /tualatrix/gnome-terminal/ubuntu/dists/oneiric/main/source/Sources was not found on this server.
Apache/2.2.14 (Ubuntu) Server at ppa.launchpad.net Port 80


7. o erro está em...

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/02/2012 - 18:13h

muito provavelmente em: /etc/apt/sources.list.d/

dê um 'ls' nesse diretório e traga o resultado.

$ ls /etc/apt/sources.list.d/


8. Re: dpkg erro [RESOLVIDO]

Edgar
edgar.barker

(usa Ubuntu)

Enviado em 24/02/2012 - 18:14h

edps escreveu:

muito provavelmente em: /etc/apt/sources.list.d/

dê um 'ls' nesse diretório e traga o resultado.

$ ls /etc/apt/sources.list.d/



conky-companions-ppa-oneiric.list
conky-companions-ppa-oneiric.list.save
google-chrome.list
google-chrome.list.save
tualatrix-gnome-terminal-oneiric.list
tualatrix-gnome-terminal-oneiric.list.save
tualatrix-ppa-oneiric.list



9. Re: dpkg erro [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 24/02/2012 - 18:21h

2 x pra quê?

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.

deb http://extras.ubuntu.com/ubuntu oneiric main


deb-src http://extras.ubuntu.com/ubuntu oneiric main


deb http://archive.ubuntugames.org ubuntugames main


deb http://archive.ubuntugames.org ubuntugames main


deb-src http://archive.ubuntugames.org ubuntugames main


2x

deb http://archive.ubuntugames.org ubuntugames main


deb http://archive.ubuntugames.org ubuntugames main



10. Re: dpkg erro [RESOLVIDO]

Perfil removido
removido

(usa Nenhuma)

Enviado em 24/02/2012 - 18:22h

edgar.barker escreveu:

edps escreveu:

muito provavelmente em: /etc/apt/sources.list.d/

dê um 'ls' nesse diretório e traga o resultado.

$ ls /etc/apt/sources.list.d/



conky-companions-ppa-oneiric.list
conky-companions-ppa-oneiric.list.save
google-chrome.list
google-chrome.list.save
tualatrix-gnome-terminal-oneiric.list
tualatrix-gnome-terminal-oneiric.list.save
tualatrix-ppa-oneiric.list



então rapaizzzzz faça isso:

$ sudo mkdir -p /etc/apt/ppas-desativadas
$ sudo mv /etc/apt/sources.list.d/tualatrix-* /etc/apt/ppas-desativadas/
$ sudo apt-get update


* eu no seu lugar removeria essas coisas:

$ sudo rm -fv /etc/apt/sources.list.d/tualatrix-*
$ sudo apt-get update


** mas cada caso é um caso.

tixau!



11. Re: dpkg erro [RESOLVIDO]

Edgar
edgar.barker

(usa Ubuntu)

Enviado em 24/02/2012 - 18:34h

Josue A. Santos escreveu:

2 x pra quê?

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.

deb http://extras.ubuntu.com/ubuntu oneiric main


deb-src http://extras.ubuntu.com/ubuntu oneiric main


deb http://archive.ubuntugames.org ubuntugames main


deb http://archive.ubuntugames.org ubuntugames main


deb-src http://archive.ubuntugames.org ubuntugames main


2x

deb http://archive.ubuntugames.org ubuntugames main


deb http://archive.ubuntugames.org ubuntugames main



Josue,

Como faço para corrigir isso?



12. Re: dpkg erro [RESOLVIDO]

Josue de Jesus Santos
JJSantos

(usa Gentoo)

Enviado em 24/02/2012 - 18:56h

sudo nano /etc/apt/sources.list

e quando abrir vá até penultima linha, apague(penultima linha) e salve, assim aperte, obs é a letra o e não zero: CTRL + O e depois CTRL + x

Deixe o sources.list como o que está abaixo:



# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-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 http://br.archive.ubuntu.com/ubuntu/ oneiric universe
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric universe
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates universe
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-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 http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric multiverse
deb http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse

## 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 http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
deb-src http://br.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
deb http://security.ubuntu.com/ubuntu oneiric-security universe
deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
deb-src http://security.ubuntu.com/ubuntu oneiric-security 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 http://archive.canonical.com/ubuntu oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric partner

## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb http://archive.ubuntugames.org ubuntugames main
deb-src http://archive.ubuntugames.org ubuntugames main




01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts