#975233 tasksel --new-install fails

Package:
tasksel
Source:
tasksel
Submitter:
Markus Steinko
Date:
2022-07-17 13:51:05 UTC
Severity:
normal
Tags:
#975233#5
Date:
2020-10-12 08:45:10 UTC
From:
To:
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 ***

#975233#10
Date:
2020-10-12 17:19:20 UTC
From:
To:
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

#975233#19
Date:
2020-10-13 07:18:29 UTC
From:
To:
Hi,

Sven Joachim <svenjoac@gmx.de> wrote:

tasksel builds fine with Sven's "tempfile -> mktemp" patch applied, so any
objections against this?

Holger

#975233#24
Date:
2020-10-15 04:43:05 UTC
From:
To:
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,

#975233#29
Date:
2020-11-05 19:14:56 UTC
From:
To:
Hi,

Holger Wansing <hwansing@mailbox.org> wrote:

Just pushed.

Holger

#975233#34
Date:
2020-11-17 22:00:18 UTC
From:
To:
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

#975233#41
Date:
2020-11-17 22:07:24 UTC
From:
To:
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

#975233#46
Date:
2020-11-19 09:21:29 UTC
From:
To:
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
#975233#51
Date:
2020-11-19 10:51:53 UTC
From:
To:
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

#975233#62
Date:
2020-12-07 20:54:12 UTC
From:
To:
[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

#975233#71
Date:
2022-07-17 13:49:56 UTC
From:
To:
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.