Spyke
gkd
lemmy.ml

Try installing something from homebrew.

Oh you just want to install this one package here? Ok but let’s update 60 other packages first. Don’t worry, it will only take about one minute. Per package.

52
0x497areply
discuss.tchncs.de

Bruh have fun on x86_64 since you have to compile them all (at least I had to, I might have broken something)

15

I installed Mono on my M1 MBP last year and it took like four hours to compile 💀

1

Real talk I’ve been using this I’ve mashed together:

update_brew() {
    bold=$(tput bold);
    normal=$(tput sgr0);
    brew --version &&
    echo "${bold} > brew update${normal}" &&
    brew update &&
    echo "${bold} > brew upgrade${normal}" &&
    brew upgrade &&
    echo "${bold} > brew autoremove${normal}" &&
    brew autoremove &&
    echo "${bold} > brew cleanup${normal}" &&
    brew cleanup &&
    echo "${bold} > brew doctor${normal}" &&
    brew doctor;
}
1
discuss.tchncs.de

One of the reasons I love pacman. A whole system update within a minute or two (depending on the particular system ofc)

14

&& sudo halt -f

It's quittin' time! See ya Monday!

1

pacman -Syu

Using -Syyu can cause a partial system upgrade if mirrors are out of sync. It leads to higher traffic for mirror owners and it is considered bad practice overall. There are just a few rare cases where it is useful at all.

Forcing anything should always be a conscious decision and never the default.

18

It's just yay it will update by default if no parameters are passed.

8
schmenschreply
discuss.tchncs.de

Automatically agrees to everything. Can be dangerous, use with caution. If you're able to, I wouldn't use it.

5

"Knock it off Julian, I know how good my coffee is, I'm the one who buys it. When Bonnie goes shopping, she buys shit. I buy the more expensive coffee because when I drink it, I want to taste it. But you know what's on my mind right now? It ain't the coffee in my kitchen..."

6

Is there a big reason to use apt-get instead of just apt? I don't think I've ever used apt-get in years, always using just apt.

5
japereply
infosec.pub

It's used for scripting. Apt specifically recommends against using it in scripts.

8
Zuccareply
sopuli.xyz

.... wait?

Used for scripting, but not recommended to be used in scripting?

0

apt-get is used in scripting.

apt isnt recommended to be used in scripting.

3
lemmy.sdf.org

Where did these Tarintino shots come from? The man has the pointiest chin.

5
feddit.dk

I updated my RPi zero running pi hole today. I had to disable pi hole, and even then it took well past half an hour to update...

5

This as my first thought. When running these commands in my pi1 or zero I go get a sandwich and come back an hour later

4

Pi zero is many times less powerful than the pi3 but still perfectly fine for lots of simple tasks. Just takes forever to update.

7
lemmy.world

I think everyone should try Gentoo at least once, for the experience. Why download binaries when you can compile everything?

5
Zuccareply
sopuli.xyz

I've used Gentoo for almost 20 yeas by now. 😋

4

I already completed Linux From Scratch once 20 years ago for shits and giggles. I want to actually use my system, thanks.

1

What are the chances, I'm currently waiting for apt-get upgrade to finish while browsing Lemmy.

5
lemmy.world

rebuild_intelTower_withUpdate() { ./home/scripts/pullrelease.sh nix flake update sudo nixos-rebuild switch --flake .#intelTower --impure --show-trace nix build .#homeConfigurations.bismuth-edp.activationPackage --impure --show-trace activateHM }

4
demesisxreply
lemmy.world

It pulls in flakes from flakes. So, unless I want to travel the whole dependency graph down all of the flakes and put them in my top-level flake, I have to use impure. 😕

5

Do this with a typo in sources.list and uninstall the complete system at once. Happened to me once, happened to me twice. 10/10 will happen again

4

This was me the first time I tried using a Raspberry Pi, I'd never experienced an update taking longer than a minute or two before then

3

Until you find you need to upgrade your distro version since it’s too old and important packages no longer update:

3
When you have to update the server | Spyke