| Files in /usr/share/tasksel/* and /usr/local/share/tasksel/* get picked up by tasksel and have entries following format: | |
| # grep dns-server -A7 /usr/share/tasksel/ubuntu-tasks.desc | |
| Task: dns-server | |
| Section: server | |
| Description: DNS server | |
| Selects the BIND DNS server and its documentation. | |
| Key: | |
| bind9 | |
| Packages: task-fields | |
| The Packages.gz files in the repos have Task:* headers for each package. | |
| They match the key in the tasksel entry above, but I'm not sure how they are generated. | |
| curl http://archive.ubuntu.com/ubuntu/dists/precise/main/binary-amd64/Packages.gz 2>/dev/null| zgrep -B25 dns-server | grep Package\\\|Task.*dns | |
| Package: bind9 | |
| Task: dns-server | |
| Package: bind9-doc | |
| Task: dns-server | |
| Package: bind9utils | |
| Task: dns-server | |
| Package: libcap2 | |
| Task: ubuntu-desktop, print-server, dns-server, samba-server, ubuntu-usb, lamp-server, kubuntu-desktop, kubuntu-active-desktop, kubuntu-active, edubuntu-desktop, edubuntu-usb, xubuntu-desktop, mythbuntu-frontend, mythbuntu-frontend, mythbuntu-desktop, mythbuntu-backend-slave, mythbuntu-backend-slave, mythbuntu-backend-master, mythbuntu-backend-master, lubuntu-core, ubuntustudio-desktop | |
| They don't seem to be in the indices that are used by apt-ftparchive to generate the Packages.gz index.... | |
| curl http://archive.ubuntu.com/ubuntu/indices/override.precise.main 2>/dev/null| grep dns-server | |
| Where is the mapping from task to a list of packages come from, and how does it get included in the generation of Packages.gz? |
Seems like we could take a task-name + a list of packages and just create a metapackage that would help us avoid using tasksel directly hence avoiding https://bugs.launchpad.net/ubuntu/+source/tasksel/+bug/574287 https://help.ubuntu.com/community/MetaPackages#Creating_Metapackages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hh commentedJun 7, 2012