Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Broken dependency in Ubuntu 22.10 ? #8

Closed
llinfrance opened this issue Jan 4, 2023 · 2 comments
Closed

Broken dependency in Ubuntu 22.10 ? #8

llinfrance opened this issue Jan 4, 2023 · 2 comments

Comments

@llinfrance
Copy link

Hi,
First, thanks a lot for regolith, I love it ❤️

Since I switched for Ubuntu 22.10, I am unable to install i3xrocks-time. It seems due to an unmet dependency:

The following packages have unmet dependencies:
 regolith-control-center : Depends: libgnome-desktop-3-19 (>= 3.33.4) but it is not installable

Do you know how to fix this issue ?

Best

@kgilmer
Copy link
Member

kgilmer commented Jan 5, 2023

Hello, hmm some users have reported this but I have been unable to reproduce it. Perhaps it only happens during an update from an earlier version of Ubuntu. Did you install Regolith into an existing Ubuntu, and if so what version? If you installed via ISO, what version did you start with?

Regarding that package dependency, here is what my kinetic test machine says:

$ apt list --installed | grep libgnome-desktop-

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libgnome-desktop-3-20/kinetic,now 43-2 amd64 [installed,automatic]
libgnome-desktop-4-2/kinetic,now 43-2 amd64 [installed,automatic]
$ apt show regolith-control-center | grep Depends

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Depends: dconf-gsettings-backend | gsettings-backend, libaccountsservice0 (>= 0.6.40), libadwaita-1-0 (>= 1.2~alpha), libc6 (>= 2.34), libcairo2 (>= 1.2.4), libcolord-gtk4-1 (>= 0.1.24), libcolord2 (>= 1.4.3), libcups2 (>= 1.7.0), libfontconfig1 (>= 2.12.6), libgcr-base-3-1 (>= 3.8.0), libgdk-pixbuf-2.0-0 (>= 2.23.0), libglib2.0-0 (>= 2.70.0), libgnome-bg-4-2 (>= 3.27.90), libgnome-bluetooth-ui-3.0-13 (>= 42~beta), libgnome-desktop-4-2 (>= 3.33.4), libgnome-rr-4-2 (>= 3.17.92), libgnutls30 (>= 3.7.0), libgoa-1.0-0b (>= 3.45), libgsound0 (>= 1.0.1), libgtk-4-1 (>= 4.6.0), libgtop-2.0-11 (>= 2.22.3), libgudev-1.0-0 (>= 232), libibus-1.0-5 (>= 1.5.2), libkrb5-3 (>= 1.8+dfsg), libmalcontent-0-0 (>= 0.8.0), libmm-glib0 (>= 0.7.991), libnm0 (>= 1.24.0), libnma-gtk4-0 (>= 1.8.34), libpango-1.0-0 (>= 1.37.2), libpangocairo-1.0-0 (>= 1.14.0), libpolkit-gobject-1-0 (>= 0.103), libpulse-mainloop-glib0 (>= 13.0~), libpulse0 (>= 13.0~), libpwquality1 (>= 1.2.2), libsecret-1-0 (>= 0.7), libsmbclient (>= 2:4.0.3+dfsg1), libudisks2-0 (>= 2.0.0), libupower-glib3 (>= 0.99.8), libwacom9 (>= 2.0.0), libx11-6, libxi6 (>= 2:1.2.99.4), libxml2 (>= 2.7.4), accountsservice, apg, colord (>= 0.1.34), desktop-base (>= 10.0.0), desktop-file-utils, gnome-control-center-data (>= 1:43.0), gnome-desktop3-data, gnome-settings-daemon (>= 41), gsettings-desktop-schemas (>= 42~), webp-pixbuf-loader

And here is the dependency line in the package itself: https://github.com/regolith-linux/regolith-control-center/blob/regolith/1%2543.0-1/debian/control.in#L20

@llinfrance
Copy link
Author

llinfrance commented Jan 5, 2023

Thanks for your answer.

Running the two commands, I get :

❯ apt list --installed | grep libgnome-desktop-

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

libgnome-desktop-3-20/kinetic,now 43-2 amd64 [installed]
libgnome-desktop-4-2/kinetic,now 43-2 amd64 [installed,automatic]
❯ apt show regolith-control-center | grep Depends

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

Depends: dconf-gsettings-backend | gsettings-backend, libaccountsservice0 (>= 0.6.40), libatk1.0-0 (>= 1.12.4), libc6 (>= 2.34), libcairo2 (>= 1.14.0), libcheese-gtk25 (>= 3.18.0), libcheese8 (>= 3.28.0), libcolord-gtk1 (>= 0.1.24), libcolord2 (>= 1.4.3), libcups2 (>= 1.7.0), libepoxy0 (>= 1.0), libfontconfig1 (>= 2.12.6), libgdk-pixbuf-2.0-0 (>= 2.25.2), libglib2.0-0 (>= 2.70.0), libgnome-bluetooth13 (>= 3.18.2), libgnome-desktop-3-19 (>= 3.33.4), libgoa-1.0-0b (>= 3.25.3), libgoa-backend-1.0-1 (>= 3.25.3), libgsound0 (>= 1.0.1), libgtk-3-0 (>= 3.22.20), libgtop-2.0-11 (>= 2.22.3), libgudev-1.0-0 (>= 232), libhandy-1-0 (>= 1.2.0), libibus-1.0-5 (>= 1.5.2), libkrb5-3 (>= 1.8+dfsg), libmm-glib0 (>= 0.7.991), libnm0 (>= 1.24.0), libnma0 (>= 1.8.0), libpango-1.0-0 (>= 1.37.2), libpangocairo-1.0-0 (>= 1.18.0), libpolkit-gobject-1-0 (>= 0.103), libpulse-mainloop-glib0 (>= 13.0~), libpulse0 (>= 13.0~), libpwquality1 (>= 1.1.0), libsecret-1-0 (>= 0.7), libsmbclient (>= 2:4.0.3+dfsg1), libudisks2-0 (>= 2.0.0), libupower-glib3 (>= 0.99.8), libwacom9 (>= 2.0.0), libwayland-server0 (>= 1.0.2), libx11-6, libxi6 (>= 2:1.2.99.4), accountsservice, apg, colord (>= 0.1.30), desktop-file-utils, gedit-common, gnome-control-center-data (>= 1.41.18-1regolith), gnome-desktop3-data, gnome-settings-daemon (>= 41), gsettings-desktop-schemas (>= 42~), language-selector-gnome (>= 0.179~), system-config-printer (>= 1.4), whoopsie-preferences

As you can see, the issue seems to be that my regolith-control-center depends on an older version of libgnome-desktop, and I don't know why ? 😢
Maybe it is due to the apt package ?

❯ catn /etc/apt/sources.list.d/regolith.list
───────┬──────────────────────────────────────────────────────────────────────────────────────
       │ File: /etc/apt/sources.list.d/regolith.list
───────┼──────────────────────────────────────────────────────────────────────────────────────
   1   │ deb [arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] https://r
       │ egolith-desktop.org/release-ubuntu-jammy-amd64 jammy main
───────┴──────────────────────────────────────────────────────────────────────────────────────

Concerning the system update, I switched recently from Ubuntu 22.04 to 22.10, not from an ISO file.

edit: I checked on all the branches of regolith-control-center on github, but none of the control.in files contain my dependency of libgnome-desktop-3-19. It is either -3-dev or 4-*

edit2: my mistake ! (Obviously...) My apt source was still on 22.04 (jammy) instead of 22.10 (kinetic). Thanks again for your time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants