0

Using pacman I can update package databases using the following command pacman -Sy or pacman -Fy what is the difference between this keys of pacman and what is better to use?

1

1 Answer 1

2

If you take a look at the man page you see that:

  • -S is for installing packages.
  • -F is for querying the files database.
  • -y refreshes the package database, and it's valid with both -S and -F.

The two major options (-S and -F) do very different things, but in both cases -y means "update the package database before you do anything else".

2
  • thank you, but me it is not quite clear what kind of database files are requested when using the -F key? Commented Oct 16, 2022 at 16:22
  • @Besha If you'll read the man page, it's querying the database of the repositories that hold the packages for a files that are owned by a specific package. Commented Oct 16, 2022 at 19:54

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.