European. Liberal. Insufferable green. History graduate. I never downvote opinions and I do not engage with people who downvote mine. Comments with vulgarity, or snark, or other low-effort content, will also be ignored.

  • 1 Post
  • 679 Comments
Joined 2 years ago
cake
Cake day: June 16th, 2023

help-circle
  • its not difficult to pipe a file of packages into a shell loop to get the behavior as described

    It’s possible, but “not difficult” is a bit of a stretch. FWIW I’ve used this in the past, among other hacky solutions that don’t always work as expected:

    # Print packages installed from different origins.
    # Exclude standard Ubuntu repositories.
    
    grep -H '^Origin:' /var/lib/apt/lists/*Release | grep -v ' Ubuntu$' | sort -u \
    | while read -r line; do
        origin=${line#* }
        echo $origin:
        list=${line%%:*}
        sed -rn 's/^Package: (.*)$/\1/p' ${list%_*Release}*Packages | sort -u \
        | xargs -r dpkg -l 2>/dev/null | grep '^.i '
        echo
    done
    

















  • Realistically, there’s going to be no way to stop this. It’s too useful. It works and most people appreciate it. I know this because I have visited southern China recently. I’ve seen the train stations and coffee shops where people now think nothing of leaving their belongings completely unattended. This level of surveillance effectively makes petty crime impossible. It’s widely seen as progress, in a way it is progress, and there’s no going back.

    The challenge remaining is to keep some level of democratic accountability over our governments. That’s feasible but it’s not going to be easy.