all 70 comments

sorted by: hot top controversial new old
[–] 76 points 1 year ago (7 children)

And yet I’ve never had an apt upgrade break my whole system.

  • source
  • hideshow 7 child comments
  • [–] 5 points 1 year ago* (last edited 1 year ago) (2 children)
  • [–] 34 points 1 year ago* (5 children)

    Debian users:

    What do you mean by PPA?

    Also: apt-get is intended as low-level APT interface for scripts, just use apt instead. I get why people are confused nowadays, because APT documentation is terrible.

  • source
  • hideshow 5 child comments
  • [–] 5 points 1 year ago (2 children)

    apt-get is intended as low-level APT interface for scripts

    Ah, that's what they call it now.

    I wonder to what they degraded dpkg then?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 26 points 1 year ago (1 child)

    This meme brought to you by outdated packages in the official repo

  • source
  • hideshow 1 child comment
  • [–] 24 points 1 year ago (6 children)
  • [–] 15 points 1 year ago (5 children)

    You ... you understand pacman cli switches?

  • source
  • parent
  • hideshow 5 child comments
  • [–] 11 points 1 year ago (3 children)

    No, I just hold my y key until there are many many ys.

  • source
  • parent
  • hideshow 3 child comments
  • [–] 4 points 1 year ago*

    Yes. -Syyu is for "Sync (repository action), database update (forced), upgrade packages", in that order (though the flags don't have to be). Doubling a lowercase character like yy or uu is to force the operation. yy in particular shouldn't be needed, as it only overrides the "is your database recent" check. Unless you're updating more than every 5 minutes, using a single y is perfectly fine.

  • source
  • parent
  • [–] 10 points 1 year ago* (2 children)

    Never had an update break on headless Debian. Even when switching from 12 to 13. That shit is solid.
    I'm getting used to arch on my main desktop and I still can't figure out why the hell "sync" is the wording pacman uses for updating or why 'y' is refresh. Sync refresh upgrade my ass. I will admin, it is fast.

  • source
  • hideshow 2 child comments
  • [–] 2 points 1 year ago

    Because you’re “sync”ing with the state of the repo. You’re not necessarily upgrading. Sometimes the repos have a lower version than what you have, so you would be downgrading in that case. Or sometimes you’re just using it to install a new package and its dependencies.

    -u is upgrade. And -uu is upgrade or downgrade. It’s used to filter the packages that sync operates on, so basically you’re syncing any packages that have a different version than the repo.

    -y for refresh? No idea. -r is root, so I guess it was already in use by the time someone added refresh?

  • source
  • parent
  • [–] 2 points 1 year ago*

    I did it on the GUI all day yesterday! The only problem Debian has is being unbreakable!

    Heck, I switched repos from bookworm to trixie and installed 3 GiB worth of packages - 2.5k packages - and booted into a PERFECTLY WORKING system!

    Installed the other 8 GiB afterwards and booted into a perfectly working system. Just before I thought Steam was broken, I rebooted and it came alive too.

    And my GTX 1650 worked right away! Do you know how many times the daily 1 GiB update on Ubuntu breaks that?!

    Flatpak updates are kinda' slow, no 4 GiB downloads needed per day, Debian updates arrive at like 200 MiB a month except for apps like VSCode, Signal, or Discord. And - to be honest - that's the Windows-unlike experience every distro is missing.

    Debian really is unbreakable.

  • source
  • parent
  • [–] 9 points 1 year ago* (4 children)

    Fedora: sudo dnf update, type the letter y, done.

    I don't understand why apt still has update and upgrade as two separate things.

  • source
  • hideshow 4 child comments
  • [–] 4 points 1 year ago (2 children)

    You can even add the -y flag to skip typing y. Which apparently doesn't work for pacman judging by the command above

  • source
  • parent
  • hideshow 2 child comments
  • [–] 8 points 1 year ago*

    Zypper gang, dup!!
    [an hour later]
    Done!

    (But actually I like it.)

  • source
  • [–] 6 points 1 year ago (3 children)

    Using Debian as my main laptop distro, I am usually an arch user but figured with it being a light weight laptop I wouldn't need arch, its been fine but installing updates can be frustrating, after a few weeks gnomes appstore breaks, then I need to use terminal to apt update, apt --fix-broken install.

  • source
  • hideshow 3 child comments
  • [–] 6 points 1 year ago*

    Which Debian distribution are you using, stable, testing, unstable?

    I take care of a couple machines for family members. Those have Debian stable with automatic update (unattended-upgrade). I can't recall the system or packages ever breaking. At most users are a bit confused when an update change the UI a bit.

    Sticking to stable and avoiding third party repos gives a pretty solid system. Only developers or sysadmins might consider Debian testing. Only people working on Debian itself should use unstable.

  • source
  • parent
  • [–] 7 points 1 year ago (1 child)

    And that’s why I don’t use PPAs, but you do you, I guess…

  • source
  • hideshow 1 child comment
  • [–] 7 points 1 year ago

    --noconfirm

  • source
  • [–] 6 points 1 year ago

    guix upgrade

  • source
  • [+] 13 points 1 year ago* (last edited 1 year ago) (4 children)
  • [–] 3 points 1 year ago

    I use informant which in theory fixed this but even then there is an issue on it about some things happening earlier in pacman than the transaction hook it uses so... Bleh. This shit needs to be built into pacman itself, seriously.

  • source
  • parent
  • [–] 5 points 1 year ago (1 child)

    That's because you have to use

    apt
    

    , not apt-get. Yes, there is a difference

  • source
  • hideshow 1 child comment
  • [–] [S] 1 point 1 year ago

    I don't see much of a difference between the two. That's why now I'm uninstalling everything I use everyday and put them back as "portable" variants - downloaded as tarballs from their sites, github, or downloaded from Arch's archive. Already did that with Telegram, Pinta and the browser, soon Audacious will meet the same fate cuz for some reason it uses GTK2, not GTK3 as it should. Plus, having them as tarballs means I can have better versions than those in mint's repo.

    Too bad that pacman can't be used on Mint, that would be awesome!

  • source
  • parent
  • [–] 5 points 1 year ago (2 children)
  • [–] 2 points 1 year ago (1 child)

    sudo emerge -avuDUg world

    --changed-use, -U:

    • Tells emerge to include installed packages where USE flags have changed since installation. This option also implies the --selective option. Unlike --newuse, the --changed-use option does not trigger reinstallation when flags that the user has not enabled are added or removed.

    --getbinpkg [ y | n ], -g:

    • Using the server and location defined in PORTAGE_BINHOST (see make.conf(5)), portage will download the information from each binary package found and it will use that information to help build the dependency list. This option implies -k. (Use -gK for binary-only merging.)
  • source
  • parent
  • hideshow 1 child comment
  • [–] 5 points 1 year ago

    Or sudo dnf -y upgrade

  • source
  • [–] 4 points 1 year ago

    $ doas apk -U upgrade

  • source
  • [–] 7 points 1 year ago (2 children)
  • [–] 3 points 1 year ago

    God this is the one thing I just hate about Ubuntu. I just avoid ppas now

  • source
  • [–] 3 points 1 year ago

    sudo nala upgrade

  • source
  • [–] 3 points 1 year ago

    topgrade --no-retry --cleanup --yes

  • source
  • [–] 2 points 1 year ago

    Of course it won't do anything, you need to update (refresh the index) before you upgrade (download and install updates), silly you

  • source
  • [–] 2 points 1 year ago (3 children)
  • [–] 2 points 1 year ago (2 children)

    Did you decide to use that instead of the normal distro package manager or is there a distro which actually only has pkcon for the CLI?

  • source
  • parent
  • hideshow 2 child comments
  • [–] 3 points 1 year ago (1 child)

    Nah, I just wanted to toss it in. I kinda want to get used to it, but I always fall back to the native managers.

    But I was pleasantly surprised by pkcon (through Discover) being able to do proper system updates on OpenSUSE Tumbleweed. It used to be discouraged to use it for system updates.

  • source
  • parent
  • hideshow 1 child comment
  • [–] 1 point 1 year ago

    Ah, fair enough. Yeah, I kind of have the same problem that I forget about it. I have to use Ubuntu at work and APT is confusing in many ways, so I keep meaning to try pkcon instead, but I still have to do so...

  • source
  • parent
  • [–] 2 points 1 year ago

    rpm-ostree upgrade && reboot

  • source
  • [–] 2 points 1 year ago

    guix pull . . . . guix upgrade

  • source
  • [–] 2 points 1 year ago (1 child)
  • [–] 3 points 1 year ago

    Or the superior and succinct paru

  • source
  • [–] 1 point 1 year ago

    why does Ubuntu even use ppas

  • source
  • [–] 1 point 1 year ago

    Using bluefin or bazzite it is automatic in the background and I don't need to click anywhere or enter any command, I don't even need to open the terminal.

  • source
  • 41 comments in c/memes@lemmy.world view that post