LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-15-2020, 02:41 PM   #1
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85
Blog Entries: 3

Rep: Reputation: 17
Void base, Ubuntu Added Trying to add a repository to Ubuntu


Hi All,

I am experimenting with Bedrock. I started with a Void x64 Xfce installed system (new) and added Ubuntu to this. I then tried to add a ppa to Ubuntu with:

add-apt-repository ppa:blah/blah

I got:

sh: 9: add-apt-repository: not found

This was run from a root shell. How far does Bedrock's coverage of Ubuntu span? I also looked at the 'ppm' commands and did not see anything useful.

Ideas?
TIA
 
Old 10-15-2020, 04:28 PM   #2
sgosnell
Senior Member
 
Registered: Jan 2008
Location: Baja Oklahoma
Distribution: Debian Stable and Unstable
Posts: 1,943

Rep: Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542Reputation: 542
Here is just one of many hits from a 15-second Google search.
https://linoxide.com/linux-how-to/fi...ubuntu-debian/
 
Old 10-16-2020, 07:54 AM   #3
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
To expand on sgosnell's correct answer here, if you're ever looking for which package provides a command and Google fails you, you can use the apt-file command to see which package provides a given file. In this case:

Code:
$ apt-file search add-apt-repository
software-properties-common: /usr/bin/add-apt-repository
software-properties-common: /usr/share/man/man1/add-apt-repository.1.gz
it lets us know we need the software-properties-common package, exactly as sgosnell's Google query indicated. If you don't have the apt-file command, it's (unsurprisingly) made available via the apt-file package.
 
Old 10-16-2020, 08:05 AM   #4
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85

Original Poster
Blog Entries: 3

Rep: Reputation: 17
I did web searches but I have to admit that I did not consider an answer to be on the Ubuntu side. Anyway thanks for the very complete responses from sgosnell and ParadigmComplex.
 
Old 10-16-2020, 09:02 AM   #5
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
Ah, then I have a guess about where the underlying confusion originated. Bedrock doesn't reimplement or emulate features from other distros, but rather uses them as-is. While Bedrock still has a ways to go, its goal is to have features from other distros act identically to how they act in their normal environment.

If you haven't yet, consider going through either the `brl tutorial basics` interactive tutorial or read through the basic usage instructions to get a sense of where the Bedrock-specific knowledge comes in. Once you've internalized the content there, it should be more obvious when you need to do Bedrock-specific things (e.g. use the `strat` command or prefix `/bedrock/strata/...` to a file path) and when you should be able treat something as-is (e.g. `apt install add-apt-repository`).
 
Old 10-16-2020, 10:32 AM   #6
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85

Original Poster
Blog Entries: 3

Rep: Reputation: 17
ParadigmComplex,

That is it exactly. This is only the second day with Bedrock and I am completely out of my element. I am lost. I feel like what Jesse Smith from distrowatch.com wrote on April 15, 2019:

"Some people view Bedrock as a sort of compatibility layer that sits on top of a distribution and makes it possible to run components from other projects (the way people visualize running Docker or VirtualBox on top of an existing distribution). However, it is probably better to think of Bedrock as a layer under a distribution, serving as a foundation where we can place pieces of other distributions. Bedrock is not a Linux distribution itself in the usual sense, it feels more like glue that holds other distributions together.

Personally, I find it tricky to visualize what Bedrock is, I think it is easier to explore how it works by example."

Right now I am stumbling around like a drunken sailor. As I spend more time with Bedrock, I expect this will improve.

BTW, I did go through the basic tutorial but most of it was beyond me.
 
Old 10-16-2020, 11:29 AM   #7
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
If the basics tutorial and documentation were beyond you, I'm concerned figuring Bedrock out by experimentation may be as well. Is there something specific in the basics content I can help clarify?
 
Old 10-16-2020, 01:07 PM   #8
rsmereka
Member
 
Registered: Jul 2003
Location: Southwestern Ontario, Canada
Distribution: LFS, OpenBSD, UBPorts, MX, Gentoo
Posts: 85

Original Poster
Blog Entries: 3

Rep: Reputation: 17
No, not really,

I just need to learn from experience. This is typically how I learn.
 
Old 10-16-2020, 01:30 PM   #9
ParadigmComplex
Bedrock Linux Founder
 
Registered: Feb 2016
Distribution: Bedrock Linux
Posts: 179

Rep: Reputation: Disabled
Alright. Good luck and have fun
 
  


Reply

Tags
ubuntu



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
pthread giving error: invalid conversion from ‘void* (*)(int*)’ to ‘void* (*)(void*)’ knobby67 Programming 4 05-05-2017 10:54 AM
(void)time(&cur_time); Why did the author put (void) here? e3399 Programming 3 03-28-2011 11:45 AM
[SOLVED] using maverick - added one new repository but now can't add another repository gerryyy Linux - Software 6 02-16-2011 06:47 AM
void main(void) linuxanswer Programming 4 10-26-2003 12:37 AM
void foo(void) and void foo() lackluster Programming 9 02-15-2003 10:57 AM

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

All times are GMT -5. The time now is 05:24 PM.

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