[wpkg-users] [Bug 77] Zombie package handling
bugzilla-daemon at bugzilla.wpkg.org
bugzilla-daemon at bugzilla.wpkg.org
Tue Oct 30 10:05:03 CET 2007
http://bugzilla.wpkg.org/show_bug.cgi?id=77
--- Comment #10 from Falko Trojahn <ftrojahn at smi-softmark.de> 2007-10-30 10:04:53 ---
Created an attachment (id=43)
--> (http://bugzilla.wpkg.org/attachment.cgi?id=43)
Testcase for bug#28
Full ACK. Such a patch would be great, Rainer, since it makes no sense having
not existent packages(or profiles) still listed in a profile, so wpkg would
assume an error and never try to remove them.
BTW: I don't want to remove packages from the packages database which I need,
but what about syntax errors in xml files? You can try the following (not on a
production system, please!):
Put the attached "testbug28.xml" in your packages path, assign package
"testbug28" to a profile (and the profile to a host), let wpkg install it.
Then uncomment the erroneous line in "testbug28.xml" and synchronize again,
e.g. using
cscript wpkg.js /synchronize /debug
You see:
There were the following errors:
Error reading file: w:\packages.xml
Fehler beim Analysieren von "file:///w:/packages/testbug28.xml". Ein Name
beginnt mit einem ungültigen Zeichen.
So, wpkg marks _all_ packages for removal (not just the package with the
error!). But, since the packages are listed in "profiles", they are marked as
zombies and not really removed.
--
Configure bugmail: http://bugzilla.wpkg.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
-------------- next part --------------
wpkg-users mailing list
wpkg-users at lists.wpkg.org
http://lists.wpkg.org/mailman/listinfo/wpkg-users
More information about the wpkg-users
mailing list