regolith-linux / regolith-i3xrocks-config

Regolith customization of i3xrocks.
Other
28 stars 49 forks source link

time requires a bunch of dependencies that don't seem related #146

Open jc00ke opened 1 year ago

jc00ke commented 1 year ago

Hi there!

I just upgraded to 2.2 on Ubuntu 22.10 and i3xrocks-time is no longer installed. When I go to install it I see that it wants to install a whole bunch of seemingly unrelated software. Do I really need all of that just for the time applet?

➜ sudo apt install i3xrocks-time
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  apache2-bin desktop-base fonts-quicksand gir1.2-malcontent-0 gnome-user-share libapache2-mod-dnssd libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libflatpak0 libmalcontent-ui-1-1
  libnss-myhostname libsbc1 malcontent malcontent-gui pulseaudio-module-bluetooth realmd regolith-control-center
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom gnome | kde-standard | xfce4 | wmaker gstreamer1.0-plugins-bad gnome-software | gnome-packagekit gstreamer1.0-pulseaudio
The following NEW packages will be installed:
  apache2-bin desktop-base fonts-quicksand gir1.2-malcontent-0 gnome-user-share i3xrocks-time libapache2-mod-dnssd libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libflatpak0 libmalcontent-ui-1-1
  libnss-myhostname libsbc1 malcontent malcontent-gui pulseaudio-module-bluetooth realmd regolith-control-center
0 upgraded, 20 newly installed, 0 to remove and 0 not upgraded.
Need to get 6,890 kB of archives.
After this operation, 27.2 MB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.

Thanks!

jc00ke commented 1 year ago

I hacked around it for now by manually putting the time script in /usr/share/i3xrocks/scripts/

kgilmer commented 1 year ago

That's bananas. I do not see this on my kinetic install. What does apt show i3xrocks-time list? Also it seems that you do not have regolith-control-center installed, can you apt show that too?

$ apt show  i3xrocks-time
Package: i3xrocks-time
Version: 5.4.6-1regolith
Priority: optional
Section: x11
Source: regolith-i3xrocks-config
Maintainer: Ken Gilmer <kgilmer@gmail.com>
Installed-Size: 24.6 kB
Depends: regolith-i3xrocks-config, regolith-control-center
Homepage: https://github.com/regolith-linux/regolith-desktop
Download-Size: 10.7 kB
APT-Manual-Installed: yes
APT-Sources: https://regolith-desktop.org/unstable-debian-testing-amd64 testing/main amd64 Packages
Description: Indicator to show date and time.
 An i3xrocks indicator to show date and time.

Some of those dependencies are coming from regolith-control-center..which I can point a finger to GNOME for., no idea about the libapache stuff though..

jc00ke commented 1 year ago

I was seeing this on my desktop, which is at the office. If I purge regolith-control-center and i3xrocks-time and then sudo apt install i3xrocks-time...

❯ apt show regolith-control-center
Package: regolith-control-center
Version: 1.43.1-3-1regolith
Priority: optional
Section: gnome
Maintainer: Debian GNOME Maintainers <pkg-gnome-maintainers@lists.alioth.debian.org>
Installed-Size: 3,029 kB
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
Recommends: cups-pk-helper, gnome-bluetooth-sendto, gnome-online-accounts (>= 3.25.3), gnome-remote-desktop (>= 42), gnome-user-docs, gnome-user-share, gkbd-capplet, iso-codes, libcanberra-pulse, polkitd, power-profiles-daemon, rygel | rygel-tracker, system-config-printer-common (>= 1.4), malcontent-gui, network-manager-gnome (>= 0.9.8), libnss-myhostname, cracklib-runtime, pulseaudio-module-bluetooth, realmd
Suggests: gnome-software | gnome-packagekit, gstreamer1.0-pulseaudio, pkexec, x11-xserver-utils
Breaks: gnome-remote-desktop (<< 42), gnome-shell (<< 42)
Download-Size: 929 kB
APT-Manual-Installed: yes
APT-Sources: https://regolith-desktop.org/release-ubuntu-kinetic-amd64 kinetic/main amd64 Packages
Description: utilities to configure the GNOME desktop
 This package contains configuration applets for the GNOME desktop,
 allowing to set accessibility configuration, desktop fonts, keyboard
 and mouse properties, sound setup, desktop theme and background, user
 interface properties, screen resolution, and other GNOME parameters.
 .
 It also contains a front end to these applets, which can also be
 accessed with the GNOME panel or the Nautilus file manager.

❯ sudo apt purge regolith-control-center
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apache2-bin apg cups-pk-helper gir1.2-malcontent-0 gkbd-capplet
  gnome-bluetooth-sendto gnome-online-accounts gnome-remote-desktop
  gnome-user-docs gnome-user-share libapache2-mod-dnssd libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libcolord-gtk4-1 libflatpak0
  libfreerdp-server2-2 libfreerdp2-2 libgnome-bg-4-2
  libgnome-bluetooth-ui-3.0-13 libgnome-rr-4-2 libgnomekbd-common
  libgnomekbd8 libgoa-backend-1.0-1 libgssdp-1.2-0 libgupnp-1.2-1
  libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libmalcontent-0-0
  libmalcontent-ui-1-1 libmediaart-2.0-0 libmutter-11-0 libnma-gtk4-0
  libnss-myhostname libostree-1-1 librest-1.0-0 librygel-core-2.6-2
  librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2
  libtss2-tctildr0 libwinpr2-2 libxcb-res0 malcontent malcontent-gui
  power-profiles-daemon python3-cups python3-cupshelpers realmd rygel
  system-config-printer-common system-config-printer-udev ubuntu-docs
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  i3xrocks-time* regolith-control-center*
0 upgraded, 0 newly installed, 2 to remove and 0 not upgraded.
After this operation, 3,054 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 373844 files and directories currently installed.)
Removing i3xrocks-time (5.4.6-1regolith) ...
Removing regolith-control-center (1.43.1-3-1regolith) ...
Processing triggers for man-db (2.10.2-2) ...
Processing triggers for libglib2.0-0:amd64 (2.74.0-3) ...
(Reading database ... 373831 files and directories currently installed.)
Purging configuration files for regolith-control-center (1.43.1-3-1regolith) ...
~ took 7s
➜ sudo apt purge i3xrocks-time
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package 'i3xrocks-time' is not installed, so not removed
The following packages were automatically installed and are no longer required:
  apache2-bin apg cups-pk-helper gir1.2-malcontent-0 gkbd-capplet
  gnome-bluetooth-sendto gnome-online-accounts gnome-remote-desktop
  gnome-user-docs gnome-user-share libapache2-mod-dnssd libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libcolord-gtk4-1 libflatpak0
  libfreerdp-server2-2 libfreerdp2-2 libgnome-bg-4-2
  libgnome-bluetooth-ui-3.0-13 libgnome-rr-4-2 libgnomekbd-common
  libgnomekbd8 libgoa-backend-1.0-1 libgssdp-1.2-0 libgupnp-1.2-1
  libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libmalcontent-0-0
  libmalcontent-ui-1-1 libmediaart-2.0-0 libmutter-11-0 libnma-gtk4-0
  libnss-myhostname libostree-1-1 librest-1.0-0 librygel-core-2.6-2
  librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2
  libtss2-tctildr0 libwinpr2-2 libxcb-res0 malcontent malcontent-gui
  power-profiles-daemon python3-cups python3-cupshelpers realmd rygel
  system-config-printer-common system-config-printer-udev ubuntu-docs
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
~
➜ sudo apt autoremove -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following packages will be REMOVED:
  apache2-bin apg cups-pk-helper gir1.2-malcontent-0 gkbd-capplet
  gnome-bluetooth-sendto gnome-online-accounts gnome-remote-desktop
  gnome-user-docs gnome-user-share libapache2-mod-dnssd libapr1 libaprutil1
  libaprutil1-dbd-sqlite3 libaprutil1-ldap libcolord-gtk4-1 libflatpak0
  libfreerdp-server2-2 libfreerdp2-2 libgnome-bg-4-2
  libgnome-bluetooth-ui-3.0-13 libgnome-rr-4-2 libgnomekbd-common
  libgnomekbd8 libgoa-backend-1.0-1 libgssdp-1.2-0 libgupnp-1.2-1
  libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libmalcontent-0-0
  libmalcontent-ui-1-1 libmediaart-2.0-0 libmutter-11-0 libnma-gtk4-0
  libnss-myhostname libostree-1-1 librest-1.0-0 librygel-core-2.6-2
  librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2
  libtss2-tctildr0 libwinpr2-2 libxcb-res0 malcontent malcontent-gui
  power-profiles-daemon python3-cups python3-cupshelpers realmd rygel
  system-config-printer-common system-config-printer-udev ubuntu-docs
