regolith-linux / regolith-desktop

Meta package for the Regolith Desktop Environment
1.5k stars 31 forks source link

sudo apt install i3xrocks-time doesn't work #817

Open gpanagioto opened 1 year ago

gpanagioto commented 1 year ago

I run the command sudo apt install i3xrocks-time

but I take the following errors:

The following packages have unmet dependencies: regolith-control-center : Depends: libadwaita-1-0 (>= 1.2~alpha) but 1.1.0-1ubuntu2 is to be installed Depends: libcolord-gtk4-1 (>= 0.1.24) but it is not installable Depends: libgnome-bg-4-2 (>= 3.27.90) but it is not installable Depends: libgnome-desktop-4-2 (>= 3.33.4) but it is not installable Depends: libgnome-rr-4-2 (>= 3.17.92) but it is not installable Depends: libgoa-1.0-0b (>= 3.45) but 3.44.0-1ubuntu1 is to be installed Depends: libnma-gtk4-0 (>= 1.8.34) but it is not installable Depends: gnome-control-center-data (>= 1:43.0) but 1:41.7-0ubuntu0.22.04.5 is to be installed Recommends: gnome-bluetooth-sendto but it is not installable Recommends: malcontent-gui but it is not going to be installed Recommends: libnss-myhostname but it is not going to be installed E: Unable to correct problems, you have held broken packages.

Any idea why this happen?? Ubuntu 22.04.1 LTS and Debian bookworm

Thanks in advance!

kgilmer commented 1 year ago

Hi @gpanagioto , this has been reported by a few different people over the past few months. I am unable to reproduce the problem myself. Could you give specific steps that I could follow to see the same issue?

cfsmp3 commented 1 year ago

@gpanagioto could you share your /etc/apt/sources.list and output of

lsb_release -a

Also, did you run apt-get update?

Finally, what happens when you manually try to install one of those dependencies, for example

apt-get install  libnma-gtk4-0

Usually that gives some insight on what's going on.

gpanagioto commented 1 year ago

/etc/apt/sources.list image lsb_release -a lsb_release -a output: No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 22.04.1 LTS Release: 22.04 Codename: jammy

Yes I did the update and when I am trying to install libnma-gtk4-0 the output is: Reading package lists... Done Building dependency tree... Done Reading state information... Done Package libnma-gtk4-0 is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or is only available from another source

E: Package 'libnma-gtk4-0' has no installation candidate

kgilmer commented 1 year ago

Here's where that package is coming from on a jammy build host:

libnma-gtk4-0:
  Installed: 1.10.4-2
  Candidate: 1.10.6-1
  Version table:
     1.10.6-1 500
        500 http://deb.debian.org/debian testing/main amd64 Packages
 *** 1.10.4-2 100
        100 /var/lib/dpkg/status
kgilmer commented 1 year ago

libnma-gtk4-0 is not an explicit dependency of regolith-control-center but seems to be added somewhere during the build.

Here's the Debian pkg metadata for it: https://launchpad.net/ubuntu/+source/libnma

kgilmer commented 1 year ago

The problematic package should not be required for jammy version of regolith-control-center. Can you confirm the URL of the regolith repo you've added to your system on jammy?

kvdveer commented 1 year ago

I encountered the same problem. Turns out, if you follow the default installation instructions on jammy, you end up with the kinetic apt-sources, not the jammy ones. Editing /etc/apt/sources.list.d/regolith.list and replacing kinetic with jammy solved the problem for me.

gpanagioto commented 1 year ago

Thanks a lot @kvdveer, following your solution solved the problem for me too. And also thanks a lot everyone for the help!

kgilmer commented 1 year ago

Installing from the wrong apt URL would certainly cause issues like this, but I do not see where installation instructions for jammy incorrectly list a URL to kinetic. Can someone point me to where this is?

kvdveer commented 1 year ago

I followed the instructions on the https://regolith-desktop.com/ homepage. In retrospect I had missed entirely that that's a tabbed interface, so I followed the instructions in the default (first) tab.

On Fri, Feb 24, 2023 at 6:25 AM Ken Gilmer @.***> wrote:

Installing from the wrong apt URL would certainly cause issues like this, but I do not see where installation instructions for jammy incorrectly list a URL to kinetic. Can someone point me to where this is?

— Reply to this email directly, view it on GitHub https://github.com/regolith-linux/regolith-desktop/issues/817#issuecomment-1442828101, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADGM2P53ZL4OH5BD5XL6TLWZBA4NANCNFSM6AAAAAAUJWOU3Y . You are receiving this because you were mentioned.Message ID: @.***>

Rubeculy commented 1 year ago

I followed the instructions on the https://regolith-desktop.com/ homepage. In retrospect I had missed entirely that that's a tabbed interface, so I followed the instructions in the default (first) tab.

same, this corrupted my i3xrocks installation aswell, thx for the hint