|
Bugzilla – Full Text Bug Listing |
| Summary: | Resolvable id 1523009 does not exist. | ||
|---|---|---|---|
| Product: | [openSUSE] SUSE Linux 10.1 | Reporter: | Andreas Jaeger <aj> |
| Component: | Zenworks | Assignee: | Duncan Mac-Vicar <dmacvicar> |
| Status: | RESOLVED FIXED | QA Contact: | Jawaad Tariq <jtariq> |
| Severity: | Blocker | ||
| Priority: | P5 - None | CC: | andreas.hanke, dmacvicar, kkaempf, meissner, schubi, suse-beta |
| Version: | Final | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | Other | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: | zmd-messages.log zmd-backend.log | ||
|
Description
Andreas Jaeger
2006-09-08 14:05:16 UTC
Created attachment 98202 [details]
zmd-messages.log zmd-backend.log
Contents of /var/lib/zmd is currently uploading to: http://www.suse.de/~aj/lib-zmd.tar.bz2 Ah, so it happens when installing multiple local packages. Here's how it works: for each rpm file from command line: run query-files package.rpm get the database id of the package run resolve-dependencies with the ids The problem seems to be, zypp backend first deletes all database rows with local packages and then adds the new one. So by the time of resolve-dependencies, the database contains only the last rpm package. (FWIW, it's not an issue in breakout branch since it doesn't even use query-files anymore.) Andreas, who's dealing with zypp-backend bugs these days? Please reassign to the correct person. *** Bug 193613 has been marked as a duplicate of this bug. *** Right, DbAccess::writeStore() does run 'emptyCatalog( catalog );' before writing to the database. I added this because of bug 181602 (see comments #12 and #13). So we might add an option to DbAccess::writeStore() which controls emptying of the catalog ?! Ad comment 5: My last report was not about multiple local packages, so there might be more bugs... But this one is about multiple local pacakges. How should the helper behave correctly? Should it delete all rows or not? None of the helpers should never ever (or in other words, not until breakout :) delete any rows from the database. Well, see bug 181602 (comments #9 - #13) ;-} Sometimes zmd failed to empty catalogs when it should. Emptying the catalog for 'parse-metadata' and 'query-system' should be fine imho. Yeah, I knew about that one, but it's really a zmd bug (I'm pretty sure it's fixed, I've been running zmd with librc backend, which doesn't delete anything, and haven't seen that behavior). Anyway, I have to agree, I can't think of anything bad that might happen if 'parse-metadata $catalog' and query-system ($catalog='@system') do "DELETE FROM catalogs WHERE id='$catalog'". This is happening at SLED 10 FCS as well. It's horrible. Applied and submited to sles10 (do I need to submit to 10.1?) |