Page 1 of 3 123 LastLast
Results 1 to 10 of 24

Thread: Cannot update Server U10.4Lts

  1. #1
    Join Date
    Nov 2010
    Beans
    27

    Cannot update Server U10.4Lts

    Hi Guys
    Can Anyone help here.

    Running a Lamp Server with Webmin installed - However I have recently not been able to update the serve, theses are the errors displayed.

    Code:
    $ sudo sudo apt-get update && apt-get upgrade
    Err http://download.webmin.com sarge Release.gpg                               
      Temporary failure resolving ‘download.webmin.com’
    Err http://archive.ubuntu.com lucid Release.gpg                                
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://security.ubuntu.com lucid-security Release.gpg                      
      Temporary failure resolving ‘security.ubuntu.com’
    Err http://webmin.mirror.somersettechsolutions.co.uk sarge Release.gpg         
      Temporary failure resolving ‘webmin.mirror.somersettechsolutions.co.uk’
    Err http://security.ubuntu.com/ubuntu/ lucid-security/main Translation-en_GB   
      Temporary failure resolving ‘security.ubuntu.com’
    Err http://download.webmin.com/download/repository/ sarge/contrib Translation-en_GB
      Temporary failure resolving ‘download.webmin.com’
    Err http://archive.ubuntu.com/ubuntu/ lucid/main Translation-en_GB             
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://webmin.mirror.somersettechsol...uk/repository/ sarge/contrib Translation-en_GB
      Temporary failure resolving ‘webmin.mirror.somersettechsolutions.co.uk’
    Err http://security.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_GB
      Temporary failure resolving ‘security.ubuntu.com’
    Err http://archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_GB 
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://security.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_GB
      Temporary failure resolving ‘security.ubuntu.com’
    Err http://archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_GB   
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://security.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_GB
      Temporary failure resolving ‘security.ubuntu.com’
    Err http://archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_GB 
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://archive.ubuntu.com lucid-updates Release.gpg
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_GB
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_GB
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_GB
      Temporary failure resolving ‘archive.ubuntu.com’
    Err http://archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_GB
      Temporary failure resolving ‘archive.ubuntu.com’
    Reading package lists... Done        
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...id/Release.gpg  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...es/Release.gpg  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://archive.ubuntu.com/ubuntu/dis...tion-en_GB.bz2  Temporary failure resolving ‘archive.ubuntu.com’
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...ty/Release.gpg  Temporary failure resolving ‘security.ubuntu.com’
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_GB.bz2  Temporary failure resolving ‘security.ubuntu.com’
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_GB.bz2  Temporary failure resolving ‘security.ubuntu.com’
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_GB.bz2  Temporary failure resolving ‘security.ubuntu.com’
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/di...tion-en_GB.bz2  Temporary failure resolving ‘security.ubuntu.com’
    
    W: Failed to fetch http://download.webmin.com/download/...ge/Release.gpg  Temporary failure resolving ‘download.webmin.com’
    
    W: Failed to fetch http://download.webmin.com/download/...tion-en_GB.bz2  Temporary failure resolving ‘download.webmin.com’
    
    W: Failed to fetch http://webmin.mirror.somersettechsol...ge/Release.gpg  Temporary failure resolving ‘webmin.mirror.somersettechsolutions.co.uk’
    
    W: Failed to fetch http://webmin.mirror.somersettechsol...tion-en_GB.bz2  Temporary failure resolving ‘webmin.mirror.somersettechsolutions.co.uk’
    
    W: Some index files failed to download, they have been ignored, or old ones used instead.
    E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
    E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
    I have tried with the firewall enabled and disabled in the hope that I had not configured the firewall correctly.
    But No Success so far.Help Please.

    Can anyone help here?

    System:- Ubuntu 10.4Lts
    Lamp Server - Webmin (No Webmin Modules Install)
    Last edited by CharlesA; December 2nd, 2011 at 07:12 PM. Reason: code tags

  2. #2
    Join Date
    May 2007
    Location
    NY's first capital
    Beans
    2,570
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Cannot update Server U10.4Lts

    Can you successfully run just update without failure:
    Code:
    sudo apt-get update
    I had similar problem resolving ubuntu repos. My issue was due to a malformed /etc/network/interfaces file. I was missing the gateway definition for my static ip. Odd thing was apt-get was not able to resolve but the host command and wget would not fail.

    What do you get if you run host command against those domains?

    Code:
    host security.ubuntu.com
    Nothing is ever easy, but if it is difficult you must be doing it wrong.

  3. #3
    Join Date
    Nov 2010
    Beans
    27

    Re: Cannot update Server U10.4Lts

    Quote Originally Posted by volkswagner View Post
    Can you successfully run just update without failure:
    Code:
    sudo apt-get update
    I had similar problem resolving ubuntu repos. My issue was due to a malformed /etc/network/interfaces file. I was missing the gateway definition for my static ip. Odd thing was apt-get was not able to resolve but the host command and wget would not fail.

    What do you get if you run host command against those domains?

    Code:
    host security.ubuntu.com
    Many Thanks for your reply volkswagner.
    I apologise for the delay in responding as my trusted and faithful Firefox Browser seems to have totally failed now moved to Chrom.

    In reply to your first question, "can you successfully run just update without failure" : Sorry I can not successfully run just update without failure.

    Moving on In regards to 'a malformed /etc/network/interfaces file' I have checked the primary network interface /etc/network/interfaces and i do not see any issues there - as it successfully updated before without any issues in addition the IP Address is stated correctly in the interface.

    I assume this is what you mean-
    When i run sudo host security.ubuntu.com - the reply comes back ;; connection timed out; no servers could be reached.

    If I have not understood you reply please advise.
    Many Thanks for you assistance thus far.
    Last edited by Alpha99; November 30th, 2011 at 07:07 PM.

  4. #4
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Cannot update Server U10.4Lts

    There are a couple of simple things you can check, as it looks like you may have a DNS problem. At the prompt type:

    Code:
    ping www.google.com
    If that doesn't work try:

    Code:
    ping 173.194.33.19
    If the second command works, but the first doesn't, could you paste the output of the following command in your next post:

    Code:
    cat /etc/resolv.conf

  5. #5
    Join Date
    Nov 2010
    Beans
    27

    Re: Cannot update Server U10.4Lts

    Quote Originally Posted by cariboo907 View Post
    There are a couple of simple things you can check, as it looks like you may have a DNS problem. At the prompt type:

    Code:
    ping www.google.com
    If that doesn't work try:

    Code:
    ping 173.194.33.19
    If the second command works, but the first doesn't, could you paste the output of the following command in your next post:

    Code:
    cat /etc/resolv.conf
    Thanks for your reply cariboo907, as requested please see the following below, as neither of these seem to work:-

    1. $ ping www.google.com
    ping: unknown host www.google.com

    2. $ ping 173.194.33.19
    PING 173.194.33.19 (173.194.33.19) 56(84) bytes of data.
    From 192.168.0.100 icmp_seq=1 Destination Host Unreachable
    From 192.168.0.100 icmp_seq=2 Destination Host Unreachable
    ^C
    --- 173.194.33.19 ping statistics ---
    12 packets transmitted, 0 received, +9 errors, 100% packet loss, time 11063ms
    , pipe 3

    3. $ cat /etc/resolv.conf
    nameserver 192.168.0.1

    Hope This helps.

  6. #6
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot update Server U10.4Lts

    It looks like you can't even get out of your local network.

    Post this please:

    Code:
    route
    It's either a DNS issue or a problem with your ip address.
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  7. #7
    Join Date
    Nov 2010
    Beans
    27

    Re: Cannot update Server U10.4Lts

    Quote Originally Posted by CharlesA View Post
    It looks like you can't even get out of your local network.

    Post this please:

    Code:
    route
    It's either a DNS issue or a problem with your ip address.
    As requested:-
    Code:
    $ route
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    192.168.1.0     192.168.0.1     255.255.255.0   UG    0      0        0 eth2
    192.168.0.0     *               255.255.255.0   U     0      0        0 eth2
    default         192.168.0.1     0.0.0.0         UG    100    0        0 eth2
    Last edited by CharlesA; December 2nd, 2011 at 07:37 PM. Reason: code tags

  8. #8
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot update Server U10.4Lts

    Route looks ok. Can you post this please:

    Code:
    sudo ifconfig -a
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

  9. #9
    Join Date
    Nov 2010
    Beans
    27

    Re: Cannot update Server U10.4Lts

    Quote Originally Posted by CharlesA View Post
    Route looks ok. Can you post this please:

    Code:
    sudo ifconfig -a
    Code:
    $ sudo ifconfig -a
    [sudo] password for webmaster: 
    eth0      Link encap:Ethernet  HWaddr 00:0b:cd:ce:38:2c  
              BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:30 
    
    eth1      Link encap:Ethernet  HWaddr 00:0b:cd:ce:38:30  
              BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
              Interrupt:29 
    
    eth2      Link encap:Ethernet  HWaddr 00:02:b3:aa:fc:37  
              inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
              inet6 addr: fe80::202:b3ff:feaa:fc37/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:244 errors:0 dropped:0 overruns:0 frame:0
              TX packets:259 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:100 
              RX bytes:22029 (22.0 KB)  TX bytes:24649 (24.6 KB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:60 errors:0 dropped:0 overruns:0 frame:0
              TX packets:60 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:6020 (6.0 KB)  TX bytes:6020 (6.0 KB)
    Last edited by CharlesA; December 2nd, 2011 at 08:18 PM. Reason: code tags

  10. #10
    Join Date
    Oct 2009
    Beans
    Hidden!
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: Cannot update Server U10.4Lts

    Are you able to ping something locally?

    It sounds like it just can't get out of your local network? Does any other local machine do this?
    Come to #ubuntuforums! We have cookies! | Basic Ubuntu Security Guide

    Tomorrow's an illusion and yesterday's a dream, today is a solution...

Page 1 of 3 123 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •