Ask / Submit
2

An easy way to disable 3rd party repositories? [answered]

asked 2014-03-17 21:41:47 +0300

nodevel gravatar image

updated 2014-03-17 21:44:25 +0300

Since it is advised to disable 3rd party repositories before the new update (very reasonable as other GNU/Linux distros advice the same), is there an easy (preferably CLI) way to disable those repositories?

When I am trying to do so via Warehouse, it takes forever because it does 'pkcon refresh' after each repo.

Thank you

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by nodevel
close date 2014-04-11 18:29:50.726968

2 Answers

Sort by » oldest newest most voted
1

answered 2014-03-17 21:46:42 +0300

nodevel gravatar image

updated 2014-03-17 21:47:33 +0300

OK, I have found the answer myself:


List repositories with

pkcon repo-list

and then disable the desired ones with (replace REPOSITORY with its name)

pkcon repo-disable REPOSITORY
edit flag offensive delete publish link more
1

answered 2014-03-18 08:08:31 +0300

dsilveira gravatar image

updated 2014-03-18 08:08:51 +0300

well, you should read through the official announcement thread: Official announcement - Important steps to do before updating

read the top answer over there for a better answer to your question.

edit flag offensive delete publish link more

Question tools

Follow
1 follower

Stats

Asked: 2014-03-17 21:41:47 +0300

Seen: 858 times

Last updated: Mar 18 '14