Ubuntu.info template doesn't allow deb-src lines using archive.ubuntu.com on ports architectures
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
python-apt (Ubuntu) |
Fix Released
|
High
|
Unassigned | ||
Natty |
Fix Released
|
High
|
Unassigned |
Bug Description
Binary package hint: python-apt
On ports architecture (!= i386 and != amd64), Ubuntu.info says that only http://
Unfortunately all current ARM (maybe other) builds are using http://
So running:
---
#!/usr/bin/python
import aptsources.distro
from aptsources.
list=SourcesList()
distro=
distro.
distro.
distro.
list.save()
---
On ARM with the default sources.list, will only modify the "deb" entries and not the "deb-src" ones.
As archive.ubuntu.com is a perfectly valid source for source packages on ports architectures, it should be allowed.
Changed in python-apt (Ubuntu Natty): | |
milestone: | none → ubuntu-11.04 |
status: | New → Triaged |
importance: | Undecided → High |
tags: | added: patch |
Ok, I have a tentative fix for this bug.
Here's my test sources.list before (containing both valid and invalid entries):
# Valid binary entries ports.ubuntu. com/ubuntu- ports natty main restricted ports.ubuntu. com/ubuntu- ports natty-security main restricted ports.ubuntu. com/ubuntu- ports natty-updates main restricted
deb http://
deb http://
deb http://
# Valid source entries ports.ubuntu. com/ubuntu- ports natty main restricted security. ubuntu. com natty-security main restricted archive. ubuntu. com/ubuntu natty-updates main restricted
deb-src http://
deb-src http://
deb-src http://
# Invalid binary entry archive. ubuntu. com/ubuntu natty-proposed main restricted
deb http://
After running the modified python-apt, I get:
# Valid binary entries ports.ubuntu. com/ubuntu- ports natty main restricted universe multiverse ports.ubuntu. com/ubuntu- ports natty-security main restricted universe multiverse ports.ubuntu. com/ubuntu- ports natty-updates main restricted universe multiverse
deb http://
deb http://
deb http://
# Valid source entries ports.ubuntu. com/ubuntu- ports natty main restricted universe multiverse security. ubuntu. com natty-security main restricted universe multiverse archive. ubuntu. com/ubuntu natty-updates main restricted universe multiverse
deb-src http://
deb-src http://
deb-src http://
# Invalid binary entry archive. ubuntu. com/ubuntu natty-proposed main restricted
deb http://