Wednesday, December 21, 2016

14.04 - Apt-get update failing

Hello I am new to ubuntu. I am running 14.04 Trusy. I have tried to search around but the solutions I have found has not helped. I get some errors when running apt-get update:



Hit http://ftp.rz.tu-bs.de trusty Release        
Hit http://ftp.rz.tu-bs.de trusty/main Sources
Hit http://ftp.rz.tu-bs.de trusty/restricted Sources
Hit http://ftp.rz.tu-bs.de trusty/universe Sources
Hit http://ftp.rz.tu-bs.de trusty/multiverse Sources

Fetched 743 kB in 2s (368 kB/s)
W: Failed to fetch http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/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.rz.tu-bs.de/pub/mirror/ubuntu-packages/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.rz.tu-bs.de/pub/mirror/ubuntu-packages/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://packages.ros.org/ros/ubuntu/dists/trusty/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://ppa.launchpad.net/nginx/stable/ubuntu/dists/trusty/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://extras.ubuntu.com/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://archive.canonical.com/ubuntu/dists/trusty/Release Unable to find expected entry 'partner/binary-aarch64/Packages' in Release file (Wrong sources.list entry or malformed file)
W: Failed to fetch http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/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://mirror-eu.packages.ros.org/ros/ubuntu/dists/trusty/Release Unable to find expected entry 'main/binary-aarch64/Packages' in Release file (Wrong sources.list entry or malformed file)



I therefore found that you should look in the sources.list file:



# deb cdrom:[Ubuntu 14.04.4 LTS _Trusty Tahr_ - Release amd64 (20160217.1)]/ trusty main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty main restricted
deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty main restricted


## Major bug fix updates produced after the final release of the
## distribution.
deb http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-updates main restricted
deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ 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.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty universe

deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty universe
deb http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-updates universe
deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ 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.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty multiverse

deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty multiverse
deb http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-updates multiverse
deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ 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.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-backports main restricted universe multiverse

deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-backports main restricted universe multiverse

deb http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-security main restricted
deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-security main restricted
deb http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-security universe
deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-security universe
deb http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ trusty-security multiverse
deb-src http://ftp.rz.tu-bs.de/pub/mirror/ubuntu-packages/ 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

## 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 http://packages.ros.org/ros/ubuntu trusty main


Extra



I searched around on the name aarch64, which refers to arm. This I do not understand since my install should from this link, specifically AMD64. Can somebody help me with this issue?

No comments:

Post a Comment

11.10 - Can't boot from USB after installing Ubuntu

I bought a Samsung series 5 notebook and a very strange thing happened: I installed Ubuntu 11.10 from a usb pen drive but when I restarted (...