Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

The backports repo solves most of it, with an occasional supplement from testing.

    # /etc/apt/preferences
    Package: *
    Pin: release o=Debian Backports,a=bullseye-backports
    Pin-Priority: 500
    
    Package: *
    Pin: release o=Debian,a=stable
    Pin-Priority: 100
    
    Package: *
    Pin: release o=Debian,a=testing
    Pin-Priority: 98
    
    Package: *
    Pin: release o=Debian,a=unstable
    Pin-Priority: 50
Then:

    $ apt-cache policy ripgrep fzf jq
    ripgrep:
      Installed: (none)
      Candidate: 12.1.1-1+b1
      Version table:
         13.0.0-2 98
             50 http://ftp.us.debian.org/debian unstable/main amd64 Packages
             98 http://ftp.us.debian.org/debian testing/main amd64 Packages
         12.1.1-1+b1 100
            100 http://deb.debian.org/debian bullseye/main amd64 Packages
    fzf:
      Installed: (none)
      Candidate: 0.24.3-1+b6
      Version table:
         0.29.0-1 98
             50 http://ftp.us.debian.org/debian unstable/main amd64 Packages
             98 http://ftp.us.debian.org/debian testing/main amd64 Packages
         0.24.3-1+b6 100
            100 http://deb.debian.org/debian bullseye/main amd64 Packages
    jq:
      Installed: 1.6-2.1
      Candidate: 1.6-2.1
      Version table:
     *** 1.6-2.1 100
            100 http://deb.debian.org/debian bullseye/main amd64 Packages
             50 http://ftp.us.debian.org/debian unstable/main amd64 Packages
             98 http://ftp.us.debian.org/debian testing/main amd64 Packages
            100 /var/lib/dpkg/status

PS. Don't curl into /usr/bin, the distro owns that. Downloads go to $HOME/bin or /usr/local/bin.


view as:

Legal | privacy