Synaptic

Iniciado por postenga, 30 de Junho de 2007, 15:39

tópico anterior - próximo tópico

postenga

Amigos, quando tento abrir o synaptic da o seguinte erro:

E: Registro inválido no arquivo de preferências, sem cabeçalho Pacote
E: _cache->open() failed, please report.


Depois desse erro o programa fecha. Alguem sabe o q é isso?

postenga

no apt get da isso também:

Lendo Lista de Pacotes... Pronto
E: Registro inválido no arquivo de preferências, sem cabeçalho Pacote

clcampos

Só para ver se ajudo posta ai o conteúdo do arquivo /etc/apt/sources.list
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

postenga

## UBUNTU REPOSITORIES
## -------------------
##
## Feisty (Ubuntu 7.04)
deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
##
## Proposed Updates
deb http://archive.ubuntu.com/ubuntu feisty-proposed main restricted universe multiverse
##
## Bug Fixes
deb http://archive.ubuntu.com/ubuntu feisty-updates main restricted universe multiverse
##
## Security Updates
deb http://security.ubuntu.com/ubuntu feisty-security main restricted universe multiverse
##
## Backports
deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse
                                   
## LINUX MINT REPOSITORIES
## -----------------------
##
## Cassandra (Linux Mint 3.0)
deb http://www.linuxmint.com/repository cassandra/
##
## Romeo (Linux Mint Unstable)
## deb http://www.linuxmint.com/repository romeo/

## OTHER REPOSITORIES
## ------------------
##
## Canonical (RealPlayer10, Opera, DesktopSecure etc...)
deb http://archive.canonical.com/ubuntu feisty-commercial main
##
## Medibuntu (Codecs and extra applications)
deb http://packages.medibuntu.org/ feisty free non-free

## ADDED BY MINTINSTALL
## --------------------

clcampos

Para testar faça-me um favor.


  • Faça backup do seu arquivo /etc/apt/sources.list
  • Substitua ele pelo listado abaixo
  • Confira as permissões conforme listado abaixo
  • Execute: sudo apt-get update
  • Execute: sudo apt-get upgrade

/etc/apt/sources.list



deb http://archive.ubuntu.com/ubuntu/ feisty main restricted multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty main restricted multiverse universe

## Major bug fix updates produced after the final release of the
## distribution.
deb http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted multiverse universe
deb-src http://archive.ubuntu.com/ubuntu/ feisty-updates main restricted multiverse universe

## Uncomment the following two lines to add software from the 'universe'
## repository.
## 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
## universe WILL NOT receive any review or updates from the Ubuntu security
## team.
# deb http://archive.ubuntu.com/ubuntu/ edgy universe
# deb-src http://archive.ubuntu.com/ubuntu/ edgy universe

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

deb http://security.ubuntu.com/ubuntu feisty-security main restricted multiverse universe
deb-src http://security.ubuntu.com/ubuntu feisty-security main restricted multiverse universe
# deb http://security.ubuntu.com/ubuntu edgy-security universe
# deb-src http://security.ubuntu.com/ubuntu edgy-security universe

#Automatix
# deb http://www.getautomatix.com/apt edgy main
deb http://www.getautomatix.com/apt feisty main

#AUTOMATIX REPOS START

deb http://archive.canonical.com/ubuntu feisty-commercial main

# deb http://wine.lowvoice.nl/apt edgy main

# deb http://dl.google.com/linux/deb/ stable non-free

# deb http://archive.canonical.com/ubuntu edgy-commercial main

deb http://archive.ubuntu.com/ubuntu feisty-backports main restricted universe multiverse

deb http://archive.ubuntu.com/ubuntu feisty-security main restricted universe multiverse


Verifique as seguintes permissões:

$ sudo -s
senha:
#
# ls -ld /etc/apt
drwxr-xr-x 4 root root 1808 2007-07-01 22:31 /etc/apt
#
#
# ls -l /etc/apt
total 216
drwxr-xr-x 2 root root   280 2007-05-25 14:56 apt.conf.d
-rw------- 1 root root     0 2006-10-25 10:27 secring.gpg
-rw-r--r-- 1 root root  3051 2007-05-25 00:03 sources.list
drwxr-xr-x 2 root root   136 2007-04-24 01:02 sources.list.d
-rw-r--r-- 1 root root  2687 2007-04-24 01:02 sources.list.distUpgrade
-rw-r--r-- 1 root root  1826 2007-02-24 23:45 sources.list.save
-rw------- 1 root root  1200 2007-02-25 23:33 trustdb.gpg
-rw-r--r-- 1 root root 37781 2007-05-25 00:00 trusted.gpg
-rw-r--r-- 1 root root 36617 2007-03-23 23:36 trusted.gpg~
#
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!

postenga

Funcionou bem! obrigado pela ajuda!!

clcampos

Isso ai, que bom. Tinha alguma permissão errada ou era só o arquivo /etc/apt/sources.list?

Antes que me esqueça, coloque Resolvido no título do seu tópico.
Cristiano/Timóteo - MG
.: Como Fazer Perguntas de Forma Inteligente :.                
Com dúvida? pesquise!