[SOLVED] Removing packages with dependencies

Hi,
Consider following scenario:
- I have a mageia system with E17 and some KDE apps (like Krusader), which means that some of KDE dependencies are already installed
- from there I install task-kde4-minimal, which leads to installing about 400 new packages
- some time later I decide to remove task-kde-minimal with all it's dependencies (namely the 400 new packages), but get into following:
I have two questions:
1) why can I see only three orphan packages?
2) what I the recommended way to remove software? (meaning the package with all its dependencies, that are not not required by other packages)
I have experience only with with apt-get and pacman. They both have mechanisms to handle automatically installed packages (meaning packages that were installed as dependencies). For example, apt-get marks a package as automatically installed or manually installed. An automatically installed package, that is not required by any other manually installed packages is considered "orphan" and can be removed.
My expectation here, is that removing "task-kde4-minimal" will also remove all it's dependencies, except those that are still required (in my case some are still required by krusader). Of course, the removal of dependencies must not necesarily happen in the same step.
Since I am new to urpmi, please help me find out if and how I can achieve this. Thanks
roti
Consider following scenario:
- I have a mageia system with E17 and some KDE apps (like Krusader), which means that some of KDE dependencies are already installed
- from there I install task-kde4-minimal, which leads to installing about 400 new packages
- some time later I decide to remove task-kde-minimal with all it's dependencies (namely the 400 new packages), but get into following:
- Code: Select all
[root@mypc ~]# urpme task-kde4-minimal
removing task-kde4-minimal-4.8.5-1.3.mga2.noarch
removing package task-kde4-minimal-4.8.5-1.3.mga2.noarch
writing /var/lib/rpm/installed-though-deps.list
The following packages:
kde4-nsplugins-4.8.5-1.1.mga2.x86_64
plasma-applet-folderview-4.8.5-1.1.mga2.x86_64
plasma-applet-showdesktop-4.8.5-1.1.mga2.x86_64
are now orphaned, if you wish to remove them, you can use "urpme --auto-orphans"
I have two questions:
1) why can I see only three orphan packages?
2) what I the recommended way to remove software? (meaning the package with all its dependencies, that are not not required by other packages)
I have experience only with with apt-get and pacman. They both have mechanisms to handle automatically installed packages (meaning packages that were installed as dependencies). For example, apt-get marks a package as automatically installed or manually installed. An automatically installed package, that is not required by any other manually installed packages is considered "orphan" and can be removed.
My expectation here, is that removing "task-kde4-minimal" will also remove all it's dependencies, except those that are still required (in my case some are still required by krusader). Of course, the removal of dependencies must not necesarily happen in the same step.
Since I am new to urpmi, please help me find out if and how I can achieve this. Thanks
roti