Obter erros ao atualizar o aptitude

1

Eu recebo os seguintes erros quando aptitude update . Esses erros ocorrem após atualizações sem erro. O que eu faço para consertar isso, mas não remover o ppas, etc?

Err http://ppa.launchpad.net  Packages
  404  Not Found
Ign http://ppa.launchpad.net  Translation-en_CA
Ign http://ppa.launchpad.net  Translation-en
Fetched 520 kB in 2s (206 kB/s)
W: Failed to fetch http://ftp.ca.debian.org/debian/dists/wheezy/Release: Unable to find expected entry 'main/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://dl.google.com/linux/talkplugin/deb/dists/stable/Release: Unable to find expected entry 'main/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ftp.ca.debian.org/debian/dists/wheezy-updates/Release: Unable to find expected entry 'non-free/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ftp.ca.debian.org/debian/dists/wheezy-proposed-updates/Release: Unable to find expected entry 'non-free/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://packages.linuxmint.com/dists/debian/Release: Unable to find expected entry 'import/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://packages.crunchbang.org/waldorf/dists/waldorf/Release: Unable to find expected entry 'main/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ppa.launchpad.net/webupd8team/sublime-text-2/ubuntu/dists/lucid/Release: Unable to find expected entry 'main/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ftp.debian.org/debian/dists/wheezy-backports/Release: Unable to find expected entry 'main/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://repository.violetsky.ch/steam/dists/wheezy/Release: Unable to find expected entry 'main/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://mozilla.debian.net/dists/wheezy-backports/Release: Unable to find expected entry 'iceweasel-release/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://security.debian.org/dists/wheezy/updates/Release: Unable to find expected entry 'non-free/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://http.debian.net/debian/dists/wheezy/Release: Unable to find expected entry 'main/binary-back/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ppa.launchpad.net///download.learnfree.eu/repository/skss/Packages: 404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: Couldn't rebuild package cache

W: Duplicate sources.list entry http://http.debian.net/debian/ wheezy/main amd64 Packages (/var/lib/apt/lists/http.debian.net_debian_dists_wheezy_main_binary-amd64_Packages)
W: Duplicate sources.list entry http://http.debian.net/debian/ wheezy/contrib amd64 Packages (/var/lib/apt/lists/http.debian.net_debian_dists_wheezy_contrib_binary-amd64_Packages)
W: Duplicate sources.list entry http://http.debian.net/debian/ wheezy/non-free amd64 Packages (/var/lib/apt/lists/http.debian.net_debian_dists_wheezy_non-free_binary-amd64_Packages)
W: Duplicate sources.list entry http://http.debian.net/debian/ wheezy/main i386 Packages (/var/lib/apt/lists/http.debian.net_debian_dists_wheezy_main_binary-i386_Packages)
W: Duplicate sources.list entry http://http.debian.net/debian/ wheezy/contrib i386 Packages (/var/lib/apt/lists/http.debian.net_debian_dists_wheezy_contrib_binary-i386_Packages)
W: Duplicate sources.list entry http://http.debian.net/debian/ wheezy/non-free i386 Packages (/var/lib/apt/lists/http.debian.net_debian_dists_wheezy_non-free_binary-i386_Packages)
W: You may want to update the package lists to correct these missing files
    
por jaorizabal 02.12.2013 / 00:02

2 respostas

3

Seu arquivo source.list está errado. Deve ficar assim:

deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main

deb http://http.debian.net/debian wheezy-updates main
deb-src http://http.debian.net/debian wheezy-updates main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

Corrija seu arquivo e execute novamente aptitude update .

Leia mais: link

    
por 02.12.2013 / 14:33
0

Você precisa alterar seu /etc/sources.list para isso (tirado de aqui ):

deb http://http.debian.net/debian wheezy main
deb-src http://http.debian.net/debian wheezy main

deb http://http.debian.net/debian wheezy-updates main
deb-src http://http.debian.net/debian wheezy-updates main

deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main

Em seguida, tente novamente o apt-get update. Se tudo funcionar como esperado, adicione as linhas extras que você tinha (para Iceweasel, etc.) de volta ao arquivo, uma a uma. Dessa forma, você pode identificar a linha malformada se não for óbvia.

    
por 18.07.2014 / 08:47