maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [SFOS+M6] [Announce] Warehouse - native client for OpenRepos.net (https://talk.maemo.org/showthread.php?t=91574)

Custodian 2014-01-10 23:49

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by xerxes2 (Post 1405537)
Oh yeah one more thing. Warehouse should NEVER uninstall a package that is installed by default by Jolla. There must be a flag to check for that. I removed an app I have installed and Warehouse removed a lot of packages (as deps), ie perl, so I ended up installing the same package again and everything were put back in place, luckily! :) I'm not 100% sure of this as I've been messing around a lot on my jphone but it definitely is worth mentioning at least.

I guess that was autoremove of unused deps. Will fix that also.

xerxes2 2014-01-10 23:52

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Well, unused deps should be removed but it should not remove packages that are installed by default by Jolla, or installed by the user directly. I think the term is "explicitly installed" and there should be a flag for that.

Custodian 2014-01-10 23:55

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by xerxes2 (Post 1405541)
Well, unused deps should be removed but it should not remove packages that are installed by default by Jolla, or installed by the user directly. I think the term is "explicitly installed" and there should be a flag for that.

I cannot control that directly, since packagekit is resolving deps. He desides what can be removed, and what cannot be.

I will just disable unused deps removing for now, until that stuff clarified.

xerxes2 2014-01-10 23:59

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Ahh, I see. Yeah that is a Jolla bug if that's the case. They must fix that in their flasher/installer. But then it's best to not do it otherwise it could remove vital stuff too and make the phone not bootable. :p

Edit: Take a look here: http://forums.fedoraforum.org/showthread.php?t=284686

It seems that rpm doesn't got a flag for this.

Garp 2014-01-11 17:39

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Message "Package xxxx is not user package" ande then no install etc!? What's wrong here?:confused:

EDIT: Ok apt-get install in terminal if repository installed!:)

Custodian 2014-01-11 21:59

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by xerxes2 (Post 1405545)
Ahh, I see. Yeah that is a Jolla bug if that's the case. They must fix that in their flasher/installer. But then it's best to not do it otherwise it could remove vital stuff too and make the phone not bootable. :p

Edit: Take a look here: http://forums.fedoraforum.org/showthread.php?t=284686

It seems that rpm doesn't got a flag for this.

As I expect, vital stuff wont be removed. Manually installed deps (which are not automatically pulled in, but pkcon install/etc) should also be inplace. From my point I can forbid rpm to remove anything except target package.

xerxes2 2014-01-11 22:12

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Yes that's right. I tested a bit more now and first uninstalled panucci which removed perl, among other things, and then I manually installed perl with pkcon and then I installed/removed panucci and perl stayed on so it seems that it works as it should, only unused deps are removed by Warehouse.

Edit: I'm guessing it's libzypp that keeps track of this as rpm can't.

minimos 2014-01-12 09:19

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1405721)
From my point I can forbid rpm to remove anything except target package.

Just wondering, how would it fit the current UI scheme that if there are unrequired packages, Warehouse would ask on the spot whether to uninstall only the target package or everything?

Custodian 2014-01-12 09:27

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by minimos (Post 1405775)
Just wondering, how would it fit the current UI scheme that if there are unrequired packages, Warehouse would ask on the spot whether to install only the target package or everything?

If package have deps which are available, they will be installed automatically. There is no popup with notification, that extra downloads required. This will be added in future releases.

If deps are not available, error message will be shown with packages which are required, but not available.

nodevel 2014-01-12 10:34

Re: [Announce][WIP] Warehouse - native client for OpenRepos.net
 
Quote:

Originally Posted by Custodian (Post 1405721)
From my point I can forbid rpm to remove anything except target package.

Is there something seriously wrong with zypper/pkcon?

Maybe it's only me (I'm used to Archlinux's pacman), but I expect this behavior:
When installing a package, it should install all the dependencies, if available.
When removing a package, it should check whether the dependencies originally installed are now owned (required) by any other package. If not, it should remove them, or at least notify the user which dependencies are no longer needed by any installed package so the user can remove them.


All times are GMT. The time now is 18:03.

vBulletin® Version 3.8.8