[arch-general] [arch-dev-public] [signoff] pacman 3.2.1-2, pacman-mirrorlist

Xavier shiningxc at gmail.com
Wed Dec 17 06:49:26 EST 2008


On Mon, Dec 15, 2008 at 4:36 PM, Hugo Doria <hugodoria at gmail.com> wrote:
> Works fine here on a x86_64 machine. :)
>
> Just one question:
>
> # pacman -Su
> warning: pacman: local (3.2.1-2) is newer than core (3.2.1-1)
> :: Starting full system upgrade...
> warning: pacman: local (3.2.1-2) is newer than core (3.2.1-1)
>  local database is up to date
>
> Why is this warning message showing twice?
>
> -- Hugo
>

The first one is special because of this :
  17 # If upgrades are available for these packages they will be asked for first
  18 SyncFirst   = pacman

Packages in syncfirst are checked before the actual upgrade, so this
includes pacman. And at this moment, the first warning is made.
Then for the full system upgrade, all your locally installed packages
are checked, so that includes pacman again.

Of course the code for checking the locally installed version against
the repository version is always the same, it is just called twice for
packages in SyncFirst, so eventual warnings are displayed twice.


More information about the arch-general mailing list