
Trapper wrote:Yes, I've read all of this previously and it's contradictory within itself and somewhat misleading in several places.
The fact is 13/LMDE doesn't have a working update notifier, yet there are options in the update manager for selecting icons for update status, including an available updates icon. Also, by default, the update status shield displays and indicates the system is up to date. That's a display of erroneous information on the very first boot up.

cb474 wrote:In the quotes from Clem above, he says that mintUpate is not supposed to alert you when updates are available.
cb474 wrote:And yet, as noted, the preferences show an icon for "Updates available" (which I never get, even when updates are available).
cb474 wrote:And there's even an "Auto-Refresh" tab in the preferences that has settings for how often update manager is supposed to refresh the list of updates; but in reality it never does this automatically, only if I open it, enter a root password, and run it manually. And the "Auto-Refresh" tab has a note that says, "Note: The list only gets refreshed while the update manager window is closed (system tray mode)." All of that really seems to imply it's supposed to update in the background and notify you of updates.

Monsta wrote:This is probably just a leftover from the original mintUpdate. When mintupdate-debian was forked from it, these things were just left there untouched.
Maybe.

cb474 wrote:I also thought that one of the goals of Linux Mint (regular or Debian) was to make a more seamless user friendly, just works out of the box, experience. Being automatically notified of updates would certainly fall in that category, since just about every other OS, application, smartphone, etc., does it. This doesn't seem like a particularly novel and complicated idea.


cb474 wrote:
But it would be nice to have a notifier that actually lets me know when updates are available. Especially since updates come so infrequently with LMDE. I end up forgetting to check.



squeezy wrote:I don't understand why it's not working for you guys. I do custom builds, starting from a command line install. I've built machines with both the Debian and Ubuntu CLI installers. I always install Mint Update because I like its simplicity. It never fails to show me when updates are available. The Debian SID/Xfce install I'm currently using shows updates available everyday, when there are some. Same with the Ubuntu 12.04/MATE install on the second partition. It always indicates when updates are available.
Maybe it's because I leave my computer on 24/7? Plus, I'm always logged in. Maybe it just takes a while for Mint Update to pick up the changes in the repos?

squeezy wrote:I don't understand why it's not working for you guys. I do custom builds, starting from a command line install. I've built machines with both the Debian and Ubuntu CLI installers. I always install Mint Update because I like its simplicity. It never fails to show me when updates are available. The Debian SID/Xfce install I'm currently using shows updates available everyday, when there are some. Same with the Ubuntu 12.04/MATE install on the second partition. It always indicates when updates are available.
Maybe it's because I leave my computer on 24/7? Plus, I'm always logged in. Maybe it just takes a while for Mint Update to pick up the changes in the repos?

Trapper wrote:I just did a brand new install of LMDE with Mate on a box this morning. I intentionally did not check for updates or anything for hours. There was no notification of updates. As soon as I checked manually the notification icon showed and a number of packages were available. Other distros I install (including those Mint is a derivative from) immediately and automatically notify me of updates just after first boot.

GeneBenson wrote:Hi squeezy,
You wouldn't happen to be using viking777's crontab solution (can be found in this sub-forum) by any chance? I am and it's the only way I have ever gotten update notifications from any Mint version, Debian or Ubuntu based.


Re: Your system is up to date.
Postby clem on Tue Apr 05, 2011 9:24 am
OK, I subscribed to this topic so I'll be keeping an eye on your feedback.
When you login first, mintupdate is launched with your own permissions... i.e. in user mode. When in that mode it runs only in the system tray, and it does not have sufficient permissions to perform an "apt update". In other words, it does check every X minutes whether things are available, but it cannot refresh the APT cache. So if you use some other APT program in the meantime and thus refresh the APT cache yourself, mintupdate is then able to find new available updates.... if that makes sense...
When you click on mintupdate to see its main window, it basically kills itself and re-launches in root mode. That's why it asks for a password. So, once you've seen the mintupdate main window, from that moment on, it's running in root mode. Before it shows the window, and before it checks for updates it refreshes the APT cache.
You can check the log and you'll see in there whether the update manager is running in user or root mode.
In terms of reliability and rationale, it's not important that an available update appear "immediately". What's important though, is that mintupdate list all available updates in a consistent manner... so for instance, if there's a particular update listed by Synaptic that doesn't appear in MintUpdate that should be considered a bug and we should find the cause for it. If that's the case, please give me as much info as you can, logs, apt policy for the package, versions, etc..
Re: Your system is up to date.
Postby clem on Wed Apr 06, 2011 12:33 pm
Well, it all comes down to one thing and one thing only: You need to refresh your APT cache to see if there are "new" updates. For this, you need to elevate yourself to root.
When you click on mintupdate, it launches itself in root mode, and that's why it asks for a password. When you type "apt update" (which is the same as "sudo apt-get update"), you're asked for a password too.. as you're elevating yourself as root to refresh the cache. Either way, you're refreshing your cache when you do that.
What's important to realise here, is that mintUpdate isn't designed to "alert" you in "real time". It's not a server admin tool to keep your box up to date "the minute" something is released in the repositories. Its primary function is to make it easy for people to upgrade and to prevent novice users from upgrading sensitive parts of their system (via the level system).
Note however, that if you wanted mintUpdate to find updates and alert you in real time, all you'd have to do is to create a cron job that regularly calls "apt update". This would refresh the cache for you in the background and mintUpdate would then be able to find new updates, whether it's in root mode or user mode.

cb474 wrote:When I click on the icon, it asks for my root password. So I'm wondering if mint-update just doesn't have the right permissions to check on its own from my regular user account.


GeneBenson wrote:Here is what Clem has to say on the matter in another thread in this sub-forum:
@reboot apt update
0 15 * * * apt update


Users browsing this forum: Google Adsense [Bot] and 2 guests