Installtion Crash

Asked by Joseph Townsend

Back with another issue (arn't you getting to love me lol) so I grabbed lts 12.04 of Kubuntu as you stated relinux works on all flavors of Ubuntu, rebranded everything, customized it, set up the /etc/skel and chmoded everything was going great.

Setup a virtual disk on Virtual Box and I was amazed booted in to live cd it was working fast and flawlessly I was so excited....that is until I decided to install.

Wen't through the installation first issue when marking to install 3rd party and updates it just hangs like its thinking but for infinite time or hours in the case at least.

Restarted tried again this time not checking any options and it went to move through and continue got to the end and then when it got to configuring apt the installer crashed

Restarted same thing exactly at 3% of configuring each time on apt, also got some odd open ssl text in the begining when running post commands about key not having enough data when generating.

Here are links to an image/snapshot I took while errors where occuring hope they help in the diagnosis.
http://picpaste.com/relinux_installer_crash.png

PS. I had to switch to KDE in advanced settings as GTK would not boot at all.

PPS. Just an idea but it would be great to add a feature to be able to remove ability to run live similar to that of ability to remove installer. I would rather people have to install my fork/remaster rather than live cd it.

Question information

Language:
English Edit question
Status:
Solved
For:
relinux Edit question
Assignee:
No assignee Edit question
Solved by:
Anonymous Meerkat
Solved:
Last query:
Last reply:

This question was reopened

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#1

Could you attach or pastebin /var/log/syslog (when the installer crashes)?

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#2

Sorry all I can grab is this http://picpaste.com/tty_error_log-5OBNiwU9.png that is in a tty virtual consol using the cat command.....I do not know how to set up pipes to scroll in tty other than that can not instal gmb because its a "cd" and when on the crash screen ctrl+alt+T and alt+F2 does not open terminal or command so no way for me to graphically view the syslog unless you have a better way?

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#3

Okay, try this:

sudo apt-get install pastebinit
cat /var/log/syslog | pastebinit

Then a URL should show up (that's the pastebin'd file, if you didn't guess already =P), so then send it here =)

If you can't install pastebinit, or it doesn't work for whatever reason, try this instead:

cat /var/log/syslog | curl -F 'sprunge=<-' http://sprunge.us

... then paste the URL shown here.

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#4

Well bad news good news.

apt-get stll not able to install

sprunge is returning a http 413 request entity too large.....

good news
googled cli pastebin and got clbin.com tried using same their sytax (same as sprunge) and viola! I have the url for you here https://clbin.com/oVGzX

so if someone is having issues now you have a 3rd option you now know works.

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#5

*UPDATE* thought I would let you know nothing touched I ran remastersys dist and loaded the iso in virtualbox and ran the installer, it works fine. So at this point in time we are looking at a bug in the python scripting in relinux. Also file size was different went from relinux 3GB to 2GB the biggest thing I do not like is remastersys does not keep the design the same. Please help me find a way to make this work I really want to use relinux.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#6

The log looks fine to me, except for the end (which seems like as if it has something to do with APT and the CD as a source... but I'm not 100% sure).

Looking back at the source code (and comparing it with the relinux 0.3 codebase), it seems to me like as if the fix could be trivial, if the issue is what I think it is. So, let's see if it'll work!

The fix is this:

1) Backup /usr/lib/ubiquity/apt-setup/generators/40cdrom (move it to somewhere like /usr/lib/ubiquity/40cdrom.bak )
2) Delete the file ( /usr/lib/ubiquity/apt-setup/generators/40cdrom )

Alright, I didn't need to use the ordered list, but.... it's easier to read that way (i.e. it's a good excuse to break up a paragraph XD)

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#7

Still Failed.....it is doing the same black screen thing unless I move from GTK to KDE

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#8

Sorry, I'm kind of confused now... I thought the issue was that the installer crashed. And you said that the GTK version didn't work previously, right?

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#9

There was two issues I figure they are linked, but first off GTK will go to a black screen and not load "see the footnote under p.s. section of original question" and then when I go back to relinux and choose KDE instead of GTK it shows up and works all the way until configuration takes place then the installer crashes.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#10

Alright, that makes sense now (yes, I did read the P.S. originally, it's just that it didn't seem to be too important to the actual issue, but from your comment - #7 - you seemed to emphasize that it was the main issue, so that's why I was confused).

So let me get this straight. After using the fix I mentioned, using the KDE version _still_ crashed at the exact same spot?

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#11

Sorry for so late of a response, I have been got at work extensive ammounts of hours if you could please keep this open I will have an answer for that shortly.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#12

Don't worry about it, I've had issues lately too XD

And I don't worry about that either, I won't close it (though the launchpad janitor will mark it as inactive after 15 days of inactivity, and close it after 60 days).

Revision history for this message
Launchpad Janitor (janitor) said :
#13

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#14

Just gonna un-expire it ;)

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#15

Okay so its been hetick I quite my job and started a new one so I can work from home and focus on my projects. I am however back and ready so I am so thankful for your outstanding customer support through this all and am ready to pick back up. I get off in just 30 min. I can answer any question you may have as well as even let you remote in with teamviewer or similar if you think it would be easier? Last but not least I like how focused you are and would love for you to become involved in my OS project if you would like? My goal is to reach people like never before on a linux OS of course I am not going to post how all in here :P just let me know either way. Also make sure to answer about either the remoting in or what I should do next.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#16

Oh great! Glad to know that things are working well with you now (job-wise) :D And no problem ("customer support"-wise ... sounds more professional than it actually is :P)!

From what I understand, the answer for my question at #10 ("After using the fix I mentioned, using the KDE version _still_ crashed at the exact same spot?") would be yes, right? If so (and even if not so), could you re-upload /var/log/syslog (after trying to install, using my possibly non-working fix) ?

About teamviewer, that sounds like a great idea (would be much faster than what we are doing now XD), however, I won't be able to use it for a bit (maybe even a week), so for now, can we just stick with this?

For your OS, I'd love to help, however, the focus you see here won't be the same XD. Reason is, I really don't have too much free time (schoolwork, and a couple of projects I'm working on, including my own OS :P), plus I have serious ADD. So I honestly doubt I'll be much help code-wise, but I could definitely help with implementation tips (as in how to implement certain things), ideas (that is, if you don't mind completely radical and far-fetched ones included in the mix :P), that kind of stuff ... I can write much easier than I can code, if you know what I mean.

