Re: KPkgManager

Sylvain Joyeux <[email protected]>
Newsgroups gmane.comp.kde.debian
Message-ID <[email protected]>
> I falsely assumed that you are using kio-apt to install packages from
> your daemon. Now about the daemon issues. First of all, the security
> issue, which is going to be quite hard to fix.
I'm not so sure, but I only have ideas from now. I'll have to discuss the 
security issue with the kdelibs & dcop guys.

In fact, the KDED daemon is here for that too - being the third man which 
gives control (or not) to kpkgmanagerd.

> Other problems i can think of from top of my head:
> Take for example backend crashing, leaving frontend in undefined
> state... 
The DCOP server tells us when somebody deregisters from it, and (moreover) 
the KDED module watches the kpkgmanagerd process and tells the frontend 
when it dies. It works pretty well (at least, I

> I'm not sure how you manage caches for example. I just looked 
> up the code briefly, but i couldn't see eg a package browser. 
I don't WANT a package browser here. I want a package MANAGER. It's the 
thing I don't like in most of the graphical package management tools, they 
are bloated because of this (IMO useless) package browser. Kio-apt is the 
package browser, kpkgmanager the package manager.

> Well, i'll describe what libcapture is doing in more detail. It provides
> a priority based approach to package selection, so that user can select
> what and how much he wants. 
Then, I can assume you're reimplementing apt, at least to a certain extent 
(what I definitely don't want to do)

> Then, the system will compute what needs to 
> be installed. May there arise a conflict, system will decide to install
> the package  with higher priority. This may get quite a bit more
> complicated, but point is that user not only select what he wants (and
> what he doesn't want) but the priority as well. I can hardly imagine how
> would unmodified frontend handle the priority input, for example. Not to
> say selecting that package is explicitly not wanted. 
Priority input ? libapt-pkg uses package pinning, and making a frontend for 
it is not so difficult. Plugins are here to handle such special cases.

I don't want to provide the package management mechanism. It's up to the 
package managers (apt, urpmi, ...) to provide that. I do only an interface 
to them. It is definitely enough work before having The Good Tool.

I think I can (easily) use libcapture in kpkgmanagerd, but I definitely 
don't think we have the same goals for the GUI (but the discussion would 
be a good thing too).
-- 
Sylvain Joyeux
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.