Re: [debian-edu-commits] debian-edu/ 01/01: share/d-e-c/tools: Add scripts 'install-missing-taskpkgs' and 'install-missing-chroot-taskpkgs'; they do what their names tell and are esp. useful after distribution upgrade when packages from the task files are missing due to meta-packages not allowing to define real Depends. (Closes: #779644, #779647, #779648).
- To: Wolfgang Schweer <wschweer@arcor.de>, debian-edu@lists.debian.org
- Subject: Re: [debian-edu-commits] debian-edu/ 01/01: share/d-e-c/tools: Add scripts 'install-missing-taskpkgs' and 'install-missing-chroot-taskpkgs'; they do what their names tell and are esp. useful after distribution upgrade when packages from the task files are missing due to meta-packages not allowing to define real Depends. (Closes: #779644, #779647, #779648).
- From: Petter Reinholdtsen <pere@hungry.com>
- Date: Wed, 18 Mar 2015 14:36:32 +0100
- Message-id: <[🔎] 2flwq2efmvz.fsf@diskless.uio.no>
- In-reply-to: <E1YX55L-0003NB-DU@moszumanska.debian.org>
- References: <20150315094349.12695.21740@moszumanska.debian.org> <E1YX55L-0003NB-DU@moszumanska.debian.org>
[Wolfgang Schweer]
> share/d-e-c/tools: Add scripts 'install-missing-taskpkgs' and
> 'install-missing-chroot-taskpkgs'; they do what their names tell
> and are esp. useful after distribution upgrade when packages from
> the task files are missing due to meta-packages not allowing to
> define real Depends. (Closes: #779644, #779647, #779648).
I had a quick look at this branch, and the approach look good, but the
check_desktop_task() function seem redundant and its use of debconf to
guess which tasks to look for is only safe to do during installation.
Afterwards, admins might have installed other desktop tasks. I suggest
to remove the code using it completely, as it is only misleading as it
currently stand.
The use of echo here is useless:
for i in $(echo $unwanted); do
Just write this instead:
for i in $unwanted; do
Btw, it seem strange to me that munin-node resolvconf, readahead-fedora,
lvm2 and popularity-contest is no longer wanted in jessie. How did you
create that list of packages to remove? If it is only for LTSP, perhaps
use a different variable name? Also, I suggest one package per line, to
make it easier to track changes in git.
--
Happy hacking
Petter Reinholdtsen
Reply to: