Sure, that’s why I endured Canonical’s BS for almost a year, but when I started my new job I just installed Arch even though Ubuntu was the “safe” choice.
Got my new laptop with Ubuntu, s they offered to install it on it instead of windows. (The license costs of windows was as high as doubling the mem to 64 GB, no contest what so ever) It was on the laptop for a few min (sync install to backup location on NAS) before Debian was installed. When looking around, I just couldn’t get to grips with it. (couldn’t be bothered as well to be honest, as OS replacement was already planned, I just wanted to nick the graphical config)
I like pacman too but I will probably never get comfortable with its arguments. It’s worse than tar which has already become a meme. apt is more intuitive to use.
Right, but if you don’t already know what those arguments mean, then its not exactly super obvious as to what they do.
For example, I’ve been told that you’re generally not supposed to do pacman -Syyu because it can result in partial upgrades (unless I’m remembering the wrong set/combination of flags, which would just be case in point…) - I tend to remember flags by associating them with words.
For example, the common flags for tar was brought up in one of the sibling comments here, but at least I can remember them by:
x: eXtract
z: Use gzip for the operation (which originally I remembered as “the file has .gz” in its extension before I knew what gzip was)
v: verbose, giving the details about what its doing
f: file, the file name you’re wanting to work with
c: create archive
t: test archive (I use this with the v flag to see what is in an archive before extracting it)
But with Pacman, even after using it on and off for a couple of years, I can try to estimate what the flag names are, but have no idea if its right without double checking:
S: Sync with repositories
s: No idea on this one
y: Also no idea on this one
Q: Query (search)
u: Allow upgrades (?)
Really I think its the fact that some of the flags can be used in different combinations which have different effects - like passing z to tar doesn’t change the effect of the flag whether you use x or c. Yet apparently -Syyu and -Syu are valid but one does a proper supported upgrade, and one does a partial upgrade which is not supported and is generally not recommended unless you know what you’re doing. I also know of no occasion where passing the same flag to tar multiple times mutates its behavior as well.
That makes it feel like an anti-pattern to me, similar to using magic numbers in programming. Maybe there is a valid reason for this decision (such as why the Linux kernel uses magic numbers in syscalls) but the result is still that it feels incredibly foreign to me, despite having 10 odd years of Linux experience under my belt.
I agree with that. My reply was to illustrate how cryptic sometimes the most common pacman commands are, and you have to refer to both –help and man pacman, though I find it easier to go to Arch Wiki or Google it generally. The tar flags are great! Pacman can be a bit confusing.
s is for search, I believe. When you add the S flag, so it becomes pacman -Ss, it synchronises the package database and search within that database.
y is refreshing local database or something like that? If you put pacman -Syyu, it will force refresh the master package database so that it can deal with corrupted databases or something like that. Pacman seems advanced to me but I just don’t really remember / know my way around it that well.
Q is for searching local package database.
u is for system update, since it is preferable to rebuild the whole package database in your system to synchronise against the database containing the latest packages.
I hope I’m somewhat correct. There are other flags but I don’t remember them. It is elegant if you already are familiar with the commands, but otherwise, other package managers and program commands like tar are much easier since they contain English language imperatives.
As for the magic numbers, that’s the first time I knew of that concept. Quickly looking at Wikipedia seems to suggest that there probably are accepted use cases, though that might be historical and not entirely logical.
Really, sometimes computers can be a mess, we’re just used to that mess.
Except you have to wait 5 seconds before it goes brrrr because of snaps.
You can turn them off, but good luck keeping firefox up to date.
Yeah but at this point you’re fighting against the OS, might as well switch to a distro that already works the way you want.
Yea… switching requires work though. I got enough of that already :D
Sure, that’s why I endured Canonical’s BS for almost a year, but when I started my new job I just installed Arch even though Ubuntu was the “safe” choice.
Ah yes, vendor lock-in in desktop linux.
I don’t get why anyone thinks this is acceptable in any way.
Or just use Waterfox or LibreWolf?
Yikes, I forgot about the All-Snap Ubuntu Desktop!
Oh snap
Snaps?
Got my new laptop with Ubuntu, s they offered to install it on it instead of windows. (The license costs of windows was as high as doubling the mem to 64 GB, no contest what so ever) It was on the laptop for a few min (sync install to backup location on NAS) before Debian was installed. When looking around, I just couldn’t get to grips with it. (couldn’t be bothered as well to be honest, as OS replacement was already planned, I just wanted to nick the graphical config)
and apt is awful.
Man, why do people hate apt so much? Maybe because I’m a filthy casual but I never really had any big problems with apt.
Compared to Pacman it’s very slow. I had several problems when I used it. but if it’s good for you, then use it.
I mean I prefer Pacman too, but yeah, maybe because I don’t use Ubuntu / Debian that much so I can’t really say.
I like pacman too but I will probably never get comfortable with its arguments. It’s worse than tar which has already become a meme. apt is more intuitive to use.
After a month of using arch, I’m still considering aliases for pacman.
At least I can remember “Xtract Ze Vucking File” for tar, but whenever I want to do anything more than -Syu with pacman, I have to look it up.
deleted by creator
pacman -Syu, pacman -Syyu, pacman -Ss, pacman -Qs, etc. etc…
Right, but if you don’t already know what those arguments mean, then its not exactly super obvious as to what they do.
For example, I’ve been told that you’re generally not supposed to do
pacman -Syyu
because it can result in partial upgrades (unless I’m remembering the wrong set/combination of flags, which would just be case in point…) - I tend to remember flags by associating them with words.For example, the common flags for
tar
was brought up in one of the sibling comments here, but at least I can remember them by:gzip
for the operation (which originally I remembered as “the file has .gz” in its extension before I knew whatgzip
was)v
flag to see what is in an archive before extracting it)But with Pacman, even after using it on and off for a couple of years, I can try to estimate what the flag names are, but have no idea if its right without double checking:
Really I think its the fact that some of the flags can be used in different combinations which have different effects - like passing
z
totar
doesn’t change the effect of the flag whether you usex
orc
. Yet apparently-Syyu
and-Syu
are valid but one does a proper supported upgrade, and one does a partial upgrade which is not supported and is generally not recommended unless you know what you’re doing. I also know of no occasion where passing the same flag totar
multiple times mutates its behavior as well.That makes it feel like an anti-pattern to me, similar to using magic numbers in programming. Maybe there is a valid reason for this decision (such as why the Linux kernel uses magic numbers in syscalls) but the result is still that it feels incredibly foreign to me, despite having 10 odd years of Linux experience under my belt.
I agree with that. My reply was to illustrate how cryptic sometimes the most common pacman commands are, and you have to refer to both –help and man pacman, though I find it easier to go to Arch Wiki or Google it generally. The tar flags are great! Pacman can be a bit confusing.
I hope I’m somewhat correct. There are other flags but I don’t remember them. It is elegant if you already are familiar with the commands, but otherwise, other package managers and program commands like tar are much easier since they contain English language imperatives.
As for the magic numbers, that’s the first time I knew of that concept. Quickly looking at Wikipedia seems to suggest that there probably are accepted use cases, though that might be historical and not entirely logical.
Really, sometimes computers can be a mess, we’re just used to that mess.