[SOLVED] problem installing usbredirector

fieraf

Member
May 30, 2016
34
0
6
48
Hello
I'm trying to install usbredirector on proxmox 4.2, but I recive

Code:
 INSTALLATION FAILED!
??? Kernel sources or kernel headers directory not found. Please install the corresponding package first.

When I insert
Code:
apt-get install pve-headers-`uname -r`

I recive
Code:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package pve-headers-4.4.6-1-pve
E: Couldn't find any package by regex 'pve-headers-4.4.6-1-pve'

How can I install usbredirector?

regards
 
please first upgrade your installation to the current version - check your APT sources and verify that the correct repository is configured (either pve-no-subscription or pve-enterprise)
 
I've done apt-get update and upgrade first,. I've pve-no-subscription
I've also installed linux-headers-3.16.0-4-all linux-headers-3.16.0-4-all-amd64 linux-headers-3.16.0-4-amd64 and changed KERNELDIR into installare.sh, but now I recive:
Code:
 usbsrv -i

******************** ERROR ***********************
Cannot connect to USB Redirector daemon.
Please make sure usbsrvd is loaded. If the module
is not loaded, please contact our support team.
Error log can be found at /var/log/usbsrvd.log
**************** **************** ****************
what should I do?
 
Last edited:
I've done apt-get update and upgrade first,. I've pve-no-subscription
I've also installed linux-headers-3.16.0-4-all linux-headers-3.16.0-4-all-amd64 linux-headers-3.16.0-4-amd64 and changed KERNELDIR into installare.sh, but now I recive:
Code:
 usbsrv -i

******************** ERROR ***********************
Cannot connect to USB Redirector daemon.
Please make sure usbsrvd is loaded. If the module
is not loaded, please contact our support team.
Error log can be found at /var/log/usbsrvd.log
**************** **************** ****************
what should I do?

those are not the correct packages. you need to install the pve-headers-xx package corresponding to your pve-kernel-xx package , not the stock kernel and headers from the Debian repository.

if you are trying to install http://www.incentivespro.com/usb-server.html , according to their system requirements they only support "Kernel version 2.6.15 to 3.19" (but that might be outdated)
 
I've followed http://www.incentivespro.com/usb-server-usage.html , but how can I to install pve-headers-4.4.6-1-pve?
4.4.6-1-pve is result of uname -r command

The website says: Linux Kernel: 2.6.15 - 4.5
Code:
USB Redirector for Linux

Share USB devices over Ethernet on Linux.

Product Version: 3.5
Release Date:
March 31, 2016

System Requirements:
Linux Kernel: 2.6.15 - 4.5
Architecture: x86, x86_64(amd64), arm, mips
NSLU2 Requirements: OpenWrt Kamikaze 8.09
RDP Requirements: rdesktop 1.6.0 and higher or FreeRDP 1.0.1 and higher

Package Size:
0.4 - 2.0 MB
regards
 
Last edited:
I've resolved
I've downloaded
Code:
ftp://download1.proxmox.com/debian/dists/jessie/pve-no-subscription/binary-amd64/pve-headers-4.4.6-1-pve_4.4.6-48_amd64.deb
and later, I've installed successifull usbredirector.
How can I add this package at source.list?

many thanks
 
you either have a wrong sources.list entry or some other misconfiguration going on.. first, you should upgrade to the current kernel (pve-kernel-4.4.10-1-pve) and install the associated headers package (pve-headers-4.4.10-1-pve).

nevertheless, the 4.4.6 packages are also available in the repositories (but they are outdated, so please don't use them unless you have a reason to!):

Code:
apt-get install pve-headers-4.4.6-1-pve
Reading package lists... Done
Building dependency tree      
Reading state information... Done
The following NEW packages will be installed:
  pve-headers-4.4.6-1-pve
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 7,246 kB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://download.proxmox.com/debian/ jessie/pve-no-subscription pve-headers-4.4.6-1-pve amd64 4.4.6-48 [7,246 kB]
Fetched 7,246 kB in 3s (1,900 kB/s)                  
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Selecting previously unselected package pve-headers-4.4.6-1-pve.
(Reading database ... 276087 files and directories currently installed.)
Preparing to unpack .../pve-headers-4.4.6-1-pve_4.4.6-48_amd64.deb ...
Unpacking pve-headers-4.4.6-1-pve (4.4.6-48) ...
Setting up pve-headers-4.4.6-1-pve (4.4.6-48) ...
Scanning processes...                                                                                          
Scanning kernel images...                                                                                      
Running kernel seems to be up-to-date.
 
my source.list is
Code:
deb http://ftp.es.debian.org/debian jessie main contrib

# security updates
deb http://security.debian.org jessie/updates main contrib
and uname -r command says 4.4.6-1-pve

I've pve-no-subscription
whe can I update to 4.4.10?

regrads