Ask / Submit
14

How to disable openrepos repositories? [answered]

asked 2014-03-17 21:43:43 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-03-17 22:39:21 +0300

eric gravatar image

Hi,

I was going to update my Jolla to the 1.0.4.20, but then I read the Jollausers article about update and there was an alert "Disable openrepos repositories before updating". How can I disable the repositories? (I'm using Warehouse application so the repos are on.)

Ty :)

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by alain
close date 2016-08-06 11:03:35.509746

Comments

this is so tedious.....................

vasavr ( 2014-03-17 22:42:49 +0300 )edit

4 Answers

Sort by » oldest newest most voted
23

answered 2014-03-17 23:50:14 +0300

gsalone gravatar image

Better answer here:

Disable all openrepos with this snippet as root

for i in $(ssu lr 2>&1 | grep openre | cut -d" "  -f3); do  ssu dr $i ; done

To Re-enable

for i in $(ssu lr 2>&1 | grep openre | cut -d" "  -f3); do  ssu er $i ; done
edit flag offensive delete publish link more

Comments

2

Is mine :-D

dr_gogeta86 ( 2014-03-18 00:53:03 +0300 )edit

It doesn't seem to need root privileges even.

AnaT ( 2014-03-18 12:27:29 +0300 )edit
5

It's always nice to see a lllllllllloooooooooooooooooooooooooooonnnnnnnnnnnnnnnnnnggggggggggg piece of code you can't copy and paste because the Sf browser still can't do that :-P

bennypr0fane ( 2014-04-11 13:20:40 +0300 )edit

gsalone, you did how? type everything? or copy and paste it from the browser, which isn't possible? :-)

bennypr0fane ( 2014-04-11 15:20:04 +0300 )edit

type everything :)

gsalone ( 2014-04-11 15:26:17 +0300 )edit
19

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

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-03-17 22:53:34 +0300

Sailor gravatar image

You can list the repos with

ssu lr

and disable them with

ssu dr (reponame)

example (it's just a example and it's safer to disable all of the openrepos repos):

ssu dr openrepos-basil

Or do it via the warehouse app (these are just examples and it's safer to disable all repos):

image description

image description

edit flag offensive delete publish link more

Comments

where i write ssu lr

Mikko K ( 2014-03-17 21:49:41 +0300 )edit

In the terminal or via ssh for both you need the developermode.

Sailor ( 2014-03-17 21:52:29 +0300 )edit

You can write it to the terminal. Enable dev mode in the settings and terminal should be shown in the applications. Other way to delete repos is to go into warehouse app and choose my profile. There's an option to disable repos.

virtapoika ( 2014-03-17 21:59:45 +0300 )edit

Do i have to disabe all repositories there (in the warehouse app)? And is there an easy way to reenable them all after update?

Kraid ( 2014-03-17 22:31:43 +0300 )edit

It's safer to do so.

Sailor ( 2014-03-17 22:32:42 +0300 )edit
1

answered 2014-03-18 00:38:56 +0300

Matl gravatar image

How can I activate the openrepos via GUI ?

edit flag offensive delete publish link more

Comments

Look for an app that belongs to the repo you want (I suppose you will want the app as well, otherwise there would be no reason to enable the repo in the first place) and you can enable it there.

nthn ( 2014-03-18 01:35:41 +0300 )edit
0

answered 2014-03-17 21:49:31 +0300

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

updated 2014-03-17 22:40:22 +0300

eric gravatar image

If you haven't updated yet, you can open the openrepos application, use the pulley menu to go to your profile and disable the repos you have enabled one by one, or you can do as @Sailor indicated.

You can also use @nodevel's solution posted here.

edit flag offensive delete publish link more

Comments

1

Merged it to make it clear :).

Sailor ( 2014-03-17 21:52:48 +0300 )edit

Thanks! 10char

nthn ( 2014-03-17 21:59:39 +0300 )edit

I Have use the Warehouse openrepos aplication , pulley menu and disable all openrepos there. Is that enough? Just make sure

Mikko K ( 2014-03-17 22:05:38 +0300 )edit

Should be enough.

Sailor ( 2014-03-17 22:07:41 +0300 )edit

I had a bunch of repositories, and I'm wondering if removing them by this method cause so much spam on the repository servers that I'm (temporarily?) banned. The system update screen stays blank now. Should have removed the repositories from the console, so there wouldn't have been unnecessary repo updates. (edit) changed connection from 3g to wlan and probably the ip address change helped to bypass the ban.

DeeGee ( 2014-03-17 22:23:21 +0300 )edit

Question tools

Follow
11 followers

Stats

Asked: 2014-03-17 21:43:43 +0300

Seen: 11,123 times

Last updated: Mar 18 '14