LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Bedrock Linux (https://www.linuxquestions.org/questions/bedrock-linux-118/)
-   -   Void base, Ubuntu Added Trying to add a repository to Ubuntu (https://www.linuxquestions.org/questions/bedrock-linux-118/void-base-ubuntu-added-trying-to-add-a-repository-to-ubuntu-4175683696/)

rsmereka 10-15-2020 02:41 PM

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

sgosnell 10-15-2020 04:28 PM

Here is just one of many hits from a 15-second Google search.
https://linoxide.com/linux-how-to/fi...ubuntu-debian/

ParadigmComplex 10-16-2020 07:54 AM

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.

rsmereka 10-16-2020 08:05 AM

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.

ParadigmComplex 10-16-2020 09:02 AM

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`).

rsmereka 10-16-2020 10:32 AM

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.

ParadigmComplex 10-16-2020 11:29 AM

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?

rsmereka 10-16-2020 01:07 PM

No, not really,

I just need to learn from experience. This is typically how I learn.

ParadigmComplex 10-16-2020 01:30 PM

Alright. Good luck and have fun :)


All times are GMT -5. The time now is 08:19 AM.