Bullseye fresh install on Pi Zero Topic is solved

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
DietCH
Posts: 25
Joined: Tue May 12, 2020 10:15 am

Bullseye fresh install on Pi Zero

Post by DietCH »

I wish to move my Dietpi to Bullseye and flashed a fresh image (currently 7.4.2). I have a USB network dongle to connect to the network and don't use WiFi. I wonder if this is a problem?

Anyway, after SSH'ing into the Pi Zero, I attempt to set it up for the first time and I get a ton of errors. Does anyone know what is going on?

Here are the errors I got:

Code: Select all

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for available DietPi update

[ INFO ] DietPi-Update | Getting latest version from: https://raw.githubusercontent.com/MichaIng/DietPi/master/.update/version
[  OK  ] DietPi-Update | Got valid latest version: 7.5.2
[  OK  ] DietPi-Update | Update available:
[ INFO ] DietPi-Update | Current version : v7.4.2
[ INFO ] DietPi-Update | Latest version  : v7.5.2

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Checking for update pre-requirements

[  OK  ] DietPi-Update | DietPi-Userdata validation: /mnt/dietpi_userdata
[  OK  ] DietPi-Update | Free space check: path=/ | available=11535 MiB | required=100 MiB
[ SUB1 ] DietPi-Services > stop 
[ INFO ] DietPi-Services | skip : cron (due to mask)

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Applying pre-patches

[  OK  ] DietPi-Update | Downloading pre-patches
[  OK  ] DietPi-Update | Applying execute permission
./pre-patches: line 93: /usr/bin/getent: cannot execute binary file: Exec format error
[  OK  ] DietPi-Update | Successfully applied pre-patches

 DietPi-Update
─────────────────────────────────────────────────────
 Phase: Upgrading APT packages

