Two days on the run it wants to install available updates, looks as though it does it, then stops and returns…
On 2014-07-17 09:26, david banner wrote:
>
> Two days on the run it wants to install available updates, looks as
> though it does it, then stops and returns…
>
>
> [image: http://i.imgur.com/5cXo2R1.png]
Sorry, I can not look at the photo currently. Please describe it.
If you are attempting to report a bug, the place is Bugzilla.
If you are requesting help, we need details.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))
**A problem that we were not expecting has occurred.
Please report this bug with the error description.
Failed to cache rpm database (1).**
I’d wager the RPM database has been corrupted and needs to be rebuilt.
Try running:
rpm --rebuilddb
with sudo/root privileges. This command will rebuild the rpm database.
Thanks, I’ll have to wait a bit to see if it solves the problem, atm it’s telling me there are no updates available…
On 2014-07-17 10:06, david banner wrote:
>
> A problem that we were not expecting has occurred.
> Please report this bug with the error description.
>
> Failed to cache rpm database (1).
I guess you are using apper, or the gnome pk-icon thing, then. Please
try YaST Online update instead.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))
And please, the minimum amount of information you allways should supply, is what version of openSUSE you use.
And as others already said, not only show a window with an error message, but also tell what you are doing. In Linux there are often several ways to achieve the same resulot. And, we not being clairvoyant, can not guess what you are doing.
In this scenario there is nothing more to add (apart from KDE current 13.1). As said; I wasn’t ‘doing’ anything apart from trying to receive updates, and got that error message. I’m used to Apper from elsewhere, I know it’s limitations and it can brain-fart sometimes, so Miuku’s response seems about right.
BTW. What’s the Zypper command for a system check / update? Just zypper up and nothing else?
As another responder has commented, it looks as if you are using Apper.
In my experience, Apper mostly works well. But it does not handle failures well. So, in a case like this, I suggest you use Yast online update, or use
# zypper patch
########## -- and/or
# zypper up
Those should handle problems better and give more useful error messages.
Thanks, I’ll use the zypper command, seems short, sweet and effective.
We can only GUESS that you were using Apper. As you may have found out by now there are several ways of “trying to receive updates,”. The fact that you know only one, or that you are “used to Apper from elsewhere,” is realy unknown to us and does not eleviate you of telling what you are doing. At least when you like to get help as soon and as efficient as possible.
Whatever opensuse uses as the default desktop updater is your starting point. It’s what people interact with first (both the ‘software updater’ and Apper generated the same message). But I take your point.
On 2014-07-17 16:06, david banner wrote:
>
> hcvv;2654478 Wrote:
>> We can only GUESS that you were using Apper. As you may have found out
>> by now there are several ways of “trying to receive updates,”. The fact
>> that you know only one, or that you are “used to Apper from elsewhere,”
>> is realy unknown to us and does not eleviate you of telling what you are
>> doing. At least when you like to get help as soon and as efficient as
>> possible.
>
> Whatever opensuse uses as the default desktop updater is your starting
> point. It’s what people interact with first (both the ‘software updater’
> and Apper generated the same message). But I take your point.
Not if you are used to openSUSE, we don’t
I never use it. In fact, I often uninstall it, and I know many people do
likewise. Some people only use apper as a notifier, never for the actual
work.
Further more, there is apper in KDE, but in gnome or xfce we have
instead pk-icon or some other name I forget (because I remove). So
unless you tell the desktop you use, we can not start guessing.
The most common tool for updates is YaST, the “online update” module.
Then, in CLI, “zypper patch” does the same. Both tools are native
suse-world tools, and much more powerful than apper.
The “zypper up” command is needed only when you add extra repos beyond
the four official ones. In YaST, the equivalent is select system repo,
right click on the list of packages, then select all in this list,
update if newer version available option in the context menu.
–
Cheers / Saludos,
Carlos E. R.
(from 13.1 x86_64 “Bottle” (Minas Tirith))
Just to confirm ** rpm --rebuilddb** seems to have corrected things. Useful to know for future reference. Thanks again.