Skip to main content
Topic: Potentially problematic command(s) in wiki migration guide (Read 1453 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Potentially problematic command(s) in wiki migration guide

I was following along with the Artix migration guide at https://wiki.artixlinux.org/Main/Migration, and I came across this block of commands:

Code: [Select]
Replace all Arch packages with Artix ones:

 pacman -Sl system | grep installed | cut -d" " -f2 | pacman -S -
 pacman -Sl world | grep installed | cut -d" " -f2 | pacman -S -
 pacman -Sl galaxy | grep installed | cut -d" " -f2 | pacman -S -

And in case you had 32-bit support enabled:

 pacman -Sl lib32 | grep installed | cut -d" " -f2 | pacman -S -

As well as reinstalling all of your system's packages, wouldn't these also inadvertently mark every single package on your system as manually installed?
If my understanding is correct, shouldn't the `--asdeps` flag be added after `-S` in these commands?