我有一台服务器机器,我从不登录 X 显示,只能通过 ssh。最近我登录,它告诉我我有
12 packages can be updated.
6 updates are security updates.
Run Code Online (Sandbox Code Playgroud)
我实际上已经知道这一点,因为我在它和所有其他服务器上运行 munin。所以无论如何,我做了“sudo aptitude”并安装了所有更新,然后重新启动。几天后,munin告诉我需要升级另一个包,所以我登录了,但是登录信息说:
12 packages can be updated.
6 updates are security updates.
Run Code Online (Sandbox Code Playgroud)
我进入 aptitude 并安装了一个更新。Ubuntu 仍然告诉我我有 12 个软件包需要更新。穆宁说我没有。我试着aptitude -d -y dist-upgrade和apt-get -d -y dist-upgrade二者均告诉我没有什么可安装。那么为什么登录信息仍然告诉我我有 12 个包要更新?
工作给了我 LifeChat LX-3000 耳机。我插入了它,现在 Mixer 在一堆选项中显示它。
但是无论我选择哪一个都没有关系,我无法将声音传到设备上,即使在我想要的 Skype 中也是如此。我错过了什么?
:~> cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
Run Code Online (Sandbox Code Playgroud)
使用 XFCE4。
我的 Ubuntu 15.10 系统运行良好,Wordpress 更新通过 ssh 进行。但是当我将 Ubuntu 升级到 16.04 时,切换到 php7.0 破坏了 Wordpress 的更新。起初,它提示输入 FTP 登录凭据,直到我安装了 php-ssh2(警告它基于 git 快照)。现在当我尝试升级插件时,它说
An error occurred while updating WP to Twitter: Unable to locate WordPress Content directory (wp-content).
Run Code Online (Sandbox Code Playgroud)
在 /var/log/apache2/error.log 中:
[Sun Jun 12 11:01:10.969931 2016] [:error] [pid 5545] [client 192.168.1.11:65278] PHP Warning: file_put_contents(): Unable to open ssh2.sftp://Resource id #81/.maintenance on remote host in /home/blog/wordpress/wp-admin/includes/class-wp-filesystem-ssh2.php on line 252, referer: http://xxxx.com/wp-admin/update-core.php?action=do-plugin-upgrade
[Sun Jun 12 11:01:10.970772 2016] [:error] [pid 5545] [client 192.168.1.11:65278] PHP Warning: file_put_contents(ssh2.sftp://Resource …Run Code Online (Sandbox Code Playgroud) 升级后,我无法再打开安全摄像头的流 ( rtsp://frontcam2/)。这在升级之前工作得很好。我可以打开 mpeg 文件,并且音频和视频在这些文件上运行良好。
我打开了调试消息,然后我得到了
main debug: net: connecting to frontcam2 port 554
main debug: connection succeeded (socket = 17)
access_realrtsp warning: Cseq mismatch, got 1, assumed 0
access_realrtsp debug: rtsp connected
access_realrtsp warning: only real/helix rtsp servers supported for now
Run Code Online (Sandbox Code Playgroud)