[ INFO ] DietPi-Update | APT update, please wait...
Hit:1 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
Hit:2 https://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists...
[  OK  ] DietPi-Update | APT update
[ INFO ] DietPi-Update | APT upgrade, please wait...
/usr/bin/perl: error while loading shared libraries: ?zĤ1!#( J}j?/~??Ӯ>???/4
                                                                            ?`?̡:?E????~?F??a?ZB?a?L?&?T?l?VHFZ????R]?\>?fP??߉T፪?T???۸cO0?4??f?Λ?$<?#?q??[?y?#.D?X?w??}?n???&?w?M?r??????	???
?b}??k?f(W?f(??ݢ?!^N??'q=.5?[???V -??                                                                                                                                                              ~e??x?`?6???uq{
                                     ?
???/?(1?}?U1??A^5?p???U???w??q?1??#?|??G*>Ԇ?ʬ????-;4?֢?؜?????/<?/??,}??T??2: cannot open shared object file: No such file or directory
Setting up locales (2.31-13+rpi1) ...
/usr/bin/perl: error while loading shared libraries: ?zĤ1!#( J}j?/~??Ӯ>???/4
                                                                            ?`?̡:?E????~?F??a?ZB?a?L?&?T?l?VHFZ????R]?\>?fP??߉T፪?T???۸cO0?4??f?Λ?$<?#?q??[?y?#.D?X?w??}?n???&?w?M?r??????	???
?b}??k?f(W?f(??ݢ?!^N??'q=.5?[???V -??                                                                                                                                                              ~e??x?`?6???uq{
                                     ?
???/?(1?}?U1??A^5?p???U???w??q?1??#?|??G*>Ԇ?ʬ????-;4?֢?؜?????/<?/??,}??T??2: cannot open shared object file: No such file or directory
dpkg: error processing package locales (--configure):
 installed locales package post-installation script subprocess returned error exit status 127
Setting up udev (247.3-6+rpi1) ...
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:28: Property or empty line expected, got "??= c????SҴ$?"O?J*,4!msz?I?/?UgFKW????[%]?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:116: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:139: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:436: Key-value pair expected but got " 5?&?2l????0?????t?9y^GЦ?^?05?????iIօ??O;?%|?`ꆊD?mC?Gm?O??'0??4I???X?؍?X??|?<???N??)??&??fBˏ[??;??ewRS?8?F????w??!$??%(?%٥", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:437: Property or empty line expected, got "?????w??z?i???.??u~
                                                                                                            >a", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:584: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:760: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:762: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:957: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:977: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1216: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1239: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1252: Key-value pair expected but got " ???a?H?GN??
                                                                                                 '?^n&?嘪???i?k?ބ??Z%??b?}??s|?F??)???", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1253: Property or empty line expected, got "???M'Ifk??׉?J??Ƞ???Q??s]?:???????-Y?ęJu??IF????~H쏶??]C?1??&????,p???]?]+???>?&]??L??:_\nnn%-???+"'7????w??|3?/՟1c", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1256: Key-value pair expected but got " (?7?@Vl&??@
                                                                                                 ?"?`)şg??k۾1?} ?????A?7L{??", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1257: Property or empty line expected, got "M??_?G?A??T;9F?)?r͒???h?y??L??tJ???p=????r?=Zo?$?R?2Q?d(??Y?$󂷧???qp?Ԡ5?6?%
                                                                                                                                                                   ??g?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1259: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1362: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1452: Key-value pair expected but got " V????n?Ym?????", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1453: Property or empty line expected, got "?Z?R?
                                                                                               ?ڋ.?]ﺍ!͋ ?e?0??/6??G?Y??", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1574: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1720: Key-value pair expected but got " +.??z??", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1721: Property or empty line expected, got "????z??", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1789: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1828: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1840: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1859: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1951: Key-value pair expected but got " '$c?{D?{??94???n?C+F?k>???Ns?,??!?,?G?Ap???:o???D?1??z;?{V?Ť???_޶???3?߬?~????6?֚?X??f??
                                                                                                                                                                           ?8;: ?a???&????Ё?@???", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1952: Property or empty line expected, got "1/ъ͓9??i???)F???h???f?M??in? ? ?JC?h?I????? ?H?U?-??$?Rᡆ7?฽-͠??nya??y??&?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1960: Key-value pair expected but got " ?s??R$k?-6?7??;", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:1961: Property or empty line expected, got "++??t?Y???Y?,?T?9c&??|??=?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2006: Key-value pair expected but got "  5?W", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2007: Property or empty line expected, got "?M?C??}J?_Fh??9A|?L??=??????	??]1}}?̕ƞC?T0??"?9Ɨ??0?ؙP??y??
                                                                                                                                                    D3??	?Ǫ??4??.7??hZ?L??6O=?[&??j?b????re/M?'?}nt??\?	xB??_~??{(???t?
                                                                                                                                                                                                                               黊Xir?
                                                                                                                                                                                                                                     ޜ?q?u??Q?R1????4$?m???^?'1??????Jl?_H????(?f???$Ëَ~G??4?M?|&?K680????T?q?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2047: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2243: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2329: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2523: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2599: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2607: Key-value pair expected but got " `??!%-<???8?", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2608: Property or empty line expected, got "??????e??JYȫ???cመj??W?R?P]??xj??鸨?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2648: Key-value pair expected but got " ??}L?;>?ж???%?
                                                                                                    *?C\ke???*?'a`e:8Ő?9?j?ɒ??v??????g:c?v_?E9}s???M3*?kvf???%w_???W?", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2649: Property or empty line expected, got "???(B?ã(???", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2883: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:2937: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3031: Key-value pair expected but got " ??X4???", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3032: Property or empty line expected, got "?5?4?>X]=?'?)Z?sѮu{<5?bJ?
                                                                                                                   ?)", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3037: Key-value pair expected but got " ?%?K?z/???W????`?g?
                                                                                                         ?p{,?
                                                                                                              d 9§??y?,?}2?7/?(5M£???R??1?è??g", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3038: Property or empty line expected, got "????zd6?????bv`U5Z?B??h?h??/Jؚh'???C?y?C??g?O>?<?if4o?E???̏??[?oC??9?N?Q?}W?m?͚??9?j"[?O?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3142: Key-value pair expected but got " ??ɀק^$7VDžU?g", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3143: Property or empty line expected, got "?)H????ϵ?????~?2Up!5?U鑒u?:VYp?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3238: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3294: Key-value pair expected but got " ?sQ?<?%", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3295: Property or empty line expected, got "???aj?=?B?Oh`?
                                                                                                        ???+?-?E,
                                                                                                                 M????{'L?ĻS;", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3383: Property or empty line expected, got "u?@?*G^?	!l9?D?Q>?G/"????v?K\?ҙ]?X??	??cE:?ؐ
                                                                                                                                              G
                                                                                                                                               ??s?׆2??v??i???@_???_-3xE?D??2
                                                                                                                                                                             6K??l???j?YD???d
                                                                                                                                                                                             ???l", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3455: Key-value pair expected but got " 
                                                                                      ?0h HK???m????"?
                                                                                                      ٕvW????Ʃr??o?->?y*??NT?H??????A??m$:????????", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3456: Property or empty line expected, got "?*?PK??e?\?a	R;??K??+ʛ2?R?k4fE[??,?߆r'???.?֕?Dΐ6N?l?y?<r??'G?+???K-?UnYi???6:???n*l??P?{Q?a_?--Vy??t?eNHw"?k?(???2O?nƸ????mȋ??axmiɪe??>?&6D?ۇ??6|_????,0,????", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3499: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3546: Key-value pair expected but got " ?iH?C?v?V?????.^?P??'???Ŏi???
                                                                                                                   ?0.??`??\_ԝ-??U?@|????J???&?J??<`Y5W?,Bz?T<A?{g?1c^g?v\?O11q'-??
                                                                                                                                                                                   ^p", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3547: Property or empty line expected, got "{??uI?}?B?Lz", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:3822: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4029: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4053: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4143: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4255: Property or empty line expected, got "i죛T1MM?ޠ?C?-?r?N(??r??M?>??KX?BO?˭???ZI,?V???~??a???^?3?Ǘ???A?
                                                                                                                                                         v??)G??s??L?ʮ?? mOO??\k??רu??W?????/r?8?????L???Bd?n
                                                                                                                                                                                                              ?E fc*	n??4???c]?܆?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4331: Key-value pair expected but got " i???l?FS???O?NN?j", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4332: Property or empty line expected, got "??R?;-?qx??P??Eq??0T?XP??os?PO?km2??
                                                                                                                              OCpl`mu?+H$Q??????'??ZYq?R?om????vC??2|C?d???'j?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4337: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4371: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4483: Property or empty line expected, got "dkBj?l?sŢYf???xq??T", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4873: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4878: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4882: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4884: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:4888: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:12990: Key-value pair expected but got " ?????V?~U2?\???????f?", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:12991: Property or empty line expected, got "?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13183: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13190: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13320: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13369: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13484: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13570: Key-value pair expected but got " ?", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13571: Property or empty line expected, got "??? U잼?x??j?k?<E_8o??", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13642: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13821: Property expected, ignoring record with no properties.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13840: Key-value pair expected but got " %?\?????:?S", ignoring.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13841: Property or empty line expected, got "'?????Q	?X?z.??~????ԑt?%?s??&G`A?/?M?'?X?3-?bD???R?3?M????xh????ȍ??f?b8?V?????}"?X0PǹJ=?ש?o?(?V7???`?*𣮉N?K?:?", ignoring record.
/usr/lib/udev/hwdb.d/20-usb-vendor-model.hwdb:13868: Property expected, ignoring record with no properties.
/usr/bin/perl: error while loading shared libraries: ?zĤ1!#( J}j?/~??Ӯ>???/4
                                                                            ?`?̡:?E????~?F??a?ZB?a?L?&?T?l?VHFZ????R]?\>?fP??߉T፪?T???۸cO0?4??f?Λ?$<?#?q??[?y?#.D?X?w??}?n???&?w?M?r??????	???
?b}??k?f(W?f(??ݢ?!^N??'q=.5?[???V -??                                                                                                                                                              ~e??x?`?6???uq{
                                     ?
???/?(1?}?U1??A^5?p???U???w??q?1??#?|??G*>Ԇ?ʬ????-;4?֢?؜?????/<?/??,}??T??2: cannot open shared object file: No such file or directory
dpkg: error processing package udev (--configure):
 installed udev package post-installation script subprocess returned error exit status 127
Errors were encountered while processing:
 locales
 udev
E: Sub-process /usr/bin/dpkg returned an error code (1)
[FAILED] DietPi-Update | APT upgrade
 - Command: apt-get -qq upgrade
DietCH
Posts: 25
Joined: Tue May 12, 2020 10:15 am

Re: Bullseye fresh install on Pi Zero

Post by DietCH »

Seems to be actually related to Perl. When I just type perl, here's what I get:

Code: Select all

perl: error while loading shared libraries: ?zĤ1!#( J}j?/~??Ӯ>???/4
                                                                   ?`?̡:?E????~?F??a?ZB?a?L?&?T?l?VHFZ????R]?\>?fP??߉T፪?T???۸cO0?4??f?Λ?$<?#?q??[?y?#.D?X?w??}?n???&?w?M?r??????	???
?b}??k?f(W?f(??ݢ?!^N??'q=.5?[???V -??                                                                                                                                              ~e??x?`?6???uq{
                                     ?
???/?(1?}?U1??A^5?p???U???w??q?1??#?|??G*>Ԇ?ʬ????-;4?֢?؜?????/<?/??,}??T??2: cannot open shared object file: No such file or directory
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Bullseye fresh install on Pi Zero

Post by Joulinar »

Hi,

What image you download exactly?

For me this looks like corrupted installation.
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
DietCH
Posts: 25
Joined: Tue May 12, 2020 10:15 am

Re: Bullseye fresh install on Pi Zero

Post by DietCH »

I downloaded this one:
https://dietpi.com/downloads/images/Die ... ullseye.7z
and verified MD5 sum was identical.

I will try to flash the microSD card again and start over.
DietCH
Posts: 25
Joined: Tue May 12, 2020 10:15 am

Re: Bullseye fresh install on Pi Zero

Post by DietCH »

Thanks Joulinar that was exactly the problem! I re-flashed and it worked the 2nd time :)
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Bullseye fresh install on Pi Zero

Post by Joulinar »

ok perfect. Yes sometimes this could happen :)
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
Post Reply