Commit 75b29eec authored by Vermeeren's avatar Vermeeren

readme: add snippet to list available packages

parent ea8c8e2e
......@@ -29,6 +29,21 @@ deb https://mel.vin/debian/ buster-backports main contrib non-free
deb-src https://mel.vin/debian/ buster-backports main contrib non-free
```
### Listing available packages
After adding the repository and running `apt update` you can list the available
packages with this snippet.
```
for i in /var/lib/apt/lists/mel.vin_debian_dists_*_binary-amd64_Packages; do \
printf 'list file: %s\n' "$i"
read
grep-dctrl -sPackage,Version . "$i" | less
done
```
### Repository doesn't support architecture ...
If multi-arch is enabled and `apt update` emits messages like:
> N: Skipping acquire of configured file ... as repository ... doesn't support
......@@ -52,7 +67,7 @@ First, install the generic development tools.
sudo apt install packaging-dev debian-keyring devscripts equivs
```
### environment variables
### Environment variables
Various utilities used in debian packaging need to know your name and email. Add
this to your profile or shell rc.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment