debian

Debian: No authentication handler is configured to handle the scheme: Automatic

拜拜、爱过 提交于 2021-02-08 09:25:12
问题 I have some issue like this, but i can't understand how to solve it for Debian. At first, i configure my application as described below app.UseCookieAuthentication(new CookieAuthenticationOptions { AuthenticationScheme =MyAuthSchemeName, CookieName = MyCookiName, AutomaticAuthenticate = true, AutomaticChallenge = false, SlidingExpiration = true, ExpireTimeSpan = TimeSpan.FromDays(1), DataProtectionProvider = DataProtectionProvider.Create(MyApplicationName) }); app.UseJwtBearerAuthentication

Python 2.7.11 - ImportError: cannot import name QtWebKit - Kali Linux / Debian 8

倖福魔咒の 提交于 2021-02-08 06:17:15
问题 I'm trying to launch an app dependant on QtWebKit but i'm unable to import the module. I've tried debugging by launching python and importing other modules. They all work fine (e.g. from PyQt4 import QtGui, QtCore) works without any issues, but when i run from PyQt4 import QtGui, QtCore, QtWebKit I receive the following: Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import name QtWebKit I have also tried the following to no avail (they install fine

Python 2.7.11 - ImportError: cannot import name QtWebKit - Kali Linux / Debian 8

拟墨画扇 提交于 2021-02-08 06:17:01
问题 I'm trying to launch an app dependant on QtWebKit but i'm unable to import the module. I've tried debugging by launching python and importing other modules. They all work fine (e.g. from PyQt4 import QtGui, QtCore) works without any issues, but when i run from PyQt4 import QtGui, QtCore, QtWebKit I receive the following: Traceback (most recent call last): File "<stdin>", line 1, in <module> ImportError: cannot import name QtWebKit I have also tried the following to no avail (they install fine

GitLab installation fail on Debian

心已入冬 提交于 2021-02-07 19:58:50
问题 I'm trying to install GitLab on a Debian 8.5.0. I folow the installation guide but the last step fail and I don't find any information in documentation. The gitlab-ctl reconfigure finish by Running handlers: Running handlers complete Chef Client failed. 3 resources updated in 02 seconds I have this error in the logs : Error executing action `run` on resource 'execute[/opt/gitlab/embedded/bin/initdb -D /var/opt/gitlab/postgresql/data -E UTF8]' The generated gitlab.rb is enterely commented

Compile Python 3.6.2 on Debian Jessie segfaults on sharedmods

我的未来我决定 提交于 2021-02-07 06:45:09
问题 I'm trying to compile Python 3.6.2 on a Debian Jessie box with the options ./configure --prefix="/opt/python3" \ --enable-optimizations \ --with-lto \ --enable-profiling \ --enable-unicode=ucs4 \ --with-system-expat \ --with-threads \ --with-system-ffi \ 'CFLAGS=-D_FORTIFY_SOURCE=2 -g -fstack-protector-strong -Wformat -Werror=format-security ' \ 'LDFLAGS=-Wl,-z,relro' But I'm getting a segmentation fault on the build of the shared modules: renaming build/scripts-3.6/pyvenv to build/scripts-3

How to enable AUFS on Debian?

冷暖自知 提交于 2021-02-07 01:22:30
问题 When I try to install docker via: curl -sSL https://get.docker.com/ | sh I get the message: Warning: current kernel is not supported by the linux-image-extra-virtual package. We have no AUFS support. Consider installing the packages linux-image-virtual kernel and linux-image-extra-virtual for AUFS support. However, neither package seems to exist on Debian Jessie: # apt-get install linux-image-virtual linux-image-extra-virtual Reading package lists... Done Building dependency tree Reading

How to connect to netcat running in docker container?

回眸只為那壹抹淺笑 提交于 2021-01-29 15:24:17
问题 I'm looking small rest server for sent request and execute scenario. I've found it here: Create a minimum REST Web Server with netcat nc I'm trying to execute this small rest server. Below Dockerfile and bash script. Dockerfile FROM debian ADD ./rest.sh /rest.sh RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive \ && apt-get install -y net-tools netcat curl \ && apt-get clean \ && rm -rf /var/lib/apt/lists/* \ && chmod +x /rest.sh EXPOSE 80 CMD /rest.sh rest.sh #!/bin/bash /bin/rm -f out

Dependency problems in Debian Stretch

一笑奈何 提交于 2021-01-29 10:11:26
问题 I have a pretty fresh installation of Debian GNU/Linux 9 (stretch) . I have installed python3.7.2 and some python-packages. After attempting to install spyder3 using sudo apt-get install python3-spyder , I keep getting error messages whenever I attempt to install or remove packages. For instance, running sudo apt-get install unixodbc give the following output: ~$ sudo apt-get install unixodbc Reading package lists... Done Building dependency tree Reading state information... Done unixodbc is

Ruby on Rails 4.1.8 Gem::LoadError for mysql2 gem

寵の児 提交于 2021-01-29 05:51:50
问题 I picked up a 4 year old project written in Ruby 2.1.3 and Rails 4.1.8 . Very few of the gems were versioned but I've managed to get the project running locally by installing mysql2 0.3.20 as suggested in multiple other threads. Doing this required me to (on MacOS) downgrade openssl and mysql with brew install mysql@57 and brew install openssl@10 . I could then install mysql2 with by passing the correct libraries to it: gem install mysql2 -v 0.3.20 -- --with-mysql-config=/usr/local/opt/mysql

Ruby on Rails 4.1.8 Gem::LoadError for mysql2 gem

|▌冷眼眸甩不掉的悲伤 提交于 2021-01-29 05:49:20
问题 I picked up a 4 year old project written in Ruby 2.1.3 and Rails 4.1.8 . Very few of the gems were versioned but I've managed to get the project running locally by installing mysql2 0.3.20 as suggested in multiple other threads. Doing this required me to (on MacOS) downgrade openssl and mysql with brew install mysql@57 and brew install openssl@10 . I could then install mysql2 with by passing the correct libraries to it: gem install mysql2 -v 0.3.20 -- --with-mysql-config=/usr/local/opt/mysql