[Bug 156671] Re: KDM can't start, gives a sed error
Joshua, yes, a bug should get filed against the package which adds this redundant information there, but it may be hard to find out which one it is. Sridhar, thanks for the patch. You could improve it by adding a "tail -n 1" to the chain, so that only the last line gets used (and it would work in Joshua's case): grep -re "^LANG=" /etc/default/locale | awk 'BEGIN { FS = "[\"|.]" } { print $2 }' | tail -n 1 However, this code snippet is not in Ubuntu Hardy (the development branch) anymore. Therefor I'm closing it as Fix Released. ** Changed in: kdebase (Ubuntu) Importance: Undecided => Low Assignee: (unassigned) => dAniel hAhler (blueyed) Status: Incomplete => Fix Released ** Summary changed: - KDM can't start, gives a sed error + Gutsy: KDM can't start, gives a sed error -- Gutsy: KDM can't start, gives a sed error https://bugs.launchpad.net/bugs/156671 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdebase in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 156671] Re: KDM can't start, gives a sed error
OK, I'll give that a try...but then the question becomes: what put those three lines there in the first place, and does a bug need to be opened against that package? -- KDM can't start, gives a sed error https://bugs.launchpad.net/bugs/156671 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdebase in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 156671] Re: KDM can't start, gives a sed error
Joshua, You only need one of those lines. The presence of more than one line starting with "LANG" is breaking the initscript. Delete two of the lines and it should work. -- KDM can't start, gives a sed error https://bugs.launchpad.net/bugs/156671 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdebase in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 156671] Re: KDM can't start, gives a sed error
The diff did not fix this for me, I get the same error. My /etc/default/local file is only these three lines: LANG="en_US.UTF-8" LANG="en_US.UTF-8" LANG="en_US.UTF-8" Yes, same line, repeated three times. If this matters, this is a Feisty (fresh install) to Gutsy (upgrade via Adept). -- KDM can't start, gives a sed error https://bugs.launchpad.net/bugs/156671 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdebase in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 156671] Re: KDM can't start, gives a sed error
This solved the problem. Thank you :) -- KDM can't start, gives a sed error https://bugs.launchpad.net/bugs/156671 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdebase in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 156671] Re: KDM can't start, gives a sed error
I've tracked it down to the way /etc/init.d/kdm parses /etc/default/locale. My locale file contains a commented line at the top which contains the substring LANG=. This is being picked up by /etc/init.d/kdm instead of the proper line. A fix is attached. ** Attachment added: "patch for /etc/init.d/kdm" http://launchpadlibrarian.net/10237028/kdm.diff -- KDM can't start, gives a sed error https://bugs.launchpad.net/bugs/156671 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdebase in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs
[Bug 156671] Re: KDM can't start, gives a sed error
I have same problem. What kind of log would you need? I have attached the kdm script to this. Also tried apt-get remove --purge kdm and re-install both kdm and kubuntu-desktop packages, this is kubuntu installation. ** Attachment added: "kdm script" http://launchpadlibrarian.net/10208167/kdm -- KDM can't start, gives a sed error https://bugs.launchpad.net/bugs/156671 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 156671] Re: KDM can't start, gives a sed error
Can you upload your logs? and provide more info about this bug Thank you! ** Changed in: kdebase (Ubuntu) Status: New => Incomplete -- KDM can't start, gives a sed error https://bugs.launchpad.net/bugs/156671 You received this bug notification because you are a member of Kubuntu Team, which is a bug contact for kdebase in ubuntu. -- kubuntu-bugs mailing list [EMAIL PROTECTED] https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs