Fix instructions for updating dependencies
Change-Id: I1004a8b70e7a60a0cda4bf5642dc4c06fed7d924
Signed-off-by: Avi Kondareddy <avikr@google.com>
diff --git a/README.md b/README.md
index 063ef63..22c3cf9 100644
--- a/README.md
+++ b/README.md
@@ -51,18 +51,18 @@
* bison
* python3
-If recursive dependancies change in future snapshots, [debs.bzl](debs.bzl) must
-be manually updated with a list of all dependancies.
+If recursive dependencies change in future snapshots, [debs.bzl](debs.bzl) must
+be manually updated with a list of all dependencies.
A simple solution:
```shell
# run interactive shell in latest debian image
docker run -it --rm debian
-# install direct dependancies
-apt install build-essential bc m4 flex bison python3
+# update list of available packages
+apt update
-# generate list of all required dependancies recursively
+# generate list of all required dependencies recursively
apt-cache depends --recurse --no-recommends --no-suggests --no-conflicts \
--no-breaks --no-replaces --no-enhances --no-pre-depends \
build-essential bc m4 flex bison python3 | grep "^\w" | sort -u