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

regolith-desktop was uninstalled on upgrade #114

Closed
p3k opened this issue Sep 11, 2019 · 13 comments

Comments

@p3k
Copy link

commented Sep 11, 2019

just returned from two weeks of vacation and ran apt dist-upgrade just to find no i3 desktop being displayed afterwards.

i remembered to see an apt message about regolith-desktop (and another package) to be removed (which i probably did not think much about due to being jetlagged).

in fact, the package was missing and after reinstalling it regolith is back again. (of course without my custom i3 config settings again, unfortunatetly. but that’s a different story.)

any ideas why such a fundamental error could happen? let me know if i could provide more information.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Sep 11, 2019

Hi @p3k 😄 . I cannot think if a reason that regolith-desktop would be removed by a dist-upgrade. The only thing that should have been removed is regolith-i3 (as it's be replaced by i3-gaps-wm). You can look at the logs in /var/log/apt, in the history and term logs for clues as to what may have happened. If you find anything interesting in there feel free to post it here.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Sep 11, 2019

Also, regarding your older configuration, this table may help how to get that hooked back up: https://regolith-linux.org/configuring.html#config-files

@p3k

This comment has been minimized.

Copy link
Author

commented Sep 11, 2019

Also, regarding your older configuration, this table may help how to get that hooked back up: https://regolith-linux.org/configuring.html#config-files

yes, i have seen that. i copied my custom settings into ~/.config/regolith/i3/config and reloaded i3 but they are not applied. should there be something like an include statement in /etc/regolith/i3/config? (i don’t see any.)

is there a log output which config files are getting read?

@p3k

This comment has been minimized.

Copy link
Author

commented Sep 11, 2019

You can look at the logs in /var/log/apt, in the history and term logs for clues as to what may have happened. If you find anything interesting in there feel free to post it here.

here it is, from /var/log/apt/history.log. note the Remove message in the last but one line:

Start-Date: 2019-09-11  10:05:03
Commandline: apt dist-upgrade
Requested-By: tobi (1000)
Install: regolith-i3-gaps-config:amd64 (1.18.18-1ubuntu1~ppa1, automatic), libxcb-composite0:a md64 (1.13-2~ubuntu18.04, automatic), libxdg-basedir1:amd64 (1.2.0-1, automatic), libxcb-damag e0:amd64 (1.13-2~ubuntu18.04, automatic) 
Upgrade: fdisk:amd64 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), libsoup-gnome2.4-1:amd64 (2.6 2.1-1ubuntu0.1, 2.62.1-1ubuntu0.3), libisccfg160:amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1:9.11.3+dfs g-1ubuntu1.9), uuid-runtime:amd64 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), libqt5test5:amd6 4 (5.9.5+dfsg-0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), libfdisk1:amd64 (2.31.1-0.4ubuntu3.3, 2.31.1 -0.4ubuntu3.4), gir1.2-soup-2.4:amd64 (2.62.1-1ubuntu0.1, 2.62.1-1ubuntu0.3), libldap-2.4-2:am d64 (2.4.45+dfsg-1ubuntu1.3, 2.4.45+dfsg-1ubuntu1.4), qt5-gtk-platformtheme:amd64 (5.9.5+dfsg- 0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), signal-desktop:amd64 (1.26.1, 1.27.2), regolith-conky-conf ig:amd64 (1.13-1ubuntu1ppa1, 2.01-1ubuntu1~ppa1), keybase:amd64 (4.3.1-20190813132700.6f497ec3 71, 4.4.1-20190910185008.b5f8897c2a), libmount1:amd64 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3. 4), libmount1:i386 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), snapd:amd64 (2.39.2+18.04, 2.40 +18.04), regolith-assets:amd64 (1.08-1ubuntu1ppa1, 1.09-1ubuntu1~ppa1), libirs160:amd64 (1:9.1 1.3+dfsg-1ubuntu1.8, 1:9.11.3+dfsg-1ubuntu1.9), bind9-host:amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1: 9.11.3+dfsg-1ubuntu1.9), libarchive13:amd64 (3.2.2-3.1ubuntu0.3, 3.2.2-3.1ubuntu0.4), dnsutils :amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1:9.11.3+dfsg-1ubuntu1.9), libqt5dbus5:amd64 (5.9.5+dfsg-0ub untu2.1, 5.9.5+dfsg-0ubuntu2.3), libqt5sql5-sqlite:amd64 (5.9.5+dfsg-0ubuntu2.1, 5.9.5+dfsg-0u buntu2.3), regolith-gnome-flashback:amd64 (1.33-1ubuntu1ppa1, 1.45-1ubuntu1~ppa1), util-linux: amd64 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), libqt5widgets5:amd64 (5.9.5+dfsg-0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), libisc169:amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1:9.11.3+dfsg-1ubuntu1.9), skypeforlinux:amd64 (8.51.0.72, 8.51.0.92), procps:amd64 (2:3.3.12-3ubuntu1.1, 2:3.3.12-3ubun tu1.2), xkb-data:amd64 (2.23.1-1ubuntu1, 2.23.1-1ubuntu1.18.04.1), regolith-rofi-config:amd64 (1.1-1ubuntu1ppa1, 1.2-1ubuntu1~ppa1), libprocps6:amd64 (2:3.3.12-3ubuntu1.1, 2:3.3.12-3ubuntu 1.2), libsoup2.4-1:amd64 (2.62.1-1ubuntu0.1, 2.62.1-1ubuntu0.3), libqt5xml5:amd64 (5.9.5+dfsg- 0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), ibus-gtk:amd64 (1.5.17-3ubuntu4, 1.5.17-3ubuntu5), ibus-gt k3:amd64 (1.5.17-3ubuntu4, 1.5.17-3ubuntu5), regolith-compton-config:amd64 (1.3-1ubuntu1ppa1, 1.5.2-1ubuntu1~ppa1), libqt5printsupport5:amd64 (5.9.5+dfsg-0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3) , mount:amd64 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), libqt5concurrent5:amd64 (5.9.5+dfsg- 0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), compton:amd64 (0.1~beta2+20150922-1, 7.3-0ubuntu1~ppa8), l ibblkid1:amd64 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), libblkid1:i386 (2.31.1-0.4ubuntu3.3 , 2.31.1-0.4ubuntu3.4), dpkg:amd64 (1.19.0.5ubuntu2.1, 1.19.0.5ubuntu2.2), libqt5gui5:amd64 (5 .9.5+dfsg-0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), libisc-export169:amd64 (1:9.11.3+dfsg-1ubuntu1.8 , 1:9.11.3+dfsg-1ubuntu1.9), gir1.2-snapd-1:amd64 (1.47-0ubuntu0.18.04.0, 1.49-0ubuntu0.18.04. 0), libuuid1:amd64 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), libuuid1:i386 (2.31.1-0.4ubuntu 3.3, 2.31.1-0.4ubuntu3.4), libldap-common:amd64 (2.4.45+dfsg-1ubuntu1.3, 2.4.45+dfsg-1ubuntu1. 4), liblwres160:amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1:9.11.3+dfsg-1ubuntu1.9), libsmartcols1:amd6 4 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), libqt5core5a:amd64 (5.9.5+dfsg-0ubuntu2.1, 5.9.5 +dfsg-0ubuntu2.3), rfkill:amd64 (2.31.1-0.4ubuntu3.3, 2.31.1-0.4ubuntu3.4), libdns-export1100: amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1:9.11.3+dfsg-1ubuntu1.9), regolith-styles:amd64 (1.2.15, 1.2 .30-1ubuntu1~ppa1), gnome-initial-setup:amd64 (3.28.0-2ubuntu6.16.04.4, 3.28.0-2ubuntu6.16.04. 6), bsdutils:amd64 (1:2.31.1-0.4ubuntu3.3, 1:2.31.1-0.4ubuntu3.4), libqt5opengl5:amd64 (5.9.5+ dfsg-0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), code:amd64 (1.37.0-1565227985, 1.38.0-1567547996), ib us:amd64 (1.5.17-3ubuntu4, 1.5.17-3ubuntu5), libibus-1.0-5:amd64 (1.5.17-3ubuntu4, 1.5.17-3ubu ntu5), regolith-gdm3-theme:amd64 (1.03-1ubuntu3, 1.04-1ubuntu1~ppa1), gir1.2-ibus-1.0:amd64 (1.5.17-3ubuntu4, 1.5.17-3ubuntu5), libisccc160:amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1:9.11.3+dfsg-1ubuntu1.9), libsnapd-glib1:amd64 (1.47-0ubuntu0.18.04.0, 1.49-0ubuntu0.18.04.0), libbind9-160:amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1:9.11.3+dfsg-1ubuntu1.9), libqt5network5:amd64 (5.9.5+dfsg-0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), libdns1100:amd64 (1:9.11.3+dfsg-1ubuntu1.8, 1:9.11.3+dfsg-1ubuntu1.9), libdpkg-perl:amd64 (1.19.0.5ubuntu2.1, 1.19.0.5ubuntu2.2), virtualbox-6.0:amd64 (6.0.10-132072~Ubuntu~bionic, 6.0.12-133076~Ubuntu~bionic), regolith-i3xrocks-config:amd64 (1.6-1ubuntu1ppa2, 1.12-1ubuntu1~ppa2), libqt5sql5:amd64 (5.9.5+dfsg-0ubuntu2.1, 5.9.5+dfsg-0ubuntu2.3), docker-ce:amd64 (5:19.03.1~3-0~ubuntu-bionic, 5:19.03.2~3-0~ubuntu-bionic), dpkg-dev:amd64 (1.19.0.5ubuntu2.1, 1.19.0.5ubuntu2.2), docker-ce-cli:amd64 (5:19.03.1~3-0~ubuntu-bionic, 5:19.03.2~3-0~ubuntu-bionic)
Remove: regolith-desktop:amd64 (2.24-1ubuntu1ppa1), regolith-i3-wm:amd64 (4.16-1ubuntu18ppa10)
End-Date: 2019-09-11  10:08:56
@p3k

