make it easy to add proposed; help text outdated

Bug #1829588 reported by Seth Arnold on 2019-05-18
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
software-properties (Ubuntu)
Low
Unassigned

Bug Description

Adding -proposed should be as easy as running:

sudo add-apt-repository proposed

But this doesn't work:
$ sudo add-apt-repository proposed
Error: 'proposed' invalid

It'd be nice if add-apt-repository could work for all of:

- adding main
- adding restricted
- adding universe
- adding multiverse
- adding partners

- adding proposed
- adding security
- adding universe

Thanks

Seth Arnold (seth-arnold) wrote :
Sebastien Bacher (seb128) wrote :

Thanks Seth, the "handle proposed" and "remove outdated example" should probably be separate reports. Note that the project is owned by ubuntu-core-dev and you can proposed code changes against https://code.launchpad.net/software-properties (removing the outdated websites should be easy, unsure if we want to replace them with another similar example to still describe the corresponding syntax variant though)

Changed in software-properties (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Brian Murray (brian-murray) wrote :

Its worth mentioning that software-properties-gtk has a "Developer Options" tab that allows you to enabled and disabled -proposed (provided you aren't using a local mirror of the archive) and that is the preferred method to enable -proposed. Which wiki page were you looking at? It probably needs updating.

Additionally I briefly looked at the code for add-apt-repository and it seems to have support for enabling / disabling components (e.g. multiverse) but not pockets (e.g. -proposed).

Seth Arnold (seth-arnold) wrote :

The wiki page does have the software properties method documented:
https://wiki.ubuntu.com/Testing/EnableProposed

I don't have software-properties-gtk installed (and until now didn't know the name of the command to launch it), so apt-add-repository was my first attempt.

Thanks

description: updated
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers