FS#28439 - pacman self-upgrade dependency checking: "pacman -Su" != "pacman -S pacman"

Attached to Project: Community Packages
Opened by pajaro (pajaro) - Wednesday, 15 February 2012, 07:48 GMT
Last edited by Allan McRae (Allan) - Wednesday, 15 February 2012, 08:38 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture x86_64
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
pacman installation through "pacman -Su" does dependency checking in a different way than "pacman -S pacman". Apparently, "pacman -Su" does not see provides data on desc files when autoinstalling pacman.

I just run a system upgrade and it reported the standard message saying that pacman needs to be updated. Then it reported that gcc-libs needed to be installed and that I had to remove gcc-libs-multilib. I want gcc-libs-multilib, so I cancelled thinking that a new version of gcc-libs was released. It wasn't the case, so I checked gcc-libs desc file and found that it provides gcc-libs. Next step was to install pacman through "pacman -S pacman". It installed smoothly.


Additional info:
- upgraded pacman versions: from 4.0.1-4 to 4.0.2-1 (I don't know if I this pacman update fixes this problem but in the changelog I couldn't find anything related to this).
- both gcc-libs and gcc-libs-multilib version is 4.6.2-7
- I set "Very Low" priority because there is a workaround.


Steps to reproduce:

1. Prepare your system for a multilib build environment (gcc-multilib, gcc-libs-multilib, etc)

2. run "pacman -Syu" on the last pacman upgrade (from 4.0.1-4 to 4.0.2-1)
-> It will complain about the need to install gcc-libs, though gcc-libs-multilib provides the last version of gcc-libs.

3. Cancel and run "pacman -S pacman"
-> It installs without any dependency problems.
This task depends upon

Closed by  Allan McRae (Allan)
Wednesday, 15 February 2012, 08:38 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#27214 
Comment by pajaro (pajaro) - Wednesday, 15 February 2012, 07:52 GMT
Sorry, there is a typo: "I checked gcc-libs-MULTILIB desc file and found that it provides gcc-libs"

Loading...