How to disable automatic checking for updates after startup

Hi all !

I currently have a restricted network bandwidth of my DSL connection.

The default behaviour of openSUSE 12.3 seems to be that it checks for updates after boot,
at least once a day.

But because of my currently restricted network bandwith, that process takes considerable time.

The disadvantage is that all other network activities, like e.g. browsing this forum,
are practically blocked, sometimes even for 10-20 minutes, while that check for updates
of openSUSE is running.

So, I would like to disable it.

How can I do that ?

Thanks
Mike

On 2014-02-06 22:26, ratzi wrote:
>
> Hi all !
>
> I currently have a restricted network bandwidth of my DSL connection.

Remove the applet on the desktop that triggers it. In KDE it is “apper”.
Another name in gnome/xfce.

Also there is a method to just disable it from starting, different for
each desktop. But removing it is absolute.


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

I remember this issue from a few years ago when I had a rubbish internet connection.

Apper is the issue. Two options 1) uninstall apper and just use yast to check for updates as and when it suits you or 2) there must be an option with apper to change the default behaviour so it does not do a check on booting.

Thank both of you !

Seems that I should have told that I’m using KDE … :wink:

OK, I’ll uninstall it - wait - perhaps not, see below.

That is what I want to do.

I’m not familiar with Apper.

Now I ran ‘man apper’ from the console.

After reading that, I entered ‘apper --settings’ in the console.

An error is displayed in the console:

Error, cannot create transaction proxy QDBusError("org.freedesktop.DBus.Error.NameHasNoOwner", "Could not get owner of name 'org.freedesktop.PackageKit': no such name")

Nevertheless, a panel/window appears, regarding the settings for apper.

There is an option/choice ‘Check for new updates’ which is set to ‘Daily’.

I’ll change that to ‘Never’. That sounds promising !
(may require root privileges)

Let’s see what that does !

But it will take 1-2 days to see if that works.

Thank both of you again!
Mike

On 2014-02-07 00:16, ratzi wrote:

> Now I ran ‘man apper’ from the console.

Good idea…

> I’ll change that to ‘Never’. That sounds promising !
> (may require root privileges)

Interesting :slight_smile:


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

I found I needed to remove it completely, due to issues I was having.

To do that, follow this link: http://en.opensuse.org/Apper

It’s one command entered into the CLI : **zypper remove PackageKit

**Then reboot.

Good Luck.

Go to Configure Desktop (in the menu)
→ Startup and Shutdown → Service Manager

In the bottom window, uncheck the box for Apper.

Then it will never start automatically. You can still start Apper from the menu if you want to.

To me it looks as if you think that you need Apper for that “checking when you like it”.
That is not the case. You can use YaST > Software > Online Update for patches from the Update repos. And you can use YaST > Software > Software management for checking if there are newer versions including patches for all you have installed.

YaST is still the System Managment tool for openSUSE, including software management. Apper/PackageKit is only an addition from some desktop environments.

It is up to your discretion what you want to use (and they do not bite each other as long a you do not use them both at the same time).

BTW for your better understanding;
Apper does not check after reboot. It checks after login. Remember that it is a desktop feature, thus it works only from within a loged in KDE session.

That’s a nice link.

Thank you
Mike

I will rember that.

That can control (part of) what happens on startup and shutdown.
Good to know!

With respect to Apper, Maybe I found another solution.

Thank you indeed
Mike

Yes, YaST was the one that I’ve always used!

However, it runs automaticly after booting of my 12.3, i.e. it is included as a standard application of openSUSE.
Could it be that you don’t like it? :wink:

I prefer using YaST ! :wink:

Well, yes, but on my current system the standard user (not root) is logged in by default, without asking the password.
So I may havn’t cared for the difference.

Thank you !
Mike

This is how I did get so far:

Starting a root terminal, or entering ‘su’ in a standard terminal didn’t seem to help !

To get the behaviour of Apper changed, I needed to start a full root session,
and enter ‘apper --settings’ there !

When running ‘apper --settings’ from the standard user, after I did that,
I now get the information that searching for new updates is set to ‘Never’.

That is what I liked it to be.

However, without causing any perceivable network traffic, the recent updates
of openSUSE were shown to me, as it seems.

I’ll observe the behaviour now.

Thanks again !
Mike

On 2014-02-07 22:36, ratzi wrote:
> hcvv;2622734 Wrote:
>> > BTW for your better understanding;
>> > Apper does not check after reboot. It checks after login.
> Well, yes, but on my current system the standard user (not root) is
> logged in by default, without asking the password.
> So I may havn’t cared for the difference.

But there is a difference, nevertheless :slight_smile:


Cheers / Saludos,

Carlos E. R.

(from 13.1 x86_64 “Bottle” (Minas Tirith))

Sorry, I was away for a week, so I could not answer earlier.

I prefer YaST too, so I have not installed Apper, nor PackageKit.

The fact that you have a automatic login does not change the fact that it is still a login (as the name implies). And you should be aware of that and it’s implications. Maybe not in your daily work with the sytem, but certainly as you try to understand how things work and want to talk with others about that here on the forums.