Re: dnf install nodeps option

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




On 27 May 2016 20:47, "Samuel Sieb" <samuel@xxxxxxxx> wrote:
>
> On 05/27/2016 08:07 AM, François Patte wrote:
>>
>> I would like to install texmaker, but dnf wants to install a full
>> texlive.... I have already installed texlive from CTAN and I don't want
>> to have two texlive on may machine.
>>
>> How can I get rid of dependencies?
>>
> You can use rpm --nodeps to install it, but then dnf will probably complain at you forever about it.
>
> Another option is to use "rpmrebuild -ep yourpackage.rpm".  (dnf install rpmrebuild)  This will give you an editor (probably vi) to edit a recreated spec file.  If you remove the problematic Depends lines and save it, it will build you a new rpm file without the dependencies that dnf should let you install.  Don't remove all the Depends, just the texlive ones.
>

Which of course will promptly be reverted the next update leading to eternal dependency hell fights, and would have to be done for every package that has a dependency on a texlive subpackage.

Naturally the "correct" answer is not to mix source and package installs on a package based system.

Why did you feel a need for CTAN?

The best of the bad options are:
Grab the texlive  srpm and adapt it to your version (do note that the spec for it is hideous).
Create an empty meta rpm that has no files contents but provides the texlive stuff so the dependency chain isn't broken and you don't have to custom install edited versions of a bunch of packages.

The latter is the best bad option, but there will be no texlive updates and packages that expect a particular version or path may misbehave with your CTAN install.

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/users@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux