IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Debian Discussion :

Problème installation USBIP


Sujet :

Debian

  1. #1
    Membre averti
    Homme Profil pro
    Étudiant
    Inscrit en
    Septembre 2014
    Messages
    45
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Enseignement

    Informations forums :
    Inscription : Septembre 2014
    Messages : 45
    Par défaut Problème installation USBIP
    Bonjour, j'ai besoin d'installer usbip sur une distribution Linux mais je n'y parviens pas.
    Je suis sur un Chromebook ACER C933 et j'ai activé le mode Linux virtualisé.
    La version de Linux est :
    Linux penguin 5.4.139-16309-g748e5311576e #1 SMP PREEMPT Sun Oct 17 21:41:10 PDT 2021 x86_64 GNU/Linux

    Je suis ce tutoriel pour installer usbip :
    https://community.jeedom.com/t/tuto-...-systemd/54824

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
     
    ~$ sudo apt install -y usbip
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    usbip is already the newest version (2.0+4.19.208-1).
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Setting up eveusb (9.2.5) ...
    /var/lib/dpkg/info/eveusb.postinst configure 
    Synchronizing state of eveusb.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install disable eveusb
     
    ------------------------------
    Deleting module version: 1.0.0
    completely from the DKMS tree.
    ------------------------------
    Done.
     
    Creating symlink /var/lib/dkms/eveusb/1.0.0/source ->
                     /usr/src/eveusb-1.0.0
     
    DKMS: add completed.
    Error! Your kernel headers for kernel 5.4.139-16309-g748e5311576e cannot be found.
    Please install the linux-headers-5.4.139-16309-g748e5311576e package,
    or use the --kernelsourcedir option to tell DKMS where it's located
    Traceback (most recent call last):
      File "/var/lib/dpkg/info/eveusb.postinst", line 549, in <module>
        make_all()
      File "/var/lib/dpkg/info/eveusb.postinst", line 528, in make_all
        process_module(True)
      File "/var/lib/dpkg/info/eveusb.postinst", line 268, in process_module
        check_call([dkms, action] + mod_ver)
      File "/var/lib/dpkg/info/eveusb.postinst", line 30, in check_call
        subprocess.check_call(cmd)
      File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['dkms', 'build', '-m', 'eveusb', '-v', '1.0.0']' returned non-zero exit status 1
    dpkg: error processing package eveusb (--configure):
     installed eveusb package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
     eveusb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Suite à mes recherches, j'ai tenté d'installer le "header" via la commande suivante :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
     
    ~$ sudo apt install linux-headers-$(uname -r)
    Mais le package n'est pas trouvé :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    E: Unable to locate package linux-headers-5.4.139-16309-g748e5311576e
    E: Couldn't find any package by glob 'linux-headers-5.4.139-16309-g748e5311576e'
    E: Couldn't find any package by regex 'linux-headers-5.4.139-16309-g748e5311576e'
    Dans l'espoir d'obtenir une aide
    Cordialement,

  2. #2
    Responsable Systèmes


    Homme Profil pro
    Gestion de parcs informatique
    Inscrit en
    Août 2011
    Messages
    18 628
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Gestion de parcs informatique
    Secteur : High Tech - Matériel informatique

    Informations forums :
    Inscription : Août 2011
    Messages : 18 628
    Par défaut
    Essayes de chercher le nom le plus proche :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    apt-cache search linux-headers
    Ma page sur developpez.com : http://chrtophe.developpez.com/ (avec mes articles)
    Mon article sur le P2V, mon article sur le cloud
    Consultez nos FAQ : Windows, Linux, Virtualisation

  3. #3
    Membre averti
    Homme Profil pro
    Étudiant
    Inscrit en
    Septembre 2014
    Messages
    45
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Enseignement

    Informations forums :
    Inscription : Septembre 2014
    Messages : 45
    Par défaut
    Citation Envoyé par chrtophe Voir le message
    Essayes de chercher le nom le plus proche :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    apt-cache search linux-headers
    Bonjour chrtophe et merci pour ta réponse,

    La commande me retourne :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
     
    ~$ apt-cache search linux-headers
    aufs-dkms - DKMS files to build and install aufs
    linux-libc-dev-amd64-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-arm64-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-armel-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-armhf-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-i386-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mips-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mips64el-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mipsel-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-ppc64el-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-s390x-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mips64-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mips64r6-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mips64r6el-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mipsn32-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mipsn32el-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mipsn32r6-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mipsn32r6el-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mipsr6-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-mipsr6el-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-alpha-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-hppa-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-m68k-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-powerpc-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-powerpcspe-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-ppc64-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-riscv64-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-sh4-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-sparc64-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-libc-dev-x32-cross - Linux Kernel Headers for development (for cross-compiling)
    linux-headers-4.19.0-17-all - All header files for Linux 4.19 (meta-package)
    linux-headers-4.19.0-17-all-amd64 - All header files for Linux 4.19 (meta-package)
    linux-headers-4.19.0-17-amd64 - Header files for Linux 4.19.0-17-amd64
    linux-headers-4.19.0-17-cloud-amd64 - Header files for Linux 4.19.0-17-cloud-amd64
    linux-headers-4.19.0-17-common - Common header files for Linux 4.19.0-17
    linux-headers-4.19.0-17-common-rt - Common header files for Linux 4.19.0-17-rt
    linux-headers-4.19.0-17-rt-amd64 - Header files for Linux 4.19.0-17-rt-amd64
    linux-headers-4.19.0-18-all - All header files for Linux 4.19 (meta-package)
    linux-headers-4.19.0-18-all-amd64 - All header files for Linux 4.19 (meta-package)
    linux-headers-4.19.0-18-amd64 - Header files for Linux 4.19.0-18-amd64
    linux-headers-4.19.0-18-cloud-amd64 - Header files for Linux 4.19.0-18-cloud-amd64
    linux-headers-4.19.0-18-common - Common header files for Linux 4.19.0-18
    linux-headers-4.19.0-18-common-rt - Common header files for Linux 4.19.0-18-rt
    linux-headers-4.19.0-18-rt-amd64 - Header files for Linux 4.19.0-18-rt-amd64
    linux-headers-amd64 - Header files for Linux amd64 configuration (meta-package)
    linux-headers-cloud-amd64 - Header files for Linux cloud-amd64 configuration (meta-package)
    linux-headers-rt-amd64 - Header files for Linux rt-amd64 configuration (meta-package)
    linux-headers-4.19.0-14-all - All header files for Linux 4.19 (meta-package)
    linux-headers-4.19.0-14-all-amd64 - All header files for Linux 4.19 (meta-package)
    linux-headers-4.19.0-14-amd64 - Header files for Linux 4.19.0-14-amd64
    linux-headers-4.19.0-14-cloud-amd64 - Header files for Linux 4.19.0-14-cloud-amd64
    linux-headers-4.19.0-14-common - Common header files for Linux 4.19.0-14
    linux-headers-4.19.0-14-common-rt - Common header files for Linux 4.19.0-14-rt
    linux-headers-4.19.0-14-rt-amd64 - Header files for Linux 4.19.0-14-rt-amd64
    J'ai installé le packet :
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
     
    ~$ sudo apt install linux-headers-4.19.0-18-rt-amd64
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    The following additional packages will be installed:
      linux-headers-4.19.0-18-common-rt
    The following NEW packages will be installed:
      linux-headers-4.19.0-18-common-rt linux-headers-4.19.0-18-rt-amd64
    0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    Need to get 7,776 kB of archives.
    After this operation, 43.3 MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Get:1 https://deb.debian.org/debian buster/main amd64 linux-headers-4.19.0-18-common-rt all 4.19.208-1 [6,730 kB]
    Get:2 https://deb.debian.org/debian buster/main amd64 linux-headers-4.19.0-18-rt-amd64 amd64 4.19.208-1 [1,046 kB]
    Fetched 7,776 kB in 2s (3,310 kB/s)                     
    debconf: delaying package configuration, since apt-utils is not installed
    Selecting previously unselected package linux-headers-4.19.0-18-common-rt.
    (Reading database ... 63141 files and directories currently installed.)
    Preparing to unpack .../linux-headers-4.19.0-18-common-rt_4.19.208-1_all.deb ...
    Unpacking linux-headers-4.19.0-18-common-rt (4.19.208-1) ...
    Selecting previously unselected package linux-headers-4.19.0-18-rt-amd64.
    Preparing to unpack .../linux-headers-4.19.0-18-rt-amd64_4.19.208-1_amd64.deb ...
    Unpacking linux-headers-4.19.0-18-rt-amd64 (4.19.208-1) ...
    Setting up eveusb (9.2.5) ...
    /var/lib/dpkg/info/eveusb.postinst configure 
    Synchronizing state of eveusb.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install disable eveusb
     
    ------------------------------
    Deleting module version: 1.0.0
    completely from the DKMS tree.
    ------------------------------
    Done.
     
    Creating symlink /var/lib/dkms/eveusb/1.0.0/source ->
                     /usr/src/eveusb-1.0.0
     
    DKMS: add completed.
    Error! Your kernel headers for kernel 5.4.139-16309-g748e5311576e cannot be found.
    Please install the linux-headers-5.4.139-16309-g748e5311576e package,
    or use the --kernelsourcedir option to tell DKMS where it's located
    Traceback (most recent call last):
      File "/var/lib/dpkg/info/eveusb.postinst", line 549, in <module>
        make_all()
      File "/var/lib/dpkg/info/eveusb.postinst", line 528, in make_all
        process_module(True)
      File "/var/lib/dpkg/info/eveusb.postinst", line 268, in process_module
        check_call([dkms, action] + mod_ver)
      File "/var/lib/dpkg/info/eveusb.postinst", line 30, in check_call
        subprocess.check_call(cmd)
      File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['dkms', 'build', '-m', 'eveusb', '-v', '1.0.0']' returned non-zero exit status 1
    dpkg: error processing package eveusb (--configure):
     installed eveusb package post-installation script subprocess returned error exit status 1
    Setting up linux-headers-4.19.0-18-common-rt (4.19.208-1) ...
    Setting up linux-headers-4.19.0-18-rt-amd64 (4.19.208-1) ...
    /etc/kernel/header_postinst.d/dkms:
    Failed to restart systemd-modules-load.service: Unit systemd-modules-load.service is masked.
    Errors were encountered while processing:
     eveusb
    E: Sub-process /usr/bin/dpkg returned an error code (1)
    Ci-dessus on peut voir une erreur qui me parle du Kernel 5.4.139-16309-g748e5311576e ce qui m'empêche d'installer convenablement le programme USBIP.
    Je pense que ce n'est tout simplement pas compatible avec ma version de Linux...

    Si vous connaissez une autre méthode pour partager un port USB via le réseau sachant que je dois l'appliquer sur une trentaine d'ordinateurs équipés de cette version de Linux Penguin.

    Cordialement,

  4. #4
    Responsable Systèmes


    Homme Profil pro
    Gestion de parcs informatique
    Inscrit en
    Août 2011
    Messages
    18 628
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Paris (Île de France)

    Informations professionnelles :
    Activité : Gestion de parcs informatique
    Secteur : High Tech - Matériel informatique

    Informations forums :
    Inscription : Août 2011
    Messages : 18 628
    Par défaut
    Il semble qu'on te demande des headers pour un noyau 5.x alors que dans tes dépôts ne t'ai proposé que du 4.x.

    C'est dkms qui semble poser problème.

    si tu fais ça donne quoi ?
    Ma page sur developpez.com : http://chrtophe.developpez.com/ (avec mes articles)
    Mon article sur le P2V, mon article sur le cloud
    Consultez nos FAQ : Windows, Linux, Virtualisation

  5. #5
    Membre averti
    Homme Profil pro
    Étudiant
    Inscrit en
    Septembre 2014
    Messages
    45
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Enseignement

    Informations forums :
    Inscription : Septembre 2014
    Messages : 45
    Par défaut
    Citation Envoyé par chrtophe Voir le message
    Il semble qu'on te demande des headers pour un noyau 5.x alors que dans tes dépôts ne t'ai proposé que du 4.x.

    C'est dkms qui semble poser problème.

    si tu fais ça donne quoi ?
    Même problématique :

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
     
    ~$ sudo apt install dkms
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    dkms is already the newest version (2.6.1-4).
    dkms set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
    1 not fully installed or removed.
    After this operation, 0 B of additional disk space will be used.
    Do you want to continue? [Y/n] y
    Setting up eveusb (9.2.5) ...
    /var/lib/dpkg/info/eveusb.postinst configure 
    Synchronizing state of eveusb.service with SysV service script with /lib/systemd/systemd-sysv-install.
    Executing: /lib/systemd/systemd-sysv-install disable eveusb
     
    ------------------------------
    Deleting module version: 1.0.0
    completely from the DKMS tree.
    ------------------------------
    Done.
     
    Creating symlink /var/lib/dkms/eveusb/1.0.0/source ->
                     /usr/src/eveusb-1.0.0
     
    DKMS: add completed.
    Error! Your kernel headers for kernel 5.4.139-16309-g748e5311576e cannot be found.
    Please install the linux-headers-5.4.139-16309-g748e5311576e package,
    or use the --kernelsourcedir option to tell DKMS where it's located
    Traceback (most recent call last):
      File "/var/lib/dpkg/info/eveusb.postinst", line 549, in <module>
        make_all()
      File "/var/lib/dpkg/info/eveusb.postinst", line 528, in make_all
        process_module(True)
      File "/var/lib/dpkg/info/eveusb.postinst", line 268, in process_module
        check_call([dkms, action] + mod_ver)
      File "/var/lib/dpkg/info/eveusb.postinst", line 30, in check_call
        subprocess.check_call(cmd)
      File "/usr/lib/python2.7/subprocess.py", line 190, in check_call
        raise CalledProcessError(retcode, cmd)
    subprocess.CalledProcessError: Command '['dkms', 'build', '-m', 'eveusb', '-v', '1.0.0']' returned non-zero exit status 1
    dpkg: error processing package eveusb (--configure):
     installed eveusb package post-installation script subprocess returned error exit status 1
    Errors were encountered while processing:
     eveusb
    E: Sub-process /usr/bin/dpkg returned an error code (1)

  6. #6
    Membre averti
    Homme Profil pro
    Étudiant
    Inscrit en
    Septembre 2014
    Messages
    45
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Étudiant
    Secteur : Enseignement

    Informations forums :
    Inscription : Septembre 2014
    Messages : 45
    Par défaut Pareil avec USB Network Gate
    J'ai donc essayé d'installer USB Network Gate, mais je rencontre un problème, tout tourne autour du service "eveusb".
    Le Daemon n'est pas actif pour je ne sais quelle raison.

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
     
    ~$ systemctl status eveusb.service
    ● eveusb.service - USB Network Gate daemon
       Loaded: loaded (/lib/systemd/system/eveusb.service; enabled; vendor preset: enabled)
      Drop-In: /run/systemd/system/eveusb.service.d
               └─zzz-lxc-service.conf
       Active: failed (Result: exit-code) since Fri 2021-10-29 12:39:24 CEST; 1min 20s ago
    Nom : Screenshot 2021-10-29 12.45.03.png
Affichages : 674
Taille : 37,9 Ko

Discussions similaires

  1. [PostGres] Problème installation PostGres sous Windows
    Par Torpille dans le forum PostgreSQL
    Réponses: 4
    Dernier message: 27/08/2004, 16h05
  2. [Kylix] problème installation
    Par Wolf Check dans le forum EDI
    Réponses: 1
    Dernier message: 15/07/2004, 10h39
  3. Réponses: 2
    Dernier message: 28/04/2004, 11h25
  4. Problème installation et démarrage démon MySQL
    Par gafish dans le forum Installation
    Réponses: 2
    Dernier message: 05/02/2004, 13h20
  5. [TOMCAT] Problème install
    Par stailer dans le forum Tomcat et TomEE
    Réponses: 3
    Dernier message: 18/12/2003, 18h34

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo