1
0
mirror of https://github.com/moparisthebest/pacman synced 2025-01-08 12:28:00 -05:00
pacman/doc
Chantry Xavier d5278ebb3b Add SyncFirst option.
This patch offers a way to fix FS#9228.
By putting "SyncFirst = pacman" in pacman.conf, the version check will
happen before the transaction really starts, and before any replacements is
made.
Otherwise, no version check is done.

The sync301 pactest was updated to use this SyncFirst option.

Example session with SyncFirst = pacman, and a newer pacman version
available :
$ pacman -Su (or pacman -S <any targets>)
:: the following packages should be upgraded first :
    pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n]

resolving dependencies...
looking for inter-conflicts...

Targets: pacman-x.y.z-t

Total Download Size:    x.xx MB
Total Installed Size:   x.xx MB

Proceed with installation? [Y/n] n

As Nagy previously noted, doing this check on any -S operations might look
intrusive, but it can be required.
For example, the case where you want to install a package with versioned
provisions, using a pacman version which didn't support that feature yet
(and there is already a newer pacman in sync db supporting it).

Signed-off-by: Chantry Xavier <shiningxc@gmail.com>
Signed-off-by: Dan McGee <dan@archlinux.org>
2008-05-13 15:49:02 -05:00
..
.gitignore doc: add symlink for repo-remove manpage on install 2008-01-05 14:37:24 -06:00
asciidoc.conf doc: rename manlink macro to linkman 2007-12-29 00:24:15 -06:00
Doxyfile Doxyfile : enable JAVADOC_AUTOBRIEF. 2008-04-29 15:51:48 -05:00
footer.txt Remove stuff that was a little too Arch-specific from manpage footer 2008-01-06 10:26:21 -06:00
libalpm.3.txt doc: rename manlink macro to linkman 2007-12-29 00:24:15 -06:00
Makefile.am doc: add symlink for repo-remove manpage on install 2008-01-05 14:37:24 -06:00
makepkg.8.txt doc/makepkg: document --log, address locale issues 2008-02-05 18:23:18 -06:00
makepkg.conf.5.txt Add zipman makepkg option. 2008-03-16 23:22:17 +01:00
pacman.8.txt doc/pacman.8: fix manpage typo 2008-03-30 13:41:19 -05:00
pacman.conf.5.txt Add SyncFirst option. 2008-05-13 15:49:02 -05:00
PKGBUILD-example.txt Update the PKGBUILD example in the manpages 2007-11-07 19:03:58 -06:00
PKGBUILD.5.txt Add zipman makepkg option. 2008-03-16 23:22:17 +01:00
repo-add.8.txt scripts: add -q/--quiet option to repo-add and repo-remove 2008-05-10 00:48:55 -05:00