[pacman-dev] Bug with remove conflicting packages and their depends
Allan McRae
allan at archlinux.org
Thu Aug 21 19:40:15 EDT 2014
[2014-08-21 21:27] [PACMAN] Running 'pacman -Syu vim-minimal'
...
[2014-08-22 09:17] [ALPM] removed vim (7.4.404-1)
..
[2014-08-22 09:17] [ALPM] upgraded vim-runtime (7.4.404-1 -> 7.4.410-1)
[2014-08-22 09:17] [ALPM] installed vim-minimal (7.4.410-1)
...
[2014-08-22 09:17] [ALPM] installed ruby (2.1.2-1)
[2014-08-22 09:17] [ALPM] installed lua (5.2.3-1)
Ruby and lua are dependencies of vim which is removed. They were
orphans after this transaction.
Here is debug output:
...
[09:38:49] debug: pulling dependency ruby (needed by vim)
[09:38:49] debug: started resolving dependencies
[09:38:49] debug: checkdeps: package lua-5.2.3-1
[09:38:49] debug: finished resolving dependencies
[09:38:49] debug: pulling dependency lua (needed by vim)
[09:38:49] debug: finished resolving dependencies
looking for conflicting packages...
[09:38:49] debug: looking for conflicts
[09:38:49] debug: check targets vs targets
[09:38:49] debug: check targets vs targets
[09:38:49] debug: package vim-minimal conflicts with vim (by vim)
[09:38:49] debug: package vim conflicts with vim-minimal (by vim-minimal)
[09:38:49] debug: conflicting packages in the sync list: 'vim-minimal'
<-> 'vim'
[09:38:49] warning: removing 'vim' from target list because it conflicts
with 'vim-minimal'
[09:38:49] debug: check targets vs db and db vs targets
[09:38:49] debug: check targets vs db
[09:38:49] debug: package vim-minimal conflicts with vim (by vim)
[09:38:49] debug: check db vs targets
[09:38:49] debug: package 'vim-minimal' conflicts with 'vim'
:: vim-minimal and vim are in conflict. Remove vim? [y/N]
So I guess the fix is to consider explicitly stated packages first.
I'll file a bug report later.
Allan
More information about the pacman-dev
mailing list