robrix icon indicating copy to clipboard operation
robrix copied to clipboard

Broken download binaries

Open scoopex opened this issue 10 months ago • 5 comments

When downloading the lates alpha i get a version which has dependencies which contain dependencies which not seem to be correct. The dependency to libflac8 cannot be fulfilled and the dependency to "libgcc-s1-arm64-cross" seems to be weird.

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 24.10
Release:        24.10
Codename:       oracular
# wget https://github.com/project-robius/robrix/releases/download/v0.0.1-pre-alpha-2/robrix-pre-alpha-2-linux-amd64.deb
# apt-get install ./robrix-pre-alpha-2-linux-amd64.deb
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'robrix' instead of './robrix-pre-alpha-2-linux-amd64.deb'
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:
 robrix : Depends: libflac8 but it is not installable
E: Unable to correct problems, you have held broken packages.

# dpkg -i robrix-pre-alpha-2-linux-amd64.deb
Selecting previously unselected package robrix.
(Reading database ... 586263 files and directories currently installed.)
Preparing to unpack robrix-pre-alpha-2-linux-amd64.deb ...
Unpacking robrix (0.0.1-pre-alpha-2) ...
dpkg: dependency problems prevent configuration of robrix:
 robrix depends on libc6-arm64-cross; however:
  Package libc6-arm64-cross is not installed.
 robrix depends on libc6-i386; however:
  Package libc6-i386 is not installed.
 robrix depends on libc6-x32; however:
  Package libc6-x32 is not installed.
 robrix depends on libflac8; however:
  Package libflac8 is not installed.
 robrix depends on libgcc-s1-arm64-cross; however:
  Package libgcc-s1-arm64-cross is not installed.

dpkg: error processing package robrix (--install):
 dependency problems - leaving unconfigured
Processing triggers for gnome-menus (3.36.0-1.1ubuntu3) ...
Processing triggers for desktop-file-utils (0.27-2build1) ...
Processing triggers for hicolor-icon-theme (0.18-1) ...
Errors were encountered while processing:
 robrix

scoopex avatar Feb 03 '25 08:02 scoopex

Ah, thanks for the report! It's probably caused by us not yet building a release for each specific Ubuntu version, so some deps have been upgraded/deprecated and probably don't exist any more on 24.10.

When I get back home I'll do a fresh install of Ubuntu 24.10 to see if I can repro this and then build a proper release.

kevinaboos avatar Feb 03 '25 08:02 kevinaboos

I would like to do this! I have done the package for debian 12, will check it on ubuntu 24

acyanbird avatar Feb 27 '25 06:02 acyanbird

Icon cannot be found when producing deb package. I write .desktop file icon field into absolute path because it can't find icon in the default position. It won't affect other platforms and since the icon already can't be loaded... It could be changed in the future if the resolution of icon is changed.

acyanbird avatar Feb 28 '25 06:02 acyanbird

https://github.com/acyanbird/robrix_deb/blob/main/robrix_0.0.1-pre-alpha-2_amd64.deb This one could be worked. I think there is a problem in packaging tool, this libflac8 dependency not appearing in my distro(debian 12) but it includes another unrelated program. So might be the problem with searching the dependency.

acyanbird avatar Feb 28 '25 09:02 acyanbird

And the icon might not working again, in this case I recommend using alacarte sudo apt install alacarte That's a convenient tool to modify desktop file. You can choose the png image as icon by yourself. It should in /usr/share/icons/hicolor/490x490/robrix.png Plus, this deb tested on ubuntu 24.04

Image Click on image to change.

acyanbird avatar Feb 28 '25 09:02 acyanbird

we have a new release action workflow, so this ought to be addressed because it uses specific versions of Ubuntu (v22 and v24) to ensure that the correct deps are pulled in for each OS version.

kevinaboos avatar Sep 24 '25 20:09 kevinaboos