error while installing ia32-libs - ubuntu-14.04

I am trying to install "ia32-libs" After doing google I did following steps. Yet not able to do it...
1st step i have added dpkg --add-architecture i386
2nd step added "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list"
root#user:/etc/apt/sources.list.d# sudo dpkg --add-architecture i386
root#user:/etc/apt/sources.list.d# echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
root#user:/etc/apt/sources.list.d# apt-get update
Ign http://us-east-1.ec2.archive.ubuntu.com trusty InRelease
Ign http://security.ubuntu.com trusty-security InRelease
Ign http://archive.ubuntu.com raring InRelease
Ign http://us-east-1.ec2.archive.ubuntu.com trusty-updates InRelease
Hit http://security.ubuntu.com trusty-security Release.gpg
Ign http://archive.ubuntu.com raring Release.gpg
Hit http://us-east-1.ec2.archive.ubuntu.com trusty Release.gpg
Hit http://security.ubuntu.com trusty-security Release
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates Release.gpg
Ign http://archive.ubuntu.com raring Release
Hit http://us-east-1.ec2.archive.ubuntu.com trusty Release
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates Release
Hit http://security.ubuntu.com trusty-security/main Sources
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main Sources
Hit http://security.ubuntu.com trusty-security/universe Sources
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe Sources
Hit http://security.ubuntu.com trusty-security/main amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main amd64 Packages
Hit http://security.ubuntu.com trusty-security/universe amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe amd64 Packages
Hit http://security.ubuntu.com trusty-security/main i386 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main i386 Packages
Hit http://security.ubuntu.com trusty-security/universe i386 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe i386 Packages
Hit http://security.ubuntu.com trusty-security/main Translation-en
Hit http://security.ubuntu.com trusty-security/universe Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Sources
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Sources
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe amd64 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main i386 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe i386 Packages
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/main Translation-en
Hit http://us-east-1.ec2.archive.ubuntu.com trusty-updates/universe Translation-en
Ign http://us-east-1.ec2.archive.ubuntu.com trusty/main Translation-en_US
Ign http://us-east-1.ec2.archive.ubuntu.com trusty/universe Translation-en_US
Err http://archive.ubuntu.com raring/main amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/restricted amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/universe amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/multiverse amd64 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/main i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/restricted i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/universe i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Err http://archive.ubuntu.com raring/multiverse i386 Packages
404 Not Found [IP: 91.189.91.13 80]
Ign http://archive.ubuntu.com raring/main Translation-en_US
Ign http://archive.ubuntu.com raring/main Translation-en
Ign http://archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://archive.ubuntu.com raring/multiverse Translation-en
Ign http://archive.ubuntu.com raring/restricted Translation-en_US
Ign http://archive.ubuntu.com raring/restricted Translation-en
Ign http://archive.ubuntu.com raring/universe Translation-en_US
Ign http://archive.ubuntu.com raring/universe Translation-en
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-amd64/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-amd64/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-amd64/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-amd64/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages 404 Not Found [IP: 91.189.91.13 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.

Try these steps:
sudo apt-get install libc6:i386
sudo -i
cd /etc/apt/sources.list.d
echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list
apt-get update
apt-get install ia32-libs
rm /etc/apt/sources.list.d/ia32-libs-raring.list
apt-get update
exit
sudo apt-get install gcc-multilib
Reference: This thread.

Related

Trying to install handbrake CLI but I keep getting a gstreamer install issue. Do I have add some additional ppa for this?

I am on an ubuntu-18.04 machine.
Firstly I am adding the handbrake ppa repository in this manner
sudo add-apt-repository ppa:stebbins/handbrake-releases
Post that I am running the installation using the following commands
sudo apt -y update
sudo apt install -y handbrake-gtk handbrake-cli --fix-missing
But I constantly keep getting this error
Err:17 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 libgstreamer-plugins-good1.0-0 amd64 1.14.5-0ubuntu1~18.04.2
404 Not Found [IP: 91.189.91.38 80]
Get:27 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtag1v5 amd64 1.11.1+dfsg.1-0.2build2 [10.9 kB]
Get:28 http://archive.ubuntu.com/ubuntu bionic/main amd64 libtwolame0 amd64 0.3.13-3 [46.7 kB]
Get:29 http://archive.ubuntu.com/ubuntu bionic/main amd64 libv4lconvert0 amd64 1.14.2-1 [76.1 kB]
Get:30 http://archive.ubuntu.com/ubuntu bionic/main amd64 libv4l-0 amd64 1.14.2-1 [41.7 kB]
Get:31 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libvpx5 amd64 1.7.0-3ubuntu0.18.04.1 [796 kB]
Get:32 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 libwavpack1 amd64 5.1.0-2ubuntu1.5 [76.8 kB]
Ign:33 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gstreamer1.0-plugins-good amd64 1.14.5-0ubuntu1~18.04.2
Get:34 http://archive.ubuntu.com/ubuntu bionic-updates/main amd64 gstreamer1.0-x amd64 1.14.5-0ubuntu1~18.04.3 [74.3 kB]
Err:33 http://security.ubuntu.com/ubuntu bionic-updates/main amd64 gstreamer1.0-plugins-good amd64 1.14.5-0ubuntu1~18.04.2
404 Not Found [IP: 91.189.91.38 80]
Fetched 6,538 kB in 3s (1,908 kB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gst-plugins-good1.0/libgstreamer-plugins-good1.0-0_1.14.5-0ubuntu1~18.04.2_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gst-plugins-good1.0/gstreamer1.0-plugins-good_1.14.5-0ubuntu1~18.04.2_amd64.deb 404 Not Found [IP: 91.189.91.38 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
I checked the file in the repository but it doesn't seem to exist.
How can I update the libgstreamer download link? Do I need to add some other ppa for this?

How to install Greenplum Database in Linux Mint 17.1 Cinnamon 64-bit

To install greenplum, I am following below steps:
reference link
sudo apt-get install -y software-properties-common <br>
sudo add-apt-repository ppa:greenplum/db <br>
sudo apt-get update <br>
when we do
sudo apt-get update </b> we are getting following errors:
Ign http://extra.linuxmint.com rebecca/main Translation-en_IN
Ign http://extra.linuxmint.com rebecca/main Translation-en
Ign http://archive.ubuntu.com trusty/main Translation-en_IN
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_IN
Ign http://archive.ubuntu.com trusty/restricted Translation-en_IN
Ign http://archive.ubuntu.com trusty/universe Translation-en_IN
Err http://ppa.launchpad.net trusty/main Sources
404 Not Found Err http://ppa.launchpad.net trusty/main amd64 Packages
404 Not Found Err http://ppa.launchpad.net trusty/main i386 Packages
404 Not Found Ign http://ppa.launchpad.net trusty/main
Translation-en_IN Ign http://ppa.launchpad.net
trusty/main Translation-en Ign
http://packages.linuxmint.com rebecca/import Translation-en_IN
Ign http://packages.linuxmint.com rebecca/import Translation-en
Ign http://packages.linuxmint.com rebecca/main Translation-en_IN
Ign http://packages.linuxmint.com rebecca/main Translation-en
Ign http://packages.linuxmint.com rebecca/upstream Translation-en_IN
Ign http://packages.linuxmint.com rebecca/upstream Translation-en
W: Failed to fetch
http://ppa.launchpad.net/greenplum/db/ubuntu/dists/trusty/main/source/Sources
404 Not Found W: Failed to fetch
http://ppa.launchpad.net/greenplum/db/ubuntu/dists/trusty/main/binary-amd64/Packages
404 Not Found W: Failed to fetch
http://ppa.launchpad.net/greenplum/db/ubuntu/dists/trusty/main/binary-i386/Packages
404 Not Found E: Some index files failed to download. They have been
ignored, or old ones used instead.
It looks like the required package for greenplum to install are not available
on linux mint.
Is there is any way to install greenplum on linux mint?
Trusty is Ubuntu 14.04. That's even before Greenplum Database was made Open Source.
Packages are available for Xenial, it looks like:
http://ppa.launchpad.net/greenplum/db/ubuntu/dists/

Error while trying to mount S3 bucket into Ubuntu 14.04 EC2 instance

I have tried the following link to mount S3 bucket into EC2 :
https://forums.aws.amazon.com/message.jspa?messageID=313009
I started typing the following commands :
wget https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/s3fs/s3fs-1.74.tar.gz
tar zxf s3fs-1.74.tar.gz
The next command to type is this :
apt-get install build-essential libxml2-dev libfuse-dev libcurl4-openssl-dev
But, when I type this, I get the following response :
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
binutils cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 icu-devtools libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libasan2 libatomic1
libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3 libdpkg-perl libfakeroot libfile-fcntllock-perl libgcc-5-dev libgomp1 libicu-dev libisl15 libitm1 liblsan0
libmpc3 libmpx0 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libquadmath0 libselinux1-dev libsepol1-dev libstdc++-5-dev libtsan0 libubsan0 linux-libc-dev make
manpages-dev
Suggested packages:
binutils-doc cpp-doc gcc-5-locales debian-keyring g++-multilib g++-5-multilib gcc-5-doc libstdc++6-5-dbg gcc-multilib autoconf automake libtool flex bison gdb
gcc-doc gcc-5-multilib libgcc1-dbg libgomp1-dbg libitm1-dbg libatomic1-dbg libasan2-dbg liblsan0-dbg libtsan0-dbg libubsan0-dbg libcilkrts5-dbg libmpx0-dbg
libquadmath0-dbg glibc-doc libcurl4-doc libcurl3-dbg libidn11-dev libkrb5-dev libldap2-dev librtmp-dev libssl-dev pkg-config zlib1g-dev icu-doc libstdc++-5-doc
make-doc
The following NEW packages will be installed:
binutils build-essential cpp cpp-5 dpkg-dev fakeroot g++ g++-5 gcc gcc-5 icu-devtools libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl
libasan2 libatomic1 libc-dev-bin libc6-dev libcc1-0 libcilkrts5 libcurl3 libcurl4-openssl-dev libdpkg-perl libfakeroot libfile-fcntllock-perl libfuse-dev
libgcc-5-dev libgomp1 libicu-dev libisl15 libitm1 liblsan0 libmpc3 libmpx0 libpcre16-3 libpcre3-dev libpcre32-3 libpcrecpp0v5 libquadmath0 libselinux1-dev
libsepol1-dev libstdc++-5-dev libtsan0 libubsan0 libxml2-dev linux-libc-dev make manpages-dev
0 upgraded, 48 newly installed, 0 to remove and 0 not upgraded.
Need to get 49.5 MB of archives.
After this operation, 196 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcrecpp0v5 amd64 2:8.38-3.1 [15.2 kB]
Get:2 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libmpc3 amd64 1.0.3-1 [39.7 kB]
Get:3 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 binutils amd64 2.26.1-1ubuntu1~16.04.3 [2,310 kB]
Get:4 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libc-dev-bin amd64 2.23-0ubuntu3 [68.7 kB]
Err:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-45.66
404 Not Found [IP: 54.87.136.115 80]
Get:6 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libc6-dev amd64 2.23-0ubuntu3 [2,084 kB]
Get:7 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libisl15 amd64 0.16.1-1 [524 kB]
Ign:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.2
Get:9 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 cpp amd64 4:5.3.1-1ubuntu1 [27.7 kB]
Ign:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libgomp1 amd64 5.4.0-6ubuntu1~16.04.2
Ign:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libitm1 amd64 5.4.0-6ubuntu1~16.04.2
Ign:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libatomic1 amd64 5.4.0-6ubuntu1~16.04.2
Ign:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libasan2 amd64 5.4.0-6ubuntu1~16.04.2
Err:5 http://security.ubuntu.com/ubuntu xenial-security/main amd64 linux-libc-dev amd64 4.4.0-45.66
404 Not Found [IP: 54.87.136.115 80]
Ign:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 liblsan0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libtsan0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:17 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libubsan0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:18 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcilkrts5 amd64 5.4.0-6ubuntu1~16.04.2
Ign:19 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libmpx0 amd64 5.4.0-6ubuntu1~16.04.2
Err:8 http://security.ubuntu.com/ubuntu xenial-security/main amd64 cpp-5 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Ign:20 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libquadmath0 amd64 5.4.0-6ubuntu1~16.04.2
Ign:21 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libgcc-5-dev amd64 5.4.0-6ubuntu1~16.04.2
Ign:22 http://security.ubuntu.com/ubuntu xenial-security/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.2
Get:23 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 gcc amd64 4:5.3.1-1ubuntu1 [5,244 B]
Ign:24 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.2
Err:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcc1-0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Ign:25 http://security.ubuntu.com/ubuntu xenial-security/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.2
Get:26 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 g++ amd64 4:5.3.1-1ubuntu1 [1,504 B]
Get:27 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 make amd64 4.1-6 [151 kB]
Get:28 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdpkg-perl all 1.18.4ubuntu1.1 [195 kB]
Get:29 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 dpkg-dev all 1.18.4ubuntu1.1 [584 kB]
Get:30 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 build-essential amd64 12.1ubuntu2 [4,758 B]
Get:31 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libfakeroot amd64 1.20.2-1ubuntu1 [25.5 kB]
Get:32 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 fakeroot amd64 1.20.2-1ubuntu1 [61.8 kB]
Err:11 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libgomp1 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Get:33 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 icu-devtools amd64 55.1-7 [165 kB]
Get:34 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-perl all 1.19.03-1 [47.6 kB]
Get:35 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-diff-xs-perl amd64 0.04-4build1 [11.0 kB]
Get:36 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libalgorithm-merge-perl all 0.08-3 [12.0 kB]
Ign:37 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.1
Ign:38 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcurl4-openssl-dev amd64 7.47.0-1ubuntu2.1
Get:39 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libfile-fcntllock-perl amd64 0.22-3 [32.0 kB]
Get:40 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libsepol1-dev amd64 2.4-2 [249 kB]
Get:41 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcre16-3 amd64 2:8.38-3.1 [144 kB]
Get:42 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcre32-3 amd64 2:8.38-3.1 [136 kB]
Get:43 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libpcre3-dev amd64 2:8.38-3.1 [525 kB]
Err:12 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libitm1 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Get:44 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libselinux1-dev amd64 2.4-3build2 [122 kB]
Get:45 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libfuse-dev amd64 2.9.4-1ubuntu3.1 [105 kB]
Get:46 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 libicu-dev amd64 55.1-7 [8,546 kB]
Err:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libatomic1 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:14 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libasan2 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Get:47 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libxml2-dev amd64 2.9.3+dfsg1-1ubuntu0.1 [743 kB]
Err:15 http://security.ubuntu.com/ubuntu xenial-security/main amd64 liblsan0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libtsan0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:17 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libubsan0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Get:48 http://us-east-1.ec2.archive.ubuntu.com/ubuntu xenial/main amd64 manpages-dev all 4.04-2 [2,048 kB]
Err:18 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcilkrts5 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:19 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libmpx0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:20 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libquadmath0 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:21 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libgcc-5-dev amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:22 http://security.ubuntu.com/ubuntu xenial-security/main amd64 gcc-5 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:24 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libstdc++-5-dev amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:25 http://security.ubuntu.com/ubuntu xenial-security/main amd64 g++-5 amd64 5.4.0-6ubuntu1~16.04.2
404 Not Found [IP: 54.87.136.115 80]
Err:37 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcurl3 amd64 7.47.0-1ubuntu2.1
404 Not Found [IP: 54.87.136.115 80]
Err:38 http://security.ubuntu.com/ubuntu xenial-security/main amd64 libcurl4-openssl-dev amd64 7.47.0-1ubuntu2.1
404 Not Found [IP: 54.87.136.115 80]
Fetched 19.0 MB in 1s (11.5 MB/s)
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/l/linux/linux-libc-dev_4.4.0-45.66_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/cpp-5_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libcc1-0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libgomp1_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libitm1_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libatomic1_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libasan2_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/liblsan0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libtsan0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libubsan0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libcilkrts5_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libmpx0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libquadmath0_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libgcc-5-dev_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/gcc-5_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/libstdc++-5-dev_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/g/gcc-5/g++-5_5.4.0-6ubuntu1~16.04.2_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl3_7.47.0-1ubuntu2.1_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Failed to fetch http://security.ubuntu.com/ubuntu/pool/main/c/curl/libcurl4-openssl-dev_7.47.0-1ubuntu2.1_amd64.deb 404 Not Found [IP: 54.87.136.115 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
Is this an error? Why is it showing this?
make sure to update apt-get before installing any lib
$ apt-get update
$ apt-get install build-essential libxml2-dev libfuse-dev libcurl4-openssl-dev

Apt-get repeatedly failing. Authentication warnings and 404 errors

I'm a bit out of my depth here and I need some advice. I'm trying to adapt an SMS gateway to output to a network location. It runs on Voyage Linux.
I'm attempting to install the cifs-utils package in order to access a Windows network location, but getting nowhere. In fact, all apt-get commands seem to be returning errors. Here is an example when I run update:
root#foxbox:/# sudo apt-get update
Hit http://security.debian.org squeeze/updates Release.gpg
Ign http://security.debian.org/debian-security/ squeeze/updates/contrib Translation-en
Ign http://security.debian.org/debian-security/ squeeze/updates/contrib Translation-it
Ign http://security.debian.org/debian-security/ squeeze/updates/main Translation-en
Ign http://security.debian.org/debian-security/ squeeze/updates/main Translation-it
Ign http://security.debian.org/debian-security/ squeeze/updates/non-free Translation-en
Ign http://security.debian.org/debian-security/ squeeze/updates/non-free Translation-it
Hit http://security.debian.org squeeze/updates Release
Hit http://security.debian.org squeeze/updates/main i386 Packages
Hit http://security.debian.org squeeze/updates/contrib i386 Packages
Hit http://security.debian.org squeeze/updates/non-free i386 Packages
Ign http://ftp.jp.debian.org squeeze Release.gpg
Ign http://ftp.jp.debian.org/debian/ squeeze/contrib Translation-en
Ign http://ftp.jp.debian.org/debian/ squeeze/contrib Translation-it
Ign http://ftp.jp.debian.org/debian/ squeeze/main Translation-en
Ign http://ftp.jp.debian.org/debian/ squeeze/main Translation-it
Ign http://ftp.jp.debian.org/debian/ squeeze/non-free Translation-en
Ign http://ftp.jp.debian.org/debian/ squeeze/non-free Translation-it
Hit http://www.voyage.hk ./ Release.gpg
Ign http://ftp.jp.debian.org squeeze Release
Ign http://www.voyage.hk/dists/0.8/ ./ Translation-en
Ign http://www.voyage.hk/dists/0.8/ ./ Translation-it
Ign http://ftp.jp.debian.org squeeze/main i386 Packages
Ign http://ftp.jp.debian.org squeeze/contrib i386 Packages
Ign http://ftp.jp.debian.org squeeze/non-free i386 Packages
Hit http://www.voyage.hk ./ Release
Err http://ftp.jp.debian.org squeeze/main i386 Packages
404 Not Found
Err http://ftp.jp.debian.org squeeze/contrib i386 Packages
404 Not Found
Ign http://www.voyage.hk ./ Packages
Err http://ftp.jp.debian.org squeeze/non-free i386 Packages
404 Not Found
Hit http://www.voyage.hk ./ Packages
W: Failed to fetch http://ftp.jp.debian.org/debian/dists/squeeze/main/binary-i386/Packages.gz 404 Not Found
W: Failed to fetch http://ftp.jp.debian.org/debian/dists/squeeze/contrib/binary-i386/Packages.gz 404 Not Found
W: Failed to fetch http://ftp.jp.debian.org/debian/dists/squeeze/non free/binary-i386/Packages.gz 404 Not Found
E: Some index files failed to download, they have been ignored, or old ones used instead.
Any/all advice is appreciated. I've been given this project but I'm having to learn my way around Linux as I go; I only have a rudimentary understanding.
You are using an old debian so repositories doesn't exist anymore.
You have to fix the repository file, look for /etc/apt/sources.list
make a backup of this file :
cp -p /etc/apt/sources.list /root/sources.list
then replace the content with appropriate url, packages are here now
http://archive.debian.org/debian/dists/Debian-6.0/

How to stop Debian Linux from throwing errors while running apt-get update

I am running Kali Linux. Recently I have tried to install wine I was unsuccessful when I run apt-get update I get this:
Hit http://download.virtualbox.org vivid Release.gpg
Hit http://download.virtualbox.org vivid Release
Hit http://download.virtualbox.org vivid/contrib amd64 Packages
Hit http://repo.mongodb.org wheezy/mongodb-org/3.0 Release.gpg
Hit http://download.virtualbox.org vivid/contrib i386 Packages
Ign http://http.kali.org moto Release.gpg
Ign http://security.kali.org moto/updates Release.gpg
Ign http://download.virtualbox.org vivid/contrib Translation-en
Ign http://http.kali.org moto Release
Ign http://security.kali.org moto/updates Release
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://http.kali.org moto/main Sources/DiffIndex
Ign http://security.kali.org moto/updates/main Sources/DiffIndex
Ign http://http.kali.org moto/non-free Sources/DiffIndex
Ign http://security.kali.org moto/updates/contrib Sources/DiffIndex
Hit http://ppa.launchpad.net lucid Release
Ign http://http.kali.org moto/contrib Sources/DiffIndex
Ign http://security.kali.org moto/updates/non-free Sources/DiffIndex
Ign http://http.kali.org moto/main amd64 Packages/DiffIndex
Ign http://security.kali.org moto/updates/main amd64 Packages/DiffIndex
Hit http://ppa.launchpad.net lucid/main amd64 Packages
Ign http://http.kali.org moto/non-free amd64 Packages/DiffIndex
Ign http://security.kali.org moto/updates/contrib amd64 Packages/DiffIndex
Hit http://ppa.launchpad.net lucid/main i386 Packages
Ign http://http.kali.org moto/contrib amd64 Packages/DiffIndex
Ign http://security.kali.org moto/updates/non-free amd64 Packages/DiffIndex
Hit http://repo.mongodb.org wheezy/mongodb-org/3.0 Release
Hit http://repo.mongodb.org wheezy/mongodb-org/3.0/main amd64 Packages
Hit http://repo.mongodb.org wheezy/mongodb-org/3.0/main i386 Packages
Ign http://repo.mongodb.org wheezy/mongodb-org/3.0/main Translation-en
Ign http://ppa.launchpad.net lucid/main Translation-en
Err http://security.kali.org moto/updates/main i386 Packages
404 Not Found
Err http://security.kali.org moto/updates/contrib i386 Packages
404 Not Found
Err http://http.kali.org moto/main i386 Packages
404 Not Found
Err http://security.kali.org moto/updates/non-free i386 Packages
404 Not Found
Err http://http.kali.org moto/non-free i386 Packages
404 Not Found
Ign http://security.kali.org moto/updates/contrib Translation-en
Err http://http.kali.org moto/contrib i386 Packages
404 Not Found
Ign http://security.kali.org moto/updates/main Translation-en
Ign http://http.kali.org moto/contrib Translation-en
Ign http://security.kali.org moto/updates/non-free Translation-en
Ign http://http.kali.org moto/main Translation-en
Err http://security.kali.org moto/updates/main Sources
404 Not Found
Err http://security.kali.org moto/updates/contrib Sources
404 Not Found
Ign http://http.kali.org moto/non-free Translation-en
Err http://security.kali.org moto/updates/non-free Sources
404 Not Found
Err http://http.kali.org moto/main Sources
404 Not Found
Err http://security.kali.org moto/updates/main amd64 Packages
404 Not Found
Err http://http.kali.org moto/non-free Sources
404 Not Found
Err http://security.kali.org moto/updates/contrib amd64 Packages
404 Not Found
Err http://http.kali.org moto/contrib Sources
404 Not Found
Err http://security.kali.org moto/updates/non-free amd64 Packages
404 Not Found
Err http://http.kali.org moto/main amd64 Packages
404 Not Found
Err http://http.kali.org moto/non-free amd64 Packages
404 Not Found
Err http://http.kali.org moto/contrib amd64 Packages
404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/non-free/binary-i386/Packages 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/contrib/binary-i386/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/main/binary-i386/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/contrib/binary-i386/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/non-free/binary-i386/Packages 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/main/source/Sources 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/main/source/Sources 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/non-free/source/Sources 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/contrib/source/Sources 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/contrib/source/Sources 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/non-free/source/Sources 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/main/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/non-free/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://http.kali.org/kali/dists/moto/contrib/binary-amd64/Packages 404 Not Found
W: Failed to fetch http://security.kali.org/dists/moto/updates/non-free/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
I no longer want to install wine!! the how can I stop remove these 404 errors. I preferably want to somehow remove them from the list of things to be updated .. And also in a semi related topic what does it mean by you have held broken packages? I
It seems that your problem does not come from Wine installation but from your OS. Apparently Kali expects its users to upgrade to Kali Moto (2.0). You can found this information here : http://null-byte.wonderhowto.com/forum/fix-my-kali-update-configuration-0165497/
According to Kali's website:
We've given Kali Moto (1.0) a good two months of grace time and will be purging the unsupported 1.0 distribution files from our repositories in the next few days. If you're still using Kali 1.0 then it's definitely time to either upgrade or update.
https://www.kali.org/news/kali-moto-eol/
Basically, they're forcing the update\upgrade to 2.0.

Resources