On 28-03-2023 09:22, Spencer Collyer wrote:
On Mon, 27 Mar 2023 15:30:04 +0200, Uwe Koloska wrote:
Am 26.03.23 um 09:25 schrieb David Runge:
I'm installing a new system, and using the instructions at https://wiki.archlinux.org/title/Pacman/Tips_and_tricks sections 2.5 and 2.6 to get the list of packages to install from my current system.
When I run the `pacman -S --needed - < pkglist.txt` part, I get a few cases where pacman says "There are N providers available for X`. There are multiple situations where one thing is provided by several
On 2023-03-26 07:55:06 (+0100), Spencer Collyer wrote: packages. This is also referred to as a "virtual provides", as the thing that the packages provide usually do not exist as a package themselves. But why are these meta packages part of the generated list? I would expect only real packages there.
Or have you Spencer Collyer used some combined command to get the list of installed packages?
Regards, Uwe Hi Uwe,
As quoted above, I used the commands given in the Pacman Tips&Tricks page on the Wiki. Specifically I used `pacman -Qqe > pkglist.txt` on my old machine to generate the list of installed packages and then used `pacman -Qqe > pkglist.txt` to install on my new machine.
Regards,
Spencer
The "N providers available for X" message doesn't relate to the packages on the generated list , but to the dependencies of one or more of those packages on the list . Incase you don't want those questions, check which package you prefer to provide that dependency, change it's install reason to explicit and regenerate the list. LW