whonix-setup-wizard repository - code names issue - stable vs wheezy

Information

ID: 232
PHID: PHID-TASK-v6k2qqosejtmrohtwqtu
Author: Patrick
Status at Migration Time: resolved
Priority at Migration Time: Normal

Description

I noticed that files created by whonix_repository vs whonix-setup-wizard repository differ.

When users are choosing stable in whonix_repository tool (cli), it actually uses wheezy in /etc/apt/sources.list.d/whonix.list. This is because wheezy means nothing to most users and because it’s better to use specific (ex: wheezy) rather than generic codenames (ex: stable) as apt sources. The full reasoning and discussion behind this change can be found here:

When users however run whonix-setup-wizard repository and choose stable, it will run whonix_repository --codename stable, resulting in a literal stable rather than wheezy in /etc/apt/sources.list.d/whonix.list.

The idea behind --codename codename was an advanced user option to use the literal codename.

What whonix_repository is missing is a switch that uses the same logic as the menu in whonix_repository. Such as a new switch --repository stable|testers|developers should be added, that translates to a specific codename (currently: wheezy). Rather the --codename, whonix-setup-wizard repository should then use --repository.

Comments


Patrick

2015-03-19 12:13:31 UTC


Patrick

2015-03-19 12:20:15 UTC