Dear Maintainer, *** Reporter, please consider answering these questions, where appropriate *** * What led up to the situation? Using tasksel to install some task, or with the --new-install option ends successfully, but with a warning: WARNING: tempfile is deprecated; consider using mktemp instead. * What exactly did you do (or not do) that was effective (or ineffective)? Just read through the postinst script to see how paths get handled. * What was the outcome of this action? I could not find what I was looking for, as tasksel maybe depends on another package which is responsible for the warning. * What outcome did you expect instead? *** End of the template - remove these template lines ***
Am 12.10.2020 um 10:45 schrieb Markus Steinko:
The warning comes from tempfile itself, added in debianutils 4.10. The
obvious, but untested attached patch fixes that, although it might be
better to use File::Temp instead (in perl-base since version 5.20.1-3).
Cheers,
Sven
Hi, Sven Joachim <svenjoac@gmx.de> wrote: tasksel builds fine with Sven's "tempfile -> mktemp" patch applied, so any objections against this? Holger
When rechecking for the warning I figured out that `tasksel --new-install` also gives an error. I'm not sure if this is because of already having all needed and available packages that option offers installed, or if it maybe is another bug. sudo tasksel --new-install Invalid entry length (16). Fixed up to 11. Invalid entry length (16). Fixed up to 11. Invalid entry length (16). Fixed up to 11. WARNING: tempfile is deprecated; consider using mktemp instead. tasksel: Aptitude fehlgeschlagen (100) Regards,
Hi, Holger Wansing <hwansing@mailbox.org> wrote: Just pushed. Holger
Hi Sven, Could you confirm that the version Holdger uploaded fixes the issue? If it doesn't, please remove the “fixed in v3.60” tag I just added. Best, nicoo
Sure it does. :-)
On the contrary, I am closing the bug hereby, no idea why Holger did not
do so with the upload.
Cheers,
Sven
Hi, "Debian Bug Tracking System" <owner@bugs.debian.org> wrote: Because there is - strictly spoken - one aspect of the bug, which is not yet fixed. That is:---snip------- Date: Thu, 15 Oct 2020 06:43:05 +0200 From: Markus Steinko <steinko@gmail.com> To: 972076@bugs.debian.org Subject: Bug#972076: tasksel --new-install When rechecking for the warning I figured out that `tasksel --new-install` also gives an error. I'm not sure if this is because of already having all needed and available packages that option offers installed, or if it maybe is another bug. sudo tasksel --new-install Invalid entry length (16). Fixed up to 11. Invalid entry length (16). Fixed up to 11. Invalid entry length (16). Fixed up to 11. WARNING: tempfile is deprecated; consider using mktemp instead. tasksel: Aptitude fehlgeschlagen (100)---snap------- You can - of course - say, that is another issue, and thus #972076 can be closed, but then the other issue should get a separate bugreport. Holger
Hi, Oh, apologies for missing that part. Sounds like another bug, but I'll try to reproduce with the new tasksel. Agreed, cloning this report as I do not see a separate one in the BTS yet. Best, nicoo
[Re-sending this to the correct bug now] nicoo <nicoo@debian.org> wrote: So reopening. Additionally, I tested with tasksel 3.61 from testing, if this bug is still reproducible, and found that it is not! Everything worked fine there: I called "tasksel --new-install", got the selection menu, chose to additionally install ssh-server, and that worked fine. So updating the list of not-affected versions. Let's see what happens with future versions ... (FTR: since the point of this bugreport may be overseen in the bug log: please find the description of the problem in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=975233#24 ) Holger
Hi, Holger Wansing <hwansing@mailbox.org> wrote (Sun, 6 Dec 2020 15:29:05 +0100): this issue is still unreproducible, so let's close this bug.