Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Oscar installing on Ubuntu 18.04 - problem - please help
#1
Oscar installing on Ubuntu 18.04 - problem - please help
Hello,

I had working Oscar installation on Ubuntu 18.04 but unfortunately my laptop died few days ago. So now I have a fresh installed Ubuntu 18.04 on a different machine but Oscar somehow doesnt want to install.

Please help. This is what I get in terminal:

Setting up oscar (1.0.1-r1) ...
mv: cannot stat '/opt/tempDir': No such file or directory
ln: failed to create symbolic link '/usr/bin/OSCAR': File exists
chown: cannot access '/home/***/Desktop/OSCAR.desktop': Not a directory
chmod: cannot access '/home/***/Desktop/OSCAR.desktop': Not a directory
dpkg: error processing package oscar (--configure):
 installed oscar package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 oscar
E: Sub-process /usr/bin/dpkg returned an error code (1)
Post Reply Post Reply






Donate to Apnea Board  
#2
RE: Oscar installing on Ubuntu 18.04 - problem - please help
I think soon coming Oscar 1.1.0 does installation better.

You can try to make the desired directories with mkdir command. And try installation again.

I had /opt/OSCAR

and there Html and Translations subdirectories

OSCAR executable also and OSCAR.png (desktop icon).

And then I started Oscar with /opt/OSCAR command. It took data from my home directorys subdirectory.
Post Reply Post Reply
#3
RE: Oscar installing on Ubuntu 18.04 - problem - please help
I see two possibilities - to create the /opt/tempDir you must have root permissions, and (possibly, I'm not sure) /opt must exist.
also, the original deb package did not allow for any folder but Desktop - no internationalisation allowed.
Because it used the SUDO_USER variable, it had to be run as 'sudo dpkg -t filename.deb' from your user account, not from the root account.

I'm not sure why the ln failed if this was a new clean install, though.

I think those problems have been solved in the 1.1 release package, due out soon.
Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply
#4
RE: Oscar installing on Ubuntu 18.04 - problem - please help
Thank you unidee and pholynyk,

Unfortunately I didn't make it and my OSCAR didn't work on Ubuntu 18.04. Now I installed Ubuntu 19.10 and get this:

dpkg: dependency problems prevent configuration of oscar:
oscar depends on libqt5core5a (>> 5.9.0); however:
Package libqt5core5a is not installed.
oscar depends on libqt5serialport5; however:
Package libqt5serialport5 is not installed.
oscar depends on libqt5xml5; however:
Package libqt5xml5 is not installed.
oscar depends on libqt5network5; however:
Package libqt5network5 is not installed.
oscar depends on libqt5gui5; however:
Package libqt5gui5 is not installed.
oscar depends on libqt5widgets5; however:
Package libqt5widgets5 is not installed.
oscar depends on libqt5opengl5; however:
Package libqt5opengl5 is not installed.
oscar depends on libqt5printsupport5; however:
Package libqt5printsupport5 is not installed.

dpkg: error processing package oscar (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
oscar

I don't know what to do. Last time I just did what was in instruction:
http://www.apneaboard.com/wiki/index.php...and_Debian
and all went great.
Can you tell me what to do? Please.
Post Reply Post Reply






Donate to Apnea Board  
#5
RE: Oscar installing on Ubuntu 18.04 - problem - please help
Try running this command first:
sudo apt-get install gtkhash libb2-1 libqt5opengl5 libqt5serialport5 libqt5printsupport5 libqt5xml5

Here are the complete instructions I had posted another member:

Preform the following steps in the order listed:
  1. In a terminal window, type or copy: sudo apt-get install gtkhash libb2-1 libqt5opengl5 libqt5serialport5 libqt5printsupport5 libqt5xml5

  2. Press <ENTER>
  3. Type: sudo dpkg -i OSCAR Version# - the full filename.deb
  4. Press <ENTER>
  5. You will have to create a Quick Launch shortcut on your desktop.  If you are unfamiliar with this,
    1. Right-click anywhere on an open area of your desktop.
    2. The 5th option from the top is labeled, "+ Create a new launcher here. . .", select it.  
    3. In the Command box either enter or navigate to the /usr/bin/oscar link
    4. Provide a name for the Quick Launcher, like "OSCAR".

I hope this may help.
- Red
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Beginner's Guide to Sleepyhead and OSCAR
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#6
RE: Oscar installing on Ubuntu 18.04 - problem - please help
Crimson Nape!
It helped! OSCAR is working!
Thank you!
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Update problem: no info re pressure settings Dormeo 3 85 10-18-2020, 06:52 PM
Last Post: GuyScharf
  ResScan 5.9 Running Problem Toby Tam 1 53 10-13-2020, 07:03 AM
Last Post: Crimson Nape
  Building OSCAR Ubuntu 20.04 happydreams 24 267 10-10-2020, 09:00 AM
Last Post: happydreams
  Installing OSCAR-copy from desktop to laptop for travel Samultra 3 89 09-22-2020, 10:59 AM
Last Post: Samultra
  Installing OSCAR on Second Computer SideSleeper 2 100 09-16-2020, 06:49 PM
Last Post: SideSleeper
Sad Problem installing Oscar with SleepyHead info Tinkerbell 9 128 09-16-2020, 01:46 AM
Last Post: jaswilliams
  cleaning up data folder, ubuntu 18.04 BB63 2 111 07-27-2020, 08:07 PM
Last Post: becker44a


New Posts   Today's Posts






About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.