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/
Related
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/
I'm having issues installing Dotnet Core SDK on my Debian Jessie Box. This is the guide i've followed https://learn.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x.
After Registering the Product Key and Feed all i get is Unable to locate Package when trying to do an apt-get install dotnet-sdk-2.0.0 or dotnet-sdk-2.0.2. I'm currently logged in as root as this is my local dev machine.
Steps to reproduce:
curl https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor > microsoft.gpg
mv microsoft.gpg /etc/apt/trusted.gpg.d/microsoft.gpg
sh -c 'echo "deb [arch=amd64] https://packages.microsoft.com/repos/microsoft-debian-jessie-prod jessie main" > /etc/apt/sources.list.d/dotnetdev.list'
apt-get update
apt-get install dotnet-sdk-2.0.0
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-sdk-2.0.0
E: Couldn't find any package by regex 'dotnet-sdk-2.0.0'
Where am i going wrong with this? It's like apt cannot see the microsoft repo for some reason.
I realize i could just install this from a downloaded tarball and i will do that if necessary but my preference is to use the package manager for easy maintenance.
Here is the output of apt-get update
root#myserver:/etc/apt# apt-get update
Hit https://deb.nodesource.com jessie InRelease
Hit https://deb.nodesource.com jessie/main Sources
Hit https://deb.nodesource.com jessie/main i386 Packages
Get:1 https://packages.microsoft.com jessie InRelease [2,846 B]
Get:2 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:3 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:4 https://packages.microsoft.com jessie/main amd64 Packages [6,069 B]
Get:5 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:6 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Get:7 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:8 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:9 https://packages.microsoft.com jessie/main Translation-en [178 B]
Get:10 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:11 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Get:12 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Get:13 https://packages.microsoft.com jessie/main Translation-en [178 B]
Get:14 https://deb.nodesource.com jessie/main Translation-en [162 B]
Get:15 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Get:16 https://deb.nodesource.com jessie/main Translation-en_US [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en_US
Get:17 https://packages.microsoft.com jessie/main Translation-en [178 B]
Get:18 https://deb.nodesource.com jessie/main Translation-en [162 B]
Ign https://deb.nodesource.com jessie/main Translation-en
Get:19 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Get:20 https://packages.microsoft.com jessie/main Translation-en [178 B]
Get:21 https://packages.microsoft.com jessie/main Translation-en_US [178 B]
Ign https://packages.microsoft.com jessie/main Translation-en_US
Get:22 https://packages.microsoft.com jessie/main Translation-en [178 B]
Ign https://packages.microsoft.com jessie/main Translation-en
Fetched 8,915 B in 1s (5,969 B/s)
Reading package lists... Done
After fighting with this for days i decided to upgrade my box to Debian Stretch.
Here is the article i followed https://linuxconfig.org/how-to-upgrade-debian-8-jessie-to-debian-9-stretch
apt-get update
apt-get upgrade
apt-get dist-upgrade
Changed my sources.list
FROM JESSIE
deb http://httpredir.debian.org/debian jessie main
deb http://httpredir.debian.org/debian jessie-updates main
deb http://security.debian.org jessie/updates main
TO STRETCH
deb http://httpredir.debian.org/debian stretch main
deb http://httpredir.debian.org/debian stretch-updates main
deb http://security.debian.org stretch/updates main
Ran this again
apt-get update
apt-get upgrade
apt-get dist-upgrade
After the upgrade completed i was able to finally see the dotnet core packages i was looking for!
Another reason this might not be working for you is if you are running a 32 bit version of linux. Dot Net Core Packages are only available for 64 bit. I ran into this gotcha as well when nothing was coming up when trying to install on a 32 bit version of Debian. https://learn.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x
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.
I'm running a debian (wheezy) Webserver and I'm installing Updates regulary. For that task I use aptitude update followed by aptitude safe-upgrade. Everytime I go through this procedure I get this output which includes an error message at the bottom:
Hit http://ftp.de.debian.org wheezy Release.gpg
Hit http://ftp.de.debian.org wheezy-updates Release.gpg
Hit http://ftp.de.debian.org wheezy Release
Hit http://ftp.de.debian.org wheezy-updates Release
Hit http://ftp.de.debian.org wheezy/main Sources
Hit http://ftp.de.debian.org wheezy/contrib Sources
Hit http://ftp.de.debian.org wheezy/non-free Sources
Hit http://ftp.de.debian.org wheezy/main amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib amd64 Packages
Hit http://ftp.de.debian.org wheezy/non-free amd64 Packages
Hit http://ftp.de.debian.org wheezy/contrib Translation-en
Hit http://security.debian.org wheezy/updates Release.gpg
Hit http://ftp.de.debian.org wheezy/main Translation-en
Hit http://security.debian.org wheezy/updates Release
Hit http://security.debian.org wheezy/updates/main Sources
Hit http://ftp.de.debian.org wheezy/main Translation-de_DE
Hit http://security.debian.org wheezy/updates/contrib Sources
Hit http://security.debian.org wheezy/updates/non-free Sources
Hit http://ftp.de.debian.org wheezy/main Translation-de
Hit http://security.debian.org wheezy/updates/main amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib amd64 Packages
Hit http://ftp.de.debian.org wheezy/non-free Translation-en
Hit http://security.debian.org wheezy/updates/non-free amd64 Packages
Hit http://security.debian.org wheezy/updates/contrib Translation-en
Get: 1 http://ftp.de.debian.org wheezy-updates/main Sources [3,855 B]
Hit http://security.debian.org wheezy/updates/main Translation-en
Hit http://security.debian.org wheezy/updates/non-free Translation-en
Get: 2 http://ftp.de.debian.org wheezy-updates/contrib Sources [14 B]
Fetched 3,869 B in 4s (798 B/s)
W: Failed to fetch http://ftp.de.debian.org/debian/dists/wheezy-updates/Release: Unable to find expected entry 'non/source/Sources' 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.
E: Couldn't rebuild package cache
So I had a look in my source list and I found out that this entry is causing the problem:
(This is only one line of my source list)
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non free
How can I change the entry to get it working? Is there a security problem here? I appreciate any Tips and Infos on that Topic.
Thank you in advance! :-)
I found a solution for this. I had to correct the source.list line
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non free
to
deb-src http://ftp.de.debian.org/debian/ wheezy-updates main contrib non-free
There was a "-" missing between non free. Now I can fire aptitude update without my error. If you still have any tips or information on this topic im happy to read about it, the source.list file is kind of a mysterious for me.
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.