Hi All!
I have two repos with the same named package. How can i set to ignore it from one of them?
repo1:package repo2:package
i want completely ignore package from repo2. is it possible with dnf?
Thanks.
Den 2016-09-13 kl. 17:48, skrev Roman Vyacheslavovich:
Hi All!
I have two repos with the same named package. How can i set to ignore it from one of them?
repo1:package repo2:package
i want completely ignore package from repo2. is it possible with dnf?
Yes you can! In your case:
dnf update --disablerepo=repo2
Thanks.
On 09/13/16 11:48, Roman Vyacheslavovich wrote:
Hi All!
I have two repos with the same named package. How can i set to ignore it from one of them?
repo1:package repo2:package
i want completely ignore package from repo2. is it possible with dnf?
With YUM, you used to be able to put a line in your repo2.repo file like:
exclude=package
Not sure if this still works with DNF or not.
Thanks.
В Вт, 13/09/2016 в 18:14 +0200, Jon Ingason пишет:
Den 2016-09-13 kl. 17:48, skrev Roman Vyacheslavovich:
Hi All!
I have two repos with the same named package. How can i set to ignore it from one of them?
repo1:package repo2:package
i want completely ignore package from repo2. is it possible with dnf?
Yes you can! In your case:
dnf update --disablerepo=repo2
maybe i wasnt clear, but i meant is there something like apt pinning in debian? because i want other packages from repo2 to be updates, just exclude on package.
Thanks.
On 09/13/2016 12:11 PM, Roman Vyacheslavovich wrote:
В Вт, 13/09/2016 в 18:14 +0200, Jon Ingason пишет:
Den 2016-09-13 kl. 17:48, skrev Roman Vyacheslavovich:
Hi All!
I have two repos with the same named package. How can i set to ignore it from one of them?
repo1:package repo2:package
i want completely ignore package from repo2. is it possible with dnf?
Yes you can! In your case:
dnf update --disablerepo=repo2
maybe i wasnt clear, but i meant is there something like apt pinning in debian? because i want other packages from repo2 to be updates, just exclude on package.
You must not have seen the other response, but you can put in an
exclude=glob
in the repo-specific .conf file to exclude specific packages.
Thanks.
-- users mailing list users@lists.fedoraproject.org To unsubscribe or change subscription options: https://lists.fedoraproject.org/admin/lists/users@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.fedoraproject.org
I still use priorities as I did with yum. it was an extension under yum. then any packages that are in that lower priority repo will not over-upgrade the same package in another repo.
regards,
Joe Verreau Durand, MI
On 09/13/2016 02:33 PM, Kevin Cummings wrote:
On 09/13/16 11:48, Roman Vyacheslavovich wrote:
Hi All!
I have two repos with the same named package. How can i set to ignore it from one of them?
repo1:package repo2:package
i want completely ignore package from repo2. is it possible with dnf?
With YUM, you used to be able to put a line in your repo2.repo file like:
exclude=package
Not sure if this still works with DNF or not.
Thanks.
On 09/13/16 16:37, joev.8450 wrote:
I still use priorities as I did with yum. it was an extension under yum. then any packages that are in that lower priority repo will not over-upgrade the same package in another repo.
Which might fail if the lower priority repo updates before the higher priority repo, right?
regards,
Joe Verreau Durand, MI