Results 1 to 8 of 8

Thread: Error updating and installing packages in Ubuntu 11.04

  1. #1
    Join Date
    May 2010
    Beans
    4

    Cool Error updating and installing packages in Ubuntu 11.04

    Suddenly since the last two days I am not able to install from Synaptic or apt with the error of broken packages.

    I ran sudo apt-get update and got the following at the end. This I used to get earlier also and I just used to ignore it, because my packages were getting updated I was geting list of available upgrades from these packages.

    Code:
    Failed to fetch http://ppa.launchpad.net/amandeepgrewal/notifyosdconfig/ubuntu/dists/natty/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/amandeepgrewal/notifyosdconfig/ubuntu/dists/natty/main/binary-i386/Packages  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/moonlight-team/pinta/ubuntu/dists/natty/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/moonlight-team/pinta/ubuntu/dists/natty/main/binary-i386/Packages  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu/dists/natty/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/mozillateam/firefox-stable/ubuntu/dists/natty/main/binary-i386/Packages  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu/dists/natty/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/nvidia-vdpau/ppa/ubuntu/dists/natty/main/binary-i386/Packages  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/rlinfati/ppa/ubuntu/dists/natty/main/source/Sources  404  Not Found
    
    W: Failed to fetch http://ppa.launchpad.net/rlinfati/ppa/ubuntu/dists/natty/main/binary-i386/Packages  404  Not Found
    
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    But when I tried to install something (dropbox plugin ) I get the following.
    Code:
    sudo apt-get install unity-dropbox-share 
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     unity-dropbox-share : Depends: nautilus-dropbox but it is not installable
                           Depends: dropbox-index but it is not going to be installed
    E: Broken packages
    The broken filter is of no help and I have googled a lot on this but of no use.

    I get this error when I try to update from Synaptic
    Code:
    Could not download all repository indexes
    
    The repository may no longer be available or could not be contacted because of network problems. If available an older version of the failed index will be used. Otherwise the repository will be ignored. Check your network connection and ensure the repository address in the preferences is correct.

  2. #2
    Join Date
    Mar 2006
    Beans
    8,348

    Re: Error updating and installing packages in Ubuntu 11.04

    Those PPA doesn't have Natty packages and that is reason why you can not install.Look if you can find other PPA for packages you need with Natty packages it them.Of course remove PPA's you have in your source list and after that

    Code:
    sudo apt-get update
    There is no greater religion than a truth.

  3. #3
    Join Date
    May 2010
    Beans
    4

    Re: Error updating and installing packages in Ubuntu 11.04

    Quote Originally Posted by zvacet View Post
    Those PPA doesn't have Natty packages and that is reason why you can not install
    Thanks for the reply.
    These PPAs were working correctly till yesterday and were also receiving updates. They also in Mozilla Daily Build's PPA.

    I also searched using the script mentioned here, but the outcome showed that all PPA were compatible

    http://www.webupd8.org/2011/03/find-...rite-ppas.html

  4. #4
    Join Date
    Mar 2006
    Beans
    8,348

    Re: Error updating and installing packages in Ubuntu 11.04

    I didn´t run script.Simply added links to browser and here are results

    http://ppa.launchpad.net/amandeepgre.../ubuntu/dists/
    http://ppa.launchpad.net/moonlight-t...a/ubuntu/dists
    http://ppa.launchpad.net/mozillateam.../ubuntu/dists/

    and so on....

    You see there is no natty packages.Search for other PPA for packages you want to install and use.
    There is no greater religion than a truth.

  5. #5
    Join Date
    May 2010
    Beans
    4

    Re: Error updating and installing packages in Ubuntu 11.04

    Thanks for the reply. I deactivated all the PPAs giving the 404 error, and executed following.
    Code:
    sudo rm /var/lib/apt/lists/* -vf
    sudo apt-get update
    However I am still getting the broken packages error

  6. #6
    Join Date
    Mar 2006
    Beans
    8,348

    Re: Error updating and installing packages in Ubuntu 11.04

    Try with

    Code:
    sudo apt-get -f install
    There is no greater religion than a truth.

  7. #7
    Join Date
    May 2010
    Beans
    4

    Re: Error updating and installing packages in Ubuntu 11.04

    Have tried that but still the same result. This is what the terminal shows now.

    Code:
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
     unity-dropbox-share : Depends: nautilus-dropbox but it is not installable
                           Depends: dropbox-index but it is not going to be installed
    E: Broken packages
    UPDATE:
    It seems the problem is with that particular package and everything else is working fine. Thanks for all the help zvacet!
    Last edited by rahul1810; May 10th, 2011 at 01:10 PM.

  8. #8
    Join Date
    Mar 2006
    Beans
    8,348

    Re: Error updating and installing packages in Ubuntu 11.04

    Is that package from PPA?If it is try to find other PPA if you really need that package.
    There is no greater religion than a truth.

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
  •