Let me know if this doesn't make too much sense, it's quite late here :P

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#17

wow.....so I had to switch to windows (no vmare / virtual) so I gathered all my ISO dist that I compiled and made a final backup so I can pick up on my desktop......well backup got corrupt during upload, and the other iso's either do not install or 1 that does work has 0% desktop customization kde defaults....since I have to restart...once more....(this time taking frequent backups....could you please verify for me in advance....which kubuntu distro versions do work without failure....I really am hating to restart a 3rd time :(

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#18

Restarted the development...again....one with GTK for ubiquity frontend, one with kde....same symptoms....this time did a lot less and mainly just stuck to customizing the feel....so with gtk version the live cd runs flawless but when running install it goes to a black screen I let it sit for a whole 10 min before giving up....on kde frontend, did not try live went straight to install....this time it shows and copies files 100% but then once it gets to configuring apt...3% i get the same installer crashed.....this was done in vmware this time instead of virtualbox and brand new downloaded iso of kubuntu and brand new copy of relinux 64 bit.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#19

I'm sorry for not getting back to you yet! I was starting to write a reply 3 days ago, but then, well, it got lost.

Yeah, I've had the same issue with the KDE frontend (using relinux, with as minimal changes to the system as possible). I haven't tried the GTK frontend though.

I'm trying out a couple of different things (adding some files, deleting others), and seeing if they work. Will let you know if they do.

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#20

so its not just me doing something wrong and going crazy this is good to know lol, I do not know how you manage things but if you would I could create a bug report for better tracking if you make an update/patch for the changelog? Please keep me posted....in the mean time....we know this issue lies in kubuntu but does it happen in any other distro? If not please name 1 you are 100% sure you have had success with and I will look into maybe working with gnome....just not tasteful as it is much harder to customize.

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#21

