我目前正在运行 debian 8,我想升级 debian 提供的安全补丁,但问题是,如果我升级单个软件包,它会要求升级许多软件包,如下所示:
$ apt-get upgrade openssl
The following packages will be upgraded:
dpkg dpkg-dev krb5-locales libapache2-mod-php5 libdpkg-perl libfreetype6 libgdk-pixbuf2.0-0 libgdk-pixbuf2.0-common libgssapi-krb5-2
libk5crypto3 libkrb5-3 libkrb5support0 libpng12-0 libssl1.0.0 linux-headers-3.2.0-4-amd64 linux-headers-3.2.0-4-common
linux-image-3.2.0-4-amd64 linux-libc-dev ntp php5 php5-cli php5-common php5- curl php5-readline tzdata unzip virtualbox virtualbox-dkms
virtualbox-qt....too many
The following packages have been kept back:
acpid anacron apt-xapian-index aptitude aptitude-common aspell-de at at- spi2-core avahi-daemon base-passwd bind9-host binfmt-support
bsdutils consolekit cron cryptsetup-bin db5.1-util dbus default-jre default- jre-headless dictionaries-common dmsetup dnsmasq-base
dnsutils dovecot-core …
Run Code Online (Sandbox Code Playgroud) 我已经在 Ubuntu 16.04 上安装了 Wine-1.8.0。问题是 mobaxterm 中的文本从右到左(反向)显示,向右对齐,如下面的屏幕截图所示。
其他 .exe 文件使用 Wine 工作正常。
错误信息 :
fixme: class: CLASS_GetClassLong offset -12 (GCLP_HCURSOR) not supported on other process windown 0x104a6
Run Code Online (Sandbox Code Playgroud)
任何人都知道为什么会发生此错误或任何其他替代解决方案来修复它?
我Ansible-2.0
在 linux 机器上使用,我希望使用 ansible 在远程机器上更改 DNS,如下所示:
---
# tasks file for test
- name: Change dns
become: yes
become_user: admin
replace:
dest: /etc/resolv.conf
regexp: '192.168.1.24'
replace: '8.8.8.8'
Run Code Online (Sandbox Code Playgroud)
输出:
$ ansible-playbook -i "mn," test.yml
TASK [test : Change dns] *******************************************************
fatal: [mn]: FAILED! => {"changed": false, "failed": true, "msg": "The destination directory (/etc) is not writable by the current user."}
PLAY RECAP *********************************************************************
mn : ok=1 changed=0 unreachable=0 failed=1
Run Code Online (Sandbox Code Playgroud)
在远程机器上,管理员是 sudo 用户,在这里我不想更改sudo
远程机器上的设置,是否有任何方法使用任务(脚本)而不是使用命令行传递密码。