Open ghost opened 1 year ago
Hmm, I'm guessing that there is a mismatch between the host Ubuntu version and the Regolith version you installed. What does lsb_release -a
and cat /etc/apt/sources.list.d/regolith.list
return?
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.04.1 LTS
Release: 22.04
Codename: jammy
deb [arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] https://regolith-desktop.org/release-ubuntu-kinetic-amd64 kinetic main
cat * results in
deb https://ppa.launchpadcontent.net/apandada1/brightness-controller/ubuntu/ jammy main
deb http://ppa.launchpad.net/blaze/rtbth-dkms/ubuntu/ groovy main
deb https://ppa.launchpadcontent.net/cdemu/ppa/ubuntu/ jammy main
deb [signed-by=/usr/share/keyrings/ni-software-2022-focal.asc] https://download.ni.com/ni-linux-desktop/2022/Q4/deb/ni/focal focal ni
deb [signed-by=/usr/share/keyrings/ni-software-2022-jammy.asc] https://download.ni.com/ni-linux-desktop/2022/Q4/deb/ni/jammy jammy ni
deb [signed-by=/usr/share/keyrings/ni-software-stream-focal.asc] https://download.ni.com/ni-linux-desktop/stream/deb/ni/focal focal ni
deb [signed-by=/usr/share/keyrings/ni-software-stream-jammy.asc] https://download.ni.com/ni-linux-desktop/stream/deb/ni/jammy jammy ni
deb https://ppa.launchpadcontent.net/ozmartian/apps/ubuntu/ jammy main
deb [arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] https://regolith-desktop.org/release-ubuntu-kinetic-amd64 kinetic main
deb http://ppa.launchpad.net/sicklylife/gnucash/ubuntu/ groovy main
deb http://ppa.launchpad.net/system76/pop/ubuntu/ groovy main
deb [arch=amd64] https://packages.microsoft.com/repos/ms-teams stable main
Types: deb
URIs: https://dl.winehq.org/wine-builds/ubuntu
Suites: jammy
Components: main
Architectures: amd64 i386
Signed-By: /etc/apt/keyrings/winehq-archive.key
Might it be caused by the groovy ones?
I removed the groovy things, still no change.
I removed regolith-desktop and ubuntu-desktop, made autoremove and installed both again. No change.
@kgilmer I found the problem. On regolith-desktop.com it says in the installation instruction
echo deb "[arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] \
https://regolith-desktop.org/release-ubuntu-kinetic-amd64 kinetic main" | \
sudo tee /etc/apt/sources.list.d/regolith.list
But I have jammy.
The instruction should be like this:
CURR_CODENAME=$(lsb_release -a | grep Codename | grep -e ":\s*\w*" -o | grep -e "\w*" -o)
CURR_DISTR=$(lsb_release -a | grep Distributor | grep -e ":\s*\w*" -o | grep -e "\w*" -o | tr '[:upper:]' '[:lower:]')
echo deb "[arch=amd64 signed-by=/usr/share/keyrings/regolith-archive-keyring.gpg] \
https://regolith-desktop.org/release-${CURR_DISTR}-${CURR_CODENAME}-amd64 $CURR_CODENAME main" | \
sudo tee /etc/apt/sources.list.d/regolith.list
Therefore it will be safe for different Ubuntu and Debian versions. I had to update and reinstall and everything works fine now.
Layer 8. Didn't see the tab button for the version at first.
Hi @MaestroGlanz glad you found the source of the problem. Yes I agree it would be nice to have a more foolproof installation, and the tabs are maybe too subtle. I'd prefer to keep things concrete though as to not intimidate less technical users. But, I cannot deny that your script is nice. How would you derive arch
? Maybe parse uname -a
output? How about dealing w/ non supported variants? (eg the script should fail gracefully if it's run on a system unsupported by regolith)
Personally, I'm not a fan of the curl trust-me.web.thing | sudo sh
approaches some projects take, as they assume a level of trust that I think is dangerous.
Did a fresh install on ubuntu 22.10. Installed regolith using the recommanded way, then tried to install i3rocks-times and it failed.
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 22.10
Release: 22.10
Codename: kinetic
➜ ~ sudo apt install i3xrocks-time
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
regolith-control-center : Depends: libgnome-desktop-3-19 (>= 3.33.4) but it is not installable
E: Unable to correct problems, you have held broken packages.
➜ ~ sudo apt install regolith-control-center
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
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:
regolith-control-center : Depends: libgnome-desktop-3-19 (>= 3.33.4) but it is not installable
E: Unable to correct problems, you have held broken packages.
Added the time script manually to make it work.
I'm hopefully at the right point here: I updated to the latest packages, especially all regolith packages. At first, the clock did work, now I get an error, when trying to update it:
Which translates to:
I'm not sure, if I can fix the problem, or there must be a correction in the dependencies of the package.