out of curiosity as well is it the latest version of ubiquity, I am wondering if not if its due to the kernel update? If not try integrating latest ubiquity.

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#22

RESOLVED!!!! Never been so happy.....so I am not sure why on your end your program does this, but on my end its an easy fix....so the problem is in your re-dist of ubiquity under /usr/share/ubiquity the apt-setup (open with kate) shows to immediately exit but right after that file there is apt-setup.relinux_backup or something to that effect simply delete the apt-setup and rename the relinux backup to the apt-setup and bam it fully worked everything the way I wanted it. So I would heavily at this point putting this in bug tracker and then looking into your source to figure out why it is generating a apt-setup with exit command.

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#23

also just as a last comment so I wont bloat this thread even feel free to delete this but just so you know I would suggest asking in beginning of if it is gnome or KDE because GTK + KDE = hasnt worked right since beginning of both gtk + gnome = good relationship kde + kde = good relationship so maybe at open just put a simple prompt that sets a var, "Is this OS a gnome desktop or KDE desktop" user clicks the var maybe assigned to an integer and then config auto sets based on int, also is there any way I can get ahold of you after this thread is closed?

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#24

ok last, last comment unless you input further....I spoke prematurely

*The above fix does resolve the issue

the bad is that the same file generates on each relinux run and then takes the good copy and turns it into apt-setup.relinux-backup (This needs to be addressed and removed)

the good is that once all files are copied and the installer crashes you can continue to desktop as a live cd and delete the temp file and rename the backup to apt-setup as stated then re-run installer from desktop app and it works fine.

I do not think I can easily ask my users to follow those directions though as the biggest point of my OS fork is to make it super simple to use....if you can please remove the feature that creates an apt-setup with exit as the only command and allow the original to stay in tact....

if you can not do this for any reason can you please tell me which line and file I need to change so I can make the edit and then build the source?

If you could do an overnight build in .deb form for x64 and send it to me so I can move forward that would be easiest on my end otherwise the other 2 options above would still be great.

Please keep me posted and up to date on the next steps or the patch/workaround.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#25

Yay! Glad to know you found a working fix!

Alright, so yes, that is a bug in relinux (I facepalmed pretty hard when I read the code for it, trust me =P), and I _think_ I fixed it (I'm currently testing it) in this commit: https://github.com/MiJyn/relinux/commit/a808ff299c00f6bbf3a1a9be738bf5dacfa619c6 .

Will let you know if it works :)

Revision history for this message
Best Anonymous Meerkat (lkjoel) said :
#26

Yay!! It works!!!

Since I don't have time to make a build (it's late here), please view the wiki on how to download using git, and how to run it using a git build ( https://github.com/MiJyn/relinux/wiki/Installing ).

Let me know if this build works! :D

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#27

kk I will do this on 10/5/13 that is my first day off I have to experiment rather than develop. If you get it built before then just let me know and shoot a link otherwise I will keep you posted on that date. Was this bug effecting others? I do not see how it could not, then again I did not see the code I only found the outcome.

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#28

Okay had to wait longer than expected but yes the most recent commit worked, bug is now gone and kde users are safe to relinux their distro. Thanks for taking the time to investigate my findings and committing the fix. I heavily suggest you commit this build into a binary for future users.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#30

Awesome!

The reason why I did not make a build of it is that there was an issue that once installed, it wouldn't work properly (the display manager failed to run).

But I'm guessing that you don't have this issue then?

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#31

no, I did not experience that. Something odd is happening though....I may one slight change (boot menu background image) and re-ran and it is now saying in consol that size /home/waxos/relinux-build/relinux is exceeds 4 gigs or something like that it goes all the way to the end but never generates iso....is there a way to clean the tmp files, etc....so that its like i am running relinux the first time again, except without a build because I am using the python command.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#32

Odd... Okay, well, just delete /home/waxos/relinux-build, since that contains all of the relinux temp files.

I'll add a feature that'll do that in a future commit though :)

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#33

hmm...sorry buddy...that didn't work....deleted the folder and all subfiles and directories re-cloned the git https://github.com/MiJyn/relinux and re-ran and same issue....its not even building the .iso .... any suggestions for this one? Is there a way while we solve this I could manually run some commands to do the same thing the program does? Can't find any documentation on how to manually build the same way your program does...

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#34

