UbuntuThis forum is for the discussion of Ubuntu Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
kenny_strawn@kenny-AOA110:/media/Arch Linux 2010.$ sudo chroot .
Floating point exception
kenny_strawn@kenny-AOA110:/media/Arch Linux 2010.$
I want to know how to reinstall chroot so it doesn't do this. What package is it in? I'm lost here. Is it coreutils? If so, reinstalling it didn't work.
Trying to install "chroot" by itself fails: no such package.
Yeah, I tried (1) reinstalling the coreutils package on my Ubuntu system and (2) reinstalling bash (via tar, not pacman) on the Arch installation -- but neither of the procedures worked. So, I guess it's a bug either (1) with the Arch bash or (2) with Ubuntu's chroot. Will now file the bug.
Apparently, downgrading coreutils to the Lucid version doesn't do much good. It still causes a Floating Point Exception. So, I decided to report a bug on Arch's bug tracker:
Apparently, downgrading coreutils to the Lucid version doesn't do much good. It still causes a Floating Point Exception. So, I decided to report a bug on Arch's bug tracker:
I am wondering why you are filing bugs on this. I do not use Arch but have several installs of Ubuntu from 8.04 through 11.04-testing besides the OS I use all the time Debian testing with the 2.6.35 kernel.
I have no trouble with bash scripts at all. I chroot from one OS or another every day.
What I would be thinking about in your position is what I did to cause a self inflicted injury to two fairly different systems.
As one of the guys on the Ubuntu Forums testing sub-forum says in his sig "if it ain't broke you haven't tweeked it enough". I think that if may be that you have tweeked it enough.
Personally, I am very good at doing just that. Makes life so much more interesting.
I personally think it is an issue with Arch's /bin/bash specifically, not Ubuntu's problems at all, as I tried downgrading Ubuntu's version of coreutils -- to no avail.
Here's what I get when trying to chroot into the drive:
Code:
kenny_strawn@kenny-AOA110:/media/Arch Linux 2010.$ sudo chroot "$PWD"
Floating point exception
kenny_strawn@kenny-AOA110:/media/Arch Linux 2010.$
See the pattern?
Last edited by Kenny_Strawn; 10-28-2010 at 06:54 PM.
First; while they get the kernel from the same place, the two distros are not closely related.
Second; while there have been some problems with bash in Ubuntu testing (10.04) it was a completion problem and was fixed long ago.
The only pattern I see here is that both systems you are having problems on are administered by you. This is not a condemnation. Maybe even a congratulation.
I have no idea what has caused this problem but I really suspect it to be some, perhaps very small, "improvement" you have made to your systems.
If you have the room, I would do a clean install of either one of them and start comparing your bash related files. It could be that if you do not have room for that, that you could use the Ubuntu Live CD to compare the Ubuntu installed files with.
I have not tried down grading the core utils package but do have some serious doubts that this is a good idea. There is a large difference in the kernel for 10.04 and 10.10. Have not compared the utils packages but I would be surprised if there were not some differences.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.