maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   Unused packages dependency problems... (https://talk.maemo.org/showthread.php?t=94683)

Vento 2015-03-03 11:25

Unused packages dependency problems...
 
Here we go again... I am referring to these old N900 threads:
- http://talk.maemo.org/showthread.php?t=81196
-http://talk.maemo.org/showthread.php?t=80077
with similar problems.

In Sailfish the behaviour is different, I'd like to remove some pckages and I can do it but when I try to update repos or intsall other packages the old unused and removed packages come back, beacuse some package depends on theme.

More generic exemple:
- I do not use package A
- A is a dependency of B (but B never use A it's only a fake dep.)
- I remove A
- B is still there (and it's ok!)
- I try to update my system / Install another package C (that has nothing to do with A or B)
- A comes back from the dead

Real exemple:
Code:

devel-su pkcon remove sailfish-tutorial jolla-startupwizard
And now update your os, install something...

Is there a way to block sailfish to install some packages?

pichlo 2015-03-03 11:43

Re: Unused packages dependency problems...
 
Quote:

Originally Posted by Vento (Post 1462784)
Real exemple:
Code:

devel-su pkcon remove sailfish-tutorial jolla-startupwizard
And now update your os, install something...

In my experience, those two came back on a system update, not on the first install afterwards. IOW, the system update metapackage pulled them in. I removed them immediately after the OS update and they are still gone, after several app updates and new installs.

Vento 2015-03-03 11:51

Re: Unused packages dependency problems...
 
Quote:

Originally Posted by pichlo (Post 1462786)
In my experience, those two came back on a system update, not on the first install afterwards. IOW, the system update metapackage pulled them in. I removed them immediately after the OS update and they are still gone, after several app updates and new installs.

ok ty :D and for the second question? is there a way to tell Sailfish to never install them I was thinking about dummy package with 99999999... as version but it's look very bad...

OT: Memories.... mp-fremantle-generic-pr and mp-fremantle-community-pr.... :D

pichlo 2015-03-03 11:54

Re: Unused packages dependency problems...
 
A dummy package with no content might be a solution. I am seriously considering making one, even though it might not make me a Jolla's favourite ;)

Vento 2015-03-03 12:03

Re: Unused packages dependency problems...
 
The N900 story.... again... not the same... but very similar problems... everything again... hum... now I'd like to see a CSSU and a kernel-power xD

Vento 2015-03-03 12:25

Re: Unused packages dependency problems...
 
Quote:

Originally Posted by pichlo (Post 1462788)
A dummy package with no content might be a solution. I am seriously considering making one, even though it might not make me a Jolla's favourite ;)

And.... another question... with jolla how you create a dummy rpm? is there some unusual things to do or I can read a general how-to rpm package creation online?

pichlo 2015-03-03 16:50

Re: Unused packages dependency problems...
 
http://talk.maemo.org/showthread.php?t=92963

Albeit I do not know if the system update MP wants any old tutorial or a specific version. I guess we will find out on the next update :)

coderus 2015-03-03 18:21

Re: Unused packages dependency problems...
 
afaik you can't do it. sailfish update manager using patterns and both packages will be installed with every system update.


All times are GMT. The time now is 06:49.

vBulletin® Version 3.8.8