FS#15622 - package architecture check / warning
Attached to Project:
Pacman
Opened by Roman Kyrylych (Romashka) - Tuesday, 21 July 2009, 12:36 GMT
Last edited by Xavier (shining) - Monday, 07 September 2009, 10:55 GMT
Opened by Roman Kyrylych (Romashka) - Tuesday, 21 July 2009, 12:36 GMT
Last edited by Xavier (shining) - Monday, 07 September 2009, 10:55 GMT
|
Details
Summary and Info:
Pacman should check if package that's going to be installed has the same architecture as the system. In case architectures of the package and the system differ - a warning should be given and "Are you sure you want to install <pkgname>? [y/N]" question asked. (it should still be possible to install a package if user knows what (s)he's doing) Steps to Reproduce: just try installing a package for different architecture, no warning is given Or for adventurous (Warning! Your pacman installation will be screwed! :-P), my own mistake: Add this to pacman.conf on x86_64 system: [pacman-git] Server = http://dev.archlinux.org/~dan/pacman-git/ x86_64 pacman will be replaced with i686 pacman-git - oops! That's because of simple mistake in repo name (it should have been [pacman-git-64]). |
This task depends upon
Closed by Xavier (shining)
Monday, 07 September 2009, 10:55 GMT
Reason for closing: Implemented
Additional comments about closing: commit 5b27e78ba0
Monday, 07 September 2009, 10:55 GMT
Reason for closing: Implemented
Additional comments about closing: commit 5b27e78ba0
For example in your case :
pacman -S pacman-git will fail
but pacman -S --arch i686 pacman-git will work
0002-Check-package-arch-befor... (7.5 KiB)