[arch-general] directive 'SyncFirst'
Hi :) how can be ensured that e.g. linux-headers are updated first in the future? I couldn't find a word on the English Arch website and just the information that it is ignored now, without a hint what to do, on the German website. [root@archlinux yaourt-git]# pacman -Syu warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized. :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: Starting full system upgrade... warning: ardour: ignoring package upgrade (2.8.16-1 => 3.0-1) there is nothing to do [rocketmouse@archlinux yaourt-git]$ yaourt -Syu [sudo] password for rocketmouse: warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized. :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized. Regards, Ralf
On Fri, 05 Apr 2013 03:24:52 +0200 Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:
Hi :)
how can be ensured that e.g. linux-headers are updated first in the future?
Manually: pacman -Sy linux-headers && pacman -Su.
I couldn't find a word on the English Arch website and just the information that it is ignored now, without a hint what to do, on the German website.
[root@archlinux yaourt-git]# pacman -Syu warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized. :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: Starting full system upgrade... warning: ardour: ignoring package upgrade (2.8.16-1 => 3.0-1) there is nothing to do
[rocketmouse@archlinux yaourt-git]$ yaourt -Syu [sudo] password for rocketmouse: warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized. :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized.
The SyncFirst option can cause problems when doing updates because for instance binaries may end up missing shared libs, so it has been removed in pacman 4.1 (there was even a bugreport about this). I am afraid that yaourt and other frontends will have to be modified correspondingly .
Regards, Ralf
Cheers, L. -- Leonid Isaev GnuPG key: 0x164B5A6D Fingerprint: C0DF 20D0 C075 C3F1 E1BE 775A A7AE F6CB 164B 5A6D
On Fri, 05 Apr 2013 03:24:52 +0200 Ralf Mardorf <ralf.mardorf@alice-dsl.net> wrote:
Hi :)
how can be ensured that e.g. linux-headers are updated first in the future?
I couldn't find a word on the English Arch website and just the information that it is ignored now, without a hint what to do, on the German website.
[root@archlinux yaourt-git]# pacman -Syu warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized. :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date :: Starting full system upgrade... warning: ardour: ignoring package upgrade (2.8.16-1 => 3.0-1) there is nothing to do
[rocketmouse@archlinux yaourt-git]$ yaourt -Syu [sudo] password for rocketmouse: warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized. :: Synchronizing package databases... core is up to date extra is up to date community is up to date multilib is up to date warning: config file /etc/pacman.conf, line 19: directive 'SyncFirst' in section 'options' not recognized.
Regards, Ralf
Hooks have been suggested as a possible solution to this problem as far back as 2010[1] (there is some interesting comments in that bug report), but no one have cared enough about it to bother to actually do something about it. (It's just like the package signing story!) A certain other distro which shall rename unnamed have decided to patch back SyncFirst into pacman 4.1, so if you can't wait for/be bothered to implement hooks, you may want to look at their project. Alternatively you can wrap pacman to make sure that the headers is always installed before whatever requires them. [1] https://bugs.archlinux.org/task/20165
On Sat, 2013-04-06 at 01:42 +0200, Øyvind Heggstad wrote:
Alternatively you can wrap pacman to make sure that the headers is always installed before whatever requires them.
A wrapper is a good idea, haven't seen the forest for the trees. Thank you :)
participants (3)
-
Leonid Isaev
-
Ralf Mardorf
-
Øyvind Heggstad