这些消息每 1 秒附加一次:
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata3.00: configured for UDMA/33
我认为这可能与我让 powertop 将电源设置从以前的任何设置更改为自动有关。
如何告诉内核停止启用此链接?或者我如何告诉它永远不要让 ata3 进入睡眠状态?
这些消息每 1 秒附加一次:
ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata3.00: configured for UDMA/33
我认为这可能与我让 powertop 将电源设置从以前的任何设置更改为自动有关。
如何告诉内核停止启用此链接?或者我如何告诉它永远不要让 ata3 进入睡眠状态?
刚从仿生升级到宇宙。该过程的一部分从 deb lxd 迁移到 snap lxd。升级成功,除了 lxd 包。尝试完成升级或使用 snap 命令安装 lxd snap 时出现此错误。
snap install lxd
error: cannot perform the following tasks:
- Download snap "lxd" (10756) from channel "stable" (invalid credentials)
为什么我会得到这个?什么证件?snapd 错误日志在哪里?
根据尝试的答案中的要求进行更新:
grep snap /var/log/syslog
:
May 30 00:21:14 delays snapd[30230]: storehelpers.go:441: cannot refresh snap "core": snap has no updates available
May 30 00:21:14 delays snapd[30230]: autorefresh.go:389: auto-refresh: all snaps are up-to-date
May 30 10:21:14 delays snapd[30230]: storehelpers.go:441: cannot refresh snap "core": snap has no updates available
May 30 10:21:14 delays snapd[30230]: autorefresh.go:389: auto-refresh: all snaps are up-to-date
May 30 15:11:14 delays snapd[30230]: storehelpers.go:441: cannot refresh snap "core": snap has no updates available
May 30 15:11:14 delays snapd[30230]: autorefresh.go:389: auto-refresh: all snaps are up-to-date
May 30 15:37:32 delays snapd[30230]: api.go:1079: Installing snap "lxd" revision unset
我在这里遵循指南:https ://alexpearce.me/2014/05/italics-in-iterm2-vim-tmux/
它适用于默认 tmux,但如果我通过 byobu 启动 tmux,则术语类型为screen-256color
. 似乎~/.tmux.conf
没有得到来源。
我尝试添加相同set -g default-terminal "tmux"
的内容,~/.byobu/window.tmux
但这阻止了 byobu 的启动。
$ lxc image list ubuntu:
+--------------------+--------------+--------+-------------------------------------------------+---------+----------+-------------------------------+
| ALIAS | FINGERPRINT | PUBLIC | DESCRIPTION | ARCH | SIZE | UPLOAD DATE |
+--------------------+--------------+--------+-------------------------------------------------+---------+----------+-------------------------------+
| p (5 more) | 6b6fa83dacb0 | yes | ubuntu 12.04 LTS amd64 (release) (20160627) | x86_64 | 155.43MB | Jun 27, 2016 at 12:00am (UTC) |
| t (9 more) | 628c432840e1 | yes | ubuntu 14.04 LTS amd64 (release) (20160714) | x86_64 | 119.23MB | Jul 14, 2016 at 12:00am (UTC) |
| w (5 more) | 9b9de680184b | yes | ubuntu 15.10 amd64 (release) (20160715) | x86_64 | 154.62MB | Jul 15, 2016 at 12:00am (UTC) |
| x (5 more) | f452cda3bccb | yes | ubuntu 16.04 LTS amd64 (release) (20160627) | x86_64 | 310.30MB | Jun 27, 2016 at 12:00am (UTC) |
...
如果您有一个宽窗口,您可以在这里更轻松地查看它:http: //pastebin.ubuntu.com/20357656/
为什么图像大小几乎翻倍?
启动映像后,Xenial 中的使用量要小得多,Wily 中为 727MB,而 Wily 中为 812MB,使用 du -sh /.
更新:别介意上面的问题。
从图像服务器下载图像后,它显示为 138.23MB。
为什么图像服务器报告 Xenial 版本的大小为 310.30MB,而实际上它约为 138.23MB?
我做了一些挖掘并提交了一个错误:https ://github.com/lxc/lxd/issues/2223
$ curl -s https://cloud-images.ubuntu.com/releases/streams/v1/index.json | jq -C . | less
并走到唯一具有“数据类型”的对象:“图像下载”。这就是 lxd 使用的。我遵循了该对象的路径值。
$ curl -s https://cloud-images.ubuntu.com/releases/streams/v1/com.ubuntu.cloud:released:download.json | jq -C . | less
我在那个 simplestream 中寻找 xenial 和其他版本的条目的差异。
策略工具包有问题并阻止包启动:
# apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up rabbitmq-server (3.4.3-2) ...
insserv: warning: script 'K02nxsensor' missing LSB tags and overrides
insserv: warning: script 'K02nxserver' missing LSB tags and overrides
insserv: warning: script 'S99pwrstatd' missing LSB tags and overrides
insserv: warning: current start runlevel(s) (empty) of script `rabbitmq-server' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `rabbitmq-server' overrides LSB defaults (0 1 6).
insserv: warning: script 'pwrstatd' missing LSB tags and overrides
initctl: Unable to connect to Upstart: Failed to connect to socket /com/ubuntu/upstart: Connection refused
insserv: warning: script 'plexmediaserver' missing LSB tags and overrides
insserv: Default-Start undefined, assuming empty start runlevel(s) for script `plexmediaserver'
insserv: Default-Stop undefined, assuming empty stop runlevel(s) for script `plexmediaserver'
insserv: script sshINT: service sshd already provided!
insserv: warning: script 'nxserver' missing LSB tags and overrides
insserv: warning: script 'nxsensor' missing LSB tags and overrides
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to start rabbitmq-server.service: Connection timed out
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: error processing package rabbitmq-server (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
rabbitmq-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
W: Operation was interrupted before it could finish
我该如何解决这个 polkit gio-error-quark 问题?
甚至一些 systemctl 命令也会给出同样的错误:
# systemctl disable plymouth-quit-wait
Error getting authority: Error initializing authority: Error calling StartServiceByName for org.freedesktop.PolicyKit1: Timeout was reached (g-io-error-quark, 24)
Failed to execute operation: Connection timed out
更新:这是一个已知错误:https ://bugs.launchpad.net/ubuntu/+source/policykit-1/+bug/1447654/
https://bugs.launchpad.net/dbusmenu/+bug/606470/comments/3
显示修复缺少的统一菜单解决方法的补丁。我想看看这个补丁做了什么,以便我可以将它应用到我的 MD 主干构建中(并且可能在上游提出拉取请求)。有没有办法可以在启动板中浏览这个差异?
我想我真的想要一种简单的方法来在包含 ubuntu monodevelop 包的任何源树中找到修订版 2.4+dfsg-3ubuntu2
更新:我发现了这个:https ://launchpad.net/ubuntu/natty/+source/monodevelop
更新:我终于找到了这个:http ://bazaar.launchpad.net/~ubuntu-branches/ubuntu/natty/monodevelop/natty/revision/53?start_revid=53
monodevelop.in 只是用来生成菜单条目。
我想要一个更通用的解决方案,比如来自 libappmenu 的动态菜单支持。