We have moved to a new Sailfish OS Forum. Please start new discussions there.
6

Question regarding Openrepos/Warehouse/Repositories [duplicate]

asked 2016-08-15 11:50:08 +0200

PatsJolla gravatar image

updated 2016-08-15 12:12:39 +0200

Hi, I have a question regarding repositories used in Warehouse. I would like to get an overview which apps I have installed through Warehouse/Openrepos and what is the corresponding repository for it.

Reason for this is: I have 61 active repositories, of which I know some are not used for me since I deleted the app that needed it. Unfortunately Warehouse doesn't offer to get an app related overview to delete/deactivate a repository. So now when I check for updates in Warehouse I'm usually waiting up to 10 mins before I get the list of updates.

Warehouse became extremely slow and constantly hangs, I get constantly the offer to kill the app. I also don't want to deactivate every repository by hand just to understand by try & error which I still use.

Is there maybe a command that lists the app <-> repository dependency? Or is there maybe a command that can show which repository has no corresponding app/lib installed but is active?

Update 1: Probably a duplicate of https://together.jolla.com/question/139085/how-to-get-an-overview-about-installed-apps-used-repos-in-open-repos/

I'll check the answers there and will update this thread

Update 2: Ok, I tried to install zypper as mentioned in the other thread, but I can't install it correctly: As root user (devel-su) I startet pkcon install zypper but it stops with the error message

Installation aborted by user

then I tried pkcon refresh but this also fails with the message

Authentication failed (is SSU set up correctly?)

How do i check for the correct setup? I thought enabling developer mode it all that needs to be done?

edit retag flag offensive reopen delete

The question has been closed for the following reason "duplicate question" by PatsJolla
close date 2016-08-17 10:41:56.734089

Comments

Did you create a password for Developer mode?

Jozz ( 2016-08-15 12:18:46 +0200 )edit

yes.. I also used it for entering root mode.. but I can try creating another one

PatsJolla ( 2016-08-15 12:25:42 +0200 )edit

now I tried with a different password and got the message demon crashed during execution and then lipstick crashed all apps are closed and I got the error message problem with the store very strange.

PatsJolla ( 2016-08-15 13:16:24 +0200 )edit

And now after resetting the app registry and restarting the phone I lost 30% of battery!! and all folders are gone...I hate this bug

PatsJolla ( 2016-08-15 13:20:36 +0200 )edit

Finally it worked without root even...

PatsJolla ( 2016-08-15 15:15:37 +0200 )edit

1 Answer

Sort by » oldest newest most voted
9

answered 2016-08-15 15:22:39 +0200

PatsJolla gravatar image

updated 2016-08-16 00:32:26 +0200

After being able to install zypper I checked for the command from the other thread and it works:

for REPO in $(ssu lr | awk '/openrepos/ {print $2}'); do echo -e "$REPO:\n"; zypper search -i -r $REPO; echo -e "\n\n"; done but I added also >> repos.txt to get the results written into a text file. You can find the file in the user root folder nemo/home.

In my case I found 9 obsolete repositories that I could deactivate in Warehouse. Very nice...

edit flag offensive delete publish link more

Question tools

Follow
4 followers

Stats

Asked: 2016-08-15 11:50:08 +0200

Seen: 679 times

Last updated: Aug 16 '16