Hi Maximilian,
On 12.05.21 16:33, Adducchio Maximilian wrote:
> Hi,
>
> currently I am using swupdate version 2020.04 with a yocto linux
> (dunfell release).
>
> I ran into the following error when swupdate should install a compressed
> archive:
>
> [ERROR] : SWUPDATE failed [0] ERROR handlers/archive_handler.c : extract
> : 144 : archive_read_next_header(): Pathname can't be converted from
> UTF-8 to current locale. 1
>
This was once reported to the Mailing List, I have found the old thread:
https://groups.google.com/g/swupdate/c/zUOSqmkk7cA/m/bQpZbAHhCQAJ
it seems an issue inside libarchive, in the thread there are some hints
how to avoid it (setting LC_). CONFIG_LOCALE should do this, it is maybe
insufficient in your case.
But I have a dunfell project with pITX-imx8m, I have not seen this (I
have never seen this issue myself, I know just from ML).
> [ERROR] : SWUPDATE failed [0] ERROR handlers/archive_handler.c :
> install_archive_image : 337 : copyimage status code is -14
>
> I’ve also experimented with the CONFIG_LOCALE within the defconfig, but
> that did not help to solve the issue.
>
> Do you have any idea what the problem is?
It is related to Locale - as you are the one who can reproduce it, you
can maybe follow the thread and try setting locale before running
SWUpdate, and check if this helps.
Best regards,
Stefano Babic
>
> Best regards
>
> Maximilian Adducchio
>
>
> Mit freundlichen Grüßen
>
> i. A. Maximilian Adducchio
> Entwicklung / Development
>
>
> *Kontron Electronics GmbH **
> *Kantstraße 10
> D-72663 Großbettlingen
>
www.kontron-electronics.de <
www.kontron-electronics.de/>
> <mailto:
maximilian...@kontron.de>
> Geschäftsführer: Holger Wußmann, Jochen Gimple
> Sitz der Gesellschaft: Großbettlingen
> Amtsgericht Stuttgart HRB 723782
> Steuernummer 74051/19126
> USt.Id-Nr.: DE256296817
>
>
>
>
>
>
>
>
>
>
>
> --
> You received this message because you are subscribed to the Google
> Groups "swupdate" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
swupdate+u...@googlegroups.com
> <mailto:
swupdate+u...@googlegroups.com>.
> To view this discussion on the web visit
>
https://groups.google.com/d/msgid/swupdate/AM9PR10MB4545C5B889A832A40B07F5CAFF529%40AM9PR10MB4545.EURPRD10.PROD.OUTLOOK.COM
> <
https://groups.google.com/d/msgid/swupdate/AM9PR10MB4545C5B889A832A40B07F5CAFF529%40AM9PR10MB4545.EURPRD10.PROD.OUTLOOK.COM?utm_medium=email&utm_source=footer>.
--
=====================================================================
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone:
+49-8142-66989-53 Fax:
+49-8142-66989-80 Email:
sba...@denx.de
=====================================================================