Skip to content

u/withabeard

In this archive from Apr 2013 to May 2023

0
posts
127
comments
0
media
614
score

My last install was around 2013. That went through several hardware upgrades etc so not quite a full decade.

Last month I replaced the whole desktop and decided to do a fresh install. Partially because I didn't trust the old disks in there to last very long.

28 points

I've recently had this.

Worked for me, might not work for you.

Using alsamixer pick your soundcard. Change channels to 2, exit to save. Alsamixer again, change it up to 6. Dave and exit.

1 points

I usually Ctrl+C a lot when the internet seems slow or the download size is long.

Have a look at using -w:

# pacman -Syuw

To only download the packages. If you exit out here there's no damage done. You can generate a new mirrorlist and try again.

Then a:

# pacman -Su

Will upgrade the packages once they're all downloaded safely.

10 points

which is what you'll end up using anyway, except it will take 10 minutes

This was my reason for giving up on swap. Having a machine with 32G of RAM and a 4G swap disk, then having to wait 30 minutes for that swap to fill before the kernel decided to OOM a leaky process.

0 swap on my 16G desktop and I see no reason to enable it right now. Many other systems with no swap enabled.

4 points

I'm going to not answer the question, which will hopefully come to answering the question a bit.

With APT for instance we get to add new source to the list and continue on with our lives

You're starting with the assumption that this is a good system. I'm starting with the assumption that this is the worst of all systems. Getting used to arbitrarily dumping any old repository into a package manager is a horrible mess and a security nightmare.

In a windows-esque world you go to a programs website and you download an installer. Usually self contained and sometimes even statically built. But you quickly run into a minefield of download.com fake links and bullshit. Now you've got infected windows boxes up the wazoo. Luckly technical people know to be careful of the download sites and non-techies often can't find the download the virus link anyway.

In a full repo world, you've got a single trusted and audited source of software. It's pretty damn safe and you can trust everything in there. Install away to your hearts content, be sure that nothing will have big boob toolbar built in or random ransomware .exe. But it's a bugger if you don't find the software you want in the repo. This often happens because people can't/won't donate enough time to the central repo to add everything wanted into it.

The current "thing" of well just install this repo downloaded from my program site. It leaves you with all the trust and expectation of the repo system. With all the risk of the first! Honestly, install random repo <x> and it can overwrite system packages, mess with your dependency tree, install/modify whatever the hell it wants. It can be perfectly sane on day one, but then six months later release a random bad package. You've now got to personally audit these tiny repos, or blindly trust the authors.

Could we not enable AUR like we do with multilib?

Arch has run into the above problem of there not being enough maintainers to audit/manage the large repo. As such resources are spent on the relatively small repos. I can trust core, extra and multilib. To a slightly lesser degree I can trust community (it has less focus that core/extra but still IMO good enough focus). There simply isn't the resource available to audit AUR. You should not trust AUR without auditing it yourself. By adding it as another repo it adds a sense of audit and trust to the system.

So technically, yes AUR could be added as another repo. Practically, it'd be horribly dangerous to do so.

30 points

Yeah but no but. In general yes it does. In practice, the fancy gaming hardware is rarely properly supported in Linux. I'm thinking extra keys on keyboards, graphics cards, fancy "gaming" sound cards etc.

Even after years they're rarely supported properly.

1 points

Doesn't matter the distro (for this conversation) or the windows version, this is more of a Windows v Linux and gaming conversation*.

  • Windows has more games.
  • Windows has better driver support.
  • Windows has better peripheral (arguably driver) support.
  • Windows has a better modding scene, because of the above.

--

  • Linux is free, and so more of your money goes to games.
  • All the other problems go away if more people used Linux for gaming.
  • For "tinkerers" out there, Linux is arguably better for tinkering around.
  • Some people argue that at the limit Linux is (or at least can be) quicker.

If you already use Linux as a daily driver, then continue to support Linux gaming by sticking with it. Support is getting much better and at an ever increasing rate. The games library is still smaller than the windows one, but it's getting big enough now that there are good games of most genres.

If you already use windows as a daily driver and see no reason to move to Linux anyway, then games really aren't going to sell it to you.

*The conversation of which Linux distro is best, much like which windows version is best, is a separate one.

3 points

But that's not a problem with AUR, that's a problem upstream. Ideally a packager will push a fix upstream for this, but it's not a requirement.

I've seen much more filthy hacks in PKGBUILD files that are still usable with minimal disruption to the package that I wouldn't call a problem. I can't remember where but I've seen systems that run configure, then hack the makefile with sed. Happens quite often in AUR and ABS, it's usually quicker than fixing the configure upstream to make arch specific changes.

1 points

For those that have asked, clearly this comes with no guarantees that it wont eat your children. No doubt there's room for the code to go wrong.

#!/usr/bin/bash

cacheLocation=`grep CacheDir /etc/pacman.conf | awk '{print $3}'`
kernelVersion=`uname -r | sed 's/-ARCH//'`

kernelTarFile=`echo $cacheLocation"linux-"$kernelVersion"-x86_64.pkg.tar.xz"`

if [ -e $kernelTarFile ]
then
    tar xf $kernelTarFile usr/lib/modules -C /
fi
5 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.