idk if this helps....but two things.....

/shutil.py", line 98, in copystat
os.utime(dst, (st.st_atime, st.st_mtime))
File "usr/lib/python2.7OSEroor: [Errno 2} No such file or directory: '/home/relinux//.ISO_STRUCTURE/isoliux/memtest and a few others....don't know if those always happened fresh install of python though....

and the second thing is when running SquashFS adding the edited /etc and /var to the filesystem it states 12783/12783 100% then adds the rest of the system which goes to 124186.....now if that is MB then that is impossible because with nothing excluded current OS only takes 2.x GB if its not MB I do not know what it is talking about....hopefully these two things mean something too you and can help resolve the issue.

Revision history for this message
Anonymous Meerkat (lkjoel) said :
#35

I'm assuming you copied the error manually, right? If not, then something (else) is really wrong with relinux (isoliux should be isolinux).

Assuming this is not the issue, make sure that you first completely remove (as root) /home/relinux. Then run relinux as root, and make sure each thread is selected (then press start =P).

I'm not sure about any tutorials that would show how to do this (but you could check the source code of 0.4, in src/relinux/modules/osweaver), but relinux 0.3a3 should work as a fallback (it might generate a larger ISO though).

About the 12783/12783, it's just the number of files it adds =)

I hope this can help, and I'm sorry about the issues... I should have tested it better before releasing it =/

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#36

Yes sorry I was typing what I was reading....as far as deleting the root folder I do that and yes I always select all threads before start.....I may fall back not sure.....also have you made a build with the update because I am still running the .py scripts raw rather than installing binary....and last thing does changing iso from 3-4 actually allow the beyond 4gb increase? Even though its not I am still showing it is more than 4gb which is not true.

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#37

okay so I looked and the apt file in ubiquity is still clear.....deleted it and then ran the apt cache cli utility and then re-ran and unmarked allow source change...now no longer getting message it is over 4gb but it is still hanging and not producing an iso...below is the lines I get in console.

[SquashFS] Checking the compressed filesystem
[ISO] Starting generation of the ISO image
[SquashFS] Checking the compressed filesystem
[ISO] Generating the ISO
ERROR: ld.so: object '/home/waxosdev/relinux-build/relinux/src/relinux/modules/osweaver/isatty64.so' from LD_PRELOAD cannot be preloaded: ignored.
Warning: Creating ISO-9660:1999 (version 2) filesystem.
Warning: ISO-9660 filenames longer than 31 may cause buffer overflows in the OS.
Unknown charset
Known charsets are:
Traceback (most recent call last):
  File "/home/waxosdev/relinux-build/relinux/src/relinux/threadmanager.py", line 33, in run
    self.runthread()
  File "/home/waxosdev/relinux-build/relinux/src/relinux/modules/osweaver/isoutil.py", line 375, in runthread
    location))
TypeError: expected a character buffer object

no idea either why it is is warning about filenames being to long seeing as I only named it 7 characters 10 counting .iso does any of that make sense to you?

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#38

So It has worked......what I did was use an older snapshot I had, and did not check the box allowing it to change source, and it ran fine...so the bug is somewhere in there.

Revision history for this message
Kenneth Thorell (kenneth-thorell) said :
#39

Hello
i m newto this and a have the same problem and i tried to use the new lines in osweaver.conf and tempsys.py
after that the program does not work any more and this is whats came up in terminal window

[Main] ===========================
[Main] === Started new session ===
[Main] ===========================
Error in function update
Traceback (most recent call last):
  File "/usr/lib/relinux/relinux/aptutil.py", line 36, in update
    self.updatefunc(op, percent)
  File "/usr/lib/relinux//relinux/__main__.py", line 215, in aptupdate
    _("Loading APT cache") + " (" + op + ") " + str(minis) + "%")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Error in function update
Traceback (most recent call last):
  File "/usr/lib/relinux/relinux/aptutil.py", line 36, in update
    self.updatefunc(op, percent)
  File "/usr/lib/relinux//relinux/__main__.py", line 215, in aptupdate
    _("Loading APT cache") + " (" + op + ") " + str(minis) + "%")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Error in function update
