Chroot

New to SolydXK? This is the place to start.
Please check the other subforums to see if there's a more suitable place for your question.
Son of Hera
Posts: 14
Joined: 02 Feb 2020 21:54

Chroot

Postby Son of Hera » 09 Feb 2020 15:20

Interesting. I chrooted to Solyd Xfce from Mageia to do updates. Here's what I'm gettting.

Code: Select all

root@localhost:/# apt update
Hit:1 http://deb.debian.org/debian buster InRelease
Get:2 http://deb.debian.org/debian buster-updates InRelease [49.3 kB]
Get:3 http://security.debian.org buster/updates InRelease [65.4 kB]
Err:1 http://deb.debian.org/debian buster InRelease
  Unknown error executing apt-key
Err:2 http://deb.debian.org/debian buster-updates InRelease
  Unknown error executing apt-key
Err:3 http://security.debian.org buster/updates InRelease
  Unknown error executing apt-key
Get:4 https://repository.solydxk.com solydxk-10 InRelease [15.4 kB]
Err:4 https://repository.solydxk.com solydxk-10 InRelease
  Unknown error executing apt-key
Fetched 130 kB in 2s (60.5 kB/s)
Reading package lists... Done
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian buster InRelease: Unknown error executing apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://deb.debian.org/debian buster-updates InRelease: Unknown error executing apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://security.debian.org buster/updates InRelease: Unknown error executing apt-key
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://repository.solydxk.com solydxk-10 InRelease: Unknown error executing apt-key
W: Failed to fetch https://repository.solydxk.com/dists/solydxk-10/InRelease  Unknown error executing apt-key
W: Failed to fetch http://deb.debian.org/debian/dists/buster/InRelease  Unknown error executing apt-key
W: Failed to fetch http://security.debian.org/dists/buster/updates/InRelease  Unknown error executing apt-key
W: Failed to fetch http://deb.debian.org/debian/dists/buster-updates/InRelease  Unknown error executing apt-key
W: Some index files failed to download. They have been ignored, or old ones used instead.
root@localhost:/# 
Are ther repos out of date then? Any idea of what's going on??

User avatar
ilu
Posts: 2679
Joined: 09 Oct 2013 12:45

Re: Chroot

Postby ilu » 09 Feb 2020 18:15

Is the repo key verified if you do this from inside SolydXK without chroot?

Does this help: http://forums.debian.net/viewtopic.php?t=135062?

Son of Hera
Posts: 14
Joined: 02 Feb 2020 21:54

Re: Chroot

Postby Son of Hera » 09 Feb 2020 20:15

I'll restart and boot to here and do the updates from the install and see what happens. Had to step out for awhile and just got back. Didn't have time to check before.

Son of Hera
Posts: 14
Joined: 02 Feb 2020 21:54

Re: Chroot

Postby Son of Hera » 09 Feb 2020 21:36

ilu wrote:
09 Feb 2020 18:15
Is the repo key verified if you do this from inside SolydXK without chroot?

Does this help: http://forums.debian.net/viewtopic.php?t=135062?
I ran apt update, apt upgrade and apt dist-upgrade w/o any issues when I logged into Solydx. Didn't have anything to do but the commands worked as advertised.

So when I'm in the chroot environment in Mageia chrooting to Solydx I'm supposed to get into the source/etc/profile in Solydx or add that line: source /etc/profile to the chroot at the bottom of the chroot command?

User avatar
ilu
Posts: 2679
Joined: 09 Oct 2013 12:45

Re: Chroot

Postby ilu » 10 Feb 2020 10:05

"source /etc/profile" means run the command. But I can't really tell you since I've never done anything like that. There might be a problem with the path in the environment so that apt doesn't find the right file.
I also don't really understand why you want to do updates with chroot. I could understand your need in a server environment with lots of VMs but SolydXK is a desktop OS where people usually log in ...

Son of Hera
Posts: 14
Joined: 02 Feb 2020 21:54

Re: Chroot

Postby Son of Hera » 10 Feb 2020 20:45

ilu wrote:
10 Feb 2020 10:05
"source /etc/profile" means run the command. But I can't really tell you since I've never done anything like that. There might be a problem with the path in the environment so that apt doesn't find the right file.
I also don't really understand why you want to do updates with chroot. I could understand your need in a server environment with lots of VMs but SolydXK is a desktop OS where people usually log in ...
Usually when I'm in another OS I'll chroot to another one to do updates or other things. I've done that a lot and it's quicker than restarting to get to one that I need to just do an update etc.

So got curious as to what they were talking about.


Return to “Newbie Questions”

Who is online

Users browsing this forum: No registered users and 4 guests