docs.lists.yoctoproject.org archive mirror
 help / color / mirror / Atom feed
From: Richard Purdie <richard.purdie@linuxfoundation.org>
To: Michael Opdenacker <michael.opdenacker@bootlin.com>,
	docs@lists.yoctoproject.org
Subject: Re: [docs] [PATCH] manuals: replace "apt-get" by "apt"
Date: Wed, 06 Oct 2021 20:17:57 +0100	[thread overview]
Message-ID: <341253e1d24e58b01ead644537cbadfb0594d805.camel@linuxfoundation.org> (raw)
In-Reply-To: <20211006190319.963605-1-michael.opdenacker@bootlin.com>

On Wed, 2021-10-06 at 21:03 +0200, Michael Opdenacker wrote:
> Modern Debian based distros (such as Ubuntu) now
> use "apt" instead of "apt-get"
> 
> Also make sure "apt" is invoked with root privileges (mandatory)
> 
> Signed-off-by: Michael Opdenacker <michael.opdenacker@bootlin.com>
> ---
>  documentation/brief-yoctoprojectqs/index.rst     |  2 +-
>  documentation/dev-manual/common-tasks.rst        |  6 +++---
>  documentation/ref-manual/system-requirements.rst | 10 +++++-----
>  documentation/toaster-manual/setup-and-use.rst   |  2 +-
>  documentation/toaster-manual/start.rst           |  2 +-
>  5 files changed, 11 insertions(+), 11 deletions(-)
> 
> diff --git a/documentation/brief-yoctoprojectqs/index.rst b/documentation/brief-yoctoprojectqs/index.rst
> index 74167befad..c299df3b6a 100644
> --- a/documentation/brief-yoctoprojectqs/index.rst
> +++ b/documentation/brief-yoctoprojectqs/index.rst
> @@ -80,7 +80,7 @@ distribution:
>  
>  .. code-block:: shell
>  
> -  $ sudo apt-get install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
> +  $ sudo apt install &UBUNTU_HOST_PACKAGES_ESSENTIAL;
>  
>  .. note::
>  
> diff --git a/documentation/dev-manual/common-tasks.rst b/documentation/dev-manual/common-tasks.rst
> index 71e5d6ef57..45834361bf 100644
> --- a/documentation/dev-manual/common-tasks.rst
> +++ b/documentation/dev-manual/common-tasks.rst
> @@ -5874,7 +5874,7 @@ system image files much faster.
>        use the tool without specifying ``PATH`` even from the root
>        account::
>  
> -         $ sudo apt-get install bmap-tools
> +         $ sudo apt install bmap-tools
>  
>     -  If you are unable to install the ``bmap-tools`` package, you will
>        need to build Bmaptool before using it. Use the following command::
> @@ -7066,7 +7066,7 @@ to fetch the repository information:
>  
>  .. code-block:: none
>  
> -  # apt-get update
> +  # sudo apt update
>  

I think the prompt there is "#" suggesting you have root privileges. Maybe that
needs to be $ now?

Cheers,

Richard



  reply	other threads:[~2021-10-06 19:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-06 19:03 [PATCH] manuals: replace "apt-get" by "apt" Michael Opdenacker
2021-10-06 19:17 ` Richard Purdie [this message]
2021-10-07 10:56 ` [docs] " Quentin Schulz
2021-10-07 12:24   ` Michael Opdenacker

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=341253e1d24e58b01ead644537cbadfb0594d805.camel@linuxfoundation.org \
    --to=richard.purdie@linuxfoundation.org \
    --cc=docs@lists.yoctoproject.org \
    --cc=michael.opdenacker@bootlin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).