You are viewing a single thread.
View all comments
240 points

The power is out and my laptop has less than 10% battery left?

It’s pacman -Syu time.

permalink
report
reply
65 points

Exactly my thoughts as well.

Why update on that little battery life left… the power will return sooner or later, going without updates even for a week or two is no real problem. Hell, I update like once every 3 weeks to a month, it’s not that big of a deal.

permalink
report
parent
reply
4 points

I update always after a session, meaning about once a month 😂I don’t really need my PC, lol

permalink
report
parent
reply
20 points

Wait if the power is out, how do they have Internet to load new packages? Something doesn’t make sense here

permalink
report
parent
reply
17 points
*

It first downloads all packages from net, then it proceed totally offline starting by verifying downloaded files, signatures, extracting new packages and finally rebuilding initramfs.

Because arch is replacing the kernel and inittamfs in-place there is a chance that it will not boot if interrupted.

This issue was long resolved on other distro.

One way to mitigate it is by having multiple kernels (like LTS or hardened) that you can always pick in grub if the main one fail.

permalink
report
parent
reply
7 points

This issue was solved on Slackware in 1993.
It installs a “huge” kernel that contains all drivers to run on almost any hardware by default, alongside the “generic” kernel with only the modules you need. If the generic kernel fails to boot, you always have the backup, which is known to work, cause it’s the kernel you first boot into after installation.

permalink
report
parent
reply
1 point

Yeah but how can you download without internet

permalink
report
parent
reply
11 points

Cable internet tends to stay online even if your power is out. You’d need a battery backup for your modem/router, but it is possible to stay online. Houses can be clever like that, almost all of your utilities will partially work, even when service is interrupted.

permalink
report
parent
reply
7 points

That depends on the ISP having backup batteries for their equipment. It will usually only last a couple of hours. 5G will usually stay up for a few days. For longer outages, you will need satellite internet and lots of fuel for your generator.

permalink
report
parent
reply
3 points

Cellular data

permalink
report
parent
reply
2 points

My router has a 5G backup connection and a battery. Light could be out and I’d still have internet. So, yeah, it’s possible :P

permalink
report
parent
reply
1 point
*

But if the power goes out isn’t the stuff from your ISP/mobile carrier out too?

permalink
report
parent
reply
-7 points

Average Linux solution.

“Got an emergency? It’s so EZ. Just open up the terminal and copy/paste [long string of unreadable text]. Btw fuck windows.”

permalink
report
parent
reply
36 points

Yea as opposed to the windows method of “just open regedit and navigate 8 folders below HKEY_CURRENT_USER to change some ambiguous system variable in hex” lmao

I’ll take editing a text file in /etc/ for my configuration any day

permalink
report
parent
reply
19 points
*

I don’t think I’ve had a pacman update take longer than 10 minutes before. Sounds like OP was updating all their AUR packages too.

Still absolutely a terrible thing to do on 10% battery life. I bet there’s an AUR package for “check battery level before update” out there somewhere though.

OPs meme is "use distro whose model is ‘give users enough rope to hang themselves’ " and complaining he’s at the gallows

permalink
report
parent
reply
1 point

I imagine being at the gallows sucks even if you know why you are standing there

permalink
report
parent
reply
1 point

What about a desktop PC?

permalink
report
parent
reply

linuxmemes

!linuxmemes@lemmy.world

Create post

I use Arch btw


Sister communities:
Community rules
  1. Follow the site-wide rules and code of conduct
  2. Be civil
  3. Post Linux-related content
  4. No recent reposts

Please report posts and comments that break these rules!

Community stats

  • 7.4K

    Monthly active users

  • 912

    Posts

  • 16K

    Comments