0 upgraded, 0 newly installed, 54 to remove and 0 not upgraded.
After this operation, 32.2 MB disk space will be freed.
(Reading database ... 373831 files and directories currently installed.)
Removing gnome-user-share (43.0-1) ...
Removing libapache2-mod-dnssd (0.6-3.2) ...
Removing apache2-bin (2.4.54-2ubuntu1) ...
Removing apg (2.2.3.dfsg.1-5build2) ...
Removing cups-pk-helper (0.2.6-1ubuntu5) ...
Removing malcontent-gui (0.11.0-3) ...
Removing malcontent (0.11.0-3) ...
Removing gir1.2-malcontent-0:amd64 (0.11.0-3) ...
Removing gkbd-capplet (3.28.1-1) ...
Removing gnome-bluetooth-sendto (42.4-1) ...
Removing gnome-online-accounts (3.46.0-1) ...
Removing gnome-remote-desktop (43.0-0ubuntu1) ...
Removing gnome-user-docs (43.0-1ubuntu1) ...
Removing libaprutil1-dbd-sqlite3:amd64 (1.6.1-5ubuntu4) ...
Removing libaprutil1-ldap:amd64 (1.6.1-5ubuntu4) ...
Removing libaprutil1:amd64 (1.6.1-5ubuntu4) ...
Removing libapr1:amd64 (1.7.0-8build1) ...
Removing libcolord-gtk4-1:amd64 (0.3.0-3) ...
Removing libmalcontent-ui-1-1:amd64 (0.11.0-3) ...
Removing libflatpak0:amd64 (1.14.0-2) ...
Removing libfreerdp-server2-2:amd64 (2.8.1+dfsg1-0ubuntu1.1) ...
Removing libfreerdp2-2:amd64 (2.8.1+dfsg1-0ubuntu1.1) ...
Removing libgnome-bg-4-2:amd64 (43-2) ...
Removing libgnome-bluetooth-ui-3.0-13:amd64 (42.4-1) ...
Removing libgnome-rr-4-2:amd64 (43-2) ...
Removing libgnomekbd8:amd64 (3.28.1-1) ...
Removing libgnomekbd-common (3.28.1-1) ...
Removing libgoa-backend-1.0-1:amd64 (3.46.0-1) ...
Removing rygel (0.40.4-1ubuntu1) ...
Removing librygel-server-2.6-2:amd64 (0.40.4-1ubuntu1) ...
Removing librygel-db-2.6-2:amd64 (0.40.4-1ubuntu1) ...
Removing librygel-renderer-2.6-2:amd64 (0.40.4-1ubuntu1) ...
Removing libgupnp-av-1.0-3 (0.14.1-1) ...
Removing libgupnp-dlna-2.0-4 (0.12.0-3) ...
Removing libmalcontent-0-0:amd64 (0.11.0-3) ...
Removing libmediaart-2.0-0:amd64 (1.9.6-1) ...
Removing libmutter-11-0:amd64 (43.0-1ubuntu4) ...
Removing libnma-gtk4-0:amd64 (1.8.40-1) ...
Removing libnss-myhostname:amd64 (251.4-1ubuntu7) ...
Removing libostree-1-1:amd64 (2022.5-3) ...
Removing librest-1.0-0:amd64 (0.9.1-2) ...
Removing libtss2-tctildr0:amd64 (3.2.0-1ubuntu1) ...
Removing libwinpr2-2:amd64 (2.8.1+dfsg1-0ubuntu1.1) ...
Removing libxcb-res0:amd64 (1.15-1) ...
Removing power-profiles-daemon (0.12-1) ...
Removing system-config-printer-udev (1.5.18-0ubuntu2) ...
Removing system-config-printer-common (1.5.18-0ubuntu2) ...
Removing python3-cupshelpers (1.5.18-0ubuntu2) ...
Removing realmd (0.17.0-2) ...
Removing ubuntu-docs (22.10.2) ...
Removing librygel-core-2.6-2:amd64 (0.40.4-1ubuntu1) ...
Removing libgupnp-1.2-1:amd64 (1.4.3-1) ...
Removing python3-cups:amd64 (2.0.1-5build1) ...
Removing libgssdp-1.2-0:amd64 (1.4.0.1-2build1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for libglib2.0-0:amd64 (2.74.0-3) ...
Processing triggers for libc-bin (2.36-0ubuntu4) ...
Processing triggers for man-db (2.10.2-2) ...
Processing triggers for dbus (1.14.0-2ubuntu3) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for desktop-file-utils (0.26-1ubuntu4) ...
~ took 11s
➜ sudo apt install i3xrocks-time
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
  apache2-bin apg avahi-utils cups-pk-helper gir1.2-malcontent-0
  gir1.2-polkit-1.0 gkbd-capplet gnome-bluetooth-sendto gnome-control-center
  gnome-online-accounts gnome-remote-desktop gnome-user-docs gnome-user-share
  language-selector-common language-selector-gnome libapache2-mod-dnssd
  libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
  libcolord-gtk4-1 libflatpak0 libfreerdp-server2-2 libfreerdp2-2
  libgnome-bg-4-2 libgnome-bluetooth-ui-3.0-13 libgnome-rr-4-2
  libgnomekbd-common libgnomekbd8 libgoa-backend-1.0-1 libgssdp-1.2-0
  libgupnp-1.2-1 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libmalcontent-0-0
  libmalcontent-ui-1-1 libmediaart-2.0-0 libmutter-11-0 libnma-gtk4-0
  libnss-myhostname libostree-1-1 librest-1.0-0 librygel-core-2.6-2
  librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2
  libtss2-tctildr0 libwinpr2-2 libxcb-res0 malcontent malcontent-gui
  power-profiles-daemon python3-cups python3-cupshelpers realmd
  regolith-control-center rygel system-config-printer
  system-config-printer-common system-config-printer-udev ubuntu-docs
Suggested packages:
  apache2-doc apache2-suexec-pristine | apache2-suexec-custom gnome-software
  | gnome-packagekit freerdp2-x11 gstreamer1.0-pulseaudio rygel-playbin
  rygel-preferences rygel-ruih rygel-tracker tumbler gnome-software
  python3-smbc
The following NEW packages will be installed:
  apache2-bin apg avahi-utils cups-pk-helper gir1.2-malcontent-0
  gir1.2-polkit-1.0 gkbd-capplet gnome-bluetooth-sendto gnome-control-center
  gnome-online-accounts gnome-remote-desktop gnome-user-docs gnome-user-share
  i3xrocks-time language-selector-common language-selector-gnome
  libapache2-mod-dnssd libapr1 libaprutil1 libaprutil1-dbd-sqlite3
  libaprutil1-ldap libcolord-gtk4-1 libflatpak0 libfreerdp-server2-2
  libfreerdp2-2 libgnome-bg-4-2 libgnome-bluetooth-ui-3.0-13 libgnome-rr-4-2
  libgnomekbd-common libgnomekbd8 libgoa-backend-1.0-1 libgssdp-1.2-0
  libgupnp-1.2-1 libgupnp-av-1.0-3 libgupnp-dlna-2.0-4 libmalcontent-0-0
  libmalcontent-ui-1-1 libmediaart-2.0-0 libmutter-11-0 libnma-gtk4-0
  libnss-myhostname libostree-1-1 librest-1.0-0 librygel-core-2.6-2
  librygel-db-2.6-2 librygel-renderer-2.6-2 librygel-server-2.6-2
  libtss2-tctildr0 libwinpr2-2 libxcb-res0 malcontent malcontent-gui
  power-profiles-daemon python3-cups python3-cupshelpers realmd
  regolith-control-center rygel system-config-printer
  system-config-printer-common system-config-printer-udev ubuntu-docs
0 upgraded, 62 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.8 MB of archives.
After this operation, 42.0 MB of additional disk space will be used.
Do you want to continue? [Y/n] ^C⏎                                             ~ took 16s
❯ apt show i3xrocks-time
Package: i3xrocks-time
Version: 5.4.6-1regolith
Priority: optional
Section: x11
Source: regolith-i3xrocks-config
Maintainer: Ken Gilmer <kgilmer@gmail.com>
Installed-Size: 24.6 kB
Depends: regolith-i3xrocks-config, regolith-control-center
Homepage: https://github.com/regolith-linux/regolith-desktop
Download-Size: 10.8 kB
APT-Sources: https://regolith-desktop.org/release-ubuntu-kinetic-amd64 kinetic/main amd64 Packages
Description: Indicator to show date and time.
 An i3xrocks indicator to show date and time.