cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
MetaRen
Newbie
Newbie
223 Views
Registered: ‎07-26-2021

The postinstall intercept hook 'update_desktop_database' failed

Jump to solution

Hello all, first of all, apologies if this is the incorrect forum. I'm trying to build a Petalinux project, however the build process fails with the following error

petalinux-image-minimal-1.0-r0 do_rootfs: The postinstall intercept hook 'update_desktop_database' failed

The log.do_rootfs gives this 

update_desktop_database: line 7: update-desktop-database: command not found

However, the command does exist in /usr/bin and I do have desktop-file-utils installed.

I created the project in Vivado 2021.1 and am using Petalinux 2021.1 in Ubuntu 18.04.5 LTS.

Thanks in advance

 

0 Kudos
1 Solution

Accepted Solutions
rambati
Xilinx Employee
Xilinx Employee
144 Views
Registered: ‎06-10-2021

Hi @MetaRen 

Please do not install petalinux in root user , You should install petalinux as non-root user

please go through this forum thread https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2018-3-SetScene-tasks-all-failing-build-takes-long/m-p/939509

 

Thanks and Regards

Raviteja

------------------------------------------------------------------------------

Don't forget to Reply, Give Kudos and Accept as Solution

------------------------------------------------------------------------------

View solution in original post

0 Kudos
1 Reply
rambati
Xilinx Employee
Xilinx Employee
145 Views
Registered: ‎06-10-2021

Hi @MetaRen 

Please do not install petalinux in root user , You should install petalinux as non-root user

please go through this forum thread https://forums.xilinx.com/t5/Embedded-Linux/Petalinux-2018-3-SetScene-tasks-all-failing-build-takes-long/m-p/939509

 

Thanks and Regards

Raviteja

------------------------------------------------------------------------------

Don't forget to Reply, Give Kudos and Accept as Solution

------------------------------------------------------------------------------

View solution in original post

0 Kudos