EzDevInfo.com

ppa interview questions

Top ppa frequently asked interview questions

What are PPAs and how do I use them?

I keep reading about Personal Package Archives ('PPAs') and people answer questions with a link to a PPA. What's the best way to use these?


There are multiple valid answers for this question spanning over several versions of Ubuntu. For your convenience, an index of each is below.



Source: (StackOverflow)

How do I install different (upgrade or downgrade) PHP version in still supported Ubuntu release?

I am trying to update to install PHP 5.5, 5.6 or 7.0 in Ubuntu 12.04/14.04/16.04 LTS, and I can only get PHP 5.3.10 for Ubuntu 12.04, PHP 5.5.9 for Ubuntu 14.04 or PHP 7.0.4 for Ubuntu 16.04 using official repositories (using apt-get).

I'm not really sure how to do a manual update – as I need:

  • to play around with the new(est) PHP features
  • to install older PHP version due support in the software

Source: (StackOverflow)

Advertisements

How to install Eclipse?

I want to install the latest version of Eclipse but the Ubuntu Software Centre contains an older version.

Is there a PPA or some other way to install latest Eclipse? Please describe the steps for full installation.


Source: (StackOverflow)

How can I fix a 404 Error when using a PPA or updating my package lists?

PPA seems to be constantly offline. Whenever I use sudo apt-get update, this error is shown:

W: Failed to fetch http://ppa.launchpad.net/ 404  Not Found

How do I fix these errors?


Source: (StackOverflow)

How do I remove a PPA added via command-line? [duplicate]

This question already has an answer here:

I added a PPA for updating my kernel for ubuntu-12.04. Later, I found that the kernel doesnot exist on the link within PPA.

I used this command. sudo add-apt-repository ppa:kernel-ppa/ppa

Now if I try sudo apt-get update, I get an error 404, because http://ppa.launchpad.net/kernel-ppa/ppa/ubuntu/dists/precise/main/source/Sources, does not exist.

Trouble is I am unable to do an update. Even not able to do sudo ppa-purge ppa:kernel-ppa/ppa

Suggest a solution.


Source: (StackOverflow)

Is there any guarantee that software from Launchpad PPAs is free from viruses and backdoor threats?

As Linux continues to grow and develop, and the more we use Linux, the greater the threat from viruses.

We also know that a virus/threat in Linux (if any) would have difficulty running or spreading when it is running as a normal user, but it is a different story if the virus/threat is running as the root user.

An example of this danger would be if a virus is tucked inside a PPA (intentionally or unintentionally) or if an application has an intentionally planted backdoor (e.g., pidgin could secretly send passwords to a particular address).

If we add software from a Launchpad PPA, is there any guarantee that software is from free viruses/backdoor threats?


Source: (StackOverflow)

How do I cherry pick packages from a PPA? [duplicate]

This question already has an answer here:

Is there a way to cherry pick packages from a ppa repository you add? That is, to exclude some from updating while including others?

For example, I want just the chromium-browser package from this repository but not the others. So I don't want my sudo apt-get upgrade to have that ppa's other (besides chromium-browser) packages install over my existing ones, just that one.

I realize this is a license to shoot myself in the foot if I misread dependencies and exclude ones that are needed to ones that I included, but I know for a fact in this case that the other packages are not dependencies for that one.

Is this at all possible? Maybe there is some whitelist/blacklist file or something?


Source: (StackOverflow)

What does 'Ign' mean when running an apt-get update?

I had a bunch of errors in the output of sudo apt-get update: duplicate entries and 404 not found errors.

Figured those out, I hope: I removed PPAs that didn't have any packages associated with them, then I removed out a duplicate entry in /etc/apt/sources.list.

It seems I have royally buggered it up. Now most of the lines say Ign when I do sudo apt-get update.

How do I go about straightening out what I have screwed up? I need to get rid of these Igns that are all over the place. There are about 50% (eyeball guess) Igns!


Source: (StackOverflow)

PPA & Packaging: Having versions of packages for multiple distros

(quote from chat)

Got a PPA on launchpad for source packages for an IRC bot project I'm associated with (since its all the intermediate packaging for the stuff between releases, it's classified as an "experimental" PPA). Question: I've already packaged the stuff for a lucid build. Any clue how I'd be able to create the same packaging, except package it for maverick, and put it up to the same PPA that I've put the lucid packaging to?


Source: (StackOverflow)

How do I create a PPA for a working program?

Let's assume I have a working application written in C, C++ or Python. I want to create a Launchpad PPA so others can easily install it from a package. Please give step by step instructions for doing this from beginning to end. (Or provide a link that does the same ;)

  • Does the programming language matter? (Could it be a bash script?)
  • Do I need to add anything to my build?
  • Where should the build install itself to?
  • How do I define dependencies?
  • How do I use dependencies?
  • How do I create a .deb?
  • What do I need to do before uploading to Launchpad?

Source: (StackOverflow)

Should I install programs from a source tarball (`.tar.gz`), from the Ubuntu Software Centre, or from elsewhere?

There are several ways to install an application in Ubuntu:

  • You can download a source tarball (generally a .tar.gz or a .tar.bz2 file) and install it manually. (See How to install a .tar.gz (or .tar.bz2) file?)

  • You can download a .deb file and install it manually, using dpkg or the Software Centre.

  • You can search for the application in the Ubuntu Software Centre and install it there, or use apt with the official Ubuntu repositories.

  • You can find a PPA or a third-party repo, and install it from there.

What are the pros and cons of each method? Please discuss security implications, frequency of updates and program reliability of each method in your answer.


Source: (StackOverflow)

Is there a PPA for the latest Blender version?

I am interested in trying out the Blender 2.54 beta, but don't have the time or patience to download and install all of the dependencies for it and compile it myself.

Is there a PPA somewhere that I can use to obtain a pre-compiled package for it?


Source: (StackOverflow)

Does someone know why the Chromium daily package isn't build anymore?

It looks like chromium-browser @ https://launchpad.net/~chromium-daily/+archive/ppa haven't been build for the past 6 weeks.

I tried to get in touch with them on launchpad but I've got no answers...


Source: (StackOverflow)

Is there an "unofficial" software center with all the PPAs?

Many questions are answered simply with add this repository and install.

I understand that Ubuntu developers cannot quickly verify all packages and make them available in official repositories. But is there an unofficial main repository or software center where developers can register their PPAs?

Adding individual repositories is a pain and the update also takes longer as it has to check all the PPAs. Like we have alternative markets for android, it would be great if there are any popular alternative software sources that we can reasonably trust.


Source: (StackOverflow)

Where can I find a Subversion 1.7 binary?

Does anybody know of a ppa or source I can get a subverison 1.7 deb?

It was just released yesterday so I'm sure something will show up eventually. However I figure this will be a good place to post when something is released.


Source: (StackOverflow)