Bug 18604

Summary: I installed recoll-extras, then i see it listed as orphan !
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Normal CC: dglent, marja11
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Source RPM: rpmdrake-6.21-1.mga6.src.rpm CVE:
Status comment:

Description Morgan Leijström 2016-06-02 12:22:54 CEST
( workaround is to install recoll-full, which need kio-recoll, which had conflicts a couple weeks ago which is why i did not install recoll-full)
(but that works currently )

Anyhow i think it should be possible to have recoll-extras without recoll-full (i.e if we do not want/can have kio-recoll) and not have listed as orphan.

# rpm -qa | grep recoll
kio-recoll-1.21.6-1.mga6
recoll-1.21.6-1.mga6
plasma-runner-recoll-0.6-6.mga6
recoll-extra-1.21.6-1.mga6
python-recoll-1.21.6-1.mga
Comment 1 Marja Van Waes 2016-06-02 14:43:50 CEST
@ Morgan

Are you saying that you manually selected and installed recoll-extras, so that it was *not* installed as dependency or suggest of another package, and that now it is shown as orphan???

If it got pulled in by any other package, then it is normal to see this one as orphan when that other package gets removed (probably even when it just gets replaced by a newer version)

(See also https://wiki.mageia.org/en/Removing_packages#When_I_remove_a_package.2C_will_the_dependencies_it_pulled_in_be_removed.2C_too.3F )

Keywords: (none) => NEEDINFO
CC: (none) => marja11
Assignee: bugsquad => dglent

Comment 2 Morgan Leijström 2016-06-02 17:56:50 CEST
Hmmm may be some migration trigged problem.
This system was upgraded from mga5 where I think I installed recoll-full,
which then pulled the other *recoll* packages.
During online upgrade to mga6 i rmember I had to remove recoll-full and kio-recoll, because kio-recoll had some problem (confict something IIRC).
Maybe i removed other *recoll* too and maybe i installed all other *recoll* i have manually except i did not uninstall/reinstall recoll-extras...?

Anyhow i spotted recoll-extras in the long list of orphans i still keep.
To remedy that, i used mcc/drakrpm to uninstall, then install it again, but it still shoved up as orphaned.

Now i try urpmi in konsole and that works better:

# urpme recoll-extra
 (finishes OK)
# urpmi recoll-extra-1.21.6-1.mga6
Markerar recoll-extra som manuellt installerad, så det inte blir märkt som obehövligt
( = Marks recoll-extra as manually installed so it will not be marked as orphaned )

# cat /var/lib/rpm/installed-through-deps.list | grep recoll
plasma-runner-recoll
recoll

And now it do not show up as orphaned anymore.

Isnt it supposed to work like that also when i install it using rpmdrake?

I am trying to reproduce it, succeded once but not second time... some sequence of installing and uninstalling... Iĺl be back...

Keywords: NEEDINFO => (none)
Assignee: dglent => bugsquad
Source RPM: recoll-1.21.6-1.mga6.src.rpm => rpmdrake-6.21-1.mga6.src.rpm

Comment 3 Dimitrios Glentadakis 2016-06-02 18:33:05 CEST
This happened because in mageia 5 the kio-recoll is for kde4 and in mageia 6 for KF5.
For this reason they were in conflict and you should remove it.

And if you remove recoll-full the recoll-extra is in orphans as it has been installed with recoll-full.

CC: (none) => dglent

Comment 4 Marja Van Waes 2016-06-02 19:20:14 CEST
(In reply to Dimitrios Glentadakis from comment #3)
> This happened because in mageia 5 the kio-recoll is for kde4 and in mageia 6
> for KF5.
> For this reason they were in conflict and you should remove it.
> 
> And if you remove recoll-full the recoll-extra is in orphans as it has been
> installed with recoll-full.

Thx, Dimitrios :-)

So it worked just as it should.

(In reply to Morgan Leijström from comment #2)

> Anyhow i spotted recoll-extras in the long list of orphans i still keep.
> To remedy that, i used mcc/drakrpm to uninstall, then install it again, but
> it still shoved up as orphaned.

I wrongly thought that would work, too, sorry. In the wiki explanation it tells to urpmi them (first removing is not needed).

(In reply to Morgan Leijström from comment #2)

> Now i try urpmi in konsole and that works better:

> And now it do not show up as orphaned anymore.
 

Thus everything is fine and there is no bug, after all.

Status: NEW => RESOLVED
Resolution: (none) => INVALID

Comment 5 Morgan Leijström 2016-06-02 19:47:18 CEST
Ah... I thought i was seeing some quirk about this logic,
but now after dinner and coffee i cant see anything wrong...

Thanks for the quick looking into it :)