adept allows creation of invalid lines in sources.list
Bug #353644 reported by
dellcom
This bug report is a duplicate of:
Bug #116445: [kde] software-properties-kde does not check if apt lines are valid.
Edit
Remove
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
adept (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: adept
When adding third-party repositories, Adept allows users to save malformed entries in sources.list.
Then the next time it or other GUI package manager is run, it refuses to open and there is no way to use the GUI tool to fix the problem.
One solution would be to have adept check the entries for proper syntax before allowing them to be saved.
This is related to, but different from, the 'malformed line' errors. This is probably the cause of the 'malformed line' errors so abundantly reported.
To post a comment you must log in.
The lines should match the following syntax:
deb|deb-src uri distribution [component1] [component2] [...]
http:// www.debian. org/doc/ manuals/ repository- howto/repositor y-howto# using-a- repository
There are modules for checking URIs, they could be used.
The distribution can be a list or hash of strings (jaunty, hardy, hardy-backports, etc.)