This comment has been minimized.

Copy link
Author

commented Sep 12, 2019

regarding tHe config it seems it was applied after reboot. HoweVer, tHe i3bar Has disappeared now (and my H and V keys only work witH sHift, er…)

crazy.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Sep 12, 2019

Regarding "i copied my custom settings into ~/.config/regolith/i3/config and reloaded i3 but they are not applied", yes when this happens you must log back in because reloading i3 simply reloads it as-is. It won't take new the config script. Other users have also run into this and I believe someone is going to submit a PR to update the documentation to be more clear.

Regarding the log file, yes it certainly shows that regolith-desktop is to be removed, although it doesn't mention why. I have been able to reproduce this behavior in testing. I'll keep an eye out however, and see if I can search around for more clues.

Regarding config after reboot, really there are two files that Regolith will override with defaults if exist:

  1. ~/.Xresources-regolith
  2. ~/.config/regolith/i3/config

If you move or remove these files then upon next login, you should have a stock configuration and everything should work. If you put those files back and experience the issues, there is probably a mismatch between the stock files and your configuration. I would suggest diffing them in this case and look for variable name changes, etc..

@kgilmer

This comment has been minimized.

Copy link
Member

commented Sep 12, 2019

Did you install Regolith via LiveCD or PPA on existing system? If the latter, was it stock Ubuntu or a variant?

