Bug 2313786 - Specify tex as a weak dependency
Summary: Specify tex as a weak dependency
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: texstudio
Version: 41
Hardware: Unspecified
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: hannes
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2024-09-20 15:05 UTC by Marco Huenseler
Modified: 2024-09-30 01:20 UTC (History)
3 users (show)

Fixed In Version: texstudio-4.8.3-2.fc41 texstudio-4.8.3-1.fc39 texstudio-4.8.3-2.fc40
Clone Of:
Environment:
Last Closed: 2024-09-27 02:00:16 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Marco Huenseler 2024-09-20 15:05:01 UTC
The package cannot be installed without installing TeX Live from the Fedora repositories at the same time. However, due to compatibility issues in the past, I prefer to use the latest TeX Live distribution from TUG.

TeX Studio does not need to have any LaTeX distribution installed in order to start. In fact, the spec files from the TeX Studio Git repository (https://github.com/texstudio-org/texstudio/blob/master/utilities/texstudio.spec) and the openSUSE packages from texstudio maintainer Jan Sundermeyer (https://build.opensuse.org/projects/home:jsundermeyer/packages/texstudio-4.8.2/files/texstudio.spec) do not specify tex as a hard requirement.

I'm not aware of the full packaging guidelines regarding this change, however the wiki page I found (https://fedoraproject.org/wiki/PackagingDrafts/WeakDependencies) indicates that such a change could be made ("But it is OK to create packages that have very limited functionality without adding some of its weak requirements.").

Reproducible: Always

Steps to Reproduce:
# dnf install -x texlive-tex texstudio
Actual Results:  
Updating and loading repositories:
Repositories loaded.
Failed to resolve the transaction:
Problem: conflicting requests
  - package texstudio-4.8.2-1.fc41.x86_64 from fedora requires tex(latex), but none of the providers can be installed
  - package texstudio-4.8.2-1.fc41.x86_64 from updates-testing requires tex(latex), but none of the providers can be installed
  - package texlive-collection-latexrecommended-11:svn65512-73.fc41.noarch from fedora requires texlive-collection-latex, but none of the providers can be installed
  - package texlive-collection-latex-11:svn63515-73.fc41.noarch from fedora requires texlive-collection-basic, but none of the providers can be installed
  - package texlive-collection-basic-11:svn59159-73.fc41.noarch from fedora requires texlive-tex, but none of the providers can be installed
  - package texlive-tex-11:svn66186-85.fc41.x86_64 from fedora is filtered out by exclude filtering
You can try to add to command line:
  --skip-broken to skip uninstallable packages

Expected Results:  
Texstudio can install without a TeX distribution from the official repositories

Comment 1 hannes 2024-09-21 05:33:02 UTC
Changed it now in the spec file, there's also a copr to address this "issue".

Comment 2 Fedora Update System 2024-09-21 05:47:35 UTC
FEDORA-2024-c7e9a7f920 (texstudio-4.8.3-2.fc40) has been submitted as an update to Fedora 40.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-c7e9a7f920

Comment 3 Fedora Update System 2024-09-21 05:47:36 UTC
FEDORA-2024-bc5291e2ac (texstudio-4.8.3-2.fc41) has been submitted as an update to Fedora 41.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-bc5291e2ac

Comment 4 Fedora Update System 2024-09-21 05:47:39 UTC
FEDORA-2024-d1ad2976a7 (texstudio-4.8.3-1.fc39) has been submitted as an update to Fedora 39.
https://bodhi.fedoraproject.org/updates/FEDORA-2024-d1ad2976a7

Comment 5 Fedora Update System 2024-09-22 02:11:44 UTC
FEDORA-2024-bc5291e2ac has been pushed to the Fedora 41 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-bc5291e2ac`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-bc5291e2ac

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 6 Fedora Update System 2024-09-22 03:01:36 UTC
FEDORA-2024-c7e9a7f920 has been pushed to the Fedora 40 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-c7e9a7f920`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-c7e9a7f920

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 7 Fedora Update System 2024-09-22 03:04:04 UTC
FEDORA-2024-d1ad2976a7 has been pushed to the Fedora 39 testing repository.
Soon you'll be able to install the update with the following command:
`sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2024-d1ad2976a7`
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2024-d1ad2976a7

See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.

Comment 8 Fedora Update System 2024-09-27 02:00:16 UTC
FEDORA-2024-bc5291e2ac (texstudio-4.8.3-2.fc41) has been pushed to the Fedora 41 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 9 Fedora Update System 2024-09-30 01:17:38 UTC
FEDORA-2024-d1ad2976a7 (texstudio-4.8.3-1.fc39) has been pushed to the Fedora 39 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 10 Fedora Update System 2024-09-30 01:20:03 UTC
FEDORA-2024-c7e9a7f920 (texstudio-4.8.3-2.fc40) has been pushed to the Fedora 40 stable repository.
If problem still persists, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.