{{Header}} {{Title|title= {{project_name_long}} APT Repository }} {{#seo: |description={{project_name_short}} stable / testers / developers APT Repository. How to change from one suite to another? How to disable {{project_name_short}} APT Repository? |image=Whonix_Repository_Wizard_install_updates.png }} [[File:Whonix_Repository_Wizard_install_updates.png|Graphical {{project_name_short}} Derivative Repository Tool (GUI)|thumb]] {{intro| {{project_name_short}} stable / testers / developers APT Repository. How to change from one suite to another? How to disable {{project_name_short}} APT Repository? }} = {{project_name_short}} APT Repository Overview = {{project_name_short}} currently provides four repository choices: * {{project_name_short}} stable APT repository: Recommended for most users. The production level packages focus on providing the most reliable {{project_name_short}} experience. If possible, users are requested to run a separate testers-only {{Qubes_VM}} that has the testers repository enabled. If too few people test {{project_name_short}}, undiscovered issues might migrate to the stable repository. * {{project_name_short}} stable-proposed-updates APT repository: After testing by a wider audience, these packages migrate to the stable repository. Users are recommended to make a VM clone for this repository just in case it breaks. That way changes can be rolled back if necessary. * {{project_name_short}} testers APT repository: Recommended for testers, since it is only briefly tested by {{project_name_short}} developers. It could break APT during an upgrade, requiring terminal commands to rectify the problem. * {{project_name_short}} developers APT repository: As above, except it includes untested changes. These changes ''may'' eventually migrate to the testers repository there is reasonable certainty that these changes will not break the update system. It is not recommended, unless the user is in touch with the development team. Due to the {{project_name_short}} design, a user's security is unlikely to be materially affected by preferring the "beta" (stable-proposed-updates) or "alpha" (testers) repositories over the default stable one. The terms alpha and beta are avoided because they have generally lost their meaning in the software field; many applications remain in alpha or beta status for years, even though they work perfectly well. = Change {{project_name_short}} APT Repository = It is easy for users to switch between {{project_name_short}} repositories using the Graphical {{project_name_short}} Derivative Repository Tool (GUI). == {{q_project_name_long}} ==
If you are using [[Qubes|{{q_project_name_short}}]], please press Expand on the right.
Qubes App Launcher (blue/grey "Q")Template: {{project_name_short_lowercase}}Repository '''Figure:''' ''Wizard Repository Selection'' [[File:Whonix_Repository_Wizard_select_repo.png|border]] '''Figure:''' ''Wizard Auto-update Configuration'' [[File:Whonix_Repository_Wizard_install_updates.png|border]]
== {{project_name_short}} ==
If you are using [[About|{{project_name_short}}]], please press Expand on the right.
Start MenuSystemDerivative Repositorychoose either "stable", "stable-proposed-updates" , "Testers" or "Developers" repository '''Figure:''' ''Start Menu'' [[File:whonixrepoxfce1.png|600px]] '''Figure:''' ''super user password'' [[File:whonixrepoxfce2.png|600px]]
Afterwards, the following window will appear. '''Figure:''' ''Auto-update Configuration'' [[File:whonixrepoxfce3.png|600px]] '''Figure:''' ''Repository Selection'' [[File:whonixrepoxfce4.png|600px]] == Command Line Interface ==
If you are a terminal user, please press Expand on the right.
In Terminal, run. {{CodeSelect|code= sudo repository-dist }} '''Figure:''' ''Launch Terminal'' [[File:whonixrepocli.png|600px]] '''Figure:''' ''Run repository-dist'' [[File:whonixrepocli2.png|600px]] Choose one of the following repositories based on personal preferences. {{CodeSelect|code= sudo repository-dist --enable --repository stable }} {{CodeSelect|code= sudo repository-dist --enable --repository stable-proposed-updates }} {{CodeSelect|code= sudo repository-dist --enable --repository testers }} {{CodeSelect|code= sudo repository-dist --enable --repository developers }}
To use the repository, follow the [[Operating_System_Software_and_Updates|usual update instructions]]. = Onionizing Repository = This is not yet possible with the GUI. Only with the CLI. See [[Onionizing_Repositories#Onionize_derivative.list|Onionize derivative.list]]. = Disable {{project_name_short}} APT Repository = For [[Trust]] reasons some users may prefer not to use {{project_name_short}} APT Repository. In that case, it is necessary to [[Dev/Build Documentation|update Debian packages in {{project_name_short}} from source code]], which is inconvenient. All Default-Download-Version {{project_name_short}} variants have the {{project_name_short}} APT repository enabled. It can be disabled via the GUI or in a terminal with the Derivative Repository Tool. '''Table:''' ''{{project_name_short}} APT Repository Disabling'' {| class="wikitable" |- ! scope="col"| '''Platform / Method''' ! scope="col"| '''Instructions''' |- ! scope="row"| {{project_name_short}} Built from Source Code | If [[Dev/Build Documentation|{{project_name_short}} is built from source code]], {{project_name_short}} APT Repository is not added by default. The only exception is if users [[Build_Configuration|opt in using a build configuration]]. It is also possible to [[Project-APT-Repository#Verify_{{project_name_short}}_APT_Repository_is_Disabled|verify]] that it is already disabled. |- ! scope="row"| {{project_name_short}} Default-Download-Version: GUI | * {{q_project_name_short}}: Qubes App Launcher (blue/grey "Q")Template: {{project_name_short_lowercase}}Repository"No, I will manually update from source code."
* {{project_name_short}}: Start MenuApplicationsSystem{{project_name_short}} Repository"No, I will manually update from source code." |- ! scope="row"| {{project_name_short}} Default-Download-Version: Terminal | To disable it in a terminal, run.
{{CodeSelect|code= sudo repository-dist --disable }} |- |} Users can [[Project-APT-Repository#Verify_{{project_name_short}}_APT_Repository_is_Disabled|optionally verify]] {{project_name_short}} APT repository is disabled after this procedure. == Verify {{project_name_short}} APT Repository is Disabled == To check the {{project_name_short}} APT repository was successfully disabled, run the following tests. {{Box|text= '''1.''' Use {{Code2|apt-key}}. {{CodeSelect|code= sudo apt-key finger }} This test should not show any {{project_name_short}}-specific keys, such as [[Patrick Schleizer|Patrick Schleizer's OpenPGP key]]. '''2.''' Check if file /etc/apt/sources.list.d/derivative.list exists. If it does not exist, the procedure was successful. '''3.''' ''Optional:'' conduct additional tests as a precaution. Examine the /etc/apt/sources.list file. It should not include the {{project_name_short}} APT Repository. {{CodeSelect|code= cat /etc/apt/sources.list }} Next examine the /etc/apt/sources.list.d/ folder as well. {{CodeSelect|code= cat /etc/apt/sources.list.d/* }} }} = Further Reading = * [[Trust]] * [[Debian Packages|{{project_name_short}} Debian package - which ones are safe to remove?]] * [[Dev/Build Documentation‏‎|Building/upgrading {{project_name_short}} Debian packages from source code]] = Footnotes = {{reflist|close=1}} {{Footer}} [[Category:Documentation]]