66 links
  • Ban's links
  • Home
  • Login
  • RSS Feed
  • ATOM Feed
  • Tag cloud
  • Picture wall
  • Daily
Links per page: 20 50 100
1 results tagged apt x
  • Synchronizing package list between computers on Debian

    There's a lot of info on the web, but I never can find a complete canonical way of doing this when I need it, so here's mine:

    On the source machine, dpkg --get-selections > my-selections (here, everybody agrees though)

    On the target machine:

    # apt update
    # apt-cache dumpavail | dpkg --merge-avail
    # dpkg --clear-selections  # that's dangerous if you don't set reasonable selections afterwards!
    # dpkg --set-selections < my-selections
    # apt-get -u dselect-upgrade

    And voila.

    February 20, 2024 at 17:45:15 GMT+1 * - permalink -
    QRCode
    - https://ban.netlib.re/shaarli/shaare/3_cb-Q
    Debian linux dpkg apt
Links per page: 20 50 100
Shaarli - The personal, minimalist, super fast, database-free, bookmarking service by the Shaarli community - Help/documentation