posit-dev / posit-dev/positron
Error during installation of .deb: "application/x-ext-cbzapplication/oxps" contains an invalid character in the subtype
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 4.3k
- Forks
- 184
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 206
Description
System details:
Installation of .deb on Linux Mint 21.1 Vera
Positron and OS details:
Positron Version: 2024.08.0 build 48
Code - OSS Version: 1.91.0
Commit: ed616b36655fb24d116108bdd833f1321704315b
Date: 2024-08-19T03:18:03.038Z
Electron: 29.4.0
Chromium: 122.0.6261.156
Node.js: 20.9.0
V8: 12.2.281.27-electron.0
OS: Linux x64 5.15.0-119-generic
Interpreter details:
R 4.4.1 or Python 3.11.6
Describe the issue:
During installation, an error is reported in file "/usr/share/applications/xreader.desktop": "application/x-ext-cbzapplication/oxps" is an invalid MIME type ("application/x-ext-cbzapplication/oxps" contains an invalid character in the subtype)
Steps to reproduce the issue:
sudo dpkg -i Positron-2024.08.0-48.deb
Output:
Preparing to unpack Positron-2024.08.0-48.deb ...
Unpacking positron (2024.08.0-1724037509) over (2024.08.0-1723297397) ...
Error in file "/usr/share/applications/xreader.desktop": "application/x-ext-cbzapplication/oxps" is an invalid MIME type ("application/x-ext-cbzapplication/oxps" contains an invalid character in the subtype)
Setting up positron (2024.08.0-1724037509) ...
Error in file "/usr/share/applications/xreader.desktop": "application/x-ext-cbzapplication/oxps" is an invalid MIME type ("application/x-ext-cbzapplication/oxps" contains an invalid character in the subtype)
Processing triggers for gnome-menus (3.36.0-1ubuntu3) ...
Processing triggers for desktop-file-utils (0.26+mint2+vera) ...
Processing triggers for mailcap (3.70+nmu1ubuntu1) ...
Processing triggers for shared-mime-info (2.1-2) ...
Expected or desired behavior:
No errors reported during installation of .deb
Were there any error messages in the UI, Output panel, or Developer Tools console?
On the command prompt / shell during installation of the .deb
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the reported sudo dpkg -i Positron-2024.08.0-48.deb installation on Linux and inspect /usr/share/applications/xreader.desktop. Trace the Positron packaging entry point that produces the desktop metadata and identify why the MIME value is malformed. Done means the package installs without the invalid-MIME error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- build-system, desktop, release
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100