• FoxBJK@midwest.social
    link
    fedilink
    English
    arrow-up
    51
    ·
    2 months ago

    Kinda miffed they didn’t include a screenshot of the colors, but I’m guessing the readability will be vastly better!

    • LeFantome@programming.dev
      link
      fedilink
      arrow-up
      6
      ·
      2 months ago

      I have heard of Nala before but have never actually taken the time to install it. Based on your comment, I just checked it out on one of the Debian 12 systems I run. Turns out it was right in the repos.

      Wow. So good. I cannot believe it took me this long. Jealous of it on the Arch installs now.

      I installed it on Ubuntu 22.04 as well but it was not there when I searched. I had to add the jammy-backports repo first.

      Thank you for the push.

    • umbrella
      link
      fedilink
      arrow-up
      2
      ·
      2 months ago

      i tought apt already did this if you were downloading from different mirrors?

  • Jordan_U
    link
    fedilink
    arrow-up
    23
    ·
    2 months ago

    10 year old bug?

    What are they talking about, that bug report is from 2014‽

    … Fuck

  • Papamousse@beehaw.org
    link
    fedilink
    arrow-up
    19
    arrow-down
    1
    ·
    2 months ago

    I’m using nala for some time now, it is pretty 😀 (it is a frontend for apt, with colours, history, undo, etc)

    • Frater Mus@lemmy.sdf.org
      link
      fedilink
      English
      arrow-up
      6
      ·
      2 months ago

      Agreed. I haven’t read the article yet, but my first thought was “how am I going to turn that off”

      • mexicancartel@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        4
        ·
        2 months ago

        Probably it will have an option --no-color or something as well as config. Somebody will ask for it for a specific niche use case and it might not be hard to implement within apt so they add it

      • The Doctor@beehaw.org
        link
        fedilink
        English
        arrow-up
        4
        arrow-down
        2
        ·
        2 months ago

        It’ll be fun filtering all the color codes out of build logs, that’s for sure. :/

        • helaslo@lemm.ee
          link
          fedilink
          arrow-up
          5
          ·
          2 months ago

          Apt even warns you to not use it for anything scripting related, apt-get has a stable interface for exactly that

        • ReversalHatchery@beehaw.org
          link
          fedilink
          English
          arrow-up
          4
          ·
          2 months ago

          So far almost any Linux software I have used and supports colored output automatically turns off coloring if it detects that stdout is not a terminal.

  • lemmyreader
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    2
    ·
    2 months ago

    And this is what Debian users will be doing more often : Installing, uninstalling and installing software just because APT and nala is so pretty and colorful. It adds a whole new flavor to the art of Procrastination 😁

  • BaumGeist
    link
    fedilink
    arrow-up
    7
    ·
    2 months ago

    Cool now do parallel downloads and I’ll quit using Nala

  • penquin@lemm.ee
    link
    fedilink
    arrow-up
    9
    arrow-down
    4
    ·
    2 months ago

    Y’all need Nala. Debian should just make it their default and call it a day.

    • mexicancartel@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      8
      ·
      edit-2
      2 months ago

      Nala is too cool but kinda messy if you resize terminal. It puts things in box hsing unicode characters and nake it look like some gui. Also nala is using python-apt and it also require apt. This brings out of the box ecperience with apt itself

      Edit: typos

  • AutoTL;DR@lemmings.worldB
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    1
    ·
    2 months ago

    This is the best summary I could come up with:


    Major updates to Debian’s Advanced Packaging Tool don’t come along very often, but APT 2.9 is here with a significant facelift.

    It’s only just over a year since we reported on APT 2.6, development of which was spurred by the inclusion of soft-loadable firmware in the default installation media for Debian 12.

    It also lists the important section of packages to be removed last so they don’t scroll off the top of the screen during large operations.

    The Reg FOSS desk suspects that the changes are in part aimed at catching up with two other packaging tools.

    The DNF packaging tool used in Fedora, Red Hat and the RHELatives has attractively formatted output like this … but closer to home, Nala, an alternative command-line package-management tool for Debian and Ubuntu, brings some of the DNF look and feel to .deb-based distros.

    We have recommended Nala previously and Teejeetech’s Snap and Flatpak-free Ubuntu remix Zinc – now renamed Asmi – includes it as standard.


    The original article contains 377 words, the summary contains 163 words. Saved 57%. I’m a bot and I’m open source!

  • umbrella
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 months ago

    i tought debian didnt have colored terminals by default? at least my server installs don’t.

    • azertyfun@sh.itjust.works
      link
      fedilink
      arrow-up
      12
      ·
      2 months ago

      “Color terminal” isn’t a thing. Applications can choose to output ANSI escape codes which most terminal emulators will render as color changes. Whether and which colors get used depends on the value of $TERM, which informs the application of the capabilities of the terminal emulator.

      So if your remote servers don’t have color, either $TERM isn’t being set or its value is unknown to the server. Most modern terminal emulators support at least the same escape codes as xterm-256color though so you can always try to export that.