Historical bug tracker for the Pacman package manager.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
The pacman bug tracker has moved to gitlab:
https://gitlab.archlinux.org/pacman/pacman/-/issues
This tracker remains open for interaction with historical bugs during the transition period. Any new bugs reports will be closed without further action.
FS#6324 - pacman -Suf
Attached to Project:
Pacman
Opened by Erwin Van de Velde (evdvelde) - Friday, 02 February 2007, 09:28 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 02 February 2007, 16:31 GMT
Opened by Erwin Van de Velde (evdvelde) - Friday, 02 February 2007, 09:28 GMT
Last edited by Roman Kyrylych (Romashka) - Friday, 02 February 2007, 16:31 GMT
|
Detailspacman -Suf does not give an error but the option -f does not have any effect in this case. I think it should, since sometimes an update results in conflicting files (already exists in the filesystem etc.)...
|
This task depends upon
Closed by Aaron Griffin (phrakture)
Sunday, 04 February 2007, 00:54 GMT
Reason for closing: Fixed
Additional comments about closing: -Suf works fine with latest CVS
Sunday, 04 February 2007, 00:54 GMT
Reason for closing: Fixed
Additional comments about closing: -Suf works fine with latest CVS
I mean that the -f option is silently ignored in pacman -Suf: pacman bails out with the error of conflicting files (if any), so the update is not forced.
=> There is an error in the case of a conflict, but pacman does not warn that it is ignoring the -f option.
Best of all would be of course if pacman just took the -f option into account...
$ sudo pacman -Syu
:: Synchronizing package databases...
testing 5K 138.2K/s 00:00:00 [#################################################################################################################] 100%
current is up to date
extra 274K 276.0K/s 00:00:00 [#################################################################################################################] 100%
community is up to date
unstable 14K 104.1K/s 00:00:00 [#################################################################################################################] 100%
:: Starting full system upgrade...
resolving dependencies... done.
looking for inter-conflicts... done.
Targets: automake-1.10-1 damageproto-1.1.0-1 dbus-0.93-2 dbus-python-0.71-2 klibc-udev-105-1 libxdamage-1.1-1 libxml2-2.6.27-2 libxslt-1.1.20-2 python-numeric-24.2-2
pycairo-1.2.2-2 pygobject-2.12.3-2 pygtk-2.10.3-2 pyrex-0.9.4.1-2 pyxml-0.8.4-3 randrproto-1.2.0-1 udev-105-1 xorg-server-1.2.0-1
Total Package Size: 21.6 MB
Proceed with installation? [Y/n]
:: Retrieving packages from testing...
automake-1.10-1 317K 260.8K/s 00:00:01 [#################################################################################################################] 100%
damageproto-1.1.0-1 2K 105.0K/s 00:00:00 [#################################################################################################################] 100%
dbus-0.93-2 543K 341.5K/s 00:00:01 [#################################################################################################################] 100%
dbus-python-0.71-2 1193K 397.7K/s 00:00:03 [#################################################################################################################] 100%
libxdamage-1.1-1 7K 66.5K/s 00:00:00 [#################################################################################################################] 100%
libxml2-2.6.27-2 1531K 557.9K/s 00:00:02 [#################################################################################################################] 100%
libxslt-1.1.20-2 355K 290.2K/s 00:00:01 [#################################################################################################################] 100%
python-numeric-24.2-2 4821K 401.0K/s 00:00:12 [#################################################################################################################] 100%
pycairo-1.2.2-2 30K 103.7K/s 00:00:00 [#################################################################################################################] 100%
pygobject-2.12.3-2 98K 140.0K/s 00:00:00 [#################################################################################################################] 100%
pygtk-2.10.3-2 1355K 363.6K/s 00:00:03 [#################################################################################################################] 100%
pyrex-0.9.4.1-2 260K 252.6K/s 00:00:01 [#################################################################################################################] 100%
pyxml-0.8.4-3 2340K 307.0K/s 00:00:07 [#################################################################################################################] 100%
randrproto-1.2.0-1 4K 104.1K/s 00:00:00 [#################################################################################################################] 100%
xorg-server-1.2.0-1 9003K 327.3K/s 00:00:27 [#################################################################################################################] 100%
:: Retrieving packages from current...
klibc-udev-105-1 84K 129.4K/s 00:00:00 [#################################################################################################################] 100%
udev-105-1 183K 225.3K/s 00:00:00 [#################################################################################################################] 100%
checking package integrity... done.
cleaning up... done.
(17/17) checking for file conflicts [###############################################################################################################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
libxml2: /usr/lib/python2.5/site-packages/drv_libxml2.py exists in filesystemlibxml2: /usr/lib/python2.5/site-packages/libxml2.py exists in filesystemlibxml2: /usr/lib/python2.5/site-packages/libxml2mod.a exists in filesystemlibxml2: /usr/lib/python2.5/site-packages/libxml2mod.so exists in filesystem
errors occurred, no packages were upgraded.
And now...
$ sudo pacman -Suf
:: Starting full system upgrade...
resolving dependencies... done.
looking for inter-conflicts... done.
Targets: automake-1.10-1 damageproto-1.1.0-1 dbus-0.93-2 dbus-python-0.71-2 klibc-udev-105-1 libxdamage-1.1-1 libxml2-2.6.27-2 libxslt-1.1.20-2 python-numeric-24.2-2
pycairo-1.2.2-2 pygobject-2.12.3-2 pygtk-2.10.3-2 pyrex-0.9.4.1-2 pyxml-0.8.4-3 randrproto-1.2.0-1 udev-105-1 xorg-server-1.2.0-1
Total Package Size: 21.6 MB
Proceed with installation? [Y/n]
checking package integrity... done.
cleaning up... done.
( 1/17) upgrading automake [###############################################################################################################] 100%
( 2/17) upgrading damageproto [###############################################################################################################] 100%
( 3/17) upgrading dbus [###############################################################################################################] 100%
( 4/17) upgrading dbus-python [###############################################################################################################] 100%
( 5/17) upgrading klibc-udev [###############################################################################################################] 100%
( 6/17) upgrading libxdamage [###############################################################################################################] 100%
( 7/17) upgrading libxml2 [###############################################################################################################] 100%
( 8/17) upgrading libxslt [###############################################################################################################] 100%
( 9/17) upgrading python-numeric [###############################################################################################################] 100%
(10/17) upgrading pycairo [###############################################################################################################] 100%
(11/17) upgrading pygobject [###############################################################################################################] 100%
(12/17) upgrading pygtk [###############################################################################################################] 100%
(13/17) upgrading pyrex [###############################################################################################################] 100%
(14/17) upgrading pyxml [###############################################################################################################] 100%
(15/17) upgrading randrproto [###############################################################################################################] 100%
ATTENTION UDEV:
----------
udev >=098 rules syntax has changed, please update your own rules.
udev >=099 Added persistent network and CD/DVD Symlink generator rules.
Please read the instructions carefully before reboot.
They are located in /etc/udev/readme-udev-arch.txt
----------
(16/17) upgrading udev [###############################################################################################################] 100%
(17/17) upgrading xorg-server [###############################################################################################################] 100%
As you can see, -Suf worked fine. (I had upgraded some python2.5 packages on my own, that's why the file conflicts existed.)