it-swarm.com.de

Fehler beim Herunterladen der Repository-Informationen (falscher sources.list-Eintrag oder fehlerhafte Datei)

Beim Versuch, die Paketliste zu aktualisieren, wird das folgende Fehlerprotokoll angezeigt:

Failed to download repository information
Check your Internet connection.
W:Failed to fetch http://ftp.wcss.pl/ubuntu/dists/trusty-updates/InRelease  Unable to find expected entry 'main/binary-aarch64/Packages' in Release file (Wrong sources.list entry or malformed file)
W:Failed to fetch http://ftp.wcss.pl/ubuntu/dists/trusty-backports/InRelease  Unable to find expected entry 'main/binary-aarch64/Packages' in Release file (Wrong sources.list entry or malformed file)
W:Failed to fetch http://ftp.wcss.pl/ubuntu/dists/trusty-security/InRelease  Unable to find expected entry 'main/binary-aarch64/Packages' in Release file (Wrong sources.list entry or malformed file)
W:Failed to fetch http://ftp.wcss.pl/ubuntu/dists/trusty/Release  Unable to find expected entry 'main/binary-aarch64/Packages' in Release file (Wrong sources.list entry or malformed file)
W:Failed to fetch http://old-releases.ubuntu.com/ubuntu/dists/raring/Release  Unable to find expected entry 'main/binary-aarch64/Packages' in Release file (Wrong sources.list entry or malformed file)
E:Some index files failed to download. They have been ignored, or old ones used instead.

Versucht apt-get clean und autoclean, Server wechseln , sogar Architektur entfernen (aber dpkg sagte, ich kann nicht, weil es von der Datenbank verwendet wird). Auch versucht, die Zeile mit den problematischen Einträgen zu entfernen, aber meine sources.list enthält sie nicht. Wenn ich cat /etc/apt/sources.list /etc/apt/sources.list.d/* das bekomme ich:

# deb cdrom:[Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release AMD64 (20140722.2)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ftp.wcss.pl/ubuntu/ trusty main restricted
deb-src http://ftp.wcss.pl/ubuntu/ trusty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ftp.wcss.pl/ubuntu/ trusty-updates main restricted
deb-src http://ftp.wcss.pl/ubuntu/ trusty-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://ftp.wcss.pl/ubuntu/ trusty universe
deb-src http://ftp.wcss.pl/ubuntu/ trusty universe
deb http://ftp.wcss.pl/ubuntu/ trusty-updates universe
deb-src http://ftp.wcss.pl/ubuntu/ trusty-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://ftp.wcss.pl/ubuntu/ trusty multiverse
deb-src http://ftp.wcss.pl/ubuntu/ trusty multiverse
deb http://ftp.wcss.pl/ubuntu/ trusty-updates multiverse
deb-src http://ftp.wcss.pl/ubuntu/ trusty-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://ftp.wcss.pl/ubuntu/ trusty-backports main restricted universe multiverse
deb-src http://ftp.wcss.pl/ubuntu/ trusty-backports main restricted universe multiverse

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

## Uncomment the following two lines to add software from Ubuntu's
## 'extras' repository.
## 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 trusty main
# deb-src http://extras.ubuntu.com/ubuntu trusty main
deb file:///var/cuda-repo-7-0-local /
deb file:///var/cuda-repo-7-0-local /
deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64 /
deb http://developer.download.nvidia.com/compute/cuda/repos/ubuntu1404/x86_64 /
deb [Arch=i386,AMD64] http://linux.dropbox.com/ubuntu trusty main
deb [Arch=i386,AMD64] http://linux.dropbox.com/ubuntu trusty main
deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse
# deb http://old-releases.ubuntu.com/ubuntu/ raring main restricted universe multiverse
deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1404/x86_64 /
deb http://developer.download.nvidia.com/compute/machine-learning/repos/ubuntu1404/x86_64 /

Dies unterscheidet sich auch von empfohlenes Duplikat - Mein Fehlerprotokoll enthält keinen Index der beschädigten Zeile. Eigentlich mein sources.list enthält nicht einmal Einträge, die den in der Nachricht genannten ähnlich sind.

Was kann ich damit machen?

3
Przemek D

Nach diesem Fehler:

 Unable to find expected entry 'main/binary-aarch64/Packages'

Sie haben die Architektur aarch64 Hinzugefügt, aber die Repositorys enthalten keine Pakete für diese Architektur.

Prüfen:

dpkg --print-architecture

und

dpkg --print-foreign-architectures

In fremden Architekturen sollte aarch64 Angezeigt werden. Entfernen Sie es:

dpkg --remove-architecture aarch64

Wenn Sie diesen Fehler erhalten:

error: cannot remove architecture 'aarch64' currently in use by the database

Sie müssen alle aarch64 - Pakete entfernen, die Sie haben:

dpkg -l | grep aarch64

Entfernen Sie alles, was Sie finden (mit Sudo apt remove)

Versuchen Sie erneut, das Update durchzuführen.

Alternativ falls Sie diese Pakete benötigen, behalten Sie die fremde Architektur bei und konfigurieren Sie jede Zeile in Ihrer Quellenliste, die Fehler auslöst, um nur nach Paketen der gewünschten Architekturen zu suchen, indem Sie [ Arch=AMD64 ] Hinzufügen. oder [ Arch=i386,AMD64 ] wie folgt aus:

deb [ Arch=AMD64 ] http://archive.ubuntu.com/ubuntu/ trusty-updates main
4
Zanna