apt should share the same sources entries as cron-apt

Reported by Alon Swartz on 2008-11-04
2
Affects Status Importance Assigned to Milestone
TurnKey Linux
Fix Released
Medium
Alon Swartz
2009.02-hardy-x86
New
Undecided
Unassigned

Bug Description

- cron-apt is configured to use the sources file /etc/apt/security.sources.list
- apt uses /etc/apt/sources.list

$ grep ^deb sources.list
    deb http://archive.turnkeylinux.org/ubuntu hardy main
    deb http://archive.ubuntu.com/ubuntu hardy main
    deb http://archive.ubuntu.com/ubuntu hardy-security main
    deb http://archive.ubuntu.com/ubuntu hardy-updates main

$ grep ^deb security.sources.list
    deb http://archive.turnkeylinux.org/ubuntu hardy-security main
    deb http://archive.turnkeylinux.org/ubuntu hardy-security universe
    deb http://archive.ubuntu.com/ubuntu hardy-security main
    deb http://archive.ubuntu.com/ubuntu hardy-security universe

according to the above configuration, doing a manual update would not include the source entries as an automatic update would.

recommended fix:
    - move both sources.list and security.sources.list into /etc/apt/sources.list.d
    - remove the hardy-security entires from sources.list (apt will use /etc/apt/sources.list.d/*.sources.list)
    - update /etc/cron-apt/config

Alon Swartz (alonswartz) wrote :

the recommended fix will be included in all appliances released from now on

Changed in turnkeylinux:
assignee: nobody → alonswartz
importance: Undecided → Medium
status: New → Confirmed
Alon Swartz (alonswartz) wrote :

included in all appliances in the 2009.02 release

Changed in turnkeylinux:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers