Hi, for a few days now there is this kscd package that cannot be removed by zypper dup because it is not installed, here is the output of zypper dup:
The following package is going to be REMOVED:
kscd
1 package to remove.
After the operation, 1.3 MiB will be freed.
Continue? [y/n/? shows all options] (y): y
(1/1) Removing kscd-15.04.3-1.1 .........................................[error]
Removal of (75084)kscd-15.04.3-1.1.x86_64(@System) failed:
Error: Subprocess failed. Error: RPM failed: error: package kscd-15.04.3-1.1.x86_64 is not installed
Abort, retry, ignore? [a/r/i] (a): a
Problem occured during or after installation or removal of packages:
Installation aborted by user
On 2015-07-29 21:26, sabo007 wrote:
>
> I do not know, actually i do not know what it is for. I just thought
> that it is not installed because the error message said so.
Try “rpm -q kscd”
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Ok but iam still a bit confused why i need to remove it. Running zypper dub allways wants to remove that, i did not manually tried to remove that package. So when when zypper dup wants to remove a installed package, then only when it installes another package right?
And the big question, why is zypper dup not able to remove the package by itself?
> Ok but iam still a bit confused why i need to remove it. Running zypper
> dub allways wants to remove that, i did not manually tried to remove
> that package. So when when zypper dup wants to remove a installed
> package, then only when it installes another package right?
> And the big question, why is zypper dup not able to remove the package
> by itself?
Why don’t you simply run the command I posted and tell us the result?
It is an informative command, it does not modify anything.
On 2015-07-31 06:46, caf4926 wrote:
>
> A check reveals kscd is no longer provided in the repos, which suggests
> it has been removed/superceded or something
> http://paste.opensuse.org/6634083
Well, that explains why zypper wants to remove it
Now we need to find out why it can’t.
I suspect rpm database corruption.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” at Telcontar)
Someone mentioned a database corruption as possible reason for zypper wanting to remove a package that is not installed, is there a way to repair that? Or should i wait for the package to reappear in the repos again?
Tried both, none of it changed anything. Someone said that the package is installed by default, is that true? If so why is not it installed? Or maybe it was installed by default, then it disappeared from the repos, then zypper dup removed it but somehow did not registered that and thats why it still wants to remove it?
It was installed by default in the past, but as I wrote already, it is not available at all at the moment (in Tumbleweed).
If so why is not it installed? Or maybe it was installed by default, then it disappeared from the repos, then zypper dup removed it but somehow did not registered that and thats why it still wants to remove it?
The latter. Something is broken/inconsistent on your system.
Try running “sudo rpm --rebuilddb” to rebuild rpm’s database of installed packages. Afterwards clean zypper’s cache again to be sure and the problem will hopefully be solved.