debian

Smartcard reader ACR122U has no unique serial number

浪子不回头ぞ 提交于 2019-12-10 18:34:00
问题 I am using the PCSC driver and the javax.smartcardio library as the wrapper to the driver. I have 3 ACR122U devices plugged into a Linux (debian) system. I have ran udevadm info on the devices and they all have a serial number of 0. I need to identify which reader is which in my class. I can check which topological usb port is used by parsing the /sys/devices folder but I still cant "select" a device in the Java api. Does anyone know a way to modify the PCSC device stack order or something.

Hadoop : start-dfs.sh Connection refused

依然范特西╮ 提交于 2019-12-10 17:44:12
问题 I have a vagrant box on debian/stretch64 I try to install Hadoop3 with documentation http://hadoop.apache.org/docs/current/hadoop-project-dist/hadoop-common/SingleCluster.htm When I run start-dfs.sh I have this message vagrant@stretch:/opt/hadoop$ sudo sbin/start-dfs.sh Starting namenodes on [localhost] pdsh@stretch: localhost: connect: Connection refused Starting datanodes pdsh@stretch: localhost: connect: Connection refused Starting secondary namenodes [stretch] pdsh@stretch: stretch:

Error Running .net core on Debian

孤街醉人 提交于 2019-12-10 16:12:21
问题 I'm trying to compile and run my first cross-platform app using .net core to migrate a c# app. I am trying to run this on Debian stretch 9.3 I've run both of these commands. dotnet build -r debian-x64 dotnet publish -c release -r debian-x64 dotnet build -r linux-x64 dotnet publish -c release -r linux-x64 I get folders for each of these, (bin\Release\netcoreapp2.0\linux-x64 and bin\Release\netcoreapp2.0\debian-x64 respectively) which I used SFTP to copy to my linux box. In linux, I cd into the

Why freeglut3-dev doesn't provide .pc file for pkg-config?

余生长醉 提交于 2019-12-10 15:55:50
问题 Why latest Debian's Sid ( Sid , which is after Debian Buster 10.0 ) testing repositories doesn't contain .pc file for pkg-config? Result of dpkg -L freeglut3-dev : /. /usr /usr/include /usr/include/GL /usr/include/GL/glut.h /usr/include/GL/freeglut_std.h /usr/include/GL/freeglut_ext.h /usr/include/GL/freeglut.h /usr/lib /usr/lib/x86_64-linux-gnu /usr/lib/x86_64-linux-gnu/libglut.a /usr/share /usr/share/doc /usr/share/doc/freeglut3-dev /usr/share/doc/freeglut3-dev/changelog.gz /usr/share/doc

Python Entry point 'console_scripts' not found

杀马特。学长 韩版系。学妹 提交于 2019-12-10 15:49:59
问题 I'm unable to import entry point console scripts in my python package. Looking for help debugging my current issue, as I have read every relevant post on the issue. Here is what my directory structure looks like: ├── ContentAnalysis │ ├── __init__.py │ ├── command_line.py │ ├── document.py │ ├── entities.py │ ├── sentiment.py │ ├── summary.py │ ├── text_tokenize.py │ ├── tokens.py ├── local-requirements.txt ├── requirements.txt ├── server-requirements.txt ├── setup.py └── tests ├── tests.py └

Prevent creation of conffiles

喜你入骨 提交于 2019-12-10 15:35:49
问题 I'm trying to build a package which has some files under /etc that are not configuration. They are included in the conffiles automatically even if I create an empty package.conffiles in the debian directory. How can I stop dh_installdeb from doing that? 回答1: Originally, this answer suggested providing your own debian/conffiles files only listing actual configuration files to be installed. Apparently that only serves to add more configuration files but won't override the whole conffiles file.

Getting GDK_BACKEND does not match available displays error in debian

♀尐吖头ヾ 提交于 2019-12-10 14:23:38
问题 Actually i am trying to run a headless browser in remote debian server through selenium. I have firefox 46.0.1 installed in the server and i am using selenium 2.53.1 version. Whenever i tried to run a given test i got the following error. org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port 7055; process output follows: Error: GDK_BACKEND does not match available displays I have instantiated firefox driver in my code like this: saDriver =

Window 下U盘安装 Debian

拈花ヽ惹草 提交于 2019-12-10 14:14:31
1.关于Linux分区问题 linux和Window的分区差别挺大的,初学者不必太纠结与系统分区了。如果想简单点,三个分区可以了 / 保存系统文件, /home 保存用户文件 /swap 交换分区,内存不足的时候会用来置换内存中的文件 或者,五个分区 / 系统内核,系统配置文件等都在此分区 /usr 安装的软件,函数库什么的,改动较少的文件一般在此分区 /var 一些缓存,如:更新时的缓存,这种改动较多的文件一般都在此分区 /home 用户文件,用户配置信息,都在此分区 /swap 交换分区,内存不足的时候会用来置换内存中的文件 分区格式,现在一般都用EXT4吧。 这是我安装完后空间使用情况截图,可以为分区大小的选择提供点参考: 更多问题,查看鸟哥的Linux私房菜:http://vbird.dic.ksu.edu.tw/linux_basic/0210filepermission_3.php -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

转两好文防丢:Debian 版本升级/降级 & Linux 应用程序失去输入焦点问题的解决

痴心易碎 提交于 2019-12-10 13:48:19
Debian 版本升级/降级 最近笔记本的 Debian 系统不太正常,总是在程序切换的时候键盘丢失。例如从浏览器切换到 konsole 时,无法输入,在 konsole 中通过创建新标签并在不同标签页中切换后,才能够继续输入... 这个问题很是困扰,联想到最近从 sid (Debian 不稳定发行版)做了升级,难道是升级后出现的 bug? 题外话:查看磁盘空间,是否有分区已满 实际上,这应该是当系统出现异常后,率先进行检查的。但是由于我的疏忽在Debian降级过程中,才发现 /var 卷已满,当执行 apt-get clean 命令后,释放了 5 GB以上的空间。 所以程序切换键盘丢失,到底是因为 Debian 从不稳定版升级造成的,还是因为 /var 卷已满造成的,已经查无实据。 Debian 混杂版本 所谓 Debian 混杂版本,就是在一个 debian 系统中,安装的软件包不属于同一个发行版(distribution),有的可能属于 stable(当前代号是 lenny),有的属于 testing (当前代号 squeeze),或者有的软件包属于不稳定版(代号 sid)。 Debian 的 APT 可以设置升级的默认发行版。可以创建一个文件,如: /etc/apt/apt.conf.d/01defaultrelease ,其内容为: APT::Default

debian 7 下的一些错误提示解决办法

你。 提交于 2019-12-10 13:48:06
1、修改系统时间 cp /usr/share/zoneinfo/Asia/ShangHai /etc/localtime #时区为亚洲/上海 date 命令查看 2、用惯了vim,在debian下你会发现vi中无法使用delete和backspace键。 原来Debian中自带的vi是vim-tiny,程序本身就不支持Backspace删除功能。 解决办法:重新安装其他版本的vi apt-get update apt-get install -y vim vim-runtime 3、提示-bash: killall: command not found debian下 apt-cache search killall apt-get install psmisc centos下 yum search killall yum install -y psmisc 4、安装libc6 在debian 7 x86_64下安装软件时提示错误: Depends: libc6 (>= 2.14) but 2.13-38+deb7u8 is to be installed E: Unable to correct problems, you have held broken packages. 添加Jessie的源更新就好了 echo "deb ftp://ftp.debian.org