Discussion:
dnf install nodeps option
François Patte
2016-05-27 15:07:30 UTC
Permalink
Bonjour,


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?

Thank you.
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
--
users mailing list
***@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/***@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask awa
Samuel Sieb
2016-05-27 19:46:56 UTC
Permalink
Post by François Patte
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.
--
users mailing list
***@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/***@lists.fedoraproject.org
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.fe
James Hogarth
2016-05-28 06:31:06 UTC
Permalink
Post by Samuel Sieb
Post by François Patte
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.
Post by Samuel Sieb
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.
François Patte
2016-05-28 09:14:25 UTC
Permalink
Post by Samuel Sieb
Post by Samuel Sieb
Post by François Patte
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.
Post by Samuel Sieb
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?
Because texlive from distro are not updated like texlive from CTAN
using tlmgr.

Because binaries are not statically linked and if a bug happens in a
library when you update fedora, you cannot work with your TeX
install.....

Something is inconsistent in these dependencies: if you succeed to
install texmaker from a distro without texlive installed from the same
distro, texmaker is able to find your texlive install (ie. /usr/local/
texlive/2015/bin/x86_64-linux/ instead of /usr/bin), so texmaker does
not depend of the texlive install.
--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)1 8394 5849
http://www.math-info.univ-paris5.fr/~patte
--
users mailing list
***@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/***@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://a
Antonio Olivares
2016-05-30 14:14:41 UTC
Permalink
-----Original Message-----
Sent: Fri, 27 May 2016 12:46:56 -0700
Subject: Re: dnf install nodeps option
Post by François Patte
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.
--
Another solution is to download the rpm and install as instructed

http://www.xm1math.net/texmaker/download.html

http://www.xm1math.net/texmaker/texmaker_fedora23-4.5-xm1.i386.rpm

http://www.xm1math.net/texmaker/texmaker_fedora23-4.5-xm1.x86_64.rpm

And it says in the texmaker page that:

\begin{quote}
- These packages don't depend of the texlive packages of the corresponding distributions.
\end{quote}

Best Regards,


Antonio

____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
Check it out at http://www.inbox.com/marineaquarium

--
users mailing list
***@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://lists.fedoraproject.org/admin/lists/***@lists.fedoraproject.org
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Loading...