[arch-general] pacman 4 logic error - what part of 'no' doesn't it understand?

David C. Rankin drankinatty at suddenlinkmail.com
Wed Jan 25 09:22:37 EST 2012


On 01/25/2012 08:07 AM, David C. Rankin wrote:
> Guys,
> 
>   I have found a logic error in pacman (I think). I don't like replacing both
> the kernel and kernel-lts in the same 'pacman -Syu' call. So I answered 'no'
> when prompted to 'Replace kernel26-lts with core/linux-lts? [Y/n] n'. However,
> then pacman fails to install anything because 'linux-lts and kernel26-lts are in
> conflict'.
> 
>   When I answered 'n' to Replace kernel26-lts, I expected pacman to ignore
> upgrading that package (and the others I said no to) but proceed forward and
> install the remaining updates. Should I file this as a bug? The full output is
> below:
> 
<snip>

  I am fairly certain this is due to the kernel/linux naming convention change.
Telling pacman to --ignore ignore kernel26-lts,kernel26-lts-headers failed as
well, but ignoring kernel26-lts,kernel26-lts-headers,linux-lts,linux-lts-headers
did work. Probably not worth a bug report for a 1-off name change, but let me
know if you want it filed anyway and I'm happy to do it. The full output of
trying the --ignore is provided below:

[08:16 archangel:/etc] # pacman -Syu --ignore kernel26-lts,kernel26-lts-headers
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 archlinuxfr is up to date
 xyne-any is up to date
 aaany is up to date
 aapkg is up to date
:: Starting full system upgrade...
warning: ignoring package replacement (kernel26-lts-2.6.32.53-1 =>
linux-lts-3.0.17-2)
warning: ignoring package replacement (kernel26-lts-headers-2.6.32.53-1 =>
linux-lts-headers-3.0.17-2)
:: Replace module-init-tools with core/kmod? [Y/n]
:: Replace perl-exiftool with extra/perl-image-exiftool? [Y/n]
resolving dependencies...
looking for inter-conflicts...
:: linux-lts and kernel26-lts are in conflict. Remove kernel26-lts? [y/N]
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: linux-lts and kernel26-lts are in conflict



-- 
David C. Rankin, J.D.,P.E.


More information about the arch-general mailing list