On Thu, Aug 03, 2006 at 11:47:23AM +0100, Matt Doidge wrote:
> Hello,
>
> I'm having apt problems, and having no luck finding any solutions to them in the manuals. We were having some trouble with our dcache srm flaking out, which was (apparently) fixed by removing some CA packages- namely the SWITCH ones. That worked (we're not sure how), but now apt is giving me gip due to unmet dependencies and not updating or installing anything. Trying to install even (as far as I know) unrelated packages gives me the error;
>
> lcg-CA: Depends: ca_policy_igtf-classic (= 1.6) but it is not going to be installed
> E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
>
> I've tried fiddling with apt.conf, adding these lines:
> Ignore {
> "ca_policy_igtf-classic"; "ca_SWITCH-Personal-2006"; "ca_SWITCH-Server"; "ca_SWITCH"; "ca_SWITCH-Server-2006"; "ca_SWITCH-Personal";
> };
>
> // Do not try to update the following packages
> // Hold { };
> Hold {"ca_policy_igtf-classic"; "ca_SWITCH-Personal-2006*"; "ca_SWITCH-Server*"; "ca_SWITCH*"; "ca_SWITCH-Server-2006"; "ca_SWITCH-Personal";
> };
>
> But it doesn't seem to have helped (other then stop auto-update installing them). This is extra worrying with the need to upgrade lcg-CA. If I can't find an elegant solution within apt then I'm going to have to use the sledge-hammer of removing my current hacks, installing all the CA rpms again, updating everything then removing the offending CA rpms once I'm done. Not elegant at all!
>
You are trying to update lcg-CA that requires ca_policy_igtf-classic but at the same
time you ask apt not to use ca_policy_igtf-classic. As you can guess the only option
left to apt is to not install/update any of them. You can get away with removing lcg-CA
and update, existing ca rpms will get updated but you will not get new ones (which in
any case you don't want since dcache will break again!).
You can also upgrade to a version of dcache that fixes the problem as well ;)
Can I assume that you removed the SWITCH ca rpms with --nodeps?
Kostas
|