PPA_Testing
1819
Comment:
|
2831
|
Deletions are marked like this. | Additions are marked like this. |
Line 1: | Line 1: |
Describe Lubuntu/Testing/PPA_Testing here. | <<Include(Lubuntu/Header)>> |
Line 4: | Line 4: |
Sometimes during the test cycle one of the developers may ask you to test something specific for them. This is often phrased as ''install '''application''' from '''ppa-xyz''' '' As the developers spend most of time talking in a language that I understand as well as I do [[http://en.wikipedia.org/wiki/Klingon#Language | Klingon]] I did ask for an explanation that humans could understand. In the below example, I will use the application '''lxinput''' from the ppa '''lubuntu-dev/staging'''. These two pieces of information will be give to you. After installing an application from a test pps area, it is wise to remove that ppa from your system else you will pull in any work in progress that the developer or team are doing. | Sometimes during the test cycle one of the developers may ask you to test something specific for them. This is often phrased as {{{ please install application from ppa:xyz and retest. }}} As the developers spend most of their time talking in a language that I understand as well as I do [[http://en.wikipedia.org/wiki/Klingon#Language | Klingon]] I did ask for an explanation that humans could understand. In the below example, I will use the application '''application''' from the ppa '''ppa:xyz'''. These two pieces of information will be given to you. After installing an application from a test ppa area, it is wise to remove that ppa from your system else you will pull in any work in progress that the developer or team are doing each time you do a full system update. If you are in doubt of either the application or the ppa full names, please do ask the devs. Do '''not''' install ppa's that you do not fully trust, they can be a source of [[http://en.wikipedia.org/wiki/Malware | malware]], if in doubt.... '''ASK''' Some PPA's will ask for acceptance of a GPG key... Again, if in doubt '''ASK''' == Adding == |
Line 7: | Line 15: |
sudo apt-add-repository ppa:lubuntu-dev/staging sudo apt-get update sudo apt-get install lxinput sudo apt-add-repository -r ppa:lubuntu-dev/staging sudo apt-get update |
sudo -i apt-add-repository -y ppa:xyz apt-get update apt-get install -y application apt-add-repository -r ppa:xyz apt-get update exit |
Line 14: | Line 24: |
1. sudo apt-add-repository ppa:lubuntu-dev/staging ''add the ppa called lubuntu-dev/staging to your system index'' 2. sudo apt-get update ''tell your system it is there to be used'' 3. sudo apt-get install lxinput ''install the application'' 4. sudo apt-add-repository -r ppa:lubuntu-dev/staging ''remove the ppa from your system index'' 5. sudo apt-get update ''tell your system not to use it anymore'' |
If being asked to accept a GPG key, the steps will be slightly different. At the step {{{ apt-add-repository ppa:xyz }}} you will asked to accept the GPG key, simply press ''Enter'' to accept, provided you trust the PPA. |
Line 20: | Line 30: |
Now, if the new '''lxinput''' broke your system, then you need to get rid of it and re-install the current version | What the above does: 1. '''''gain sudo privileges''''' 2. apt-add-repository -y ppa:xyz '''''add the ppa called xyz to your system index''''' 3. apt-get update '''''tell your system it is there to be used''''' 4. apt-get install -y application '''''install the application''''' 5. apt-add-repository -r ppa:xyz '''''prevent the ppa from uploading work in progress from the developer''''' 6. apt-get update '''''tell your system the added ppa is to no longer to be used''''' 7. '''''relinquish sudo privileges''''' == Removing == Now, if the new '''application''' broke your system, then you need to get rid of it and re-install the current version |
Line 23: | Line 44: |
sudo apt-get remove lxinput sudo apt-get install lxinput |
sudo -i apt-add-repository -r ppa:xyz apt-get update apt-get -y remove application apt-get -y install application exit |
Line 27: | Line 52: |
1. sudo apt-get remove lxinput ''remove the new version'' 2. sudo apt-get install lxinput ''remove the new version we got from the ppa, and now that ppa is no longer in use, the install will 'grab' the one from the normal area.'' |
What the above does: 1. '''''gain sudo privileges''''' 1. apt-add-repository -r ppa:xyz '''''remove the test ppa area''''' 2. apt-get update '''''tell your system it is no longer to be used''''' 3. apt-get -y remove application '''''remove the new version''''' 4. apt-get -y install application '''''now that the test ppa is no longer in use, the install will 'grab' the one from the normal area.''''' 5. '''''relinquish sudo privileges''''' |
PPA Testing
Sometimes during the test cycle one of the developers may ask you to test something specific for them. This is often phrased as
please install application from ppa:xyz and retest.
As the developers spend most of their time talking in a language that I understand as well as I do Klingon I did ask for an explanation that humans could understand. In the below example, I will use the application application from the ppa ppa:xyz. These two pieces of information will be given to you. After installing an application from a test ppa area, it is wise to remove that ppa from your system else you will pull in any work in progress that the developer or team are doing each time you do a full system update. If you are in doubt of either the application or the ppa full names, please do ask the devs. Do not install ppa's that you do not fully trust, they can be a source of malware, if in doubt.... ASK Some PPA's will ask for acceptance of a GPG key... Again, if in doubt ASK
Adding
sudo -i apt-add-repository -y ppa:xyz apt-get update apt-get install -y application apt-add-repository -r ppa:xyz apt-get update exit
If being asked to accept a GPG key, the steps will be slightly different. At the step
apt-add-repository ppa:xyz
you will asked to accept the GPG key, simply press Enter to accept, provided you trust the PPA.
What the above does:
gain sudo privileges
apt-add-repository -y ppa:xyz add the ppa called xyz to your system index
apt-get update tell your system it is there to be used
apt-get install -y application install the application
apt-add-repository -r ppa:xyz prevent the ppa from uploading work in progress from the developer
apt-get update tell your system the added ppa is to no longer to be used
relinquish sudo privileges
Removing
Now, if the new application broke your system, then you need to get rid of it and re-install the current version
sudo -i apt-add-repository -r ppa:xyz apt-get update apt-get -y remove application apt-get -y install application exit
What the above does:
gain sudo privileges
apt-add-repository -r ppa:xyz remove the test ppa area
apt-get update tell your system it is no longer to be used
apt-get -y remove application remove the new version
apt-get -y install application now that the test ppa is no longer in use, the install will 'grab' the one from the normal area.
relinquish sudo privileges