Your message dated Mon, 10 Mar 2025 12:52:19 +0100
with message-id 
<cadstwj+x9bdz3qyc8uyzsqtsqvx5-hp7ztt777+mwvbat4w...@mail.gmail.com>
and subject line re: Errors when dealing with several files in the prerm scripts
has caused the Debian Bug report #1007834,
regarding Errors when dealing with several files in the prerm scripts
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1007834: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1007834
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: python3-lib2to3
Version: 3.9.2-1


Hi there!

prerm script doesn't deal correctly with compile and deletion procedure
when there are too many files listed.


The following error appears when python3-lib2to3 has too many files in
the prerm pycache file deletion procedure ('rm -f $files;').


```
(Reading database ... 65891 files and directories currently installed.)
Removing python3-lib2to3 ...
dpkg: error processing package python3-lib2to3 (--remove):
 subprocess installed post-installation script returned error exit
status 139
Errors were encountered while processing:
 python3-lib2to3
```

The environment is shown below:


$ lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye



$ dpkg -l python3-lib2to3
Desired=Unknown/Install/Remove/Purge/Hold
> Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-
aWait/Trig-pend
> / Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
> > / Nome Versão Arquitectura Descrição
+++-===============-============-============-
=========================================================
rF python3-lib2to3 3.9.2-1 all Interactive high-level object-oriented
language (lib2to3)


Debugging the procedure the following error was output by rm (with 4673
bytes long input list):


```
Segmentation fault
```

Thus, similarly to [1], I propose the patch (vide [2]) in enumeration
and xargs execution at prerm procedure.


[1] https://wiki.debian.org/CommonErrorMessages/ArgumentListTooLong
[2]
https://salsa.debian.org/cpython-team/python3-stdlib/-/merge_requests/1

--
Best Regards,

Ibirisol Fontes Ferreira
PoP-BA/RNP :: http://www.pop-ba.rnp.br

Attachment: signature.asc
Description: This is a digitally signed message part


--- End Message ---
--- Begin Message ---
2to3 has been removed from Debian

your problem looked more like a hardware problem
or filesystem corruption.

Greetings

--- End Message ---

Reply via email to