Default sources.list file has source packages enabled by default
Bug #74747 reported by
LapTop006
This bug affects 11 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Scott Moser | ||
apt-setup (Ubuntu) |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Xenial |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
Bionic |
Fix Released
|
Medium
|
Unassigned | ||
Cosmic |
Fix Released
|
Medium
|
Dimitri John Ledkov | ||
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Xenial |
Confirmed
|
Medium
|
Unassigned | ||
Bionic |
Confirmed
|
Medium
|
Unassigned | ||
Cosmic |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The default sources.list file has source packages enabled by default, this is bad for the average user (especially those on modems) because they are very unlikely to use source packages, however they will still have the download overhead of the packages list.
For most people the deb-src lines could simply be commented out by default.
(Bug reported at the behest of Robert Collins)
Implementing this would probably invalidate bug 301602. See also bug 987264.
Mailing list discussion:
https:/
https:/
Related branches
~chad.smith/cloud-init:ubuntu/devel
- Server Team CI bot: Approve (continuous-integration)
- Scott Moser: Approve
-
Diff: 2628 lines (+1096/-307)42 files modifiedcloudinit/cmd/cloud_id.py (+90/-0)
cloudinit/cmd/tests/test_cloud_id.py (+127/-0)
cloudinit/net/__init__.py (+4/-2)
cloudinit/sources/DataSourceAliYun.py (+5/-15)
cloudinit/sources/DataSourceAltCloud.py (+22/-11)
cloudinit/sources/DataSourceAzure.py (+8/-0)
cloudinit/sources/DataSourceBigstep.py (+4/-0)
cloudinit/sources/DataSourceCloudSigma.py (+5/-1)
cloudinit/sources/DataSourceConfigDrive.py (+12/-0)
cloudinit/sources/DataSourceEc2.py (+59/-56)
cloudinit/sources/DataSourceIBMCloud.py (+4/-0)
cloudinit/sources/DataSourceMAAS.py (+4/-0)
cloudinit/sources/DataSourceNoCloud.py (+21/-0)
cloudinit/sources/DataSourceNone.py (+4/-0)
cloudinit/sources/DataSourceOVF.py (+6/-0)
cloudinit/sources/DataSourceOpenNebula.py (+8/-0)
cloudinit/sources/DataSourceOracle.py (+4/-0)
cloudinit/sources/DataSourceSmartOS.py (+3/-0)
cloudinit/sources/__init__.py (+104/-21)
cloudinit/sources/tests/test_init.py (+83/-3)
cloudinit/sources/tests/test_oracle.py (+8/-0)
cloudinit/tests/test_util.py (+16/-0)
cloudinit/util.py (+5/-0)
debian/changelog (+11/-0)
doc/rtd/topics/instancedata.rst (+137/-46)
setup.py (+2/-1)
templates/sources.list.ubuntu.tmpl (+17/-17)
tests/cloud_tests/testcases/base.py (+11/-2)
tests/cloud_tests/testcases/modules/apt_configure_primary.py (+9/-5)
tests/cloud_tests/testcases/modules/apt_configure_primary.yaml (+0/-7)
tests/unittests/test_datasource/test_aliyun.py (+4/-0)
tests/unittests/test_datasource/test_altcloud.py (+67/-51)
tests/unittests/test_datasource/test_azure.py (+63/-47)
tests/unittests/test_datasource/test_cloudsigma.py (+6/-0)
tests/unittests/test_datasource/test_configdrive.py (+3/-0)
tests/unittests/test_datasource/test_ec2.py (+13/-7)
tests/unittests/test_datasource/test_ibmcloud.py (+39/-1)
tests/unittests/test_datasource/test_nocloud.py (+35/-10)
tests/unittests/test_datasource/test_opennebula.py (+4/-0)
tests/unittests/test_datasource/test_ovf.py (+48/-4)
tests/unittests/test_datasource/test_smartos.py (+7/-0)
tests/unittests/test_net.py (+14/-0)
~rjschwei/cloud-init:systemdGenTmpl
Merged
into
cloud-init:master
- Chad Smith: Approve
- Server Team CI bot: Approve (continuous-integration)
- Scott Moser: Needs Fixing
- Scott Moser [2]: Pending requested
-
Diff: 66 lines (+15/-3)2 files modifiedsetup.py (+10/-3)
systemd/cloud-init-generator.tmpl (+5/-0)
~smoser/cloud-init:bug/74747-no-deb-src-in-sources-list
Merged
into
cloud-init:master
- Chad Smith: Approve
- Server Team CI bot: Approve (continuous-integration)
-
Diff: 71 lines (+17/-17)1 file modifiedtemplates/sources.list.ubuntu.tmpl (+17/-17)
Changed in apt-setup (Ubuntu): | |
importance: | Undecided → Medium |
status: | Confirmed → Triaged |
description: | updated |
description: | updated |
description: | updated |
Changed in cloud-init: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu): | |
status: | New → Confirmed |
Changed in cloud-init (Ubuntu Bionic): | |
status: | New → Confirmed |
Changed in cloud-init (Ubuntu Xenial): | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Bionic): | |
importance: | Undecided → Medium |
Changed in cloud-init (Ubuntu Cosmic): | |
importance: | Undecided → Medium |
Changed in cloud-init: | |
assignee: | nobody → Scott Moser (smoser) |
status: | Confirmed → In Progress |
Changed in apt-setup (Ubuntu Bionic): | |
status: | New → Fix Released |
importance: | Undecided → Medium |
Changed in cloud-init: | |
status: | Expired → Fix Released |
To post a comment you must log in.
I'm not sure what sets the package lists - I suspect ubuiqity...
I thought this was a very good point when it was raised to me, which is why I encouraged this bug to be filed.