LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2007, 11:47 PM   #1
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Rep: Reputation: 31
2 weeks since I've been able to use a KDE program in Ubuntu... / octet-stream


This problem is really starting to frustrate me... I haven't been able to find a solution on Google or the forums. My work has haulted because of this. If I can't find a solution soon, I may have to do something I REALLY don't want to do: reinstall Windows XP.

I was trying to use a KDE program in Gnome. Something crashed, I rebooted, and then I was no longer able to load gwenview, digikam, k3b, and a couple other KDE multimedia applications. I now get an error that says "application/octet-stream" missing.

Is there a way to add this back, or reinstall Ubuntu without having to reinstall every application I've installed? I have a slow connection, and it would take forever to reinstall everything.

I'm using Ubuntu 7.10.

Your help would be GREATLY appreciated.

Last edited by Cinematography; 12-10-2007 at 11:49 PM.
 
Old 12-11-2007, 01:32 AM   #2
deadeyes
Member
 
Registered: Aug 2006
Posts: 609

Rep: Reputation: 79
Quote:
Originally Posted by Cinematography View Post
This problem is really starting to frustrate me... I haven't been able to find a solution on Google or the forums. My work has haulted because of this. If I can't find a solution soon, I may have to do something I REALLY don't want to do: reinstall Windows XP.

I was trying to use a KDE program in Gnome. Something crashed, I rebooted, and then I was no longer able to load gwenview, digikam, k3b, and a couple other KDE multimedia applications. I now get an error that says "application/octet-stream" missing.

Is there a way to add this back, or reinstall Ubuntu without having to reinstall every application I've installed? I have a slow connection, and it would take forever to reinstall everything.

I'm using Ubuntu 7.10.

Your help would be GREATLY appreciated.
try:
sudo apt-get update
sudo apt-get dist-upgrade

Or/also uninstall the program that started this pain in the ...
 
Old 12-11-2007, 01:39 AM   #3
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
Please be more specific. What was or where the applications running at the time of the crash? What messages get thrown if you open up a Kterm, Konsole, xterm or whatever and run any of "gwenview, digikam, k3b, and a couple other KDE multimedia applications"? Could you post the real error message (or a picture of it) and check your syslog for errors you might not have seen (like kernel oopses you can run ksymoops on)? "application/octet-stream" is a MIME type BTW.
 
Old 12-11-2007, 02:15 AM   #4
eternicode
LQ Newbie
 
Registered: Jul 2007
Posts: 14

Rep: Reputation: 0
I had this problem a while back on my Kubuntu desktop. Can't remember now exactly what errors I got, but it had to do with mimetype associations.'

The second post at http://ubuntuforums.org/showthread.php?t=116182 describes somewhat what to do (delete the ~/.kde/share/mimelnk/application/octet-stream.desktop file), and it worked for me, but I don't know what the equivalent file would be for Gnome.

Maybe do a
Code:
sudo find / -name octet-stream.desktop
?
 
Old 12-11-2007, 02:34 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Quote:
Originally Posted by deadeyes
try:
sudo apt-get update
sudo apt-get dist-upgrade

Or/also uninstall the program that started this pain in the ...
I wouldn't go there..un/reinstalling the program won't probably help, because (as far as I can tell from my experience) it's not caused by the program itself that doesn't start, but rather something else (like some pointed out, files under the configuration directories may affect it). Also running dist-upgrade just might do something you don't want, making the system less usable; I've had it when I was first introduced to that command, and didn't like it. And what it does is simply upgrade software, which probably doesn't work like I already pointed out.

The usual method to begin with is to remove/rename certain configuration files under the home directory. If you open your file manager (Nautilus on Gnome, Konqueror on KDE, ...) and head to your home directory, then set the file manager to show "hidden" files also (all those files and directories that begin with '.'; in Gnome/Nautilus the shortcut key is CTRL+H to display these.), you'll usually see quite a few directories. For example .config, .gconf, .gconfd, .gnome, .gnome2, ... and so on (for KDE .kde and such). They include a lot of information that is specific to your user account, like your current theme settings (at least in Gnome) and such. Note that when a user account is created, its homedir is usually either empty or then an admin has set some files that are to be copied to the directory when it's created. Either way those hidden directories don't exist always, they're created when missing - and that means you can "reset" some configurations by removing the relevant files/directories. Removing them all usually results in your desktop going back to the "factory settings", but right now you're interested in locating the specific file that may be causing this trouble - and removing it (or fixing it, but if you don't know how, it's easier to remove). Next time it's needed, it's re-created, and the problem should be solved.

So, start looking at those dot-directories. And don't remove them right away - rather, if you think you've found what you're looking for, rename the directory first (for example add a _backup to the end of the filename) because it has the same effect. If it was what you wanted, remove the renamed file - or if not, move it back to it's original name (overwriting a possible newly created file/dir), and you're set. It might take some time to find out the offending file/files, but it might be worth it too..

Actually the easiest way (that I didn't mention first, because it would have been too easy, right? ) to test this method is to simply create a new user - log in as that user, then try to run the apps that don't run fine with the other user. If it works, it's about those config files - and if it doesn't, there's presumably something bigger (read: system-wide) wrong, and it's useless to play around with your own config files. So add a new user (there are graphical user interfaces to do that, if you're not familiar with useradd) and once you've tested, remove it (with the same tool, or userdel).

As a last thing I must say it might be that the problem just doesn't get solved in a decent amount of time. I've faced that too. Then the easiest solution is to take backups of anything important and do a clean reinstallation - nowadays it doesn't take much, with Ubuntu you can get to 15 or 20 minutes. And if you have a separate /home you can make this even easier because taking backups isn't absolutely necessary (though it is recommended).
 
Old 12-13-2007, 06:04 AM   #6
Cinematography
Member
 
Registered: Apr 2005
Location: Chicago, IL
Distribution: openSUSE 13.1
Posts: 357

Original Poster
Rep: Reputation: 31
I love this forum. You all are so wonderfully helpful. Thank you very much for your replies.

After trying some of your suggestions, I eventually gave up and reinstalled Ubuntu. Luckily I made a separate 10gig partition for root so I didn't have to backup too much. Everything is back in order now.

Thanks again for your help!
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Application/Octet-Stream Dooley MEPIS 9 05-01-2008 04:27 AM
KDE error 'Could not find mime type application/octet-stream' true_atlantis Linux - Software 0 01-04-2006 07:29 PM
Help with <application/octet-stream> Dooley MEPIS 1 10-08-2005 02:08 PM
application/octet-stream aaru_ali Mandriva 2 02-01-2005 02:47 PM
Application / octet stream Daredevil Programming 0 04-02-2004 09:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:38 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration