Pacman

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.
Tasklist

FS#9287 - pacman doesn't recognize dependencies will be upgraded too

Attached to Project: Pacman
Opened by Glenn Matthys (RedShift) - Monday, 21 January 2008, 10:45 GMT
Last edited by Xavier (shining) - Monday, 21 January 2008, 12:05 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version 3.1.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:
I just had this situation:
------------
[root@polaris glenn]# pacman -Syu
:: Synchronizing package databases...
core 23.1K 508.3K/s 00:00:00 100%
extra 309.6K 798.3K/s 00:00:00 100%
community 354.8K 426.2K/s 00:00:01 100%
:: Starting full system upgrade...
warning: avidemux: local (2.4-2) is newer than extra (2.4.preview2-2)
warning: kmplayer: forcing upgrade to version 0.10.0.c-1
warning: opera: forcing upgrade to version 9.25-2
resolving dependencies...
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: avidemux: requires x264<=20071101

(this reminds me of some other package manager that uses the letters m p r...)

------------
[root@polaris glenn]# pacman -Qi x264
Name : x264
Version : 20070616-1
------------
[root@polaris glenn]# pacman -S avidemux
warning: avidemux: local (2.4-2) is newer than extra (2.4.preview2-2)
warning: avidemux-2.4-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets: x264-20071202-1 avidemux-2.4.preview2-2

Total Download Size: 6.26 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...
x264-20071202-1-i686 645.6K 596.4K/s 00:00:01 100%
avidemux-2.4.preview... 5.6M 1059.3K/s 00:00:05 100%
checking package integrity...
(2/2) checking for file conflicts 100%
(1/2) upgrading x264 100%
(2/2) upgrading avidemux 100%
------------

After this an -Syu works fine, but something like this shouldn't happen - I think?
This task depends upon

Closed by  Xavier (shining)
Monday, 21 January 2008, 12:05 GMT
Reason for closing:  Not a bug
Additional comments about closing:  a bug should be reported against avidemux instead, to force its update.
Comment by Xavier (shining) - Monday, 21 January 2008, 11:42 GMT
What is the problem here?

In the -Su case, it doesn't pull avidemux because of the weird versions.
So you get broken dependencies, that's expected.

warning: avidemux: local (2.4-2) is newer than extra (2.4.preview2-2)
http://bbs.archlinux.org/viewtopic.php?pid=320091#p320091
Comment by Glenn Matthys (RedShift) - Monday, 21 January 2008, 11:45 GMT
But upon a system upgrade, the package x264 will be upgraded too to meet the dependencies of avidemux. However, pacman is comparing the local installed version of the dependencies instead of those about to be installed.
Comment by Xavier (shining) - Monday, 21 January 2008, 11:48 GMT
No, it looks at the local installed version of avidemux, because this package is not going to be upgraded.
Comment by Xavier (shining) - Monday, 21 January 2008, 11:56 GMT
So to make things clear, I don't think pacman has any problems here.
But as said in the forum thread, please file a bug against avidemux package in extra, requesting the force flag.
Comment by Glenn Matthys (RedShift) - Monday, 21 January 2008, 12:02 GMT
You're right, I've requested a task closure. I was thinking about it the wrong way.

Loading...