lpereira / hardinfo

System profiler and benchmark tool for Linux systems
http://hardinfo.org
GNU General Public License v2.0
771 stars 130 forks source link

debian on RISCV64: hardinfo needs gtk2.0, which needs ... mono-runtime(?) ... which is not available ... #643

Closed sanderjo closed 2 years ago

sanderjo commented 2 years ago

I'm not sure if this is a hardinfo question, or a debian question, or just a PEBKAC

I'm running Debian bookworm/sid unstable on RISCV64. Via the standard repo's, hardinfo is avaible, but a 0.6-alpha from 2017.

So I tried to cmake / make hardinfo from git. It needs gtk2.0 (right?), but when I try to install that, it wants all kinds of mono stuff, which seems not available (because of RISCV64? https://packages.debian.org/search?suite=sid&arch=riscv64&searchon=names&keywords=mono-runtime says not available for riscv64)

Does hardinfo really need mono-runtime? Or is this a quirky gtk2.0 thing? If so, is there a workaround? How was debian-repo able to compile hardinfo if it needs mono-runtime? Or ... am I doing something wrong?

Tips how to proceed?

$ sudo apt install gtk2.0

...
libgtk2.0-bin is already the newest version (2.24.33-2).
libgtk2.0-bin set to manually installed.
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:
 monodoc-base : Depends: mono-runtime (>= 3.0~) but it is not installable
                Depends: libmono-cecil-private-cil (>= 6.8.0.105) but it is not going to be installed
                Depends: libmono-cecil-private-cil (< 6.8.0.106) but it is not going to be installed
                Depends: libmono-corlib4.5-cil (>= 5.18.0.240) but it is not going to be installed
                Depends: libmono-sharpzip4.84-cil (>= 5.12.0.309) but it is not going to be installed
                Depends: libmono-system-xml-linq4.0-cil (>= 5.16.0.220) but it is not going to be installed
 monodoc-http : Depends: mono-xsp4 but it is not installable or
                         mono-apache-server4 but it is not installable or
                         mono-fastcgi-server4 but it is not installable
E: Unable to correct problems, you have held broken packages.

FWIW:

the hardinfo provided by Debian's repos:

image

lpereira commented 2 years ago

It shouldn't require mono! This is probably a packaging bug from the Debian side.

On Sat, Mar 5, 2022, at 2:34 AM, Sander wrote:

I'm not sure if this is a hardinfo question, or a debian question, or just a PEBKAC

I'm running Debian bookworm/sid unstable on RISCV64. Via the standard repo's, hardinfo is avaible, but a 0.6-alpha from 2017.

So I tried to cmake / make hardinfo from git. It needs gtk2.0 (right?), but when I try to install that, it wants all kinds of mono stuff, which seems not available (because of RISCV64? https://packages.debian.org/search?suite=sid&arch=riscv64&searchon=names&keywords=mono-runtime says not available for riscv64)

Does hardinfo really need mono-runtime? Or is this a quirky gtk2.0 thing? If so, is there a workaround? How was debian-repo able to compile hardinfo if it needs mono-runtime? Or ... am I doing something wrong?

Tips how to proceed?

`$ sudo apt install gtk2.0

... libgtk2.0-bin is already the newest version (2.24.33-2). libgtk2.0-bin set to manually installed. 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: monodoc-base : Depends: mono-runtime (>= 3.0~) but it is not installable Depends: libmono-cecil-private-cil (>= 6.8.0.105) but it is not going to be installed Depends: libmono-cecil-private-cil (< 6.8.0.106) but it is not going to be installed Depends: libmono-corlib4.5-cil (>= 5.18.0.240) but it is not going to be installed Depends: libmono-sharpzip4.84-cil (>= 5.12.0.309) but it is not going to be installed Depends: libmono-system-xml-linq4.0-cil (>= 5.16.0.220) but it is not going to be installed monodoc-http : Depends: mono-xsp4 but it is not installable or mono-apache-server4 but it is not installable or mono-fastcgi-server4 but it is not installable E: Unable to correct problems, you have held broken packages. `

— Reply to this email directly, view it on GitHub https://github.com/lpereira/hardinfo/issues/643, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAADVGJOHD75A5LKPSOK4GLU6M2DZANCNFSM5P7QRNOA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub. You are receiving this because you are subscribed to this thread.Message ID: @.***>

sanderjo commented 2 years ago

Hmmm ... maybe I was trying to install the wrong package? This seems to work:

sudo apt install libgtk2.0-dev libjson-glib-dev

cmake .. was OK make is now running ... fingers crossed

sanderjo commented 2 years ago

... and it works!

image