mintUpdate icon says "up to date" - even if updates avail

Questions about applications and software
Forum rules
Before you post please read how to get help

mintUpdate icon says "up to date" - even if updates avail

Postby foobar on Sat Oct 20, 2012 2:43 am

Hello everybody. I have a problem with Linux mint 13, which affects cinnamon and mate desktop. The mintUpdate icon always shows the "up to date" status - even if there are updates available. A right click and refresh does not change that behavior as well. Only when I open mintUpdate and it scans the repos, updates are displayed and the status of the icon changes. Any idea on how to resolve that issue?

Thanks in advance.
foobar
Level 1
Level 1
 
Posts: 7
Joined: Sun Feb 05, 2012 7:59 am

Linux Mint is funded by ads and donations.
 

Re: mintUpdate icon says "up to date" - even if updates avai

Postby 3fRI on Mon Oct 22, 2012 4:26 pm

I've noticed the same thing with MInt 13 Xfce on both my desk- and laptop. Unfortunately, I don't a fix to offer you. :(

Personally, I tend to use the terminal to update and upgrade the distro. It takes longer but it seems a more thorough way to update. :D
System 76 Pangolin: 4x Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz, LM17.1 Cinnamon 64-bit
iMac 21.5: Intel Core 2 Duo 3.06 GHz, dual boot Mac OS 10.6.8, CrunchBang 11 Waldorf (Sid) 64-bit

It's never too late to learn something new.
User avatar
3fRI
Level 4
Level 4
 
Posts: 217
Joined: Sat Nov 20, 2010 10:25 am
Location: Rhode Island

Re: mintUpdate icon says "up to date" - even if updates avai

Postby foobar on Sat Oct 27, 2012 8:21 am

In fact I tend to use terminal to update my system as well. But my better half does not ... And honestly, I dont want to make her use the terminal. I am glad she finally got rid of that M$ crap :-) Mint is a desktop system which should make it easier to work with. The question is: Do only a few installation behave like this, or is it a well known issue?
foobar
Level 1
Level 1
 
Posts: 7
Joined: Sun Feb 05, 2012 7:59 am

Re: mintUpdate icon says "up to date" - even if updates avai

Postby squeezy on Sat Oct 27, 2012 9:42 am

Well-known issue, discussed many times. A quick forum search will yield more than you care to read.

Bottom line is that it's "working as intended", as IBM Lotus support used to say. Click on the icon, put in your password and have it check for updates.

Hey, at least it's not the terminal! :)
squeezy
Level 5
Level 5
 
Posts: 567
Joined: Thu Feb 23, 2012 2:05 pm
Location: The Land of Enchantment

Re: mintUpdate icon says "up to date" - even if updates avai

Postby dgilluly on Fri Nov 02, 2012 6:09 pm

I've noticed it too, but I usually click it once a day to make sure.
Desktop PC= Linux Mint 13 Cinnamon 64bit(Work OS)/Windows 7(Gaming OS)
Laptop PC= Windows 7 Home Edition
Garage Jukebox PC= Linux Mint 13 Cinnamon 32bit
User avatar
dgilluly
Level 1
Level 1
 
Posts: 3
Joined: Fri Feb 24, 2012 2:14 pm
Location: Belmont, NY

Re: mintUpdate icon says "up to date" - even if updates avai

Postby icmp_request on Mon Nov 19, 2012 10:18 am

Confirmed on Mint Cinnamon 13 64 bits.

Has anyone filed a bug report yet?

Although a minor issue, should be fixed on the next release as one of Mint's strong features for linux newbies is the update tool.
icmp_request
Level 1
Level 1
 
Posts: 21
Joined: Sun Jan 09, 2011 9:20 am

Re: mintUpdate icon says "up to date" - even if updates avai

Postby dnixx on Tue Dec 04, 2012 11:23 am

mintUpdate cannot refresh the APT cache (i.e. run ''apt-get update'') without root permissions. Because of this mintUpdate will display a notification icon only if 1) you have launched mintUpdate and entered your password (in which case mintUpdate is running in root mode and is able to refresh the APT cache), or 2) if the APT cache has been updated by another application (e.g. Synaptic, or by manually doing apt-get update).

I figured this out today by reading this thread: viewtopic.php?f=34&t=103740

I always thought this was a bug. Now that I know why it happens, I think mintUpdate is very misleading when it gives you the option to "refresh the list of updates every X minutes/hours/days".
dnixx
Level 1
Level 1
 
Posts: 6
Joined: Wed Nov 21, 2012 10:33 am

Re: mintUpdate icon says "up to date" - even if updates avai

Postby sddfdds on Tue Dec 04, 2012 10:30 pm

