LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Password
Bedrock Linux This forum is for the discussion of Bedrock Linux.

Notices


Reply
  Search this Thread
Old 07-20-2021, 08:12 AM   #1
steveh537
LQ Newbie
 
Registered: Jul 2021
Posts: 2

Rep: Reputation: Disabled
Bedrock Tutorial


On a base Gentoo system I have installed Bedrock and have started the tutorial.

brl list shows:
bedrock
gentoo
tut-alpine
tut-void

Following the tutorial I have run:

man jq | head | tee /tmp/tut1

in another terminal but get:

man: can't create temporary cat for /bedrock/cross/man/cat1/jq.1.gz: Function not implemented

brl which man gives me gentoo but the tutorial wants me to use Void's man command so I tried:

strat tut-void man jq

man: can't set the locale; make sure $LC_* and $LANG are correct
mandb: can't create index cache /bedrock/cross/man/19348: Function not implemented
man: can't create temporary cat for /bedrock/cross/man/cat1/jq.1.gz: Function not implemented

locale is:
LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC=POSIX
LC_TIME="en_GB.utf8"
LC_COLLATE="en_GB.utf8"
LC_MONETARY="en_GB.utf8"
LC_MESSAGES="en_GB.utf8"
LC_PAPER="en_GB.utf8"
LC_NAME="en_GB.utf8"
LC_ADDRESS="en_GB.utf8"
LC_TELEPHONE="en_GB.utf8"
LC_MEASUREMENT="en_GB.utf8"
LC_IDENTIFICATION="en_GB.utf8"
LC_ALL=

What do I need to do to sort this out so I can complete the tutorial please?

Last edited by steveh537; 07-20-2021 at 08:15 AM.
 
Old 07-21-2021, 09:35 AM   #2
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
This is strange, I've never seen anyone report this. Maybe recent changes in Gentoo, Void, or Alpine broke something that I didn't catch yet.

Quote:
man: can't create temporary cat for /bedrock/cross/man/cat1/jq.1.gz: Function not implemented
`/bedrock/cross` is read-only, but this error indicates that, for some reason, `man` is trying to write into it. I don't know why it'd try to do that.

Quote:
brl which man gives me gentoo but the tutorial wants me to use Void's man command so I tried:

strat tut-void man jq
This was a good idea, props for thinking this through. Part of the intent here is to show that you don't have to run `strat` all the time; Bedrock will usually figure out what is needed from context. But if it picks something wrong, manually calling strat is absolutely the correct thing to do.

Quote:
man: can't set the locale; make sure $LC_* and $LANG are correct
When you had Bedrock `--hijack` your install, it tried to detect your install distro's locale and stored it in `/bedrock/etc/bedrock.conf` toward the top in the `[locale]` section. It then uses that later to setup the locale of strata you `brl fetch`. It's possible Bedrock didn't properly capture that information when hijacking and set up `tut-void` properly. Check the values in the `[locale]` section of `/bedrock/etc/bedrock.conf`.

Quote:
mandb: can't create index cache /bedrock/cross/man/19348: Function not implemented
IIRC Void's `man` is mandoc, not mandb. I'm not sure why mandb is coming up here at all, let alone trying to write into `/bedrock/cross`.

Quote:
man: can't create temporary cat for /bedrock/cross/man/cat1/jq.1.gz: Function not implemented
More trying to write into `/bedrock/cross` that I don't understand.

Quote:
What do I need to do to sort this out so I can complete the tutorial please?
Ideally I'd want to fix the underlying issue to make this functionality work as expected. However, I can't seem to reproduce it, and I don't have any leads from your description.

What the tutorial is actually looking for at this step is if a file at `/tmp/tut1` (or possibly `/tmp/tut2` etc if you're running multiple tutorials at once) contains "jq". You can trick the tutorial into thinking you ran the desired command by instead just running

Code:
echo "jq" > /tmp/tut1
Hopefully that unblocks you here and you don't run into any other issues. I'll try to dig into this further independently to see if I can figure it out and ensure it doesn't bite anyone else.
 
1 members found this post helpful.
Old 07-21-2021, 01:17 PM   #3
steveh537
LQ Newbie
 
Registered: Jul 2021
Posts: 2

Original Poster
Rep: Reputation: Disabled
Appreciate the reply. Thanks to your knowledge I got through the remainder of the tutorial.

Locale in bedrock.conf was 'localegen = en_US.utf8 UTF-8, en_GB.utf8 UTF-8'

I'm happy to redo the tutorial and probe for any other information that might be useful to you if that assists?

I've previously had Bedrock installed on a base Linux Mint system and had no bother at all with a Void/Alpine/Gentoo setup hence installing your excellent work first thing on this new laptop
 
Old 07-21-2021, 08:17 PM   #4
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
Quote:
Originally Posted by steveh537 View Post
Appreciate the reply. Thanks to your knowledge I got through the remainder of the tutorial.
Excellent

Quote:
Originally Posted by steveh537 View Post
Locale in bedrock.conf was 'localegen = en_US.utf8 UTF-8, en_GB.utf8 UTF-8'
That seems fine. Presumably the locale issue is something else.

Quote:
Originally Posted by steveh537 View Post
I'm happy to redo the tutorial and probe for any other information that might be useful to you if that assists?
While appreciated, I can't think of anything in particular for you to look at. If I do I'll reach out

Quote:
Originally Posted by steveh537 View Post
I've previously had Bedrock installed on a base Linux Mint system and had no bother at all with a Void/Alpine/Gentoo setup hence installing your excellent work first thing on this new laptop
Happy to hear it worked well for you there. Perhaps the key difference here is which distro you hijacked. I didn't yet try to hijack a fresh Gentoo install, instead just having minimal instances of three strata on my test system. I'll try to give that a look.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] bedrock: bedrock poki remains on UTC no matter what jr_bob_dobbs Bedrock Linux 5 09-03-2019 06:10 AM
Welcome to the Bedrock Linux Forum jeremy Bedrock Linux 10 04-01-2016 01:51 AM
[SOLVED] bedrock not using brsh.conf, dropped to bedrock's /bin/sh Siljrath Linux - Distributions 2 08-25-2014 06:47 AM
[SOLVED] No audio for user in bedrock with sid & gentoo Siljrath Linux - Desktop 1 06-16-2014 02:44 PM
LXer: Google-Bedrock-Red Hat Indulge in Mud-Slinging Now LXer Syndicated Linux News 0 04-23-2011 02:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 06:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration