Page 1 of 2 12 LastLast
Results 1 to 10 of 17

Thread: 11.10 apt-get update Oneiric Troubles.

  1. #1
    Join Date
    Feb 2012
    Beans
    9

    Question [Solved]11.10 apt-get update Oneiric Troubles.

    Hi everyone.

    I recently installed an Ubuntu11.10serv64 on a virtual machine and get few troubles with it.

    Actually when I try to run
    Code:
    apt-get update
    or
    Code:
    aptitude update
    I get error messages that tell me the update failed.

    Erros for "apt-get update"
    Code:
     apt-get update
    Err http://ch.archive.ubuntu.com oneiric InRelease
    
    Err http://security.ubuntu.com oneiric-security InRelease
    
    Err http://ch.archive.ubuntu.com oneiric-updates InRelease
    
    Err http://ch.archive.ubuntu.com oneiric-backports InRelease
    
    Err http://ch.archive.ubuntu.com oneiric Release.gpg
      Temporary failure resolving 'ch.archive.ubuntu.com'
    Err http://security.ubuntu.com oneiric-security Release.gpg
      Temporary failure resolving 'security.ubuntu.com'
    Err http://ch.archive.ubuntu.com oneiric-updates Release.gpg
      Temporary failure resolving 'ch.archive.ubuntu.com'
    Err http://ch.archive.ubuntu.com oneiric-backports Release.gpg
      Temporary failure resolving 'ch.archive.ubuntu.com'
    Reading package lists... Done
    W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/dists/oneiric/InRelease
    
    W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/dists/oneiric-updates/InRelease
    
    W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/dists/oneiric-backports/InRelease
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/InRelease
    
    W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/dists/oneiric/Release.gpg  Temporary failure resolving 'ch.archive.ubuntu.com'
    
    W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/oneiric-security/Release.gpg  Temporary failure resolving 'security.ubuntu.com'
    
    W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/dists/oneiric-updates/Release.gpg  Temporary failure resolving 'ch.archive.ubuntu.com'
    
    W: Failed to fetch http://ch.archive.ubuntu.com/ubuntu/dists/oneiric-backports/Release.gpg  Temporary failure resolving 'ch.archive.ubuntu.com'
    
    W: Some index files failed to download. They have been ignored, or old ones used instead.
    and here is the error for "aptitude update"
    Code:
    aptitude update
    Err http://ch.archive.ubuntu.com oneiric InRelease
    Err http://security.ubuntu.com oneiric-security InRelease
    Err http://ch.archive.ubuntu.com oneiric-updates InRelease
    Err http://ch.archive.ubuntu.com oneiric-backports InRelease
    Err http://security.ubuntu.com oneiric-security Release.gpg
      Temporary failure resolving 'security.ubuntu.com'
    Err http://ch.archive.ubuntu.com oneiric Release.gpg
      Temporary failure resolving 'ch.archive.ubuntu.com'
    Err http://ch.archive.ubuntu.com oneiric-updates Release.gpg
      Temporary failure resolving 'ch.archive.ubuntu.com'
    Err http://ch.archive.ubuntu.com oneiric-backports Release.gpg
      Temporary failure resolving 'ch.archive.ubuntu.com'
    I need to install some programs on my Ubu11.10 serv like apache2 and ruby environments.

    I get this error when trying "apt-get install apache2"
    Code:
     apt-get install apache2
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    E: Unable to locate package apache2
    Here is my "sources.list" file
    Code:
    #
    
    # deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release amd64 (20111011)]/ dists/oneiric/main/binary-i386/
    # deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release amd64 (20111011)]/ dists/oneiric/restricted/binary-i386/
    # deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release amd64 (20111011)]/ oneiric main restricted
    
    #deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release amd64 (20111011)]/ dists/oneiric/main/binary-i386/
    #deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release amd64 (20111011)]/ dists/oneiric/restricted/binary-i386/
    #deb cdrom:[Ubuntu-Server 11.10 _Oneiric Ocelot_ - Release amd64 (20111011)]/ oneiric main restricted
    
    # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.  
    deb http://ch.archive.ubuntu.com/ubuntu/ oneiric main restricted
    deb-src http://ch.archive.ubuntu.com/ubuntu/ oneiric main restricted 
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.  
    deb http://ch.archive.ubuntu.com/ubuntu/ oneiric-updates main restricted
    deb-src http://ch.archive.ubuntu.com/ubuntu/ oneiric-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://ch.archive.ubuntu.com/ubuntu/ oneiric universe
    deb-src http://ch.archive.ubuntu.com/ubuntu/ oneiric universe
    deb http://ch.archive.ubuntu.com/ubuntu/ oneiric-updates universe
    deb-src http://ch.archive.ubuntu.com/ubuntu/ oneiric-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://ch.archive.ubuntu.com/ubuntu/ oneiric multiverse
    deb-src http://ch.archive.ubuntu.com/ubuntu/ oneiric multiverse
    deb http://ch.archive.ubuntu.com/ubuntu/ oneiric-updates multiverse
    deb-src http://ch.archive.ubuntu.com/ubuntu/ oneiric-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://ch.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse
    deb-src http://ch.archive.ubuntu.com/ubuntu/ oneiric-backports main restricted universe multiverse 
    
    deb http://security.ubuntu.com/ubuntu oneiric-security main restricted
    deb-src http://security.ubuntu.com/ubuntu oneiric-security main restricted
    deb http://security.ubuntu.com/ubuntu oneiric-security universe
    deb-src http://security.ubuntu.com/ubuntu oneiric-security universe
    deb http://security.ubuntu.com/ubuntu oneiric-security multiverse
    deb-src http://security.ubuntu.com/ubuntu oneiric-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 oneiric partner
    #deb-src http://archive.canonical.com/ubuntu oneiric partner
    
    ## Uncomment the following two lines to add software from Ubuntu's
    ## 'extras' repository.
    ## 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 oneiric main
    #deb-src http://extras.ubuntu.com/ubuntu oneiric main
    I saw on the depots web index that some changes has been made on Oneiric files thoses previews days.

    Is my problem from an update of Oneiric depots or does it come from something else?

    If someone have an idea about how to solve my problem it will help me a lot.

    *I work in Root@host user. It's a test server, and to work faster I directly work as Root (no need to type sudo before commands, I tryied each one with it and it show the same errors)*

    Cordialy, Zyth.



    *Edit (27.02.2012): The problem reason was I didn't have any "/etc/resolv.conf" file on my server. Thanks all for your answers*
    Last edited by Zyth23; February 27th, 2012 at 03:44 PM. Reason: Solved problem

  2. #2
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    2,382
    Distro
    Ubuntu

    Re: 11.10 apt-get update Oneiric Troubles.

    In the terminal put sudo in front of those commands; eg
    Code:
    sudo aptitude
    type in your password. Nothing will show in the screen as you type.

  3. #3
    Join Date
    Feb 2012
    Beans
    9

    Re: 11.10 apt-get update Oneiric Troubles.

    I am in "root" user. It is like if I used "sudo" (yes I know it's not recommended, but it's test server, and to work faster I prefer work as Root user)

  4. #4
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    2,382
    Distro
    Ubuntu

    Re: 11.10 apt-get update Oneiric Troubles.

    Quote Originally Posted by Zyth23 View Post
    I am in "root" user. It is like if I used "sudo" (yes I know it's not recommended, but it's test server, and to work faster I prefer work as Root user)
    Working as a 'root' user is your choice and is something I do not do, so no serious help from me. Still suggest that you try sudo though. It might work.

  5. #5
    Join Date
    Feb 2012
    Beans
    9

    Re: 11.10 apt-get update Oneiric Troubles.

    I tryied, but change nothing. Thanks anyway

  6. #6
    Join Date
    Dec 2009
    Location
    Fareham, UK
    Beans
    2,382
    Distro
    Ubuntu

    Re: 11.10 apt-get update Oneiric Troubles.

    No worries, sorry i cannot be of more help. Wait patiently and someone will be along to help you.

    PS: Welcome to UF

  7. #7
    Join Date
    Feb 2012
    Beans
    9

    Re: 11.10 apt-get update Oneiric Troubles.

    One other strange thing I could observ.

    I have an Ubuntu10.04serv64 that I installed in January this year.

    I have the same "sources.list" file (except the "oneiric" that has another name cause other version).
    I mean same configuration like "main restricted" "univserse" "multiverse".

    And on the 10.04serv I can do "apt-get update" normaly.

    That make me think about it's an Oneiric Schedule or something like that.

    But I didn't found somewhere to check about Current Release status / progress for ubuntu 11.10

  8. #8
    Join Date
    Oct 2011
    Location
    ZZ9 Plural Z Alpha
    Beans
    Hidden!
    Distro
    Ubuntu

    Re: 11.10 apt-get update Oneiric Troubles.

    Hi, can you confirm

    • that you have a working internet connection otherwise with this machine?
    • Whether you use a proxy in front of the server?


    Also, if you could post the entire results of apt-get update, that would help too.

  9. #9
    Join Date
    Feb 2012
    Beans
    9

    Re: 11.10 apt-get update Oneiric Troubles.

    - Connection is working as well. I can connect in SSH.

    - I totaly don't know, I didn't activate any Proxy, only the default configuration from standard install with the official ubuntu11_10serv64 iso.

    (it's a Virtual Machin on an ESXI dedicated server)


    And the entier result of "apt-get update" is what I posted. ^^'

  10. #10
    Join Date
    Jul 2007
    Location
    UK
    Beans
    17,059
    Distro
    Ubuntu Development Release

    Re: 11.10 apt-get update Oneiric Troubles.

    Quote Originally Posted by Zyth23 View Post
    - Connection is working as well. I can connect in SSH.

    - I totaly don't know, I didn't activate any Proxy, only the default configuration from standard install with the official ubuntu11_10serv64 iso.

    (it's a Virtual Machin on an ESXI dedicated server)


    And the entier result of "apt-get update" is what I posted. ^^'
    It could be a problem with the "ch" server. Try changing the server to Main by removing the ch. in the sources.list

    Or just try updating again.
    I just tried this link and it's working http://ch.archive.ubuntu.com/ubuntu

Page 1 of 2 12 LastLast

Tags for this Thread

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
  •