Unable to Update with apt-get update

Asked by Carlos Carvalho

Output from PackageManagerTroubleshootingProcedure
root@cmovel-lb01:/etc/apt# grep -R proxy /etc/apt/*
root@cmovel-lb01:/etc/apt#

root@cmovel-lb01:/grep proxy /etc/environment
root@cmovel-lb01:/etc/apt#

root@cmovel-lb01:/etc/apt# grep proxy /etc/bash.bashrc
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# grep proxy ~/.bashrc
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# cat /etc/apt/apt.conf
#acquire::http::Proxy "http://10.100.48.88:3128";

root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo fuser -vvv /var/lib/dpkg/lock
Specified filename /var/lib/dpkg/lock does not exist.

root@cmovel-lb01:/etc/apt# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=10.04
DISTRIB_CODENAME=lucid
DISTRIB_DESCRIPTION="Ubuntu 10.04.4 LTS"
root@cmovel-lb01:/etc/apt#

root@cmovel-lb01:/etc/apt# uname -a
Linux cmovel-lb01 2.6.32-38-server #83-Ubuntu SMP Wed Jan 4 11:26:59 UTC 2012 x86_64 GNU/Linux
root@cmovel-lb01:/etc/apt#

root@cmovel-lb01:/etc/apt# sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available

