Thank you for the correction. I went back and corrected my typo.
First of all, the essid is "WIFI-BIBLIOTECA" instead of "LIBRARY-WIFI".
I grep'ed the wpa_supplicant.conf file in /usr/share/doc/packages/wpa_supplicant/ for "CCMP TKIP".
This configuration example looks like it may be the closest to what you need:
# Only WPA-PSK is used. Any valid cipher combination is accepted.
group=CCMP TKIP WEP104 WEP40
You will need to change the ssid and psk entries of course.
I wonder if your system even started the wpa_supplicant program. You may have to do that yourself. Try restarting the network and see if wpa_supplicant is running:
ps -u root | grep wpa
It is also possible that in your system, another location is listed other than /var/run/wpa_supplicant/.
Either read the /etc/wpa_supplicant.conf file or try "lsof -c wpa_supplicant".
If your system has the psk key and other parameters in another configuration file, it is possible that wpa_supplicant is started using a dynamically created file and /etc/wpa_supplicant.conf is ignored.
The "scan" and "scan_results" are commands in the wpa_cli shell and not bash commands.