Why is it though that when I did a clean install of nadia, on the first boot up, I did get a notification for the updates that were available? (Since then though, I'm in the same boat as everyone else having to manually refresh)
sddfdds
Level 1
Level 1
 
Posts: 20
Joined: Sun Nov 25, 2012 4:00 pm

Re: mintUpdate icon says "up to date" - even if updates avai

Postby dnixx on Tue Dec 04, 2012 10:36 pm

Probably because the APT cache was updated some time during the install.
dnixx
Level 1
Level 1
 
Posts: 6
Joined: Wed Nov 21, 2012 10:33 am

Re: mintUpdate icon says "up to date" - even if updates avai

Postby norm.h on Mon Dec 10, 2012 3:32 pm

I had the same issue, which I mistakenly posted here:
LINK
It now seems to be OK, time will tell.
norm.h
Level 4
Level 4
 
Posts: 235
Joined: Tue Mar 23, 2010 11:45 am
Location: Oxfordshire, UK

Re: mintUpdate icon says "up to date" - even if updates avai

Postby idark77 on Tue Dec 11, 2012 2:07 pm

Hi,
I use Linux Mint 14 Cinnamon and Update Notification doesn't work. Always "System Updated" but it's not true. Can anyone confirm? Do you need to wait 15 minutes ( in the Preferences ) for the first check?
In my opinion this is a serious problem and it should be corrected asap.
idark77
Level 1
Level 1
 
Posts: 8
Joined: Sun Dec 09, 2012 12:28 pm

Re: mintUpdate icon says "up to date" - even if updates avai

Postby idark77 on Thu Dec 13, 2012 2:42 pm

Can anyone tell me if it will be corrected or when ? I think that for now i use Ubuntu distro again :(
idark77
Level 1
Level 1
 
Posts: 8
Joined: Sun Dec 09, 2012 12:28 pm

Re: mintUpdate icon says "up to date" - even if updates avai

Postby karlchen on Fri Dec 28, 2012 7:23 am

Hi, folks.

I know that the initial complaint "mintUpdate icon says "up to date" - even if updates available" was posted two months ago.
Yet, if I have not missed it, no-one has posted a solution, yet.

OK. So here is the solution which works fine for me:

Problem:
mintUpdate icon says "up to date" - even if updates available, as reported.

Cause:
There is a daily anacron job /etc/cron.daily/apt which is meant to update the local software list once per day. (apt-get update).
This job reads the configuration file /etc/apt/apt.conf.d/10periodic and checks the value of the setting named "APT::Periodic::Update-Package-Lists"
This setting defaults to "0", unless explicitly set to "1".
I do not know since when. But it is a fact that this setting is missing on all of my Mint 13 installations from the file /etc/apt/apt.conf.d/10periodic.
As a consequence the daily job assumes it does not have to perform any
Code: Select all
apt-get update

As a consequence MintUpdate is always happily telling me there are no updates, unless I open MintUpdate by clicking on the icon in the notification area nevertheless.

Solution:
As user root edit the file /etc/apt/apt.conf.d/10periodic and make sure it holds the line
Code: Select all
APT::Periodic::Update-Package-Lists "1";


Effect:
Next time the daily job /etc/cron.daily/apt gets executed, it will perform
Code: Select all
apt-get update
thus updating the local software list.
Provided updated software packages are available a few minutes later the MintUpdate icon in the notification area will let you know.
Problem solved.

Kind regards,
Karl
User avatar
karlchen
Level 12
Level 12
 
Posts: 4164
Joined: Sat Dec 31, 2011 7:21 am

Re: mintUpdate icon says "up to date" - even if updates avai

Postby idark77 on Thu Jan 03, 2013 2:06 am

Hi,
and about LM 14? Inside apt.conf.d there is not this file /etc/apt/apt.conf.d/10periodic...
Can you check it ?
Thanks.
idark77
Level 1
Level 1
 
Posts: 8
Joined: Sun Dec 09, 2012 12:28 pm

Re: mintUpdate icon says "up to date" - even if updates avai

Postby norm.h on Thu Jan 03, 2013 7:53 am

I followed karlchen's solution yesterday, and when I booted up this morning - Update Manager was showing the Updates Available icon.
So thank you.
norm.h
Level 4
Level 4
 
Posts: 235
Joined: Tue Mar 23, 2010 11:45 am
Location: Oxfordshire, UK

Re: mintUpdate icon says "up to date" - even if updates avai

Postby idark77 on Thu Jan 03, 2013 2:41 pm

Hi,
here a possible solution for Linux-Mint 14 ( i am not sure if it works ... Hope :) )

1) Install update-notifier-common
2) go to /etc/apt/apt.conf.d/10periodic
3) check or enable APT::Periodic::Update-Package-Lists "1";

now the solution of karlchen shoul work also on LM 14. If i have any update in the next days, i let you know :roll:
idark77
Level 1
Level 1
 
Posts: 8
Joined: Sun Dec 09, 2012 12:28 pm

REPORTING BUGS

Postby GeneC on Thu Jan 03, 2013 3:05 pm

I'd like to suggest a little tip.
If you find bugs and want them addressed by the developers posting on this forum is not the correct procedure.
That is not to say that you will not find some excellent fixes such as the one solved by karlchen here(nice, thanks).. :)

Its assumed that the developers are actively involved in this forum and see all the complaints of 'bugs', but that seems to not be the case. Most all of us here on the forums are end users just like yourselves. Sometimes we can figure out fixes, sometimes not.... :wink:

