LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 09-30-2015, 10:34 AM   #1
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 175

Rep: Reputation: Disabled
dnf remove repo, dnf command help ?


my repolis is:
Code:
[msh@localhost ~]$ sudo dnf repolist
[sudo] password for msh: 
Last metadata expiration check performed 2 days, 12:10:21 ago on Mon Sep 28 09:41:52 2015.
repo id                    repo name                                      status
*fedora                    Fedora 22 - x86_64                             44,762
ozonos                     Repository for Ozon OS                             61
rpmfusion-free             RPM Fusion for Fedora 22 - Free                   500
rpmfusion-free-updates     RPM Fusion for Fedora 22 - Free - Updates          52
rpmfusion-nonfree          RPM Fusion for Fedora 22 - Nonfree                178
rpmfusion-nonfree-updates  RPM Fusion for Fedora 22 - Nonfree - Updates       32
*updates                   Fedora 22 - x86_64 - Updates                   10,268
[msh@localhost ~]$
how to remove ozonos repo from my system.
I found this page:
https://docs.fedoraproject.org/en-US...ositories.html

It shows Adding, Enabling and Disabling but no Removing.

and how can I check what options or sub command under config-manage command.
I tried these:
Code:
# dnf config-manager help
Code:
# dnf help config-manager
Code:
# dnf config-manager --help
they are useless.

I expect to see like this:
Code:
--add-repo blur blur ...
--set-enabled blur blur ...
--set-disabled blur blur ...
dnf has a lot of advance commands and options but missing simple ones in common sense, I think.
 
Old 09-30-2015, 09:15 PM   #2
syg00
LQ Veteran
 
Registered: Aug 2003
Location: Australia
Distribution: Lots ...
Posts: 18,977

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Just delete /etc/yum.repos.d/ozonos.repo - then do a --refresh.
As for config-manager, that looks like a plugin - "man dnf.plugin.config_manager".

Pays to look around.
 
Old 10-01-2015, 10:00 PM   #3
mshlinux
Member
 
Registered: Mar 2013
Location: Yangon, Myanmar.
Distribution: Fedora, Arch
Posts: 175

Original Poster
Rep: Reputation: Disabled
thanks
Code:
$ man dnf.plugin.config_manager
is exactly what I want.

Quote:
Just delete /etc/yum.repos.d/ozonos.repo - then do a --refresh.
actually I already know this.
I just want to know whether dnf has a command to delete /etc/yum.repos.d/ozonos.repo and do --refresh.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
dnf does nothing with a local install terry-duell Fedora 3 09-27-2015 01:07 AM
dnf very slow terry-duell Fedora 5 08-03-2015 06:17 PM
Fedora 22 will use DNF instead of yum szboardstretcher Fedora 17 07-27-2015 09:17 PM
[SOLVED] dnf upgrade issue xavi_slacky Fedora 9 07-13-2015 08:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 07:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration