Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Relogin or restarts required

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
ccapon
Posts: 15
Joined: 2008-09-30 05:10
Location: Canada

Relogin or restarts required

#1 Post by ccapon »

In my Gnome session, a message box pops up on a regular basis.


Relogin or restarts required!
Your session is running obsolete binaries or libraries as listed below.
Please consider a relogin or restart of the affected processes!


It pops up regardless of whether my system is up-to-date, whether it was rebooted.
A new one shows up every hour and they stack until acknowledged.

Can anyone tell me what software is responsible for the message or some way to shut it off?

Thanks.

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: Relogin or restarts required

#2 Post by milomak »

if you run another de, this does not happen?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 133 times

Re: Relogin or restarts required

#3 Post by Head_on_a_Stick »

Can we please see the output of

Code: Select all

apt-cache policy
Thanks!
deadbang

ccapon
Posts: 15
Joined: 2008-09-30 05:10
Location: Canada

Re: Relogin or restarts required

#4 Post by ccapon »

$ sudo apt-cache policy
Package files:
100 /var/lib/dpkg/status
release a=now
990 http://ftp.debian.org/debian testing/non-free i386 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=non-free,b=i386
origin ftp.debian.org
990 http://ftp.debian.org/debian testing/non-free amd64 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=non-free,b=amd64
origin ftp.debian.org
990 http://ftp.debian.org/debian testing/contrib i386 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=contrib,b=i386
origin ftp.debian.org
990 http://ftp.debian.org/debian testing/contrib amd64 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=contrib,b=amd64
origin ftp.debian.org
990 http://ftp.debian.org/debian testing/main i386 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=main,b=i386
origin ftp.debian.org
990 http://ftp.debian.org/debian testing/main amd64 Packages
release o=Debian,a=testing,n=buster,l=Debian,c=main,b=amd64
origin ftp.debian.org
500 http://ftp.debian.org/debian stable/non-free i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=i386
origin ftp.debian.org
500 http://ftp.debian.org/debian stable/non-free amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=non-free,b=amd64
origin ftp.debian.org
500 http://ftp.debian.org/debian stable/contrib i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=i386
origin ftp.debian.org
500 http://ftp.debian.org/debian stable/contrib amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=contrib,b=amd64
origin ftp.debian.org
500 http://ftp.debian.org/debian stable/main i386 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=i386
origin ftp.debian.org
500 http://ftp.debian.org/debian stable/main amd64 Packages
release v=9.5,o=Debian,a=stable,n=stretch,l=Debian,c=main,b=amd64
origin ftp.debian.org
500 http://security.debian.org stable/updates/non-free i386 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=i386
origin security.debian.org
500 http://security.debian.org stable/updates/non-free amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=non-free,b=amd64
origin security.debian.org
500 http://security.debian.org stable/updates/contrib i386 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=i386
origin security.debian.org
500 http://security.debian.org stable/updates/contrib amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=contrib,b=amd64
origin security.debian.org
500 http://security.debian.org stable/updates/main i386 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=i386
origin security.debian.org
500 http://security.debian.org stable/updates/main amd64 Packages
release v=9,o=Debian,a=stable,n=stretch,l=Debian-Security,c=main,b=amd64
origin security.debian.org
500 file:/home/cc/Download/deb ./ Packages
release c=
Pinned packages:
cc@ccvm:~$

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Relogin or restarts required

#5 Post by bw123 »

Mixing stable and testing isn't the best way, most people will tell you not to do it. It's better to run either stable or testing. There are a couple links you can read about it.
https://wiki.debian.org/DebianTesting
https://wiki.debian.org/DontBreakDebian
http://forums.debian.net/viewtopic.php?&t=114130

The FAQ has more info.
https://www.debian.org/doc/manuals/debi ... .html#s3.1

I don't know how to fix it. Some people might say go ahead and fully switch to testing, some would say reinstall with stable. Whichever you decide, back up any important data right away.
resigned by AI ChatGPT


ccapon
Posts: 15
Joined: 2008-09-30 05:10
Location: Canada

Re: Relogin or restarts required

#7 Post by ccapon »

So, I'm wondering if anyone can tell me which software is producing the message? If I knew that, maybe I could track down why it thinks the system is running out-of-date binaries.

User avatar
GarryRicketson
Posts: 5644
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Relogin or restarts required

#8 Post by GarryRicketson »

No,
You don't even tell us , is your PC i386 or AMD64, ?
It is not a specific package or piece of software, You have packages from Debian stable, Debian testing, and then some are for i386, others are for Amd64,... I think you need to try to copy any data / files that are important to you, and then re-install a clean system, that is the correct architecture . i386, or amd64, and ONLY use packages for your architecture. Read some of the documentation in the links shown in the previous posts.
This might be enlightening: Repo mix-and-match hit parade

milomak
Posts: 2168
Joined: 2009-06-09 22:20
Been thanked: 2 times

Re: Relogin or restarts required

#9 Post by milomak »

milomak wrote:if you run another de, this does not happen?
you have not even answered this.

if you install lxde/xfce/mate do you have the same problem?
Desktop: A320M-A PRO MAX, AMD Ryzen 5 3600, GALAX GeForce RTX™ 2060 Super EX (1-Click OC) - Sid, Win10, Arch Linux, Gentoo, Solus
Laptop: hp 250 G8 i3 11th Gen - Sid
Kodi: AMD Athlon 5150 APU w/Radeon HD 8400 - Sid

qwerty2.0
Posts: 1
Joined: 2019-02-28 01:31

Re: Relogin or restarts required

#10 Post by qwerty2.0 »

These messages are from the needrestart package.
You can simply purge the package, and you should stop getting these messages.

Code: Select all

sudo apt-get purge needrestart
In my case, I accidentally pulled in this package when I installed the docker.io dpkg.
The docker docs explicitly say not to do this, but I just wanted to see what would happen.
I started getting those messages everytime my system ran an unattended-upgrade.

Code: Select all

ronny@pluto:~/vm/bionic64$ sudo apt-cache policy needrestart
needrestart:
  Installed: 3.4-1
  Candidate: 3.4-1
  Version table:
 *** 3.4-1 500
        500 http://ftp.us.debian.org/debian sid/main amd64 Packages
        100 /var/lib/dpkg/status
ronny@pluto:~/vm/bionic64$ sudo apt-cache rdepends needrestart
needrestart
Reverse Depends:
  docker.io
  unattended-upgrades
  needrestart-session
  apt-dater-host
  parl-desktop
  design-desktop
  aptitude-robot

ccapon
Posts: 15
Joined: 2008-09-30 05:10
Location: Canada

Re: Relogin or restarts required

#11 Post by ccapon »

Thanks @qwerty2.0. Removing the needrestart package fixed the problem. Much appreciated!

theblueplll
Posts: 154
Joined: 2019-04-29 01:17
Been thanked: 2 times

Re: Relogin or restarts required

#12 Post by theblueplll »

ccapon wrote:Thanks @qwerty2.0. Removing the needrestart package fixed the problem. Much appreciated!

Actually you didn't "fix the problem" you just hid it from yourself.

It's still there but you told the OS not to tell you anymore.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 86 times

Re: Relogin or restarts required

#13 Post by 4D696B65 »

theblueplll wrote:
ccapon wrote:Thanks @qwerty2.0. Removing the needrestart package fixed the problem. Much appreciated!

Actually you didn't "fix the problem" you just hid it from yourself.

It's still there but you told the OS not to tell you anymore.
Install debian-goodies and run the command line program checkrestart. You may be surprised what needs a reboot.
https://packages.debian.org/buster/debian-goodies

Post Reply