this post was submitted on 27 Apr 2025
845 points (98.3% liked)

linuxmemes

24686 readers
1452 users here now

Hint: :q!


Sister communities:


Community rules (click to expand)

1. Follow the site-wide rules

2. Be civil
  • Understand the difference between a joke and an insult.
  • Do not harrass or attack users for any reason. This includes using blanket terms, like "every user of thing".
  • Don't get baited into back-and-forth insults. We are not animals.
  • Leave remarks of "peasantry" to the PCMR community. If you dislike an OS/service/application, attack the thing you dislike, not the individuals who use it. Some people may not have a choice.
  • Bigotry will not be tolerated.
  • 3. Post Linux-related content
  • Including Unix and BSD.
  • Non-Linux content is acceptable as long as it makes a reference to Linux. For example, the poorly made mockery of sudo in Windows.
  • No porn, no politics, no trolling or ragebaiting.
  • 4. No recent reposts
  • Everybody uses Arch btw, can't quit Vim, <loves/tolerates/hates> systemd, and wants to interject for a moment. You can stop now.
  • 5. πŸ‡¬πŸ‡§ Language/язык/Sprache
  • This is primarily an English-speaking community. πŸ‡¬πŸ‡§πŸ‡¦πŸ‡ΊπŸ‡ΊπŸ‡Έ
  • Comments written in other languages are allowed.
  • The substance of a post should be comprehensible for people who only speak English.
  • Titles and post bodies written in other languages will be allowed, but only as long as the above rule is observed.
  • 6. (NEW!) Regarding public figuresWe all have our opinions, and certain public figures can be divisive. Keep in mind that this is a community for memes and light-hearted fun, not for airing grievances or leveling accusations.
  • Keep discussions polite and free of disparagement.
  • We are never in possession of all of the facts. Defamatory comments will not be tolerated.
  • Discussions that get too heated will be locked and offending comments removed.
  • Β 

    Please report posts and comments that break these rules!


    Important: never execute code or follow advice that you don't understand or can't verify, especially here. The word of the day is credibility. This is a meme community -- even the most helpful comments might just be shitposts that can damage your system. Be aware, be smart, don't remove France.

    founded 2 years ago
    MODERATORS
     
    you are viewing a single comment's thread
    view the rest of the comments
    [–] superkret@feddit.org 40 points 2 days ago (3 children)

    I disagree. According to Debian's own documentation, apt is a newer front-end for your daily CLI updating and installing needs.
    It has simplified syntax, and combines the most-used functions and options.
    It is not meant for use in scripts, cause the syntax may change between versions.

    The dependency-solver in the back-end is identical.

    tl/dr:
    apt is shorter to type and will have prettier output, starting with Debian 13.
    Use apt-get inside scripts.

    [–] RustyNova@lemmy.world 3 points 1 day ago

    Uh!? I've been lied to! Editing comment for clarity

    [–] Trimatrix@lemmy.world 10 points 2 days ago

    I can concur, thats what my research also indicates. Plus I am too lazy to type apt-get

    [–] SnotFlickerman@lemmy.blahaj.zone 5 points 2 days ago (1 children)

    My personal experience is that apt-get will absolutely miss packages that apt will capture.

    I was actually surprised by that about six months ago and finally switched over to apt after years of apt-get.

    [–] superkret@feddit.org 4 points 2 days ago (2 children)

    That's actually one of the reasons I switched from Debian to Arch.
    Dependency resolution shouldn't differ based on which front-end you use.
    Debian has dpkg, aptitude, apt-get, apt, synaptic, the Software Center...
    Fedora has rpm, dnf, yum. SUSE adds a couple more. I don't get it.
    A linux distro should have one package manager, doing different stuff with it should be done via different commands/options inside it.

    [–] Rhaedas@fedia.io 3 points 2 days ago

    As a (still) Linux novice, this is something that I noticed with later distributions but never thought about your valid point. I did always wonder why there should be different places to install things in the same OS. It would probably be fine if they handled things the same, but then all you're doing is changing the UI. It never "felt" like they did things the same.

    [–] SnotFlickerman@lemmy.blahaj.zone 2 points 2 days ago (1 children)

    Out of curiosity, can pacman update flatpaks? Or do you still have to update those independent of your package manager?

    [–] superkret@feddit.org 3 points 2 days ago* (last edited 2 days ago)

    It can't. I use a very simple script to combine updates and the basics of system maintenance:

    #!/usr/bin/env bash
    systemctl --failed -q
    yay -Pw
    sudo pacman -Syu
    flatpak update
    flatpak uninstall --unused
    pacman -Qqnte > ~/.local/share/applications/pkglist.txt
    pacman -Qqdtt > ~/.local/share/applications/optdeplist.txt
    pacman -Qqem > ~/.local/share/applications/foreignpkglist.txt
    pacman -Qtd
    pacman -Qm | grep -v yay-bin
    sudo find /etc -name *.pac*
    yay -Ps | grep Cache