In particular, once you have the apt-transport-tor
package installed, the following entries should work in your sources list for a Debian system:
deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian bookworm main deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian bookworm-updates main deb tor+http://5ajw6aqf3ep7sijnscdzw77t7xq4xjpsy335yb2wiwgouo7yfxtjlmid.onion/debian-security bookworm-security main #deb tor+http://2s4yqjx5ul6okpp3f2gaunr2syex5jgbfpfvhxxbbjwnrsvbk5v3qbid.onion/debian bookworm-backports mainThe old onion services using version 2 of Tor's onion protocol continue to work for now:
deb tor+http://vwakviie2ienjx6t.onion/debian bookworm main deb tor+http://vwakviie2ienjx6t.onion/debian bookworm-updates main deb tor+http://sgvtcaew4bxjd7ln.onion/debian-security bookworm-security main #deb tor+http://vwakviie2ienjx6t.onion/debian bookworm-backports main