Find the answer to your Linux question:
Results 1 to 9 of 9
hey guys, ive been using ubuntu 10.10 for about 2 weeks now and yesterday upgraded to 11.04 now im trying to install xbmc via the terminal but every time i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined! CoupeJay's Avatar
    Join Date
    May 2011
    Location
    Cornwall, UK
    Posts
    9

    [SOLVED] Ubuntu 11.04 problem


    hey guys, ive been using ubuntu 10.10 for about 2 weeks now and yesterday upgraded to 11.04

    now im trying to install xbmc via the terminal but every time i try i get this error:


    Code:
    W: Failed to fetch ppa.launchpad.net/team-xbmc/p...source/Sources 404 Not Found
    
    W: Failed to fetch ppa.launchpad.net/team-xbmc/p...-i386/Packages 404 Not Found
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    the full terminal reads this:

    Code:
    Ign gb.archive.ubuntu.com natty InRelease
    Ign gb.archive.ubuntu.com natty-updates InRelease 
    Ign security.ubuntu.com natty-security InRelease 
    Ign extras.ubuntu.com natty InRelease 
    Ign ppa.launchpad.net natty InRelease 
    Ign ppa.launchpad.net natty InRelease 
    Ign ppa.launchpad.net natty InRelease 
    Hit gb.archive.ubuntu.com natty Release.gpg 
    Hit security.ubuntu.com natty-security Release.gpg 
    Hit extras.ubuntu.com natty Release.gpg 
    Hit ppa.launchpad.net natty Release.gpg 
    Hit gb.archive.ubuntu.com natty-updates Release.gpg 
    Hit security.ubuntu.com natty-security Release 
    Hit extras.ubuntu.com natty Release 
    Ign ppa.launchpad.net natty Release.gpg 
    Hit gb.archive.ubuntu.com natty Release 
    Hit ppa.launchpad.net natty Release.gpg 
    Hit security.ubuntu.com natty-security/main Sources 
    Hit gb.archive.ubuntu.com natty-updates Release 
    Hit extras.ubuntu.com natty/main Sources 
    Hit ppa.launchpad.net natty Release 
    Hit security.ubuntu.com natty-security/restricted Sources 
    Hit security.ubuntu.com natty-security/universe Sources 
    Hit security.ubuntu.com natty-security/multiverse Sources 
    Hit security.ubuntu.com natty-security/main i386 Packages 
    Hit security.ubuntu.com natty-security/restricted i386 Packages 
    Hit gb.archive.ubuntu.com natty/main Sources 
    Hit gb.archive.ubuntu.com natty/restricted Sources 
    Hit gb.archive.ubuntu.com natty/universe Sources 
    Hit gb.archive.ubuntu.com natty/multiverse Sources 
    Hit gb.archive.ubuntu.com natty/main i386 Packages 
    Hit extras.ubuntu.com natty/main i386 Packages 
    Ign extras.ubuntu.com natty/main TranslationIndex 
    Ign ppa.launchpad.net natty Release 
    Hit security.ubuntu.com natty-security/universe i386 Packages 
    Hit security.ubuntu.com natty-security/multiverse i386 Packages
    Ign security.ubuntu.com natty-security/main TranslationIndex 
    Ign security.ubuntu.com natty-security/multiverse TranslationIndex
    Ign security.ubuntu.com natty-security/restricted TranslationIndex
    Hit gb.archive.ubuntu.com natty/restricted i386 Packages 
    Hit gb.archive.ubuntu.com natty/universe i386 Packages 
    Hit gb.archive.ubuntu.com natty/multiverse i386 Packages 
    Ign gb.archive.ubuntu.com natty/main TranslationIndex 
    Ign gb.archive.ubuntu.com natty/multiverse TranslationIndex 
    Ign security.ubuntu.com natty-security/universe TranslationIndex 
    Hit ppa.launchpad.net natty Release 
    Ign gb.archive.ubuntu.com natty/restricted TranslationIndex 
    Ign gb.archive.ubuntu.com natty/universe TranslationIndex 
    Hit gb.archive.ubuntu.com natty-updates/main Sources 
    Hit gb.archive.ubuntu.com natty-updates/restricted Sources 
    Hit gb.archive.ubuntu.com natty-updates/universe Sources 
    Hit ppa.launchpad.net natty/main Sources 
    Hit ppa.launchpad.net natty/main i386 Packages 
    Ign ppa.launchpad.net natty/main TranslationIndex 
    Hit gb.archive.ubuntu.com natty-updates/multiverse Sources 
    Hit gb.archive.ubuntu.com natty-updates/main i386 Packages 
    Hit gb.archive.ubuntu.com natty-updates/restricted i386 Packages
    Hit gb.archive.ubuntu.com natty-updates/universe i386 Packages 
    Hit gb.archive.ubuntu.com natty-updates/multiverse i386 Packages 
    Ign ppa.launchpad.net natty/main TranslationIndex 
    Ign gb.archive.ubuntu.com natty-updates/main TranslationIndex 
    Ign gb.archive.ubuntu.com natty-updates/multiverse TranslationIndex 
    Ign gb.archive.ubuntu.com natty-updates/restricted TranslationIndex 
    Ign gb.archive.ubuntu.com natty-updates/universe TranslationIndex 
    Hit gb.archive.ubuntu.com natty/main Translation-en_GB 
    Hit ppa.launchpad.net natty/main Sources 
    Hit ppa.launchpad.net natty/main i386 Packages 
    Ign ppa.launchpad.net natty/main TranslationIndex 
    Hit gb.archive.ubuntu.com natty/multiverse Translation-en_GB 
    Hit gb.archive.ubuntu.com natty/restricted Translation-en_GB 
    Hit gb.archive.ubuntu.com natty/universe Translation-en_GB 
    Ign extras.ubuntu.com natty/main Translation-en_GB 
    Ign extras.ubuntu.com natty/main Translation-en 
    Ign security.ubuntu.com natty-security/main Translation-en_GB 
    Ign security.ubuntu.com natty-security/main Translation-en 
    Ign security.ubuntu.com natty-security/multiverse Translation-en_GB
    Ign security.ubuntu.com natty-security/multiverse Translation-en
    Ign security.ubuntu.com natty-security/restricted Translation-en_GB
    Ign security.ubuntu.com natty-security/restricted Translation-en
    Ign security.ubuntu.com natty-security/universe Translation-en_GB
    Err ppa.launchpad.net natty/main Sources 
    404 Not Found
    Ign security.ubuntu.com natty-security/universe Translation-en
    Err ppa.launchpad.net natty/main i386 Packages
    404 Not Found
    Ign ppa.launchpad.net natty/main Translation-en_GB
    Ign ppa.launchpad.net natty/main Translation-en
    Ign gb.archive.ubuntu.com natty/main Translation-en
    Ign gb.archive.ubuntu.com natty/multiverse Translation-en
    Ign gb.archive.ubuntu.com natty/restricted Translation-en
    Ign gb.archive.ubuntu.com natty/universe Translation-en
    Ign ppa.launchpad.net natty/main Translation-en_GB
    Ign ppa.launchpad.net natty/main Translation-en
    Ign ppa.launchpad.net natty/main Translation-en_GB
    Ign gb.archive.ubuntu.com natty-updates/main Translation-en_GB
    Ign gb.archive.ubuntu.com natty-updates/main Translation-en
    Ign gb.archive.ubuntu.com natty-updates/multiverse Translation-en_GB
    Ign gb.archive.ubuntu.com natty-updates/multiverse Translation-en
    Ign gb.archive.ubuntu.com natty-updates/restricted Translation-en_GB
    Ign ppa.launchpad.net natty/main Translation-en
    Ign gb.archive.ubuntu.com natty-updates/restricted Translation-en
    Ign gb.archive.ubuntu.com natty-updates/universe Translation-en_GB
    Ign gb.archive.ubuntu.com natty-updates/universe Translation-en
    W: Failed to fetch ppa.launchpad.net/team-xbmc/p...source/Sources 404 Not Found
    
    W: Failed to fetch ppa.launchpad.net/team-xbmc/p...-i386/Packages 404 Not Found
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    does anyone know how to fix this? im really confused, im a complete novice when it comes to linux

    i had to remove the h ttp:// from each line because i cant post links till ive got 15 posts lol

    any help much appreciated


    cheers
    jay
    Last edited by CoupeJay; 05-18-2011 at 07:59 PM.

  2. #2
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Post the contents of the file /etc/apt/sources.list

    Right off the bat, looking at the ppa website, I can see they haven't packaged xbmc for Ubuntu 11.04 yet, so if you're sources.list is pointing to natty, you'll get the not found error.

    Found this thread in the Ubuntu forums that seems to confirm this. So it seems right now the only options are to use the unstable repo or try building the package from source yourself.

  3. #3
    Just Joined! CoupeJay's Avatar
    Join Date
    May 2011
    Location
    Cornwall, UK
    Posts
    9
    thanks for the reply mate, i forgot to mention, its not only XBMC that i get the problem with, its also when i try to update via terminal

    heres my sourse list:

    Code:
    # deb cdrom:[Ubuntu 10.10 _Maverick Meerkat_ - Release i386 (20101007)]/ maverick main restricted
    # See help.ubuntu.com/community/UpgradeNotes for how to upgrade to
    # newer versions of the distribution.
    
    deb gb.ubuntu.com/ubuntu/ natty main restricted
    deb-src gb.old-releases.ubuntu.com/ubuntu/ natty main restricted
    
    ## Major bug fix updates produced after the final release of the
    ## distribution.
    deb gb.ubuntu.com/ubuntu/ natty-updates main restricted
    deb-src gb.ubuntu.com/ubuntu/ natty-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 gb.ubuntu.com/ubuntu/ natty universe
    deb-src gb.ubuntu.com/ubuntu/ natty universe
    deb gb.ubuntu.com/ubuntu/ natty-updates univerdeb-src gb.old-releases.ubuntu.com/ubuntu/ natty-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 gb.archive.ubuntu.com/ubuntu/ natty multiverse
    deb-src gb.archive.ubuntu.com/ubuntu/ natty multiverse
    deb gb.archive.ubuntu.com/ubuntu/ natty-updates multiverse
    deb-src gb.archive.ubuntu.com/ubuntu/ natty-updates multiverse
    
    ## Uncomment the following two lines to add software from the 'backports'
    ## repository.
    ## 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 gb.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe multiverse
    # deb-src gb.archive.ubuntu.com/ubuntu/ maverick-backports main restricted universe 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 archive.canonical.com/ubuntu maverick partner
    # deb-src archive.canonical.com/ubuntu maverick partner
    
    ## This software is not part of Ubuntu, but is offered by third-party
    ## developers who want to ship their latest software.
    deb extras.ubuntu.com/ubuntu natty main
    deb-src extras.ubuntu.com/ubuntu natty main
    
    deb security.ubuntu.com/ubuntu natty-security main restricted
    deb-src security.ubuntu.com/ubuntu natty-security main restricted
    deb security.ubuntu.com/ubuntu natty-security universe
    deb-src security.ubuntu.com/ubuntu natty-security universe
    deb security.ubuntu.com/ubuntu natty-security multiverse
    deb-src security.ubuntu.com/ubuntu natty-security multiverse
    i had to remove the h ttp:// bit again

  4. $spacer_open
    $spacer_close
  5. #4
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    What happens when you try to update from the terminal?

    Are there any other files in /etc/apt or /etc/apt.d? The xbmc repo isn't listed in the main one here.

    Otherwise it looks fine.

    You can try creating a new sources.list file using this generator.

    Remove all the old ones in /etc/apt and /etc/apt.d and save the generated one as /etc/apt/sources.list.

  6. #5
    Just Joined! CoupeJay's Avatar
    Join Date
    May 2011
    Location
    Cornwall, UK
    Posts
    9
    it comes up with a very simular error, can paste in here if you need to see it?

    in /etc/apt there is : secring.gbg, sources.list, sources.list.distUpgrade, sources.list.save, trustdb.gbg and trusted.gbg

    there isnt an /etc/apt.d folder, could this be the problem?

    will give it a go mate

  7. #6
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Sorry, I think the directory is actually /etc/apt/sources.list.d/. Either way, it's not an issue to not be there. Just a way to organize 3rd party repositories.

    The gbg stuff is for package signing.

    And files not ending in .list shouldn't be read, as I recall.
    So I'm confused where it's reading this xbmc repo from.

    I would create a new sources.list and see if that helps.
    Code:
    sudo mv /etc/apt/sources.list /etc/apt/sources.list.back
    Open a text editor
    Code:
    gksudo nautilus /etc/apt/sources.list
    Paste this in it and save
    Code:
    #############################################################
    ################### OFFICIAL UBUNTU REPOS ###################
    #############################################################
    
    ###### Ubuntu Main Repos
    deb http://uk.archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse 
    deb-src http://uk.archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse 
    
    ###### Ubuntu Update Repos
    deb http://uk.archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse 
    deb http://uk.archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse 
    deb http://uk.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse 
    deb-src http://uk.archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse 
    deb-src http://uk.archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse 
    deb-src http://uk.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse 
    
    ###### Ubuntu Partner Repo
    deb http://archive.canonical.com/ubuntu natty partner
    deb-src http://archive.canonical.com/ubuntu natty partner
    Update and upgrade
    Code:
    sudo apt-get update
    sudo apt-get upgrade

  8. #7
    Linux Guru reed9's Avatar
    Join Date
    Feb 2009
    Location
    Boston, MA
    Posts
    4,651
    Sorry, you were using the great britain mirrors before. You can paste this instead
    Code:
    #############################################################
    ################### OFFICIAL UBUNTU REPOS ###################
    #############################################################
    
    ###### Ubuntu Main Repos
    deb http://gb.archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse 
    deb-src http://gb.archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse 
    
    ###### Ubuntu Update Repos
    deb http://gb.archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse 
    deb http://gb.archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse 
    deb http://gb.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse 
    deb-src http://gb.archive.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse 
    deb-src http://gb.archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse 
    deb-src http://gb.archive.ubuntu.com/ubuntu/ natty-backports main restricted universe multiverse

  9. #8
    Just Joined! CoupeJay's Avatar
    Join Date
    May 2011
    Location
    Cornwall, UK
    Posts
    9
    i have a new error when i try to update

    Code:
    Failed to fetch h ttp://ppa.launchpad.net/team-xbmc/ppa/ubuntu/dists/natty/main/source/Sources  404  Not Found
    Failed to fetch h ttp://ppa.launchpad.net/team-xbmc/ppa/ubuntu/dists/natty/main/binary-i386/Packages  404  Not Found
    Some index files failed to download. They have been ignored, or old ones used instead.
    Code:
    h ttp://ppa.launchpad.net/team-xbmc/ppa/ubuntu/dists/natty/main/source/Sources
    is this the problem? sources/Sources?

  10. #9
    Just Joined! CoupeJay's Avatar
    Join Date
    May 2011
    Location
    Cornwall, UK
    Posts
    9
    FIXED WOOHOO

    Thank you very much for your help mate, your a star

    very much appreciated

    for anyone that came to the same probem as me

    go to /etc/apt double click sources.list enter your password, then on the top tabs click Other Software and untick everything, click close, refresh. job done

    Thanks again mate

Posting Permissions

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