Traceback (most recent call last):
  File "/usr/lib/relinux/relinux/aptutil.py", line 36, in update
    self.updatefunc(op, percent)
  File "/usr/lib/relinux//relinux/__main__.py", line 215, in aptupdate
    _("Loading APT cache") + " (" + op + ") " + str(minis) + "%")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)
Error in function update
Traceback (most recent call last):
  File "/usr/lib/relinux/relinux/aptutil.py", line 36, in update
    self.updatefunc(op, percent)
  File "/usr/lib/relinux//relinux/__main__.py", line 215, in aptupdate
    _("Loading APT cache") + " (" + op + ") " + str(minis) + "%")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)
Error in function update
Traceback (most recent call last):
  File "/usr/lib/relinux/relinux/aptutil.py", line 36, in update
    self.updatefunc(op, percent)
  File "/usr/lib/relinux//relinux/__main__.py", line 215, in aptupdate
    _("Loading APT cache") + " (" + op + ") " + str(minis) + "%")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)
Error in function update
Traceback (most recent call last):
  File "/usr/lib/relinux/relinux/aptutil.py", line 36, in update
    self.updatefunc(op, percent)
  File "/usr/lib/relinux//relinux/__main__.py", line 215, in aptupdate
    _("Loading APT cache") + " (" + op + ") " + str(minis) + "%")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 17: ordinal not in range(128)
Error in function update
Traceback (most recent call last):
  File "/usr/lib/relinux/relinux/aptutil.py", line 36, in update
    self.updatefunc(op, percent)
  File "/usr/lib/relinux//relinux/__main__.py", line 215, in aptupdate
    _("Loading APT cache") + " (" + op + ") " + str(minis) + "%")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Error in function update
Traceback (most recent call last):
  File "/usr/lib/relinux/relinux/aptutil.py", line 36, in update
    self.updatefunc(op, percent)
  File "/usr/lib/relinux//relinux/__main__.py", line 215, in aptupdate
    _("Loading APT cache") + " (" + op + ") " + str(minis) + "%")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)
Traceback (most recent call last):
  File "/usr/lib/relinux//relinux/__main__.py", line 235, in <module>
    main()
  File "/usr/lib/relinux//relinux/__main__.py", line 226, in main
    modloader.runModule(i, {})
  File "/usr/lib/relinux/relinux/modloader.py", line 66, in runModule
    module.run(adict)
  File "/usr/lib/relinux/relinux/modules/osweaver/__init__.py", line 42, in run
    from relinux.modules.osweaver import isoutil, squashfs, tempsys, ui_osweaver, setup
  File "/usr/lib/relinux/relinux/modules/osweaver/isoutil.py", line 10, in <module>
    from relinux.modules.osweaver import tempsys, setup
  File "/usr/lib/relinux/relinux/modules/osweaver/tempsys.py", line 395
    else if os.path.exist("/usr/share/ubiquity/apt-setup.relinux-backup"):
          ^
SyntaxError: invalid syntax

i have looked over the lines i typed and everthing seemes ok but i need your help with this
thx

Revision history for this message
Joseph Townsend (jtownsend1190) said :
#40

Okay, try this first look (with kate or similar at /usr/share/ubiquity/apt-setup.relinux-backup) if there are apt-sources copy them and then delete the file. Then make sure you have the latest commit of relinux from the git repository, just get a fresh copy dont update the old one with new lines as temp files are stored....next in your settings uncheck the change source box (cant remember the exact name off hand) and in the /usr/share/ubiquity/ folder paste the apt-sources from the relinux-backup back into it, then make sure all buttons on the build page are checked and begin the process..

Big thing to remember here if using Gnome use GTK as frontend in settings if KDE then use KDE frontend (it does in fact make a huge difference because of dependencies.

If still not working try "sudo apt-get clean" the "sudo apt-get update" for fresh apt-list let me know if it works or not if not what now happens.

Revision history for this message
Kenneth Thorell (kenneth-thorell) said :
#41

Hi
there where no apt source in the file and i have downoladed using git but how do i install or start the program....
im using ubuntu 13.10 64 bit