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

 

 

 

network manager applet dissapear and no internet connectivity

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
syntone
Posts: 90
Joined: 2014-09-14 19:42

network manager applet dissapear and no internet connectivity

#1 Post by syntone »

Debian 9 (stretch), xfce desktop. The network manager applet icon disappeared from the upper notification panel, and no internet connecion anymore too. I never had such issue before. I've tried various commands to restart network manager, but no success. nm-applet command show 'command not found'. How to restore Network Manager and internet connectivity?
P.S. before this happened, I uninstalled python 2.7 and installed python 3.5 - but I don't think it could be somehow related to issue.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: network manager applet dissapear and no internet connectivity

#2 Post by FreewheelinFrank »

What network manager were you using? Wicd does indeed depend on Python 2. It may well have been the default for an XFCE install back in Stretch as it has no Gnome dependencies.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: network manager applet dissapear and no internet connectivity

#3 Post by syntone »

I don't know, as it just worked and I didn't care about it. Based on its indicator pictures that I see it could be Wicd, yes. How I can reinstall it without Internet connectivity? I checked content of /var/cache/apt/archives/ directory, there is

wicd_1.7.2.4-4.1_all.deb
wicd_1.7.4+tb2-5~deb9u1_all.deb
wicd-daemon_1.7.2.4-4.1_all.deb
wicd-daemon_1.7.4+tb2-5~deb9u1_all.deb
wicd-gtk_1.7.2.4-4.1_all.deb
wicd-gtk_1.7.4+tb2-5~deb9u1_all.deb

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: network manager applet dissapear and no internet connectivity

#4 Post by FreewheelinFrank »

You will need to revert to Python 2. Maybe APT will have the old packages cached. If not, it is probably possible to configure a network configuration manually or maybe download the Python packages on the device you are using now and put them on a USB drive or use Bluetooth if that still works.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: network manager applet dissapear and no internet connectivity

#5 Post by syntone »

I switched to Python 2.7 using update-alternatives
# update-alternatives --config python
# python --version
Python 2.7.13

then reinstalled wicd:
sudo apt-get install --reinstall wicd

but how get it work? I didn't see the wicd applet in the list in Panel.

Code: Select all

~$ sudo apt-get install --reinstall wicd
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  dh-python distro-info-data libbonobo2-0 libbonobo2-common libcdio-paranoia1
  libexpat1-dev libgdata-common libgdata22 libgoa-1.0-0b libgoa-1.0-common
  libldb1 libmpdec2 liboauth0 libpython-dev libpython2.7-dev libpython3-stdlib
  libpython3.5-minimal libpython3.5-stdlib libtalloc2 libtevent0 libwbclient0
  libwxbase3.0-0v5 libwxgtk3.0-0v5 lsb-release python-apt-common python2.7-dev
  python3 python3-minimal python3.5 python3.5-minimal samba-common
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  gconf2 gksu libgksu2-0 python python-cairo python-dbus python-gi
  python-glade2 python-gobject python-gobject-2 python-gtk2 python-notify
  python-numpy python-wicd wicd-daemon wicd-gtk
Suggested packages:
  gconf-defaults-service python-doc python-tk python-dbus-dbg python-dbus-doc
  python-gi-cairo python-gtk2-doc python-gobject-2-dbg gfortran python-dev
  python-nose python-numpy-dbg python-numpy-doc
The following NEW packages will be installed:
  gconf2 gksu libgksu2-0 python python-cairo python-dbus python-gi
  python-glade2 python-gobject python-gobject-2 python-gtk2 python-notify
  python-numpy python-wicd wicd wicd-daemon wicd-gtk
