Panel app disappeared; here;s how I fixed it.

5 replies [Last post]
amenex
Offline
Joined: 01/03/2015

In this particular Lenovo T420 running Trisquel_9, the wifi dongle's indicator
had a tendency to disappear from the panel.

When I tried to replace it with the Indicator Applet Appmenu, the words "no
indicators" appeared instead. That worked in days gone by, but not today.

Biting the bullet, I clicked "Reset Panel", ignored the dire warning about losing
custom settings, and proceeded: Like magic, the new panel appeared, complete
with the wifi dongle's ikon, which looks like the Arecibo radio telescope did
before its collapse. Plus a few other favorites.

I could then add some more favorite app's, which I proceed to lock to the panel,
which I had been forgetting to do before the enlightenment.

George Langford

amenex
Offline
Joined: 01/03/2015

Not so fast, amenex ...

On another Lenovo T420 running Trisquel_9, the panel got crossed up, so I tried
following my own advice, and invoked "Reset Panel."

Alas, the new panel appeared, but without any apps, contrary to previous
experience recounted above.

Adding "Indicator Applet Appmenu" produced the words, "no indicators."

That leaves this installation of Trisquel_9 with no WiFi connection, as hot
plugging the WiFi dongle freezes the system. Rebooting produces no magic, either.

How can I fix the Panel application ?

George Langford

amenex
Offline
Joined: 01/03/2015

"Panel" appears in my Add/Remove Applications; unchecking the adjacent box
produces the advice to remove/[repair] it with Synaptic Package Manager.

Never having used that before, I navigated to Synaptic Package Manager,
searched on the term, "Panel" and found nothing about Mate; that was in
Trisquel_9. There are several Mate packages in use on this Trisquel_9
installation.

In Trisquel_8, on the other hand, there is a Mate Panel package in the
Synaptic Package Manager.

Without a WiFi connection, am I forced to dig out a network cable and
upgrade Synaptic Package Manager ?

George Langford

amenex
Offline
Joined: 01/03/2015

Here's the good news: I have an Ethernet connection that's working.

The bad news is that trying to install mate-panel only made things worse.

