FS#1740 - replacing pkgs that provide the same is not easy possible
Attached to Project:
Pacman
Opened by Damir Perisa (damir.perisa) - Friday, 05 November 2004, 17:05 GMT
Last edited by Simo Leone (neotuli) - Sunday, 15 October 2006, 17:47 GMT
Opened by Damir Perisa (damir.perisa) - Friday, 05 November 2004, 17:05 GMT
Last edited by Simo Leone (neotuli) - Sunday, 15 October 2006, 17:47 GMT
|
Details
[root@Asteraceae mpd]# pacman -S faad2
:: faad2 conflicts with faad2-devel. Remove faad2-devel? [Y/n] Remove: faad2-devel Targets: faad2-2.0-5 Total Package Size: 0.3 MB Proceed with upgrade? [Y/n] checking package integrity... done. error: this will break the following dependencies: faad2-devel: is required by gst-plugins faad2-devel: is required by avidemux [root@Asteraceae mpd]# pacman -Sd faad2 Targets: faad2-2.0-5 Total Package Size: 0.3 MB Proceed with upgrade? [Y/n] checking package integrity... done. loading package data... done. checking for file conflicts... error: the following file conflicts were found: faad2: /usr/bin/faad: exists in filesystem faad2: /usr/include/faad.h: exists in filesystem faad2: /usr/lib/libfaad.a: exists in filesystem faad2: /usr/lib/libfaad.la: exists in filesystem faad2: /usr/lib/libfaad.so: exists in filesystem faad2: /usr/lib/libfaad.so.0: exists in filesystem faad2: /usr/lib/libfaad.so.0.0.0: exists in filesystem [root@Asteraceae mpd]# pacman -Rd faad2-devel removing faad2-devel... done. [root@Asteraceae mpd]# pacman -S faad2 Targets: faad2-2.0-5 Total Package Size: 0.3 MB Proceed with upgrade? [Y/n] checking package integrity... done. loading package data... done. checking for file conflicts... done. installing faad2... done. [root@Asteraceae mpd]# making this a little bit easier would be nice |
This task depends upon
Closed by Aaron Griffin (phrakture)
Tuesday, 05 December 2006, 07:13 GMT
Reason for closing: Implemented
Additional comments about closing: Fixed in pacman3
Tuesday, 05 December 2006, 07:13 GMT
Reason for closing: Implemented
Additional comments about closing: Fixed in pacman3
[root@Asteraceae mpd]# pacman -S faad2
is a workaround to simply switching pkgs .... but without knowing that you need to remove the first by hand with -d is not very clear
the only thing that should be addeed to pacman to help resolve such situations is to detect, what a -S action will have in the end (on this example: pacman cannot detect that in the end faad2 will still be provided (not longer by faad2-devel but by the new installed faad2))
[root@invisible-university askadar]# pacman -Sy
:: Synchronizing package databases...
current [################] 100% 46K 14.6K/s 00:00:03
extra [################] 100% 214K 46.6K/s 00:00:04
[root@invisible-university askadar]# pacman -Su
:: Replace gcc-g77 with gcc-fortran from "extra"? [Y/n] y
error: unresolvable dependencies:
gcc-g77: requires gcc=3.4.3
[root@invisible-university askadar]# pacman -Rd gcc-g77
removing gcc-g77... done.
This happened as part of the monster gcc-4 update.