Closed seriyps closed 3 months ago
Can confirm, I also have this issue on Ubuntu 23.10
Can confirm that removing gconf2, gconf-service,
from the control file solves the issue.
I wanted to include the amended .deb file, but that is not allowed (probably for the best). So I'll give the recipe instead.
I ran the following to produce an installable .deb file:
mkdir expresslrs
cd expresslrs
wget https://github.com/ExpressLRS/ExpressLRS-Configurator/releases/download/v1.6.1/expresslrs-configurator_1.6.1_amd64.deb
dpkg-deb -x expresslrs-configurator_1.6.1_amd64.deb tmp
dpkg-deb --control expresslrs-configurator_1.6.1_amd64.deb
mv DEBIAN tmp/
gedit tmp/DEBIAN/control
Remove gconf and gconf-service, save the file and close
sudo apt-get install -f ./expresslrs-configurator_1.6.1_amd64_hotfix.deb
Without the -f (--fix-missing) it complained on my system that python3-distutils was not installed.
Yeah, I can confirm this issue on Ubuntu 23.10 as well
I found a similar ticket in another Electron-based app and there they just removed the gconf2
dependency
https://github.com/Eugeny/tabby/pull/9512 referring to this change in Electron: https://github.com/electron/electron/pull/19498
I believe same can be done here as well.
Same on the latest Ubuntu 24.04 LTS Noble Numbat. Problem seem to be even worse than in 23.10 because suggested workarounds does't work (before that I installed gconf2, python3-distutils from older Ubuntu 23.04 Lunar Lobster). I can't install python3-distutils
because 24.04 have python 3.12 which conflicts with older version:
apt install python3-distutils
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
python3 : Conflicts: python3-distutils but 3.11.2-2 is to be installed
python3-distutils : Depends: python3:any (< 3.12)
Depends: python3-lib2to3 (= 3.11.2-2) but 3.12.3-0ubuntu1 is to be installed
python3-zipp : Depends: python3-more-itertools but it is not going to be installed
shim-signed : Depends: grub-efi-amd64-signed (>= 1.191~) but it is not going to be installed or
grub-efi-arm64-signed (>= 1.191~) but it is not installable or
base-files (< 12.3) but 13ubuntu10 is to be installed
Depends: grub-efi-amd64-signed (>= 1.187.2~) but it is not going to be installed or
grub-efi-arm64-signed (>= 1.187.2~) but it is not installable
Depends: grub2-common (>= 2.04-1ubuntu24) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
Downloading the newest release and running the .deb file gave the same error. There is no install candidate for gconf or gconf-service in Ubuntu 23.10
Downloading the newest release and running the .deb file gave the same error. There is no install candidate for gconf or gconf-service in Ubuntu 23.10
Please use latest nightly.
Expected Behavior
When installing the app via .deb package, installation should be successful
Current Behavior
While the app installs, it reports error and APT state becomes inconsistent:
Steps to Reproduce
dpkg -i ~/Downloads/expresslrs-configurator_1.6.1_amd64.deb
Possible Solution (Not obligatory)
I believe it should be safe to just remove this line:
https://github.com/ExpressLRS/ExpressLRS-Configurator/blob/1531cd6cd0d467dc54263997875814bdeba7cf1f/package.json#L134
Because the app still launches after the installation error. The roblem is that it leaves API in inconsistent state and makes software updates impossible unless I remove elrs-configurator.
Context
not relevant
Your Environment