#1015203 di-netboot-assistant: purge fails with rmdir: failed to remove '/var/lib/tftpboot/d-i/n-a/stable'

Package:
di-netboot-assistant
Source:
di-netboot-assistant
Submitter:
Martin-Éric Racine
Date:
2026-01-10 11:40:18 UTC
Severity:
normal
Tags:
#1015203#5
Date:
2022-07-17 16:40:13 UTC
From:
To:
Trying to purge di-netboot-assistant fails with rmdir: failed to remove '/var/lib/tftpboot/d-i/n-a/stable'

- -- System Information:
Debian Release: 11.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500, 'stable-debug'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 5.10.0-16-amd64 (SMP w/4 CPU threads)
Locale: LANG=fi_FI.utf8, LC_CTYPE=fi_FI.utf8 (charmap=UTF-8), LANGUAGE=fi:en
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages di-netboot-assistant depends on:
ii  ca-certificates  20210119
ii  curl             7.74.0-1.3+deb11u1
ii  wget             1.21-1+deb11u1

Versions of packages di-netboot-assistant recommends:
ii  dnsmasq                2.85-1
pn  grub-efi-amd64-bin     <none>
pn  grub-efi-amd64-signed  <none>
pn  shim-signed            <none>

Versions of packages di-netboot-assistant suggests:
ii  dnsmasq            2.85-1
ii  syslinux           3:6.04~git20190206.bf6db5b4+dfsg1-3+b1
pn  vim-addon-manager  <none>
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEyJACx3qL7GpObXOQrh+Cd8S017YFAmLUO20ACgkQrh+Cd8S0
17Y4nQ//cvABRygDybpTVPM8HR1hllMfsVxr0GOOpATWi7tK+28/P+1beSRfzUXn
scu7t7dgs3pCR7tRQbTgGmskau1SmIIAwkuEoOw6KGQvKgN6O5lnCdG9LLYhtku6
WdcG2KqPSjgDprnhpnqSbzRlo6YcasVi98451yhHWezFqyMgOCESCuU8lqlSJBU6
EgDE0T8WEcBkpn+b7B5U+l+xHvYcMQMuvLvjlVxSoAeLnX/dxAaudPOexnlYn8Aa
Dxt5jV6/WmbMzg7K1yN+z48L+eIqgj1aM1jiFjJQmaqy50cT/rcY8ERzhAxmevmS
ixDmwMktLH9oldf2wHVJZ8AzkLO/miry+FgmePvhh8SwNiE50JfNlzDp40TguTUk
UphvEvSHP9NdSWb3ommvjm18JHzt2ePmr0YfQUFvt1LBqgsE0OlK9iPWJLRru+ho
06Ey/lnTP+12VwuUtaG/vKlvrSbcajIeSLReMszL1qSEhnXpgwbt37eXrkwQXfIs
jyYge322pPC9Pbb2Ckr3WUrYStoxfgaesK22xPxXWKE1DFZclgQKmKL+jpe2MEZh
tbZXGQEPDpBT5ArzYb+akhXXxA3Ys4jTC+QQHTV6uprAzo7TlqvkgB7176BpYQ8O
IIr4XzjOj2dsWn0JCFisfTR0dBEpNUsyRTotghmJA7AmgFzXotA=
=FOnY
-----END PGP SIGNATURE-----

#1015203#10
Date:
2022-07-21 18:02:19 UTC
From:
To:
Hi Martin-Éric,

thanks for your bug report.  I tried to reproduce your issue, but it
works fine in my test setup.  I installed di-netboot-assistant and
created '/var/lib/tftpboot/'. Then I ran:

 'di-netboot-assistant install stable'

and finally removed the package with:

  'apt purge di-netboot-assistant'.

No errors, an empty '/var/lib/tftpboot/d-i/' remains, all other stuff
(i.e. the n-a directory) is removed.

Can you test again and provide more details about your scenario?
Is there anything special in your setup?

Thanks,

  Andi

#1015203#17
Date:
2026-01-10 10:08:19 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.

#1015203#22
Date:
2026-01-10 10:08:19 UTC
From:
To:
Es gibt eine Familienspende in Höhe von 1.850.000,00 USD von Cheng Charlie
Saephan. Bitte antworten Sie für weitere Informationen. Denken Sie daran,
Ihrer Familie und den Bedürftigen in Ihrer Umgebung Gutes zu tun.

Dies ist bereits der zweite Versuch, Sie zu erreichen. Bitte antworten Sie
für weitere Details.