If you want to bring them to the attention of the Mint developers, you should file a 'bug report".
Here :arrow: https://bugs.launchpad.net/linuxmint

If you find a true bug (not something just particular to your system), do everyone a favor and file a true bug report....
GeneC

AMD Phenom2x4 3.2 ghz, 12GB DDR3, Nvidia GTX 460

Sparky Cin 2.2 (SID)
Manjaro .9.0dev Cin 2.4 (Testing)
Arch XFCE/Budgie
User avatar
GeneC
Level 7
Level 7
 
Posts: 1582
Joined: Fri Sep 03, 2010 1:59 pm
Location: Maine, USA

Re: mintUpdate icon says "up to date" - even if updates avai

Postby davidoski on Thu Feb 21, 2013 5:07 am

Hi,

here's my solution for this problem, which gives you an option to set how often updates should be checked.

1. Create a file with the following script:

Code: Select all
#! /bin/bash
sleep 30
(
    while : ; do
        aptitude update
        sleep 4h
    done
) &


2. Save file in any location you like.
3. Make the file executable
4. Make sure that root has permission to it.
3. Edit /etc/init.d/rc.local file and add at the end of the file the script file location line:

For example if you name the file "updatescript" and save it in your home directory and you user name is david you need to place the following location line at the end of the /etc/init.d/rc.local file:

Code: Select all
/home/david/updatescript


What does the script do? It starts on system boot, waits 30 seconds and performs aptitude update command and then repeats it every 4 hours. You can set the 30 second delay to other value in the script and the 4 hours repeat cycle as well. Just change 30 and 4h values in the script for what you want.

30 without suffix means 30 seconds, 20 means 20 seconds and so on
30m means 30 minutes, 20m means 20 minutes and so on
4h means 4 hours, 12h means 12 hours and so on
davidoski
Level 1
Level 1
 
Posts: 5
Joined: Mon Dec 17, 2012 3:51 am

Re: mintUpdate icon says "up to date" - even if updates avai

Postby hectorsales on Tue Sep 17, 2013 4:25 pm

karlchen wrote:
Hi, folks.

I know that the initial complaint "mintUpdate icon says "up to date" - even if updates available" was posted two months ago.
Yet, if I have not missed it, no-one has posted a solution, yet.

OK. So here is the solution which works fine for me:

Problem:
mintUpdate icon says "up to date" - even if updates available, as reported.

Cause:
There is a daily anacron job /etc/cron.daily/apt which is meant to update the local software list once per day. (apt-get update).
This job reads the configuration file /etc/apt/apt.conf.d/10periodic and checks the value of the setting named "APT::Periodic::Update-Package-Lists"
This setting defaults to "0", unless explicitly set to "1".
I do not know since when. But it is a fact that this setting is missing on all of my Mint 13 installations from the file /etc/apt/apt.conf.d/10periodic.
As a consequence the daily job assumes it does not have to perform any
Code: Select all
apt-get update


As a consequence MintUpdate is always happily telling me there are no updates, unless I open MintUpdate by clicking on the icon in the notification area nevertheless.

Solution:
As user root edit the file /etc/apt/apt.conf.d/10periodic and make sure it holds the line
Code: Select all
APT::Periodic::Update-Package-Lists "1";



Effect:
Next time the daily job /etc/cron.daily/apt gets executed, it will perform
Code: Select all
apt-get update

thus updating the local software list.
Provided updated software packages are available a few minutes later the MintUpdate icon in the notification area will let you know.
Problem solved.

Kind regards,
Karl


Hi karlchen.

I tried to follow your method in the operating system Linux mint 13 Mate, but if I open the file cat /etc/apt/apt.conf.d/10periodic i don't see the line:

Code: Select all
APT :: Periodic :: Update-Package-Lists "0";


Instead I have:

Code: Select all
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";


What should I do to fix it?

Thanks ... :wink:
Linux Mint 17.1 LTS Rebecca Cinnamon x86_64
User avatar
hectorsales
Level 4
Level 4
 
Posts: 286
Joined: Sun Jul 07, 2013 3:25 am

Re: mintUpdate icon says "up to date" - even if updates avai

Postby karlchen on Tue Sep 17, 2013 6:04 pm

Hello, hectorsales.

Add the line
Code: Select all
APT::Periodic::Update-Package-Lists "1";
to the file /etc/apt/apt.conf.d/10periodic. Leave the existing 2 lines untouched.
The resulting file will read
Code: Select all
APT::Periodic::Update-Package-Lists "1";
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
or
Code: Select all
APT::Periodic::Download-Upgradeable-Packages "0";
APT::Periodic::Unattended-Upgrade "0";
APT::Periodic::Update-Package-Lists "1";

Kind regards,
Karl
User avatar
karlchen
Level 12
Level 12
 
Posts: 4164
Joined: Sat Dec 31, 2011 7:21 am

Linux Mint is funded by ads and donations.
 
Next

Return to Software & Applications

Who is online

Users browsing this forum: varunit, WinterTroubles and 28 guests