#1 Le 17/01/2016, à 00:28
- jnq
désinstallation paquet ipp-linux impossible
Bonsoir a tous, impossible de désinstaller le paquet deb ipp-linux ( gestion onduleur eaton ) sous 15.10
sudo apt-get autoremove ipp-linux
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
ipp-linux
0 mis à jour, 0 nouvellement installés, 1 à enlever et 0 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 4 456 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données... 233200 fichiers et répertoires déjà installés.)
Suppression de ipp-linux (1.50.140) ...
cp: impossible d'évaluer «mc2»: Aucun fichier ou dossier de ce type
dpkg: erreur de traitement du paquet ipp-linux (--remove) :
le sous-processus script pre-removal installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
ipp-linux
E: Sub-process /usr/bin/dpkg returned an error code (1)
Merci d'avance pour vos précieux conseils avisés. Cordialement
Dernière modification par jnq (Le 17/01/2016, à 00:30)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#2 Le 17/01/2016, à 02:05
- nany
Re : désinstallation paquet ipp-linux impossible
Bonjour,
cp: impossible d'évaluer «mc2»: Aucun fichier ou dossier de ce type
dpkg: erreur de traitement du paquet ipp-linux (--remove) :
le sous-processus script pre-removal installé a retourné une erreur de sortie d'état 1
Tâchons de voir ce qu’il y a dans ce script qui bloque avec « mc2 ». Donne le retour de :
cat /var/lib/dpkg/info/ipp-linux.prerm
Hors ligne
#3 Le 17/01/2016, à 04:46
- jnq
Re : désinstallation paquet ipp-linux impossible
cat /var/lib/dpkg/info/ipp-linux.prerm
#!/bin/sh -e
case "$1" in
remove|0)
cd /usr/local/Eaton/IntelligentPowerProtector
cp mc2 mc2-uninstall && ./mc2-uninstall -silent -uninstall && rm -f ./mc2-uninstall
;;
deconfigure|upgrade|1)
exit 0
;;
*)
echo "prerm called with unknown argument \"$1\"" >&2
exit 0
;;
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#4 Le 17/01/2016, à 12:15
- nany
Re : désinstallation paquet ipp-linux impossible
OK. Alors voyons s’il reste quelque chose dans /usr/local/Eaton/IntelligentPowerProtector.
Donne le retour de :
ls -la /usr/local/Eaton/IntelligentPowerProtector
Hors ligne
#5 Le 17/01/2016, à 12:29
- jnq
Re : désinstallation paquet ipp-linux impossible
ls -la /usr/local/Eaton/IntelligentPowerProtector
total 20
drwxr-xr-x 3 quero quero 4096 janv. 15 23:12 .
drwxr-xr-x 3 quero quero 4096 janv. 15 23:12 ..
drwxr-xr-x 3 root root 4096 janv. 15 23:12 bin
-rw-r--r-- 1 root root 97 janv. 15 23:12 core_dump_20160115_231207.log
-rw-r--r-- 1 root root 797 janv. 15 23:12 install.log
Encore merci pour votre aide précieuse.
Dernière modification par jnq (Le 17/01/2016, à 12:30)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#6 Le 17/01/2016, à 12:46
- nany
Re : désinstallation paquet ipp-linux impossible
Pas de trace de fichier mc2 en effet.
Bon, modifions le script puis tentons la désinstallation.
Donne les retours de ces commandes :
sudo bash -c 'echo -e "#!/bin/sh -e\nexit 0" > /var/lib/dpkg/info/ipp-linux.prerm'
sudo apt-get purge ipp-linux
Hors ligne
#7 Le 17/01/2016, à 13:24
- jnq
Re : désinstallation paquet ipp-linux impossible
sudo apt-get purge ipp-linux
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les paquets suivants seront ENLEVÉS :
ipp-linux*
0 mis à jour, 0 nouvellement installés, 1 à enlever et 0 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 4 456 ko d'espace disque seront libérés.
Souhaitez-vous continuer ? [O/n] o
(Lecture de la base de données... 233200 fichiers et répertoires déjà installés.)
Suppression de ipp-linux (1.50.140) ...
dpkg : avertissement : lors de la suppression de ipp-linux, le répertoire « /usr/local/Eaton/IntelligentPowerProtector » n'était pas vide, donc il n'a pas été supprimé
J'ai donc supprimé manuellement le répertoire.
Le problème du suppression est résolu.
Mais pas le problème d'onduleur. En effet le symbole de l'onduleur est bien présent et rouge dans le menu du haut.
L'onduleur eaton protection center 850 est bien connecté en usb mais il n'y a pas de communication.
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#8 Le 17/01/2016, à 13:26
- jnq
Re : désinstallation paquet ipp-linux impossible
ls usb
ls: impossible d'accéder à usb: Aucun fichier ou dossier de ce type
quero@quero-SMBIOS:~$ lsusb
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 002: ID 0463:ffff MGE UPS Systems UPS
Bus 001 Device 004: ID 045e:076c Microsoft Corp. Comfort Mouse 4500
Bus 001 Device 003: ID 04d9:1702 Holtek Semiconductor, Inc. Keyboard LKS02
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#9 Le 17/01/2016, à 13:29
- jnq
Re : désinstallation paquet ipp-linux impossible
Bus 001 Device 002: ID 0463:ffff MGE UPS Systems UPS
Couldn't open device, some information will be missing
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0463 MGE UPS Systems
idProduct 0xffff UPS
bcdDevice 1.00
iManufacturer 1
iProduct 2
iSerial 4
bNumConfigurations 6
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 10.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 589
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 20
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 10.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 589
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 20
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 10.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 589
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 20
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 10.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 589
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 20
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 10.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 589
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 20
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 34
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xa0
(Bus Powered)
Remote Wakeup
MaxPower 20mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 3 Human Interface Device
bInterfaceSubClass 0 No Subclass
bInterfaceProtocol 0 None
iInterface 0
HID Device Descriptor:
bLength 9
bDescriptorType 33
bcdHID 10.10
bCountryCode 33 US
bNumDescriptors 1
bDescriptorType 34 Report
wDescriptorLength 589
Report Descriptors:
** UNAVAILABLE **
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 20
Dernière modification par jnq (Le 17/01/2016, à 13:30)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#10 Le 17/01/2016, à 13:31
- jnq
Re : désinstallation paquet ipp-linux impossible
Encore merci et bon dimanche. J’ai installé les paquet nut mais cela ne change rien.
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#11 Le 17/01/2016, à 14:07
- nany
Re : désinstallation paquet ipp-linux impossible
Oui, comme on a shunté le processus de désinstallation, le service est, a priori, toujours chargé.
Donne le retour de :
systemctl status Eaton-IPP
Hors ligne
#12 Le 17/01/2016, à 14:12
- nany
Re : désinstallation paquet ipp-linux impossible
Ah mais, en fait, tu souhaites pouvoir utiliser ton onduleur, non ?
Comme il manquait le fichier mc2, il est possible que ce soit l’installation qui se soit mal effectuée. On peut tenter la réinstallation.
Donne le retour de :
find . -name "ipp-linux*"
Hors ligne
#13 Le 17/01/2016, à 15:43
- jnq
Re : désinstallation paquet ipp-linux impossible
Bonjour non il n'y a plus de service :
systemctl status Eaton-IPP
● Eaton-IPP.service
Loaded: not-found (Reason: No such file or directory)
Active: inactive (dead)
Ce qui me semble normal.
Dernière modification par jnq (Le 17/01/2016, à 15:48)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#14 Le 17/01/2016, à 15:43
- jnq
Re : désinstallation paquet ipp-linux impossible
find . -name "ipp-linux*"
./Téléchargements/ipp-linux_1.50.140-1_amd64.deb
find: "./.gvfs": Permission non accordée
find: "./.cache/dconf": Permission non accordée
Je n'ai pas trop envie de réinstaller le programme, normalement nut devrait faire le travail. D’ailleurs même sans les paquets nut j'ai bien l'icône rouge mais elle devrait être blanche avec l'autonomie de l'onduleur. Donc il n'y a pas de communication entre ubuntu et l'onduleur branché en usb.
Dernière modification par jnq (Le 17/01/2016, à 15:50)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#15 Le 17/01/2016, à 15:53
- jnq
Re : désinstallation paquet ipp-linux impossible
https://forum.ubuntu-fr.org/viewtopic.php?id=1471991 Je ne suis pas le seul a avoir ce problème visiblement.
https://forum.ubuntu-fr.org/viewtopic.php?id=341969
upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.1
Can't open /etc/nut/ups.conf: Can't open /etc/nut/ups.conf: Permission denied
Dernière modification par jnq (Le 17/01/2016, à 15:57)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#16 Le 17/01/2016, à 16:46
- nany
Re : désinstallation paquet ipp-linux impossible
Problème de droits, apparemment.
Donne les retours de :
ls -l /etc/nut
sudo upsdrvctl start
Hors ligne
#17 Le 17/01/2016, à 17:21
- jnq
Re : désinstallation paquet ipp-linux impossible
J'ai jamais touché au droit sur mon installation !!!
ls -l /etc/nut
total 64
-rw-r--r-- 1 root root 1072 oct. 12 13:25 hosts.conf
-rw-r----- 1 root nut 1538 oct. 12 13:25 nut.conf
-rw-r----- 1 root nut 4570 oct. 12 13:25 ups.conf
-rw-r----- 1 root nut 4578 oct. 12 13:25 upsd.conf
-rw-r----- 1 root nut 2131 oct. 12 13:25 upsd.users
-rw-r----- 1 root nut 15170 oct. 12 13:25 upsmon.conf
-rw-r----- 1 root nut 3887 oct. 12 13:25 upssched.conf
-rw-r--r-- 1 root root 1420 oct. 12 13:25 upsset.conf
-rw-r--r-- 1 root root 4003 oct. 12 13:25 upsstats.html
-rw-r--r-- 1 root root 6644 oct. 12 13:25 upsstats-single.html
Tout les fichiers sont root
Dernière modification par jnq (Le 17/01/2016, à 17:23)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#18 Le 17/01/2016, à 17:22
- jnq
Re : désinstallation paquet ipp-linux impossible
sudo upsdrvctl start
Mot de passe [sudo] pour moi :
Network UPS Tools - UPS driver controller 2.7.1
Error: no UPS definitions found in ups.conf
ça devient compliqué !
Dernière modification par jnq (Le 17/01/2016, à 19:23)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#19 Le 17/01/2016, à 17:48
- nany
Re : désinstallation paquet ipp-linux impossible
Oui, ça devient compliqué mais l’enquête progresse malgré tout.
Les droit sont à root, oui, mais aussi au group nut sur certains fichiers.
Bon, regardons d’abord ce que contient ce fichier de conf :
sudo cat /etc/nut/ups.conf
Et vérifions aussi, à tout hasard, les droits sur le device :
ls -l /dev/bus/usb/001
Hors ligne
#20 Le 17/01/2016, à 19:25
- jnq
Re : désinstallation paquet ipp-linux impossible
# Network UPS Tools: example ups.conf
#
# --- SECURITY NOTE ---
#
# If you use snmp-ups and set a community string in here, you
# will have to secure this file to keep other users from obtaining
# that string. It needs to be readable by upsdrvctl and any drivers,
# and by upsd.
#
# ---
#
# This is where you configure all the UPSes that this system will be
# monitoring directly. These are usually attached to serial ports, but
# USB devices and SNMP devices are also supported.
#
# This file is used by upsdrvctl to start and stop your driver(s), and
# is also used by upsd to determine which drivers to monitor. The
# drivers themselves also read this file for configuration directives.
#
# The general form is:
#
# [upsname]
# driver = <drivername>
# port = <portname>
# < any other directives here >
#
# The section header ([upsname]) can be just about anything as long as
# it is a single word inside brackets. upsd uses this to uniquely
# identify a UPS on this system.
#
# If you have a UPS called snoopy, your section header would be "[snoopy]".
# On a system called "doghouse", the line in your upsmon.conf to monitor
# it would look something like this:
#
# MONITOR snoopy@doghouse 1 upsmonuser mypassword master
#
# It might look like this if monitoring in slave mode:
#
# MONITOR snoopy@doghouse 1 upsmonuser mypassword slave
#
# Configuration directives
# ------------------------
#
# These directives are used by upsdrvctl only and should be specified outside
# of a driver definition:
#
# maxretry: Optional. Specify the number of attempts to start the driver(s),
# in case of failure, before giving up. A delay of 'retrydelay' is
# inserted between each attempt. Caution should be taken when using
# this option, since it can impact the time taken by your system to
# start.
#
# The default is 1 attempt.
#
# retrydelay: Optional. Specify the delay between each restart attempt of the
# driver(s), as specified by 'maxretry'. Caution should be taken
# when using this option, since it can impact the time taken by your
# system to start.
#
# The default is 5 seconds.
#
# These directives are common to all drivers that support ups.conf:
#
# driver: REQUIRED. Specify the program to run to talk to this UPS.
# apcsmart, bestups, and sec are some examples.
#
# port: REQUIRED. The serial port where your UPS is connected.
# /dev/ttyS0 is usually the first port on Linux boxes, for example.
#
# sdorder: optional. When you have multiple UPSes on your system, you
# usually need to turn them off in a certain order. upsdrvctl
# shuts down all the 0s, then the 1s, 2s, and so on. To exclude
# a UPS from the shutdown sequence, set this to -1.
#
# The default value for this parameter is 0.
#
# nolock: optional, and not recommended for use in this file.
#
# If you put nolock in here, the driver will not lock the
# serial port every time it starts. This may allow other
# processes to seize the port if you start more than one by
# mistake.
#
# This is only intended to be used on systems where locking
# absolutely must be disabled for the software to work.
#
# maxstartdelay: optional. This can be set as a global variable
# above your first UPS definition and it can also be
# set in a UPS section. This value controls how long
# upsdrvctl will wait for the driver to finish starting.
# This keeps your system from getting stuck due to a
# broken driver or UPS.
#
# The default is 45 seconds.
#
#
# Anything else is passed through to the hardware-specific part of
# the driver.
# Set maxretry to 3 by default, this should mitigate race with slow devices:
maxretry = 3
# Examples
# --------
#
# A simple example for a UPS called "powerpal" that uses the blazer_ser
# driver on /dev/ttyS0 is:
#
# [powerpal]
# driver = blazer_ser
# port = /dev/ttyS0
# desc = "Web server"
#
# If your UPS driver requires additional settings, you can specify them
# here. For example, if it supports a setting of "1234" for the
# variable "cable", it would look like this:
#
# [myups]
# driver = mydriver
# port = /dev/ttyS1
# cable = 1234
# desc = "Something descriptive"
#
# To find out if your driver supports any extra settings, start it with
# the -h option and/or read the driver's documentation.
Je comprends rien dans le ups.conf
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#21 Le 17/01/2016, à 19:26
- jnq
Re : désinstallation paquet ipp-linux impossible
ls -l /dev/bus/usb/001
total 0
crw-rw-r-- 1 root root 189, 0 janv. 17 18:22 001
crw-rw-r-- 1 root nut 189, 1 janv. 17 18:22 002
crw-rw-r-- 1 root root 189, 2 janv. 17 18:22 003
crw-rw-r-- 1 root root 189, 3 janv. 17 18:22 004
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#22 Le 17/01/2016, à 20:03
- nany
Re : désinstallation paquet ipp-linux impossible
C’est OK au niveau du device.
Pour le fichier ups.conf, eh bien il faut ajouter des lignes pour indiquer le driver.
sudo bash -c 'echo -e "\n[MGE-UPS]\n\tdriver = usbhid-ups\n\tport = auto\n\tdesc = \"Eaton Protection Center 850\"" >> /etc/nut/ups.conf
Puis retentons :
sudo upsdrvctl start
Pas sûr que ça marche tout de suite mais on progresse. Il est possible qu’il faille renseigner encore d’autre fichiers de conf si j’en crois la page de doc nut.
Hors ligne
#23 Le 17/01/2016, à 21:06
- jnq
Re : désinstallation paquet ipp-linux impossible
sudo upsdrvctl start
Network UPS Tools - UPS driver controller 2.7.1
Network UPS Tools - Generic HID driver 0.38 (2.7.1)
USB communication driver 0.32
Fatal error: 'tdesc' is not a valid variable name for this driver.
Look in the man page or call this driver with -h for a list of
valid variable names and flags.
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#24 Le 17/01/2016, à 21:08
- jnq
Re : désinstallation paquet ipp-linux impossible
Ligne ajouté au fichier ups.conf :
[MGE-UPS]
driver = usbhid-ups
port = auto
tdesc = \"Eaton Protection Center 850\"
Oui on progresse et j'ai repéré un autre fichier de conf upsmon dans le même dossier nut.
Rien de pressé de toute façon. Cool nany. Je lis la doc aussi.
Dernière modification par jnq (Le 17/01/2016, à 21:13)
Ubuntu 22.04.3 sur portable et 23.10 sur fixe
Hors ligne
#25 Le 17/01/2016, à 21:44
- nany
Re : désinstallation paquet ipp-linux impossible
Oups ! J’ai oublié un guillemet simple dans la commande d’injection !
Bon, réparons cette erreur avec ceci :
sud sed -i '$d' /etc/nut/ups.conf
sudo bash -c 'echo -e "\tdesc = \"Eaton Protection Center 850\"" >> /etc/nut/ups.conf'
Puis vérifions avec :
sudo cat /etc/nut/ups.conf
Si le fichier se termine par :
[MGE-UPS]
driver = usbhid-ups
port = auto
desc = "Eaton Protection Center 850"
Alors on peut retenter :
sudo upsdrvctl start
Hors ligne