PDA

View Full Version : [ubuntu] update problem - krb5-config fails



davidmaxwaterman
December 9th, 2008, 11:31 AM
I get this after I do an upgrade :


Setting up libv4l-0 (0.5.6-1~intrepid1) ...

Setting up compiz-fusion-plugins-main (0.7.8-0ubuntu2.2) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Processing triggers for menu ...
Errors were encountered while processing:
krb5-config
krb5-user
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up krb5-config (1.19) ...
dnsdomainname: Unknown host
dpkg: error processing krb5-config (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of krb5-user:
krb5-user depends on krb5-config; however:
Package krb5-config is not configured yet.
dpkg: error processing krb5-user (--configure):
dependency problems - leaving unconfigured


I've fairly sure I've seen this a few times before since upgrading to intrepid.

Any ideas how to fix it?

Max.

albinootje
December 9th, 2008, 01:17 PM
Looks like bug-reports about this have been made, like here : https://bugs.launchpad.net/ubuntu/+source/hostname/+bug/253895
but no answers.
You could try to give your machine a real looking hostname,
to resolve this problem. see also: man dnsdomainname
Or try dpkg with the --force-all option on the specific package.

davidmaxwaterman
December 9th, 2008, 03:41 PM
Looks like bug-reports about this have been made, like here : https://bugs.launchpad.net/ubuntu/+source/hostname/+bug/253895
but no answers.
You could try to give your machine a real looking hostname,
to resolve this problem. see also: man dnsdomainname
Or try dpkg with the --force-all option on the specific package.

Yeah, that bug looks very familiar.

I had set the hostname manually (to a label that IT put on the computer), and I'd be happy to let it be set by dhcp, but network-admin won't run (not installed). Looking in /etc shows it's in many places, and I don't know which one to change.

About dnsdomainname, I'm not sure how to use that...it just returns 'Unknown host'. 'hostname' returns the valid hostname, and I have the domain set correctly in /etc/resolv.conf (a comment says it is generated by NetworkManager).

When I try to run NetworkManager (sudo /usr/sbin/NetworkManager), it just says "unable to resolve host .....".

Any clues appreciated...

Thanks,

Max.