sudo rm -rf /var/lib/dpkg/updates/*

sudo rm -rf /var/lib/apt/lists

sudo rm /var/cache/apt/*.bin

sudo mkdir /var/lib/apt/lists

sudo mkdir /var/lib/apt/lists/partial

LANG=C;sudo apt-get cleanroot@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo mv /var/lib/dpkg/status /var/lib/dpkg/status-bad
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status || sudo cp /var/backups/apt.extended_states.0 /var/lib/dpkg/status
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo mv /var/lib/dpkg/available /var/lib/dpkg/available-bad
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo rm -rf /var/lib/dpkg/updates/*
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo rm -rf /var/lib/apt/lists
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo rm /var/cache/apt/*.bin
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo mkdir /var/lib/apt/lists
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo mkdir /var/lib/apt/lists/partial
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# LANG=C;sudo apt-get clean

root@cmovel-lb01:/etc/apt# sudo dpkg --configure -a

sudo dpkg --clear-avail

LANG=C;sudo apt-get -f install

LANG=C;sudo apt-get --fix-missing install

LANG=C;sudo apt-get update -o APT::Cache-Limit=100000000 && sudo apt-get dist-upgrade

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;Setting up libfreetype6 (2.3.11-1ubuntu2.5) ...

Setting up grub-common (1.98-1ubuntu13) ...

Processing triggers for python-central ...
Setting up grub-pc (1.98-1ubuntu13) ...
Installation finished. No error reported.
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-2.6.32-38-server
Found initrd image: /boot/initrd.img-2.6.32-38-server
Found memtest86+ image: /boot/memtest86+.bin
done

Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# sudo dpkg --clear-avail
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt#
root@cmovel-lb01:/etc/apt# find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;

/etc/apt/sources.list

     1 #
     2 # deb cdrom:[Ubuntu-Server 10.04.4 LTS _Lucid Lynx_ - Release amd64 (20120214.2)]/ lucid main restricted
     3
     4 #deb cdrom:[Ubuntu-Server 10.04.4 LTS _Lucid Lynx_ - Release amd64 (20120214.2)]/ lucid main restricted
     5 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     6 # newer versions of the distribution.
     7
     8 deb http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
     9 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid main restricted
    10
    11 ## Major bug fix updates produced after the final release of the
    12 ## distribution.
    13 deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    14 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates main restricted
    15
    16 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    17 ## team. Also, please note that software in universe WILL NOT receive any
    18 ## review or updates from the Ubuntu security team.
    19 deb http://us.archive.ubuntu.com/ubuntu/ lucid universe
    20 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid universe
    21 deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
    22 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates universe
    23
    24 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    25 ## team, and may not be under a free licence. Please satisfy yourself as to
    26 ## your rights to use the software. Also, please note that software in
    27 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    28 ## security team.
    29 deb http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
    30 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid multiverse
    31 deb http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    32 deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-updates multiverse
    33
    34 ## Uncomment the following two lines to add software from the 'backports'
    35 ## repository.
    36 ## N.B. software from this repository may not have been tested as
    37 ## extensively as that contained in the main release, although it includes
    38 ## newer versions of some applications which may provide useful features.
    39 ## Also, please note that software in backports WILL NOT receive any review
    40 ## or updates from the Ubuntu security team.
    41 # deb http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    42 # deb-src http://us.archive.ubuntu.com/ubuntu/ lucid-backports main restricted universe multiverse
    43
    44 ## Uncomment the following two lines to add software from Canonical's
    45 ## 'partner' repository.
    46 ## This software is not part of Ubuntu, but is offered by Canonical and the
    47 ## respective vendors as a service to Ubuntu users.
    48 # deb http://archive.canonical.com/ubuntu lucid partner
    49 # deb-src http://archive.canonical.com/ubuntu lucid partner
    50
    51 deb http://security.ubuntu.com/ubuntu lucid-security main restricted
    52 deb-src http://security.ubuntu.com/ubuntu lucid-security main restricted
    53 deb http://security.ubuntu.com/ubuntu lucid-security universe
    54 deb-src http://security.ubuntu.com/ubuntu lucid-security universe
    55 deb http://security.ubuntu.com/ubuntu lucid-security multiverse
    56 deb-src http://security.ubuntu.com/ubuntu lucid-security multiverse
root@cmovel-lb01:/etc/apt#

Output from Error

root@cmovel-lb01:~# apt-get update
Err http://us.archive.ubuntu.com lucid Release.gpg
  Temporary failure resolving 'us.archive.ubuntu.com'
Err http://security.ubuntu.com lucid-security Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://us.archive.ubuntu.com/ubuntu/ lucid/main Translation-en_US
  Temporary failure resolving 'us.archive.ubuntu.com'
Err http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_US
  Temporary failure resolving 'security.ubuntu.com'
Err http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_US
  Temporary failure resolving 'security.ubuntu.com'
Err http://us.archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_US
  Temporary failure resolving 'us.archive.ubuntu.com'
Err http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_US
  Temporary failure resolving 'security.ubuntu.com'
Err http://us.archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_US
  Temporary failure resolving 'us.archive.ubuntu.com'
Err http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_US
  Temporary failure resolving 'security.ubuntu.com'
Err http://us.archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_US

Thxs if you can help
Rgds

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
N1ck 7h0m4d4k15 (nicktux) said :
#1

This is a proxy failure. You are under a proxy server.

But the most important is that Lucid(Ubuntu 10.04) will be EOL in a few days and you will have no support any more. No updates - No new packages - No user support (in here or other official help desks.

So first off all, consider to upgrade to a newer version of Ubuntu (eg Ubuntu 12.04 LTS - Precise Pangolin).

Can be found here: http://releases.ubuntu.com/precise/

Fresh install is better. Backup your important files (personal files) and install from scratch.

Regards
 NikTh

Revision history for this message
Carlos Carvalho (carlos-carvlh) said :
#2

Thxs for your Reply.
That's what am going to do.
Rgds
Carlos

On 7 May 2013 16:36, NikTh <email address hidden> wrote:

> Your question #228336 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> Status: Open => Answered
>
> NikTh proposed the following answer:
> This is a proxy failure. You are under a proxy server.
>
> But the most important is that Lucid(Ubuntu 10.04) will be EOL in a few
> days and you will have no support any more. No updates - No new packages
> - No user support (in here or other official help desks.
>
> So first off all, consider to upgrade to a newer version of Ubuntu (eg
> Ubuntu 12.04 LTS - Precise Pangolin).
>
> Can be found here: http://releases.ubuntu.com/precise/
>
> Fresh install is better. Backup your important files (personal files)
> and install from scratch.
>
> Regards
> NikTh
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336/+confirm?answer_id=0
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> You received this question notification because you asked the question.
>

Revision history for this message
Carlos Carvalho (carlos-carvlh) said :
#3

I've Installed Ubuntu 12.04 for AMD64 and I still get the same error !!!!!
root@cmovel-lb01:/etc/apt# apt-get update
Err http://us.archive.ubuntu.com precise InRelease

Err http://us.archive.ubuntu.com precise-updates InRelease

Err http://us.archive.ubuntu.com precise-backports InRelease

Err http://security.ubuntu.com precise-security InRelease

Err http://security.ubuntu.com hardy-security InRelease

Err http://extras.ubuntu.com precise InRelease

Err http://es.archive.trisquel.info dagda InRelease

Err http://archive.ubuntu.com hardy InRelease

Err http://snapshot.debian.org lenny InRelease

Err http://snapshot.debian.org lenny/updates InRelease

Err http://us.archive.ubuntu.com precise Release.gpg
  Temporary failure resolving 'us.archive.ubuntu.com'
Err http://security.ubuntu.com precise-security Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://extras.ubuntu.com precise Release.gpg
  Temporary failure resolving 'extras.ubuntu.com'
Err http://archive.ubuntu.com hardy Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Err http://us.archive.ubuntu.com precise-updates Release.gpg
  Temporary failure resolving 'us.archive.ubuntu.com'
Err http://es.archive.trisquel.info dagda Release.gpg
  Temporary failure resolving 'es.archive.trisquel.info'
Err http://snapshot.debian.org lenny Release.gpg
  Temporary failure resolving 'snapshot.debian.org'
Err http://security.ubuntu.com hardy-security Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://us.archive.ubuntu.com precise-backports Release.gpg
  Temporary failure resolving 'us.archive.ubuntu.com'
Err http://snapshot.debian.org lenny/updates Release.gpg
  Temporary failure resolving 'snapshot.debian.org'
Reading package lists... Done
W: Failed to fetch
http://us.archive.ubuntu.com/ubuntu/dists/precise/InRelease

W: Failed to fetch
http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/InRelease

W: Failed to fetch
http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/InRelease

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/precise-security/InRelease

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/InRelease

W: Failed to fetch
http://es.archive.trisquel.info/trisquel/dists/dagda/InRelease

W: Failed to fetch http://archive.ubuntu.com/ubuntu/dists/hardy/InRelease

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/InRelease

W: Failed to fetch
http://snapshot.debian.org/archive/debian/20070730T000000Z/dists/lenny/InRelease

W: Failed to fetch
http://snapshot.debian.org/archive/debian-security/20070730T000000Z/dists/lenny/updates/InRelease

W: Failed to fetch
http://us.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary
failure resolving 'us.archive.ubuntu.com'

W: Failed to fetch
http://us.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg
Temporary failure resolving '
us.archive.ubuntu.com'

W: Failed to fetch
http://us.archive.ubuntu.com/ubuntu/dists/precise-backports/Release.gpg
Temporary failure resolving '
us.archive.ubuntu.com'

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/precise-security/Release.gpg
Temporary failure resolving '
security.ubuntu.com'

W: Failed to fetch
http://security.ubuntu.com/ubuntu/dists/hardy-security/Release.gpg
Temporary failure resolving '
security.ubuntu.com'

W: Failed to fetch
http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg Temporary
failure resolving '
extras.ubuntu.com'

W: Failed to fetch
http://es.archive.trisquel.info/trisquel/dists/dagda/Release.gpg Temporary
failure resolving 'es.archive.trisquel.info'

W: Failed to fetch
http://archive.ubuntu.com/ubuntu/dists/hardy/Release.gpg Temporary
failure resolving '
archive.ubuntu.com'

W: Failed to fetch
http://snapshot.debian.org/archive/debian/20070730T000000Z/dists/lenny/Release.gpg
Temporary failure resolving '
snapshot.debian.org'

W: Failed to fetch
http://snapshot.debian.org/archive/debian-security/20070730T000000Z/dists/lenny/updates/Release.gpg
Temporary failure resolving '
snapshot.debian.org'

W: Some index files failed to download. They have been ignored, or old ones
used instead.

Is a AMD64 ubuntu issue?

On 7 May 2013 16:55, Carlos Carvalho <email address hidden> wrote:

> Thxs for your Reply.
> That's what am going to do.
> Rgds
> Carlos
>
>
> On 7 May 2013 16:36, NikTh <email address hidden> wrote:
>
>> Your question #228336 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>>
>> Status: Open => Answered
>>
>> NikTh proposed the following answer:
>> This is a proxy failure. You are under a proxy server.
>>
>> But the most important is that Lucid(Ubuntu 10.04) will be EOL in a few
>> days and you will have no support any more. No updates - No new packages
>> - No user support (in here or other official help desks.
>>
>> So first off all, consider to upgrade to a newer version of Ubuntu (eg
>> Ubuntu 12.04 LTS - Precise Pangolin).
>>
>> Can be found here: http://releases.ubuntu.com/precise/
>>
>> Fresh install is better. Backup your important files (personal files)
>> and install from scratch.
>>
>> Regards
>> NikTh
>>
>> --
>> If this answers your question, please go to the following page to let us
>> know that it is solved:
>>
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336/+confirm?answer_id=0
>>
>> If you still need help, you can reply to this email or go to the
>> following page to enter your feedback:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>>
>> You received this question notification because you asked the question.
>>
>
>

Revision history for this message
N1ck 7h0m4d4k15 (nicktux) said :
#4

Please install from scratch.. is not difficult. Just backup your personal files (these files you want to keep) and install from scratch (not release upgrade).

Regards
 NikTh

Revision history for this message
Carlos Carvalho (carlos-carvlh) said :
#5

But That's What I did,
I Install From Scratch, Thuis was a New Version Ubuntu 12.4
The older Version was 10.4
I did an Install from Scratch, Download 12.4 form AMD
Create the CD
And Start Installation.

I suspect this is a network issue, but I don't know how to prove it.
I mean How which arguments can I use to convince the Network Administrator that's this machine is not being capable to have external access'?
Rgds
Carlols

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

Do you have a working network connection with a web broweser?
Do you need to configure the web browser to use an internet proxy?
If yes, you most probably have to configure the package management system to also use that proxy.

The output

cat /etc/apt/apt.conf
#acquire::http::Proxy "http://10.100.48.88:3128";

shows that you apparently had a proxy enabled for the package manage system at a certain moment in the past, but now it is disabled again.

Please tell us what you can find out with respect to proxies, and we will tell you how to proceed.

Revision history for this message
Carlos Carvalho (carlos-carvlh) said :
#7

Manfred Hampl requested more information:
Do you have a working network connection with a web broweser?
>>> R:You From the Server side ? How do I do it?
Do you need to configure the web browser to use an internet proxy?
>>> R:From my laptop yes, but from the server uusualy not, because the
gateway and the Netmask are not the same as far as I understood.
If yes, you most probably have to configure the package management system
to also use that proxy.

The output

cat /etc/apt/apt.conf
#acquire::http::Proxy "http://10.100.48.88:3128"; >>> This Was the Proxy
but meantime the Network Admin Disbaled the Proxy So I comment That line

In Another Server I have exteranl acess as we can see below and without
proxy

root@cmoveldb02:~# apt-get install zip
Reading package lists... Done
Building dependency tree
Reading state information... Done
zip is already the newest version.
zip set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 262 not upgraded.

root@cmoveldb02:~# cat /etc/apt/apt.conf
cat: /etc/apt/apt.conf: No such file or directory
root@cmoveldb02:~#

On 8 May 2013 09:51, Manfred Hampl <email address hidden>wrote:

> Your question #228336 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> Manfred Hampl requested more information:
> Do you have a working network connection with a web broweser?
> Do you need to configure the web browser to use an internet proxy?
> If yes, you most probably have to configure the package management system
> to also use that proxy.
>
> The output
>
> cat /etc/apt/apt.conf
> #acquire::http::Proxy "http://10.100.48.88:3128";
>
> shows that you apparently had a proxy enabled for the package manage
> system at a certain moment in the past, but now it is disabled again.
>
> Please tell us what you can find out with respect to proxies, and we
> will tell you how to proceed.
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> You received this question notification because you asked the question.
>

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

I guess I misunderstood your server/client setup in my previous message.
As you are mentioning "server", I guess there is no web browser available on that machine.

Is the following now a correct interpretation:
cmovel-lb01 is a server, where updating does not work
cmoveldb02 is another server, where updating does work?

Try the command

ping -n -c 5 8.8.8.8

and provide its output when executed on the cmovel-lb01 machine (and on the other one for comparison purposes)!

Revision history for this message
Carlos Carvalho (carlos-carvlh) said :
#9

cmovel-lb01 is a server, where updating does not work? Right <<<<

oracle@cmovel-db01:/app/oracle/product/11.2.3/dbs$ ping -n -c 5 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=191 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=46 time=216 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=46 time=200 ms

cmoveldb02 is another server, where updating does work? Yes <<<<<

oracle@cmoveldb02:~$ ping -n -c 5 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=46 time=217 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=46 time=197 ms

Jes... But seems working from both sides !!!!!
why it doesn't acess the ubuntu mirrors!!!!

On 8 May 2013 10:56, Manfred Hampl <email address hidden>wrote:

> Your question #228336 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> I guess I misunderstood your server/client setup in my previous message.
> As you are mentioning "server", I guess there is no web browser available
> on that machine.
>
> Is the following now a correct interpretation:
> cmovel-lb01 is a server, where updating does not work
> cmoveldb02 is another server, where updating does work?
>
> Try the command
>
> ping -n -c 5 8.8.8.8
>
> and provide its output when executed on the cmovel-lb01 machine (and on
> the other one for comparison purposes)!
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> You received this question notification because you asked the question.
>

Revision history for this message
Carlos Carvalho (carlos-carvlh) said :
#10

Sorry :
cmovel-lb01 is a server, where updating does not work? Right <<<< (LB01)

cmovel@cmovel-lb01:~$ ping -n -c 5 8.8.8.8
PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_req=1 ttl=46 time=190 ms
64 bytes from 8.8.8.8: icmp_req=2 ttl=46 time=192 ms
64 bytes from 8.8.8.8: icmp_req=3 ttl=46 time=199 ms

On 8 May 2013 12:33, Carlos Carvalho <email address hidden> wrote:

> cmovel-lb01 is a server, where updating does not work? Right <<<<
>
> oracle@cmovel-db01:/app/oracle/product/11.2.3/dbs$ ping -n -c 5 8.8.8.8
> PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
> 64 bytes from 8.8.8.8: icmp_seq=1 ttl=46 time=191 ms
> 64 bytes from 8.8.8.8: icmp_seq=2 ttl=46 time=216 ms
> 64 bytes from 8.8.8.8: icmp_seq=3 ttl=46 time=200 ms
>
>
> cmoveldb02 is another server, where updating does work? Yes <<<<<
>
> oracle@cmoveldb02:~$ ping -n -c 5 8.8.8.8
> PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
> 64 bytes from 8.8.8.8: icmp_req=1 ttl=46 time=217 ms
> 64 bytes from 8.8.8.8: icmp_req=2 ttl=46 time=197 ms
>
> Jes... But seems working from both sides !!!!!
> why it doesn't acess the ubuntu mirrors!!!!
>
>
>
> On 8 May 2013 10:56, Manfred Hampl <email address hidden>wrote:
>
>> Your question #228336 on apt in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>>
>> Status: Open => Needs information
>>
>> Manfred Hampl requested more information:
>> I guess I misunderstood your server/client setup in my previous message.
>> As you are mentioning "server", I guess there is no web browser available
>> on that machine.
>>
>> Is the following now a correct interpretation:
>> cmovel-lb01 is a server, where updating does not work
>> cmoveldb02 is another server, where updating does work?
>>
>> Try the command
>>
>> ping -n -c 5 8.8.8.8
>>
>> and provide its output when executed on the cmovel-lb01 machine (and on
>> the other one for comparison purposes)!
>>
>> --
>> To answer this request for more information, you can either reply to
>> this email or enter your reply at the following page:
>> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>>
>> You received this question notification because you asked the question.
>>
>
>

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

ok. network access is available.
what does the command

ping -c 3 us.archive.ubuntu.com

give on both servers? Maybe name resolution has a problem on one of them?

Revision history for this message
Carlos Carvalho (carlos-carvlh) said :
#12

We do not use DNS Servers

oracle@cmoveldb02:/app/oracle/product/11.2.3/dbs$ ping -c 3
us.archive.ubuntu.com
PING us.archive.ubuntu.com (91.189.91.15) 56(84) bytes of data.
64 bytes from likho.canonical.com (91.189.91.15): icmp_req=1 ttl=53
time=258 ms
64 bytes from likho.canonical.com (91.189.91.15): icmp_req=2 ttl=53
time=257 ms
64 bytes from likho.canonical.com (91.189.91.15): icmp_req=3 ttl=53
time=268 ms

root@cmovel-lb01:~# ping -c 3 us.archive.ubuntu.com
ping: unknown host us.archive.ubuntu.com
root@cmovel-lb01:~#

On 8 May 2013 14:31, Manfred Hampl <email address hidden>wrote:

> Your question #228336 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> Status: Open => Needs information
>
> Manfred Hampl requested more information:
> ok. network access is available.
> what does the command
>
> ping -c 3 us.archive.ubuntu.com
>
> give on both servers? Maybe name resolution has a problem on one of
> them?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> You received this question notification because you asked the question.
>

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

This output confirms that name resolution (translating server names into numerical addresses) is working only on one of the Servers.

echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf

might help, but I think you should better discuss that issue with the responsible network admin.

Revision history for this message
Carlos Carvalho (carlos-carvlh) said :
#14

I did that but didn't change anything.
What I realize now, is the error message is not anymore related with a
connection failure but rather than with this
" InRelease "
Besides, this issues always happens with the "amd64" architecture ... I
don't know why ...

root@cmovel-lb01:~# apt-get update
Err http://security.ubuntu.com precise-security InRelease

Err http://es.archive.trisquel.info dagda InRelease

Err http://archive.ubuntu.com hardy InRelease

Err http://snapshot.debian.org lenny InRelease

Err http://us.archive.ubuntu.com precise InRelease

Err http://extras.ubuntu.com precise InRelease

Err http://extras.ubuntu.com precise Release.gpg
  Temporary failure resolving 'extras.ubuntu.com'
Err http://archive.ubuntu.com hardy Release.gpg
  Temporary failure resolving 'archive.ubuntu.com'
Err http://security.ubuntu.com hardy-security InRelease

Err http://es.archive.trisquel.info dagda Release.gpg
  Temporary failure resolving 'es.archive.trisquel.info'
Err http://us.archive.ubuntu.com precise-updates InRelease

Err http://snapshot.debian.org lenny/updates InRelease

Err http://security.ubuntu.com precise-security Release.gpg
  Temporary failure resolving 'security.ubuntu.com'
Err http://us.archive.ubuntu.com precise-backports InRelease

Err http://snapshot.debian.org lenny Release.gpg
  Temporary failure resolving 'snapshot.debian.org'
Err http://security.ubuntu.com hardy-security Release.gpg

On 8 May 2013 21:51, Manfred Hampl <email address hidden>wrote:

> Your question #228336 on apt in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> Status: Open => Answered
>
> Manfred Hampl proposed the following answer:
> This output confirms that name resolution (translating server names into
> numerical addresses) is working only on one of the Servers.
>
> echo "nameserver 8.8.8.8" | sudo tee /etc/resolv.conf
>
> might help, but I think you should better discuss that issue with the
> responsible network admin.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
>
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336/+confirm?answer_id=12
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+source/apt/+question/228336
>
> You received this question notification because you asked the question.
>

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

The data that you copy/paste into this question document is contradictory.

In you original post you provided the output of the command
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; cat -n "$1"' _ '{}' \;
which showed only /etc/apt/sources.list with references to the lucid release.

Your most recent post suddenly spits out problems with finding repositores for hardy, precise, lenny and something called trisquel dagda (that I never heard of).

I am sorry to say that, but I have to refuse continuing to help as long as these inconsitencies have not been cleared, as I do not know the real background.

Can you help with this problem?

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

To post a message you must log in.