Bug 155837 - rug rm will not remove file from internal db
Summary: rug rm will not remove file from internal db
Status: VERIFIED DUPLICATE of bug 156795
: 157403 (view as bug list)
Alias: None
Product: SUSE Linux 10.1
Classification: openSUSE
Component: Zenworks (show other bugs)
Version: Beta 6
Hardware: Other Other
: P5 - None : Normal (vote)
Target Milestone: ---
Assignee: Naresh Wignarajah
QA Contact: Eric Waldow
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-07 19:16 UTC by Andreas Jaeger
Modified: 2006-07-06 23:10 UTC (History)
2 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments
logfile (18.79 KB, application/x-bzip2)
2006-03-07 19:52 UTC, Andreas Jaeger
Details
zmd-backend.log from NLD 10 x86_64 beta 6 + maw's packages (25.15 KB, text/plain)
2006-03-07 21:15 UTC, Mauro Parra Miranda
Details
zmd-messages.log from NLD 10 x86_64 beta 6 + maw's packages (5.27 KB, text/plain)
2006-03-07 21:19 UTC, Mauro Parra Miranda
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Andreas Jaeger 2006-03-07 19:16:51 UTC
I just did the following - notice that rug still thinks the package is installed.

aj@x40:~> rug rm xgnokii
Resolving Dependencies...

The following packages will be removed:
  xgnokii 0.6.10-5 (System)

Proceed with transaction? (y/N) y

Transaction...
                                                                           100%

Transaction Finished
aj@x40:~> rpm -q xgnokii
package xgnokii is not installed
aj@x40:~> rug info xgnokii
Catalog: System
Name: xgnokii
Version: 0.6.10-5
Arch: i586
Installed: Yes
Status: up-to-date
Installed Size: 2777596
Summary: Nokia Connectivity Program
Description: xgnokii is an X Window System front-end for gnokii. gnokii has to be
installed as well

aj@x40:~> rug search xgnokii

S | Catalog         | Bundle | Name    | Version  | Arch
--+-----------------+--------+---------+----------+-----
v | factory         |        | xgnokii | 0.6.10-5 | i586
i | System packages |        | xgnokii | 0.6.10-5 | i586
Comment 1 Andreas Jaeger 2006-03-07 19:18:25 UTC
Package versions installed (current autobuild for libzypp):
rug-7.1.1-9
zmd-7.1.1-14
libzypp-0.0.8-39
libzypp-zmd-backend-0.0.8-39

Comment 2 Naresh Wignarajah 2006-03-07 19:26:30 UTC
Hi Mauro can you test this with latest packages.  Also looks like either zmd is not refreshing or libzypp isn't refreshing it's internal view of the world after the transaction.
Comment 3 Naresh Wignarajah 2006-03-07 19:26:55 UTC
Hi Mauro can you test this with latest packages.  Also looks like either zmd is not refreshing or libzypp isn't refreshing it's internal view of the world after the transaction.
Comment 4 Klaus Kämpf 2006-03-07 19:35:42 UTC
And please attach /var/log/zmd-backend.log if this bug still exists.
Comment 5 Andreas Jaeger 2006-03-07 19:51:44 UTC
Ok, installed manually the package, updated rug, zmd to:
rug-7.1.1-10
zmd-7.1.1-15
libzypp-0.0.8-39
libzypp-zmd-backend-0.0.8-39

restarted zmd and reproduced the above.  Will append log file.
Comment 6 Andreas Jaeger 2006-03-07 19:52:06 UTC
Created attachment 71626 [details]
logfile
Comment 7 Mauro Parra Miranda 2006-03-07 21:15:02 UTC
Getting the same than Andreas. Using lastest maw's packages:

local128:~ # rpm -qa | grep zypp
libzypp-0.0.8-35
libzypp-zmd-backend-0.0.8-35
local128:~ # rpm -qa | grep rug
rug-7.1.1-10
local128:~ # rpm -qa | grep zmd
zmd-inventory-7.0.0-11
libzypp-zmd-backend-0.0.8-35
zmd-7.1.1-15

rpm shows the packages as not installed, but rug pa will show it as installed. Same happens when you remove a bundle (the packages are actually removed, but still in the rug/zmd db).
Comment 8 Mauro Parra Miranda 2006-03-07 21:15:51 UTC
Created attachment 71646 [details]
zmd-backend.log from NLD 10 x86_64 beta 6 + maw's packages
Comment 9 Mauro Parra Miranda 2006-03-07 21:19:10 UTC
Created attachment 71647 [details]
zmd-messages.log from NLD 10 x86_64 beta 6 + maw's packages
Comment 10 Klaus Kämpf 2006-03-11 21:39:40 UTC
Does this still happen ?
Comment 11 Naresh Wignarajah 2006-03-11 22:55:14 UTC
Adding Nat, it was happening to me/Jawaad on Friday (0310) afternoon's build.
Comment 12 Naresh Wignarajah 2006-03-11 23:13:38 UTC
*** Bug 157403 has been marked as a duplicate of this bug. ***
Comment 13 Andreas Jaeger 2006-03-12 11:06:05 UTC
Still happens with current packages from autobuild as of 2006-03-12 12:00 CET.

After installing xv with zen-updater I have:

aj@x40:~/rpms> rug info xv
Catalog: ftp://dist.suse.de/factory/FACTORY-E/inst-source-extra/suse
Name: xv
Version: 3.10a-1083
Arch: i586
Installed: No
Status: up-to-date

$ rpm -q xv
xv-3.10a-1083

After a "rug restart" the package is seen:

rug info xv
Catalog: System
Name: xv
Version: 3.10a-1083
Arch: i586
Installed: Yes
Status: up-to-date
Installed Size: 5453039
Comment 14 Klaus Kämpf 2006-03-14 01:35:22 UTC
looks like zmd caches states and only gets cleared after a restart.
Comment 15 Tambet Ingo 2006-03-14 10:25:12 UTC

*** This bug has been marked as a duplicate of 156795 ***