[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: packaging post script glitch.
[Thread Prev] | [Thread Next]
- Subject: Re: packaging post script glitch.
- From: gbWilly <gbWilly@xxxxxxxxxxxxxx>
- Date: Sat, 13 Dec 2025 17:21:01 +0000
- To: Bruce Steers <bsteers4@xxxxxxxxx>
- Cc: Gambas Mailing List <user@xxxxxxxxxxxxxxxxxxxxxx>
On Friday, December 12th, 2025 at 15:21, Bruce Steers <bsteers4@xxxxxxxxx> wrote: > 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. Yeah, seems logical that a non gui system has no system menu. When you install gambas3 on a non gui system, you do realize you are installing a ton of gui enironment libraries. Why would you do that on a minimal non gui system, I don't get it. gambas3 installs the IDE and all needed to create applications, so all components. It is meant to be installed on a development system, being a gui system. > 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 If that prevents trouble, then it should be added. Thanks gbWilly [GambOS](https://gambos.gambas.one/) [Gambas3 for Debian/Ubuntu](https://gitlab.com/gbWilly/gambas3-debian-repository) [GambOS](https://gambos.gambas.one/) ...there is always a Catch if things go wrong! Sent with [Proton Mail](https://proton.me/mail/home) secure email.
| Re: packaging post script glitch. | Lee <t.lee.davidson@xxxxxxxxx> |
| packaging post script glitch. | Bruce Steers <bsteers4@xxxxxxxxx> |