Verification logs success noble.
csmith@midtown:~$ ./sru-2075337.sh 
+ cat
+ SET_LOCALE_YAML='#cloud-config
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
locale: fr_FR
'
+ export LANG=en_AU.ISO-8859-1
+ LANG=en_AU.ISO-8859-1
+ for RELEASE in noble
+ NAME=sru-2075337-noble
+ lxc launch ubuntu:noble sru-2075337-noble -c 
'cloud-init.user-data=#cloud-config
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
locale: fr_FR
'
Creating sru-2075337-noble
Starting sru-2075337-noble
+ sleep 10
+ lxc exec sru-2075337-noble -- dpkg-query -W python3-minimal
python3-minimal 3.12.3-0ubuntu1
+ echo 'Run: sudo apt install --reinstall cloud-init to validate failure'
Run: sudo apt install --reinstall cloud-init to validate failure
+ lxc console sru-2075337-noble
To detach from the console, press: <ctrl>+a q

sru-2075337-noble login: ubuntu
Password: 
Welcome to Ubuntu 24.04 LTS (GNU/Linux 6.5.0-44-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of jeu. 22 ao�t 2024 21:36:55 UTC

  System load:           2.21
  Usage of /:            53.9% of 839MB
  Memory usage:          0%
  Swap usage:            0%
  Temperature:           52.0 C
  Processes:             20
  Users logged in:       0
  IPv4 address for eth0: 10.125.221.103
  IPv6 address for eth0: fd42:e810:4b9b:718:216:3eff:fedf:1d30

Expanded Security Maintenance for Applications is not enabled.

0 updates can be applied immediately.

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@sru-2075337-noble:~$ sudo apt-get install --reinstall cloud-init 
Lecture des listes de paquets... Fait
Construction de l'arbre des d�pendances... Fait
Lecture des informations d'�tat... Fait        
0 mis � jour, 0 nouvellement install�s, 1 r�install�s, 0 � enlever et 0 non mis 
� jour.
Il est n�cessaire de prendre 598 ko dans les archives.
Apr�s cette op�ration, 0 o d'espace disque suppl�mentaires seront utilis�s.
R�ception de�:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 
cloud-init all 24.1.3-0ubuntu3.3 [598 kB]
598 ko r�ceptionn�s en 0s (1�398 ko/s)
Pr�configuration des paquets...
(Lecture de la base de donn�es... 34407 fichiers et r�pertoires d�j� install�s.)
Pr�paration du d�paquetage de .../cloud-init_24.1.3-0ubuntu3.3_all.deb ...
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 54, in from_package
    stdout = str(stdout, 'utf-8')
             ^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 2417: 
invalid continuation byte
dpkg: avertissement: le sous-processus ancien paquet cloud-init script 
pre-removal a renvoy� un �tat de sortie d'erreur 1
dpkg: tentative d'ex�cution du script du nouveau paquet � la place...
Traceback (most recent call last):
  File "/usr/bin/py3clean", line 210, in <module>
    main()
  File "/usr/bin/py3clean", line 196, in main
    pfiles = set(dpf.from_package(options.package))
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/share/python3/debpython/files.py", line 54, in from_package
    stdout = str(stdout, 'utf-8')
             ^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 2417: 
invalid continuation byte
dpkg: erreur de traitement de l'archive 
/var/cache/apt/archives/cloud-init_24.1.3-0ubuntu3.3_all.deb (--unpack)�:
 le sous-processus nouveau cloud-init paquet pre-removal script a renvoy� un 
�tat de sortie d'erreur 1
dmesg: read kernel buffer failed: Operation not permitted
Traceback (most recent call last):
  File "/usr/bin/py3compile", line 323, in <module>
    main()
  File "/usr/bin/py3compile", line 302, in main
    compile(files, versions,
  File "/usr/bin/py3compile", line 185, in compile
    for fn, versions_to_compile in filter_files(files, e_patterns, versions):
  File "/usr/bin/py3compile", line 128, in filter_files
    for fpath in files:
  File "/usr/share/python3/debpython/files.py", line 71, in filter_public
    for fn in files:
  File "/usr/share/python3/debpython/files.py", line 54, in from_package
    stdout = str(stdout, 'utf-8')
             ^^^^^^^^^^^^^^^^^^^^
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xe9 in position 2417: 
invalid continuation byte
dpkg: erreur lors du nettoyage:
 le sous-processus paquet cloud-init script post-installation install� a 
renvoy� un �tat de sortie d'erreur 1
Des erreurs ont �t� rencontr�es pendant l'ex�cution�:
 /var/cache/apt/archives/cloud-init_24.1.3-0ubuntu3.3_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ubuntu@sru-2075337-noble:~$ echo $?
100
ubuntu@sru-2075337-noble:~$ 
logout

Ubuntu 24.04 LTS sru-2075337-noble console

sru-2075337-noble login: 
+ lxc delete sru-2075337-noble --force
+ echo 'Validate success when using python3-minimal from -proposed'
Validate success when using python3-minimal from -proposed
+ lxc launch ubuntu:noble sru-2075337-noble -c 
'cloud-init.user-data=#cloud-config
password: passw0rd
chpasswd: { expire: False }
ssh_pwauth: True
locale: fr_FR
'
Creating sru-2075337-noble
Starting sru-2075337-noble
+ lxc file push setup_proposed.sh sru-2075337-noble/
+ lxc exec sru-2075337-noble -- bash /setup_proposed.sh                         
                     
+ lxc exec sru-2075337-noble -- apt-get install python3-minimal -y -t 
noble-proposed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  libpython3-stdlib python3
Suggested packages:
  python3-doc python3-tk python3-venv
The following packages will be upgraded:
  libpython3-stdlib python3 python3-minimal
3 upgraded, 0 newly installed, 0 to remove and 105 not upgraded.
Need to get 60.4 kB of archives.
After this operation, 1024 B disk space will be freed.
Get:1 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 
python3-minimal amd64 3.12.3-0ubuntu2 [27.4 kB]
Get:2 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 python3 amd64 
3.12.3-0ubuntu2 [23.0 kB]
Get:3 http://archive.ubuntu.com/ubuntu noble-proposed/main amd64 
libpython3-stdlib amd64 3.12.3-0ubuntu2 [10.0 kB]
Fetched 60.4 kB in 1s (66.7 kB/s)           
(Reading database ... 34407 files and directories currently installed.)
Preparing to unpack .../python3-minimal_3.12.3-0ubuntu2_amd64.deb ...
Unpacking python3-minimal (3.12.3-0ubuntu2) over (3.12.3-0ubuntu1) ...
Setting up python3-minimal (3.12.3-0ubuntu2) ...
(Reading database ... 34407 files and directories currently installed.)
Preparing to unpack .../python3_3.12.3-0ubuntu2_amd64.deb ...
running python pre-rtupdate hooks for python3.12...
Unpacking python3 (3.12.3-0ubuntu2) over (3.12.3-0ubuntu1) ...
Preparing to unpack .../libpython3-stdlib_3.12.3-0ubuntu2_amd64.deb ...
Unpacking libpython3-stdlib:amd64 (3.12.3-0ubuntu2) over (3.12.3-0ubuntu1) ...
Setting up libpython3-stdlib:amd64 (3.12.3-0ubuntu2) ...
Setting up python3 (3.12.3-0ubuntu2) ...
running python rtupdate hooks for python3.12...
running python post-rtupdate hooks for python3.12...
Processing triggers for man-db (2.12.0-4build2) ...
Scanning processes...                                                           
                                                                                
                       

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
+ lxc exec sru-2075337-noble -- dpkg-query -W python3-minimal
python3-minimal 3.12.3-0ubuntu2
+ lxc console sru-2075337-noble
To detach from the console, press: <ctrl>+a q

sru-2075337-noble login: ubuntu
Password: 
Welcome to Ubuntu 24.04 LTS (GNU/Linux 6.5.0-44-generic x86_64)

 * Documentation:  https://help.ubuntu.com
 * Management:     https://landscape.canonical.com
 * Support:        https://ubuntu.com/pro

 System information as of jeu. 22 ao�t 2024 21:37:34 UTC

  System load:           2.87
  Usage of /:            67.8% of 829MB
  Memory usage:          0%
  Swap usage:            0%
  Temperature:           57.0 C
  Processes:             21
  Users logged in:       0
  IPv4 address for eth0: 10.125.221.18
  IPv6 address for eth0: fd42:e810:4b9b:718:216:3eff:fe66:1668

Expanded Security Maintenance for Applications is not enabled.

4 updates can be applied immediately.
3 of these updates are standard security updates.
To see these additional updates run: apt list --upgradable

Enable ESM Apps to receive additional future security updates.
See https://ubuntu.com/esm or run: sudo pro status


The programs included with the Ubuntu system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Ubuntu comes with ABSOLUTELY NO WARRANTY, to the extent permitted by
applicable law.

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

ubuntu@sru-2075337-noble:~$ sudo apt-get install --reinstall cloud-init
Lecture des listes de paquets... Fait
Construction de l'arbre des d�pendances... Fait
Lecture des informations d'�tat... Fait        
0 mis � jour, 0 nouvellement install�s, 1 r�install�s, 0 � enlever et 61 non 
mis � jour.
Il est n�cessaire de prendre 598 ko dans les archives.
Apr�s cette op�ration, 0 o d'espace disque suppl�mentaires seront utilis�s.
R�ception de�:1 http://archive.ubuntu.com/ubuntu noble-updates/main amd64 
cloud-init all 24.1.3-0ubuntu3.3 [598 kB]
598 ko r�ceptionn�s en 1s (520 ko/s)
Pr�configuration des paquets...
(Lecture de la base de donn�es... 34407 fichiers et r�pertoires d�j� install�s.)
Pr�paration du d�paquetage de .../cloud-init_24.1.3-0ubuntu3.3_all.deb ...
D�paquetage de cloud-init (24.1.3-0ubuntu3.3) sur (24.1.3-0ubuntu3.3) ...
echParam�trage de cloud-init (24.1.3-0ubuntu3.3) ...
o $Traitement des actions diff�r�es (��triggers��) pour man-db 
(2.12.0-4build2)�...
?Traitement des actions diff�r�es (��triggers��) pour rsyslog 
(8.2312.0-3ubuntu9)�...
Scanning processes...                                                           

No services need to be restarted.

No containers need to be restarted.

No user sessions are running outdated binaries.

No VM guests are running outdated hypervisor (qemu) binaries on this host.
ubuntu@sru-2075337-noble:~$ echo $?
0
ubuntu@sru-2075337-noble:~$ 
logout

Ubuntu 24.04 LTS sru-2075337-noble console

sru-2075337-noble login:


** Tags removed: verification-needed-noble
** Tags added: verification-done-noble

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2075337

Title:
  [SRU] py3clean fails when using alternate character set

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2075337/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to