@p3k

This comment has been minimized.

Copy link
Author

commented Sep 12, 2019

Did you install Regolith via LiveCD or PPA on existing system? If the latter, was it stock Ubuntu or a variant?

i installed it from an usb stick iirc… is there a way to verify this?

If you move or remove these files then upon next login, you should have a stock configuration and everything should work.

ok i did that and now see the i3bar again.

before i start re-enabling my custom settings step by step: is it possible to reference the variables defined in the /etc/regolith/i3/config file? (e.g. i am using $mod in my config.)

or does the user config not even override settings and instead i3 simply ignores the global config file if the user config file does exist?

and am i right that errors in the ~/.config/regolith/i3/config file are not displayed? before the update i always saw a red bar warning me about issues in the config when i reloaded i3…

@kgilmer

This comment has been minimized.

Copy link
Member

commented Sep 13, 2019

i installed it from an usb stick iirc… is there a way to verify this?

Given that regolith-desktop was unisntalled I'm not sure if there is a way to know for sure. If you have the package regolith-gdm3-theme and you didn't install it manually then you probably installed from the LiveCD.

Regarding the i3 config file, it either loads the version in ~/.config/regoilth/i3/config or if that does not exist, /etc/regolith/i3/config. It does not load both and so you won't be able to reference values from the /etc version in your user config version, but you can copy the whole file into your user directory and then make changes.

Regarding the i3 error warning box if you have errors in your i3 file, I just tested and you're right, it does not show any errors. This surprised me as I know it used to work. I've created #118 to track this.

Also, regarding the issue where regolith-desktop was removed on dist-upgrade, I tested on my work machine this morning and saw the same behavior. It was surprised by this as well and do not understand the policy by which apt is deciding the package should be removed.

@p3k

This comment has been minimized.

Copy link
Author

commented Sep 13, 2019

If you have the package regolith-gdm3-theme and you didn't install it manually then you probably installed from the LiveCD.

yup i got that.

Regarding the i3 config file, it either loads the version in ~/.config/regoilth/i3/config or if that does not exist, /etc/regolith/i3/config

ok makes sense. i now re-added the missing settings from /etc/regolith/i3/config to the user config file (also restored the X settings into ~/.Xresources-regolith) and almost everything looks the way as before again. yay!

(i think i understand now why some of the keys on my keyboard where not working: without the $mod variable it seems the key was remapped without any modifier key, and thus e.g. an unsuspecting v did not output the expected letter but immediately set the container to vertical alignment – the intended behaviour for $mod+v in my b0rked custom settings.)

almost because e.g. i changed the date format in the i3bar ; what is the recommended way to override such a setting now? (afair i changed it directly in the i3xrocks/time file before…)

anyway, thanks a lot for your great assistance and further investigation. i am somehow glad you could verify the unintended removal of regolith-desktop, although it’s certainly a nasty issue.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Sep 15, 2019

@p3k , to update the date format in the i3bar, change the value defined here: https://github.com/regolith-linux/regolith-styles/blob/master/Xresources/i3xrocks#L8. However, keep in mind that you'll need to copy the default Xresources definition into your user directory to make the change. I've updated this page to describe that in better detail.

@p3k

This comment has been minimized.

Copy link
Author

commented Sep 15, 2019

alright got it… the i3xrocks file was still around in my user dir, all i had to do is change the reference in ~/.Xresources-regolith again.

so that solves the configuration quirks after the upgrade, at least for me.

regarding the original issue i leave it up to you @kgilmer whether you want to track this down further or close this issue, resp.

as always, thanks for your help.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Sep 15, 2019

Glad to hear you've got everything fixed up and thanks for your patience in dealing w/ all of these changes to Regolith. I've created a separate issue to track the dist-upgrade thing: #120

@kgilmer kgilmer closed this Sep 15, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.