First time was using a symbolic link. I needed something moved to another partition so I did what I've been doing since the 90s, moved it and created a symbolic link on the original path. Unfortunately Pacman is unusual in the fact that it doesn't respect symbolic links, so during an update it deleted the link and completely broke the system.
Second time was a power loss caused corruption in an unimportant partition, then the system refused to boot. Unfortunately Arch is unusual in the fact that, if you use sudo, it doesn't give you a single-user recovery shell to fix such problems, so the system was unrecoverably broken without an external boot.
Nah, there are plenty of studies showing that the metabolism variation is really small (when controlled for age and exercise). Your friend probably just doesn't eat as frequently when he is by himself, or doesn't ingest as much "hidden calories" (juices, sodas) when he is by himself.
My whole life people where amazed how I was so thin while eating so much and being a couch potato (maybe couch carrot). The thing is, in social situations I go along, but by myself I'm just too lazy to be constantly coming up with snacks like most people.
So ... My update broke exactly when trying to update pacman, so now I have a system without the pacman binary. Is there a way I can install pacman without pacman? I do have the package file in my cache, should I just extract it on root?
Edit: if anyone is curious as to how I broke it: my root partition is quite full, so I moved my "/var/cache/pacman" dir to another partition and created a symbolic link. The problem is that in updating itself, pacman deleted the symbolic link and recreated its original (empty) cache dir. Result, it couldn't find the packages (including its own package) anymore in the middle of the upgrade.
Is your /var/cache/pacman a symlink? Don't do that, properly set the cache directory in pacman config if you want it at a different place. /var/cache/pacman/ and its subdirectories are directories of the pacman package. If you have a symlink here, during a pacman update, pacman will go ahead and replace your symlink with the file it knows about, which is a directory. Which will thus be empty.
In general, don't replace directories managed by pacman with symlinks, this will break at one point or another. If you must change the directory to a different harddrive, use bind mounts instead.
And by the way, note that when the wiki tells to use pacman -S --overwrite you need to quote the * for the override as "*". It took me a while to get that.
I named mine for characters from the webcomic Order of the Stick, the three household computers are: Roy, Durkon, and Thog; and the appliances are: Banjo, and MitD.
That is not something unique to Arch, all distros have "access to 32-bit libraries". Debian based distros had multiarch (their name for 32bit packages in a 64bit system) for more than a decade now.
Arch really makes it the most easy to get new stuff
I think this is the big key as to why Valve went with Arch: to be able to quickly support more games they need constantly up-to-date kernel, driver, graphical libraries, wine, ... . For them, going with a traditional release-based distro means spending a LOT of manpower constantly backporting all that stuff, while going with a rolling distro like Arch they get all that up-to-date for free. So they made the calculations and concluded that it would be much easier to spend a bit of manpower stabilizing Arch a tiny bit, than doing all that backporting.
Getting an old system updated is not as simple as "pacman -Syu".
May I ask (roughly) what commands it took to update this 2019 system? Did you have a update strategy specific for old systems? Or you just ran pacman -Syu first and then went about putting out the fires?
It depends what you want to take away from the experience.
Archinstall is a great tool IF all you want at the end is an installed system, and that is OK, it is a completely valid usecase and that is why the tool is in the official installation media.
But in this thread we are talking about learning, and if that is also an objective than archinstall is very counterproductive. The beauty of the "orthodox" installation method is that it (mostly) uses the same tools during installation that you will later use in maintaining the system. In installing the system the "orthodox" way you progressively learn how it works and how to maintain it. Archinstall on the other hand, abstracts the tasks is a way that is specific to the installer, so if a user later needs to change something done by the installer, then the user will have to learn/use a different tool. It doesn't teach you, it does it for you.
Does arch packages metadata have the concept of separate "major version" and "minor version"? That is, somewhere in the metadata where the version is separated in two different variables that represent the major and minor version for that specific package? E.G. Linux major="5.12", minor="13.arch1-2".
Refind, because of how independent, decoupled it is from any of the OSs installed, so it is the best for dual boot multiple Linuxes.
I used to use grub, but it is tightly coupled with the partition/OS that installed it (it is the only one that can update it), so every time I update other Linux it won't boot until I reboot into the grub owner to update grub, and that gets old really fast.
I'm new to arch, been here about a month, and just had my first breakage: fsck failed on an auxiliary partition and the system wouldn't boot (not even a recovery terminal, apparently on arch disabling root login disables the recovery terminal, a bit of a weird setting). So I had to boot into another OS to fix my arch install, not the ideal situation.
I setup sudo and disabled the root login, but a few minutes ago I had a failed fsck at boot and it couldn't drop me into a root terminal for recovery and that was a problem (I couldn't do anything, just retry and fail again). Is there anyway I can disable normal root login, but still allow a recovery root shell in case of boot problems?
(btw: this time I used a previous Ubuntu installation I still have on another partition to fix the fsck).
There is no cli options to specify beforehand which packages of a group I want/don't want? So I don't have to answer any interactive prompts in the middle of the process.
I don't like interactive interfaces, they are not replicable, I can't just run the same command on other computer and get the same result. So if pacman asks me anything I normally ctrl-cout of it and try to rewrite the original cli command so it doesn't throw the prompt at me, but I hit a block wall wen it comes to installing groups.
For example: I want to install the whole gnome group with the exception of Epifany (because I use Firefox instead). So I thought --ignore could help me there, and tried pacman -S --needed gnome --ignore epiphany. But pacman takes the --ignore and the group as conflicting orders (instead of assigning precedence to the ignore as I would expect) therefore it and asks me if I really want to ignore (which defeats the whole purpose). Also it still asks me to confirm the other gnome packages, I would still be missing a --allor something to inform pacman that it should install all not ignored.
About cylon, I had a look at that, it is close to what I'm trying to build in regards to functionality, but the interface and how things are presented is very different from what I'm trying to achieve (I'll probably check it further later so see if I can pluck some functionality from it).
To detail a bit further, my small script should present all the information I need in a format similar to a "git status", that is, here is a list of things that are abnormal and a few commands you could use to fix those. Is is mostly a tool for me to learn arch commands (I'm new, coming from a debian/ubuntu background), so I don't want it to run the actual tasks from me, just remind me of them and of the commands that can be useful to deal with them, like flashcards. For example the current output looks like this (but with color):
Extra packages not in my personal packagelist:
(use "myarch add ..." to add to my packagelist)
(use "sudo pacman -Rs ..." to remove)
(use "sudo pacman -D --asdeps ..." to mark as dependency)
file-roller
pacutils
Orphan dependencies (pacman -Qtdq):
(use "sudo pacman -Rs ..." to remove)
(use "sudo pacman -D --asexplicit ..." to mark as explicit)
cmake
vala
Updates available (checkupdates):
(use "sudo pacman -Syu" to update)
kmod 28-1 -> 29-1
linux 5.12.5.arch1-1 -> 5.12.6.arch1-1
lz4 1:1.9.3-1 -> 1:1.9.3-2
mesa 21.1.0-1 -> 21.1.1-1
Is there any good cli tool to fetch arch news? Preferably something on the repositories (not AUR).
I'm putting together a small bash script to show me pending maintance tasks (like pending updates) and I'd like it to show me if there are any news before it shows me possible updates.
Gnome, tweaked to have a slightly more Windows like experience (dash-to-panel on the bottom, set alt-tab to alternate windows instead of apps, enable minimize and maximize buttons). I really like Gnome-shell's unified entry point (the meta key used both to overview and to launch apps); and I really like the clean aesthetic of the system and default apps. I use dash-to-panel because I don't like the top bar (for me the top of the screen is prime space for clicking, so it is where my browser tabs should be), so I tweak it to a bottom bar.
Recently I tried KDE for a while (also tweaked for a slightly more windows like experience), I was very impressed by it, but in the end I decided it wasn't for me. KDE apps like to wear their features on their sleeves, with more toolbars apparent, which is great for easy access, but a bit too much visual stimulus for me.
No luck, it just hangs without any additional output. It is like the kernel crashes when it starts executing, before it can do anything.
That was the first thing I did, didn't work. I've created a thread documenting what I've tried:
https://www.reddit.com/r/archlinux/comments/1242emy/unable_to_boot_no_error_message_just_frozen/
Ok, I found the kernel parametern
ignore_loglevel, so I'll tray that later.After a power outage my system won't boot, and it doesn't give me any error messages, just hangs in "Starting vmlinuz-linux Using load options ..."
Anyone have any idea how I would go about debugging and fixing such thing?
First time was using a symbolic link. I needed something moved to another partition so I did what I've been doing since the 90s, moved it and created a symbolic link on the original path. Unfortunately Pacman is unusual in the fact that it doesn't respect symbolic links, so during an update it deleted the link and completely broke the system.
Second time was a power loss caused corruption in an unimportant partition, then the system refused to boot. Unfortunately Arch is unusual in the fact that, if you use sudo, it doesn't give you a single-user recovery shell to fix such problems, so the system was unrecoverably broken without an external boot.
Why pacman doesn't update the keyring before checking other packages?
Nah, there are plenty of studies showing that the metabolism variation is really small (when controlled for age and exercise). Your friend probably just doesn't eat as frequently when he is by himself, or doesn't ingest as much "hidden calories" (juices, sodas) when he is by himself.
My whole life people where amazed how I was so thin while eating so much and being a couch potato (maybe couch carrot). The thing is, in social situations I go along, but by myself I'm just too lazy to be constantly coming up with snacks like most people.
So ... My update broke exactly when trying to update pacman, so now I have a system without the pacman binary. Is there a way I can install pacman without pacman? I do have the package file in my cache, should I just extract it on root?
Edit: if anyone is curious as to how I broke it: my root partition is quite full, so I moved my "/var/cache/pacman" dir to another partition and created a symbolic link. The problem is that in updating itself, pacman deleted the symbolic link and recreated its original (empty) cache dir. Result, it couldn't find the packages (including its own package) anymore in the middle of the upgrade.
Edit 2:
Found this helpful thread (someone who did exactly the same as me): https://www.reddit.com/r/archlinux/comments/aeinyr/pacman_syu_removed_pacman_help/
With this very helpfull comment:
And this link which saved me:
https://wiki.archlinux.org/index.php/Pacman#Manually_reinstalling_pacman
And by the way, note that when the wiki tells to use
pacman -S --overwriteyou need to quote the * for the override as "*". It took me a while to get that.I named mine for characters from the webcomic Order of the Stick, the three household computers are: Roy, Durkon, and Thog; and the appliances are: Banjo, and MitD.
That is not something unique to Arch, all distros have "access to 32-bit libraries". Debian based distros had multiarch (their name for 32bit packages in a 64bit system) for more than a decade now.
I think this is the big key as to why Valve went with Arch: to be able to quickly support more games they need constantly up-to-date kernel, driver, graphical libraries, wine, ... . For them, going with a traditional release-based distro means spending a LOT of manpower constantly backporting all that stuff, while going with a rolling distro like Arch they get all that up-to-date for free. So they made the calculations and concluded that it would be much easier to spend a bit of manpower stabilizing Arch a tiny bit, than doing all that backporting.
May I ask (roughly) what commands it took to update this 2019 system? Did you have a update strategy specific for old systems? Or you just ran
pacman -Syufirst and then went about putting out the fires?It depends what you want to take away from the experience.
Archinstall is a great tool IF all you want at the end is an installed system, and that is OK, it is a completely valid usecase and that is why the tool is in the official installation media.
But in this thread we are talking about learning, and if that is also an objective than archinstall is very counterproductive. The beauty of the "orthodox" installation method is that it (mostly) uses the same tools during installation that you will later use in maintaining the system. In installing the system the "orthodox" way you progressively learn how it works and how to maintain it. Archinstall on the other hand, abstracts the tasks is a way that is specific to the installer, so if a user later needs to change something done by the installer, then the user will have to learn/use a different tool. It doesn't teach you, it does it for you.
Does arch packages metadata have the concept of separate "major version" and "minor version"? That is, somewhere in the metadata where the version is separated in two different variables that represent the major and minor version for that specific package? E.G. Linux major="5.12", minor="13.arch1-2".
So it is bad practice use a laptop computer?
Refind, because of how independent, decoupled it is from any of the OSs installed, so it is the best for dual boot multiple Linuxes.
I used to use grub, but it is tightly coupled with the partition/OS that installed it (it is the only one that can update it), so every time I update other Linux it won't boot until I reboot into the grub owner to update grub, and that gets old really fast.
I'm new to arch, been here about a month, and just had my first breakage: fsck failed on an auxiliary partition and the system wouldn't boot (not even a recovery terminal, apparently on arch disabling root login disables the recovery terminal, a bit of a weird setting). So I had to boot into another OS to fix my arch install, not the ideal situation.
I setup sudo and disabled the root login, but a few minutes ago I had a failed fsck at boot and it couldn't drop me into a root terminal for recovery and that was a problem (I couldn't do anything, just retry and fail again). Is there anyway I can disable normal root login, but still allow a recovery root shell in case of boot problems?
(btw: this time I used a previous Ubuntu installation I still have on another partition to fix the fsck).
There is no cli options to specify beforehand which packages of a group I want/don't want? So I don't have to answer any interactive prompts in the middle of the process.
I don't like interactive interfaces, they are not replicable, I can't just run the same command on other computer and get the same result. So if pacman asks me anything I normally
ctrl-cout of it and try to rewrite the original cli command so it doesn't throw the prompt at me, but I hit a block wall wen it comes to installing groups.For example: I want to install the whole
gnomegroup with the exception of Epifany (because I use Firefox instead). So I thought--ignorecould help me there, and triedpacman -S --needed gnome --ignore epiphany. But pacman takes the--ignoreand the group as conflicting orders (instead of assigning precedence to the ignore as I would expect) therefore it and asks me if I really want to ignore (which defeats the whole purpose). Also it still asks me to confirm the other gnome packages, I would still be missing a--allor something to inform pacman that it should install all not ignored.Thanks, I think I'll go the RSS reader route.
About cylon, I had a look at that, it is close to what I'm trying to build in regards to functionality, but the interface and how things are presented is very different from what I'm trying to achieve (I'll probably check it further later so see if I can pluck some functionality from it).
To detail a bit further, my small script should present all the information I need in a format similar to a "git status", that is, here is a list of things that are abnormal and a few commands you could use to fix those. Is is mostly a tool for me to learn arch commands (I'm new, coming from a debian/ubuntu background), so I don't want it to run the actual tasks from me, just remind me of them and of the commands that can be useful to deal with them, like flashcards. For example the current output looks like this (but with color):
Is there any good cli tool to fetch arch news? Preferably something on the repositories (not AUR).
I'm putting together a small bash script to show me pending maintance tasks (like pending updates) and I'd like it to show me if there are any news before it shows me possible updates.
Apparently that laptop (Asus Scar 15) have a virtual numpad in the touchpad:
https://klgadgetguy.com/wp-content/uploads/2020/08/ASUS-ROG-Strix-Scar-154.jpg
I have no idea how one would go about enabling that, it probably needs drivers, which probably are not available on Linux (I'm just guessing).
Thanks that is exactly what I was looking for (and some more,
pacsearchis a nice find).How can I list packages available for upgrade on pacman, without actually upgrading nor refreshing the master package database, and without root?
I was thinking about putting a cowsay "There are X packages available for upgrade" on my terminal login.
Gnome, tweaked to have a slightly more Windows like experience (dash-to-panel on the bottom, set alt-tab to alternate windows instead of apps, enable minimize and maximize buttons). I really like Gnome-shell's unified entry point (the meta key used both to overview and to launch apps); and I really like the clean aesthetic of the system and default apps. I use dash-to-panel because I don't like the top bar (for me the top of the screen is prime space for clicking, so it is where my browser tabs should be), so I tweak it to a bottom bar.
Recently I tried KDE for a while (also tweaked for a slightly more windows like experience), I was very impressed by it, but in the end I decided it wasn't for me. KDE apps like to wear their features on their sleeves, with more toolbars apparent, which is great for easy access, but a bit too much visual stimulus for me.