Here's the saga:
sudo apt-get install mate-panel
...
Reading package lists... Done
Building dependency tree
Reading state information... Done
mate-panel is already the newest version (1.20.1-3ubuntu1+9.0trisquel9).
mate-panel set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
...
sudo apt-get remove mate-panel
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
bamfdaemon caja-eiciel caja-gtkhash caja-rename caja-seahorse gir1.2-bamf-3
gtkhash libb2-1 libbamf3-2 libcryptui0a libmateweather-common
libmateweather1 mate-applets-common mate-backgrounds
mate-indicator-applet-common mate-panel-common menu-xdg python3-psutil
python3-setproctitle python3-xlib seahorse-daemon
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
mate-applet-brisk-menu mate-applets mate-desktop-environment
mate-desktop-environment-core mate-desktop-environment-extras
mate-dock-applet mate-indicator-applet mate-panel mate-tweak trisquel
trisquel-recommended
0 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.
After this operation, 4,916 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 342672 files and directories currently installed.)
Removing mate-applet-brisk-menu (0.5.0-7ubuntu1) ...
Removing trisquel-recommended (9.0-40) ...
Removing mate-applets (1.20.1-3) ...
Removing trisquel (9.0-40) ...
Removing mate-desktop-environment-extras (1.20.0+4+9.0trisquel1) ...
Removing mate-desktop-environment (1.20.0+4+9.0trisquel1) ...
Removing mate-desktop-environment-core (1.20.0+4+9.0trisquel1) ...
Removing mate-dock-applet (0.85-1) ...
Removing mate-indicator-applet (1.20.0-1) ...
Removing mate-tweak (18.04.16-1+9.0trisquel5) ...
Removing mate-panel (1.20.1-3ubuntu1+9.0trisquel9) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2+9.0trisquel1) ...
Processing triggers for libglib2.0-0:i386 (2.56.4-0ubuntu0.18.04.6) ...
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.6) ...
Processing triggers for bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1+9.0trisquel1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mime-support (3.60ubuntu1) ...
...
sudo apt-get install mate-panel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mate-panel : Depends: libmate-panel-applet-4-1 (= 1.20.1-3ubuntu1+9.0trisquel5) but 1.20.1-3ubuntu1+9.0trisquel9 is to be installed
Depends: mate-panel-common (= 1.20.1-3ubuntu1+9.0trisquel5) but 1.20.1-3ubuntu1+9.0trisquel9 is to be installed
E: Unable to correct problems, you have held broken packages.
george@george-ThinkPad-T420:~$ sudo apt-get install libmate-panel-applet-4-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmate-panel-applet-4-1 is already the newest version (1.20.1-3ubuntu1+9.0trisquel9).
libmate-panel-applet-4-1 set to manually installed.
The following packages were automatically installed and are no longer required:
bamfdaemon caja-eiciel caja-gtkhash caja-rename caja-seahorse gir1.2-bamf-3
gtkhash libb2-1 libbamf3-2 libcryptui0a libmateweather-common
libmateweather1 mate-applets-common mate-backgrounds
mate-indicator-applet-common mate-panel-common menu-xdg python3-psutil
python3-setproctitle python3-xlib seahorse-daemon
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
...
sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
bamfdaemon caja-eiciel caja-gtkhash caja-rename caja-seahorse gir1.2-bamf-3
gtkhash libb2-1 libbamf3-2 libcryptui0a libmateweather-common
libmateweather1 mate-applets-common mate-backgrounds
mate-indicator-applet-common mate-panel-common menu-xdg python3-psutil
python3-setproctitle python3-xlib seahorse-daemon
0 upgraded, 0 newly installed, 21 to remove and 0 not upgraded.
After this operation, 77.8 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 342282 files and directories currently installed.)
Removing bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu1) ...
Removing caja-eiciel (1.18.1-1) ...
Removing caja-gtkhash (1.1.1-2) ...
Removing caja-rename (17.3.28~bzr14+repack1-2) ...
Removing caja-seahorse (1.18.4-1) ...
Removing gir1.2-bamf-3:amd64 (0.5.3+18.04.20180207.2-0ubuntu1) ...
Removing gtkhash (1.1.1-2) ...
Removing libb2-1 (0.97+git20171226-2) ...
Removing libbamf3-2:amd64 (0.5.3+18.04.20180207.2-0ubuntu1) ...
Removing libcryptui0a:amd64 (3.12.2-5) ...
Removing libmateweather1:amd64 (1.20.0-1) ...
Removing libmateweather-common (1.20.0-1) ...
Removing mate-applets-common (1.20.1-3) ...
Removing mate-backgrounds (1.20.0-0ubuntu1) ...
Removing mate-indicator-applet-common (1.20.0-1) ...
Removing mate-panel-common (1.20.1-3ubuntu1+9.0trisquel9) ...
Removing menu-xdg (0.5) ...
Removing python3-psutil (5.4.2-1ubuntu0.1) ...
Removing python3-setproctitle:amd64 (1.1.10-1build2) ...
Removing python3-xlib (0.20-3) ...
Removing seahorse-daemon (3.12.2-5) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for desktop-file-utils (0.23-1ubuntu3.18.04.2+9.0trisquel1) ...
Processing triggers for libglib2.0-0:i386 (2.56.4-0ubuntu0.18.04.6) ...
Processing triggers for libglib2.0-0:amd64 (2.56.4-0ubuntu0.18.04.6) ...
Processing triggers for menu (2.1.47ubuntu2.1) ...
Processing triggers for libc-bin (2.27-3ubuntu1.4) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for gnome-menus (3.13.3-11ubuntu1.1+9.0trisquel1) ...
Processing triggers for dbus (1.12.2-1ubuntu1.2) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for mate-icon-theme (1.20.0-1) ...
Processing triggers for gconf2 (3.2.6-4ubuntu1) ...
...
sudo apt-get install mate-panel
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
mate-panel : Depends: libmate-panel-applet-4-1 (= 1.20.1-3ubuntu1+9.0trisquel5) but 1.20.1-3ubuntu1+9.0trisquel9 is to be installed
E: Unable to correct problems, you have held broken packages.
...
sudo apt-get install 1.20.1-3ubuntu1+9.0trisquel9Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package 1.20.1-3ubuntu1+9.0trisquel9
E: Couldn't find any package by glob '1.20.1-3ubuntu1+9.0trisquel9'
E: Couldn't find any package by regex '1.20.1-3ubuntu1+9.0trisquel9'
...
sudo apt-get install libmate-panel-applet-4-1
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmate-panel-applet-4-1 is already the newest version (1.20.1-3ubuntu1+9.0trisquel9).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

amenex
Offline
Joined: 01/03/2015

After more mucking about with Synaptic Package Manager, namely picking everything
remotely connected with Mate and the panel, the WiFi again came to life, surprisingly,
for both installations of Trisquel_9 on this Thinkpad T420.

The Ethernet cable came in very handy in the interim.

There appear to be no alternate ways of getting the WiFi up and running, other than
the questionably reliable Mate panel.

George Langford

amenex
Offline
Joined: 01/03/2015

Still mucking about.

Indicator Applet APPmenu no longer produces "No indicators;" now it's nothing at all.

There are no more Mate-panel programs or dependencies to install/reinstall.

What's to be done ?

George Langford