• apprehensively_human
    link
    fedilink
    English
    arrow-up
    17
    ·
    edit-2
    1 year ago

    Without thinking or reading to the last paragraph of this article, I went and started a dist-upgrade on my pi.

    Curious now to see if it still boots after it’s finished.

    Edit: Oops

    ~ » ssh pihole@172.16.0.1
    Last login: Wed Oct 11 09:38:31 2023 from 172.16.0.96
    compdump:print:36: write error: no space left on device
    compdump:print:42: write error: no space left on device
    compdump:print:44: write error: no space left on device
    compdump:44: write error: no space left on device
    compdump:print:44: write error: no space left on device
    compdump:44: write error: no space left on device

    • Rob Bos
      link
      fedilink
      arrow-up
      12
      ·
      edit-2
      1 year ago

      One thing Debian introduced recently: apt upgrade --without-new-pkgs and they recommend that before a full dist-upgrade. I think it’s made a pretty big difference in the upgrade smoothness, eliminating some possibly-breaking package upgrades.

      edit: I say recently but I mean new-to-me

    • Rob Bos
      link
      fedilink
      arrow-up
      4
      ·
      edit-2
      1 year ago

      I haven’t tried this, but maybe ssh -t "rm /var/cache/apt/archives/*deb" or something like to clear up some space would work.

      • apprehensively_human
        link
        fedilink
        English
        arrow-up
        2
        ·
        1 year ago

        This worked! I’ve got it running on a 4gb SD card so it’s no wonder it ballooned, but once I got apt cleaned up it’s now humming along at 83% usage.

    • Engywuck@lemm.ee
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      1 year ago

      I have plenty of space, as the OS boots from a 256 GB SSD and a very minimal install. I may try to dist-upgrade after a backup.

      • Engywuck@lemm.ee
        link
        fedilink
        arrow-up
        1
        arrow-down
        3
        ·
        1 year ago

        As a followup, I just changed the repos and did the apt full upgrade. Everything works beautifully. But as I said, I had a very minimal headless install without any DE.