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 - Linux Mint 19 [see post #7 for solution]
#1
Sad 
OSCAR - Linux Mint 19 [see post #7 for solution]
Hi everyone

I just tried to install OSCAR on my Linux Mint 19 PC.
Unfortunately the installation did not work and kind of messed up my system.

I can not perfom updates of my Linux anymore, I get the following error message when starting the update manager:
Could not refresh the list of updates. The package oscar needs to be reinstalled but I can't find an archive for it.

It is even worse. I wanted to use the Synaptic package manager to remove the package but I can not open it anymore, I get the following error:
E: The package oscar needs to be reinstalled, but I can't find an archive for it.
E: Internal error opening cache (1). Please report.

I am clueless any would appreciate some help to get my system back working.

Thx, Marc
Post Reply Post Reply
#2
RE: OSCAR - Linux Mint 19
Small update, I figured it is a problem with libqt5serialport5
When I run aptitude it tells me this is unsatisfied.

Marc


Attached Files Thumbnail(s)
   
Post Reply Post Reply
#3
RE: OSCAR - Linux Mint 19
I'm sorry you are having trouble installing and removing the oscar package; it is my first attempt at a Debian package, and I did not follow the standard Debian procedures. Perhaps some of my shortcuts should be revised.
the oscar package is not in any archive, so it must be installed and removed using dpkg; further, because of the way the control files are written, dpkg must be run sudo from a user account, and not as a root user.

To get your system cleaned up, and to help others who may have this problem, let's start by doing - from your user account:
sudo dpkg -r oscar
You will undoubted get error messages about missing files and perhaps other errors - please copy and paste them in a new reply here, and we will get you sorted out.
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 - Linux Mint 19
Thanks for your fast reply. I get the following error message:

dpkg: error processing package oscar (--remove):
 package is in a very bad inconsistent state; you should
 reinstall it before attempting a removal
Errors were encountered while processing:
 oscar

Marc
Post Reply Post Reply
#5
RE: OSCAR - Linux Mint 19
Are you using Snapshot? If so, you could go back to a time/date prior to OSCAR's install.  Before that, try performing a "sudo apt-get install libqt5serialport5".
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
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 - Linux Mint 19
At this point, I would try

sudo dpkg -i oscar... the full filename, wherever you saved it

and report back whatever errors it reports
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
#7
RE: OSCAR - Linux Mint 19
Here is a listing I got during beta testing when I used the command listed above:
gtkhash
libb2-1
libqt5opengl5
libqt5serialport5
libqt5printsupport5
libqt5xml5

Try coping the following command line. If your system has the file it will be ignored.
sudo apt-get install gtkhash libb2-1 libqt5opengl5 libqt5serialport5 libqt5printsupport5 libqt5xml5

You will have to create a Quick Launch shortcut on your desktop.  If you are unfamiliar with this, right-click anywhere on an open area of your desktop.  The 5th option from the top is labeled, "+ Create a new launcher here. . .", select it.  In the Command box either enter or navigate to the /usr/bin/oscar link.   Of course the Name box is a no-brainer.  

Please report back of either success or problems.
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
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
#8
RE: OSCAR - Linux Mint 19
@ Crimson Nape, I am not using Snapshot

@pholynyk I get the following output with this command:

Selecting previously unselected package oscar.
(Reading database ... 606315 files and directories currently installed.)
Preparing to unpack /home/atb/Downloads/oscar.deb ...
rm: cannot remove '/home/atb/Desktop/OSCAR.desktop': No such file or directory
dpkg: warning: old oscar package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
mv: cannot stat '/opt/OSCAR': No such file or directory
rm: cannot remove '/usr/bin/OSCAR': No such file or directory
rm: cannot remove '/home/atb/Desktop/OSCAR.desktop': No such file or directory
dpkg: error processing archive /home/atb/Downloads/oscar.deb (--install):
 new oscar package pre-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 /home/atb/Downloads/oscar.deb
Post Reply Post Reply
#9
RE: OSCAR - Linux Mint 19
Dear Crimson Nape

Thanks a lot, your suggestions worked!

I was able to start OSCAR and my package manager is working again.
So I ma back in the green zone :-)

When I run aptitude I still get an error, but I am not sure if it is relevant (see attachment).

Best regards, Marc


Attached Files Thumbnail(s)
   
Post Reply Post Reply
#10
RE: OSCAR - Linux Mint 19
Sorry for so many individual posts but I still have a problem.

OSCAR does not recognize my Pulox 400. When I scan for devices it is not detected...
I am nearly there, so it would be great if you could let me know what you think might make this work.

P.S.: I am sure I am using the right cable. It works on my wife's Windows PC.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Linux Mint 22 grioghair 18 1,025 08-27-2024, 12:44 AM
Last Post: untoutseul05
  Is there a solution to read out the newer versions of the Contect CMS50F under Linux? Mast04 13 2,033 07-22-2024, 01:02 AM
Last Post: Pierelly
  OSCAR can't find data on SD card [solved, see post #24] brucewtb 22 3,959 05-17-2024, 08:53 PM
Last Post: mokeefe734
  OSCAR Install Problems on Win 11 Pro [SOLVED, post #36] chzuck 35 2,950 05-08-2024, 11:14 AM
Last Post: chzuck
  Oscar 1.5.3 for Linux freezes after clicking on 'CPAP Importer'. Mast04 13 1,111 05-04-2024, 02:11 AM
Last Post: Mast04
  OSCAR v1.5.2 - Linux Versions Crimson Nape 3 582 03-17-2024, 02:35 PM
Last Post: Crimson Nape
  What version of Linux for my Chromebook? bluetangle127 1 697 10-26-2023, 10:54 AM
Last Post: Crimson Nape


New Posts   Today's Posts


About Apnea Board

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