W: Failed to fetch http://in.old-releases.ubuntu.com/ubuntu/dists/precise-backports/restricted/i18n/Translation-en_IN Something wicked happened resolving 'in.old-releases.ubuntu.com:http' (-5 - No address associated with hostname)

Asked by sss

how to fix this in ubuntu 12.04
W: Failed to fetch http://in.old-releases.ubuntu.com/ubuntu/dists/precise-backports/restricted/i18n/Translation-en_IN Something wicked happened resolving 'in.old-releases.ubuntu.com:http' (-5 - No address associated with hostname)

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Ubuntu 12,04 is still supported. Seems strange to use it.

What is the output of:

lsb_release -a; uname -a

Thanks

Revision history for this message
sss (swathim568) said :
#2

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise

uname -a
Linux vtiger-Latitude-E5440 3.13.0-79-generic #123~precise1-Ubuntu SMP Fri Feb 19 14:48:42 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

A server with the name
 in.old-releases.ubuntu.com
does not exist. It should either be
 old-releases.ubuntu.com
or
 in.archive.ubuntu.com

Please provide the output of the commands

cat /etc/apt/sources.list
grep old-releases /etc/apt/sources.list.d/*.list

Revision history for this message
sss (swathim568) said :
#4

For cat /etc/apt/sources.list
# deb cdrom:[Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140807.1)]/ dists/precise/main/binary-i386/

# deb cdrom:[Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140807.1)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04.5 LTS _Precise Pangolin_ - Release amd64 (20140807.1)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://in.old-releases.ubuntu.com/ubuntu/ precise main restricted
deb-src http://in.old-releases.ubuntu.com/ubuntu/ precise main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://in.old-releases.ubuntu.com/ubuntu/ precise-updates main restricted
deb-src http://in.old-releases.ubuntu.com/ubuntu/ precise-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://in.old-releases.ubuntu.com/ubuntu/ precise universe
deb-src http://in.old-releases.ubuntu.com/ubuntu/ precise universe
deb http://in.old-releases.ubuntu.com/ubuntu/ precise-updates universe
deb-src http://in.old-releases.ubuntu.com/ubuntu/ precise-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://in.old-releases.ubuntu.com/ubuntu/ precise multiverse
deb-src http://in.old-releases.ubuntu.com/ubuntu/ precise multiverse
deb http://in.old-releases.ubuntu.com/ubuntu/ precise-updates multiverse
deb-src http://in.old-releases.ubuntu.com/ubuntu/ precise-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://in.old-releases.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://in.old-releases.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

deb http://old-releases.ubuntu.com/ubuntu precise-security main restricted
deb-src http://old-releases.ubuntu.com/ubuntu precise-security main restricted
deb http://old-releases.ubuntu.com/ubuntu precise-security universe
deb-src http://old-releases.ubuntu.com/ubuntu precise-security universe
deb http://old-releases.ubuntu.com/ubuntu precise-security multiverse
deb-src http://old-releases.ubuntu.com/ubuntu precise-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 precise partner
# deb-src http://archive.canonical.com/ubuntu precise 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 precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

for grep old-releases /etc/apt/sources.list.d/*.list
apt.conf.d preferences.d sources.list sources.list.d sources.list.save trustdb.gpg trusted.gpg trusted.gpg~ trusted.gpg.d

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

You should correct the server names. Open a terminal window and issue the command

gksudo gksudo gedit /etc/apt/sources.list
This should ask for your password as confirmation for an administrative action and then open an editor with your sources.list configuration file loaded.

Change all occurrences of //in.old-releases.ubuntu.com/ubuntu into //in.archive.ubuntu.com/ubuntu
Change all occurrences of //old-releases.ubuntu.com/ubuntu into //in.archive.ubuntu.com/ubuntu
Save the file and close the editor.

Then try the command

sudo apt-get update

and report the result.

Can you help with this problem?

Provide an answer of your own, or ask sss for more information if necessary.

To post a message you must log in.