The package libreadline6-dev
does not exist in Ubuntu 16.10 (Yakkety) since the default version of readline is now 7. (More precisely, it still exists as a virtual package, but for our purposes here it might as well not exist at all.)
However, on your system you still have some Ubuntu 16.04 (Xenial) sources enabled, and since libreadline6-dev
does exist in Xenial, your system tries to install it from there. And this fails, because even though Yakkety does not have libreadline6-dev
, it does have libreadline6
, but the Yakkety version of libreadline6
cannot be installed together with the Xenial version of libreadline6-dev
.
How to proceed from there depends on what you want to do, which you have not mentioned. However, unless you really need readline 6, you can just install libreadline-dev
(which will install readline 7). You very probably also want to remove those Xenial sources from your sources.list
, since they interfere with your package management in ways you probably don't want.
libreadline6-dev
does not exist in 16.10, which uses readline 7. What's the output ofapt-cache policy libreadline6-dev
? – fkraiem Dec 05 '16 at 10:47