AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-1668

Jay _silly_evarlast_ Wren's questions

Martin Hope
Jay _silly_evarlast_ Wren
Asked: 2020-09-09 16:52:53 +0800 CST

内核每秒都在喷出 ata link up 消息

  • 0

这些消息每 1 秒附加一次:

ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 310)
ata3.00: configured for UDMA/33                       

我认为这可能与我让 powertop 将电源设置从以前的任何设置更改为自动有关。

如何告诉内核停止启用此链接?或者我如何告诉它永远不要让 ata3 进入睡眠状态?

power-management kernel powertop
  • 1 个回答
  • 143 Views
Martin Hope
Jay _silly_evarlast_ Wren
Asked: 2019-05-24 06:25:53 +0800 CST

尝试安装时从通道“stable”(无效凭据)下载快照“lxd”(10756)

  • 3

刚从仿生升级到宇宙。该过程的一部分从 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
upgrade snap
  • 3 个回答
  • 602 Views
Martin Hope
Jay _silly_evarlast_ Wren
Asked: 2018-01-30 12:17:20 +0800 CST

如何在 byobu 中获得斜体字体

  • 1

我在这里遵循指南: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 的启动。

byobu
  • 1 个回答
  • 244 Views
Martin Hope
Jay _silly_evarlast_ Wren
Asked: 2016-07-22 12:26:36 +0800 CST

为什么 Xenial lxd 图像的大小是 Wily 及其前辈的两倍?

  • 2
$ 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 和其他版本的条目的差异。

lxc
  • 1 个回答
  • 308 Views
Martin Hope
Jay _silly_evarlast_ Wren
Asked: 2015-06-01 09:33:51 +0800 CST

无法添加/删除包,安装后失败

  • 1

策略工具包有问题并阻止包启动:

# 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/

systemd
  • 1 个回答
  • 4418 Views
Martin Hope
Jay _silly_evarlast_ Wren
Asked: 2011-04-04 15:24:42 +0800 CST

如何在 bug#606470 中查看 Monodevelop 补丁

  • 3

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 的动态菜单支持。

launchpad
  • 1 个回答
  • 95 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve