Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

all my PPAs are gone. thats why i cant install any other updates because the repositories are unavailable.

  • what should i do to bring the repositories back?
  • what command lines or methods should i use?

thank you.

share|improve this question
1  
What did you do before the PPAs disappeared? –  Oxwivi Mar 30 '11 at 8:33
add comment

2 Answers 2

This I assume is after a distribution update? if so this is the default action but they will be still in the "Other Software" tab but marked as disabled. You get to this by the edit menu in the Ubuntu Software Centre and select software sources. And check the PPAs you want to enable.

Reload the sources. Ubuntu automatically updates the version from ie. "maverick" to "natty". If a PPA has not been updated for the new version, you will receive errors when you reload the sources. For each error go back and change "natty" back to "maverick" (or whichever version you updated from). This is usually safe as the packages generally work form version to version. Reload sources again and the PPA's should re-appear. You can wait a few weeks and try again with the newer version in case the PPA maintainer has updated his PPA.

share|improve this answer
    
Actually, the version substitution is generally done on upgrade. You just need to reenable the PPAs you want. –  micahg Mar 31 '11 at 2:00
add comment

All the source files are located at /etc/apt/sources.list.d/. You will need root privileges to edit the ppa files. See if you added ppa are there as a file. If they are located there see if the content of files are commented or not. If they are not in the above location you have to manually add the ppas using sudo add-apt-repository command.

share|improve this answer
    
Error: need a repository as argument what does it mean? –  lovingubuntu10.04 Mar 30 '11 at 16:21
    
this means you need a repository argument for the command to work e.g. ppa:mozillateam/firefox-stable –  sagarchalise Mar 30 '11 at 18:49
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.