[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

packaging post script glitch.


seems i have found a glitch in the debian/ubuntu post script willy.

i got errors when installing on a docker that has a minimal system, no user
(only root) and no gui environment...

Installing from OBS stable repo (noble) running 'apt install gambas3'
it seemed to install okay but gave this error at the end...

Setting up gambas3 (3.21.1+20251120+1-1) ...
xdg-desktop-menu: No writable system menu directory found.
dpkg: error processing package gambas3 (--configure):
 installed gambas3 package post-installation script subprocess returned
error exit status 3
Errors were encountered while processing:
 gambas3
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then apt seemed broken as it kept giving me the error if installing
anything else.

I had a look online and it's apparently a bug in xdg.
it is fixed by first creating the dir it is looking for @
/usr/share/desktop-directories

maybe add this line...
[ -e /usr/share/desktop-directories ] ||  mkdir
/usr/share/desktop-directories

Respects
BruceS

Follow-Ups:
Re: packaging post script glitch.gbWilly <gbWilly@xxxxxxxxxxxxxx>