0 upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5,116 kB of archives.
After this operation, 20.9 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Preconfiguring packages ...
Selecting previously unselected package python.
(Reading database ... 99816 files and directories currently installed.)
Preparing to unpack .../00-python_2.7.13-2_i386.deb ...
Unpacking python (2.7.13-2) ...
Selecting previously unselected package python-dbus.
Preparing to unpack .../01-python-dbus_1.2.4-1+b1_i386.deb ...
Unpacking python-dbus (1.2.4-1+b1) ...
Selecting previously unselected package python-gi.
Preparing to unpack .../02-python-gi_3.22.0-2_i386.deb ...
Unpacking python-gi (3.22.0-2) ...
Selecting previously unselected package python-gobject-2.
Preparing to unpack .../03-python-gobject-2_2.28.6-13_i386.deb ...
Unpacking python-gobject-2 (2.28.6-13) ...
Selecting previously unselected package python-gobject.
Preparing to unpack .../04-python-gobject_3.22.0-2_all.deb ...
Unpacking python-gobject (3.22.0-2) ...
Selecting previously unselected package python-wicd.
Preparing to unpack .../05-python-wicd_1.7.4+tb2-5~deb9u1_all.deb ...
Unpacking python-wicd (1.7.4+tb2-5~deb9u1) ...
Selecting previously unselected package wicd-daemon.
Preparing to unpack .../06-wicd-daemon_1.7.4+tb2-5~deb9u1_all.deb ...
Unpacking wicd-daemon (1.7.4+tb2-5~deb9u1) ...
Selecting previously unselected package gconf2.
Preparing to unpack .../07-gconf2_3.2.6-4+b1_i386.deb ...
Unpacking gconf2 (3.2.6-4+b1) ...
Selecting previously unselected package libgksu2-0.
Preparing to unpack .../08-libgksu2-0_2.0.13~pre1-9+b1_i386.deb ...
Unpacking libgksu2-0 (2.0.13~pre1-9+b1) ...
Selecting previously unselected package gksu.
Preparing to unpack .../09-gksu_2.0.2-9+b1_i386.deb ...
Unpacking gksu (2.0.2-9+b1) ...
Selecting previously unselected package python-cairo.
Preparing to unpack .../10-python-cairo_1.8.8-2.2_i386.deb ...
Unpacking python-cairo (1.8.8-2.2) ...
Selecting previously unselected package python-numpy.
Preparing to unpack .../11-python-numpy_1%3a1.12.1-3_i386.deb ...
Unpacking python-numpy (1:1.12.1-3) ...
Selecting previously unselected package python-gtk2.
Preparing to unpack .../12-python-gtk2_2.24.0-5.1_i386.deb ...
Unpacking python-gtk2 (2.24.0-5.1) ...
Selecting previously unselected package python-glade2.
Preparing to unpack .../13-python-glade2_2.24.0-5.1_i386.deb ...
Unpacking python-glade2 (2.24.0-5.1) ...
Selecting previously unselected package python-notify.
Preparing to unpack .../14-python-notify_0.1.1-4_i386.deb ...
Unpacking python-notify (0.1.1-4) ...
Selecting previously unselected package wicd-gtk.
Preparing to unpack .../15-wicd-gtk_1.7.4+tb2-5~deb9u1_all.deb ...
Unpacking wicd-gtk (1.7.4+tb2-5~deb9u1) ...
Selecting previously unselected package wicd.
Preparing to unpack .../16-wicd_1.7.4+tb2-5~deb9u1_all.deb ...
Unpacking wicd (1.7.4+tb2-5~deb9u1) ...
Processing triggers for mime-support (3.60) ...
Processing triggers for desktop-file-utils (0.23-1) ...
Processing triggers for menu (2.1.47+b1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for systemd (232-25+deb9u13) ...
Processing triggers for man-db (2.7.6.1-2) ...
Processing triggers for dbus (1.10.32-0+deb9u1) ...
Processing triggers for hicolor-icon-theme (0.15-1) ...
Setting up python (2.7.13-2) ...
Setting up gconf2 (3.2.6-4+b1) ...
Setting up python-wicd (1.7.4+tb2-5~deb9u1) ...
Setting up python-numpy (1:1.12.1-3) ...
Setting up python-gobject-2 (2.28.6-13) ...
Setting up python-gi (3.22.0-2) ...
Setting up python-cairo (1.8.8-2.2) ...
Setting up python-dbus (1.2.4-1+b1) ...
Remove stale byte-compiled files...
Setting up libgksu2-0 (2.0.13~pre1-9+b1) ...
update-alternatives: using /usr/share/libgksu/debian/gconf-defaults.libgksu-sudo to provide /usr/share/gconf/defaults/10_libgksu (libgksu-gconf-defaults) in auto mode
update-alternatives: using /usr/share/libgksu/debian/gconf-defaults.libgksu-su to provide /usr/share/gconf/defaults/10_libgksu (libgksu-gconf-defaults) in auto mode
Setting up python-gobject (3.22.0-2) ...
Setting up python-gtk2 (2.24.0-5.1) ...
Setting up python-glade2 (2.24.0-5.1) ...
Setting up python-notify (0.1.1-4) ...
Setting up wicd-daemon (1.7.4+tb2-5~deb9u1) ...
Setting up wicd-gtk (1.7.4+tb2-5~deb9u1) ...
Setting up wicd (1.7.4+tb2-5~deb9u1) ...
Processing triggers for gconf2 (3.2.6-4+b1) ...
Setting up gksu (2.0.2-9+b1) ...
Processing triggers for libc-bin (2.24-11+deb9u4) ...
Processing triggers for menu (2.1.47+b1) ...
Scanning processes...                                                           
Scanning linux images...                                                        
Running kernel seems to be up-to-date.
No services need to be restarted.
No containers need to be restarted.
No user sessions are running outdated binaries.
Last edited by syntone on 2021-08-29 13:43, edited 1 time in total.

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: network manager applet dissapear and no internet connectivity

#6 Post by FreewheelinFrank »

And..? Is Wicd up now? Did you restart?

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: network manager applet dissapear and no internet connectivity

#7 Post by syntone »

Ops. I had to restart laptop: now wicd applet is up, network connection restored. What's not clear: Debian 9 installation include both Python 2.7 and 3.5 versions by default, and we can just switch between the python alternative versions via # update-alternatives --config python command.
By mistake, first I just uninstalled Python 2.7 via Synaptic package manager, then installed Python 3.5. If I was able switch back to Python 2, means it was installed again, or not removed?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: network manager applet dissapear and no internet connectivity

#8 Post by FreewheelinFrank »

At a guess, the packages were still cached.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: network manager applet dissapear and no internet connectivity

#9 Post by syntone »

so I can't swith to Python 3 as Wicd network manager will be removed?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: network manager applet dissapear and no internet connectivity

#10 Post by FreewheelinFrank »

You need Python 2 for Wicd to work. It may be possible to install 3 at the same time, so Wicd would still work but you could run other programs in 3. At least, a quick Google suggests this is possible, but it is outside my experience.

XFCE in Buster/Bullseye uses the Gnome network manager, because there is no Python 2 and no Wicd, which is a shame because I liked Wicd.

It may be possible to uninstall Wicd and use Gnome network manager in Stretch so you can install Python 3 and uninstall 2.

Edit: correction of version name.

syntone
Posts: 90
Joined: 2014-09-14 19:42

Re: network manager applet dissapear and no internet connectivity

#11 Post by syntone »

So Debian Stretch have two Python stacks,Python 2.x and Python 3.x which coexist in the system. Switching between python versions doesn't uninstall another package, just switches to another vers. Correct?

User avatar
FreewheelinFrank
Global Moderator
Global Moderator
Posts: 2082
Joined: 2010-06-07 16:59
Has thanked: 38 times
Been thanked: 225 times

Re: network manager applet dissapear and no internet connectivity

#12 Post by FreewheelinFrank »

Seems to be - just from a web search, not from personal experience, like I said. An example hit:

https://stackoverflow.com/questions/328 ... -7-and-3-5

Post Reply