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-101839

raratiru's questions

Martin Hope
raratiru
Asked: 2022-02-09 01:19:51 +0800 CST

pyenv 安装说明中的高级 sed 命令

  • 1

Pyenv存储库,具有以下用于 bash 的 sed 命令:

sed -Ei -e '/^([^#]|$)/ {a \
export PYENV_ROOT="$HOME/.pyenv"
a \
export PATH="$PYENV_ROOT/bin:$PATH"
a \
' -e ':a' -e '$!{n;ba};}' ~/.profile

这是如何工作的?

sed
  • 1 个回答
  • 49 Views
Martin Hope
raratiru
Asked: 2021-10-20 04:17:12 +0800 CST

Debian 11:Libreoffice 立即崩溃

  • 0

我从头开始安装 Debian 11(它不是 Debian 10 升级)。

当我打开 Calc 并按任意一个键时,Libreoffice 会崩溃,并且在安全模式下也会发生这种情况。

我试图收集一些日志,但恐怕它们没有包含足够的信息。

更新

这是命令的结果 strace libreoffice 2>&1::

https://pastebin.com/eipFqXvu

自由办公室:

Version: 7.0.4.2
Build ID: 00(Build:2)
CPU threads: 4; OS: Linux 5.10; UI render: default; VCL: gtk3
Locale: en-US (en_US.utf8); UI: en-US
Debian package version: 1:7.0.4-4+deb11u1
Calc: threaded

unname -a

Linux flyer 5.10.0-9-amd64 #1 SMP Debian 5.10.70-1 (2021-09-30) x86_64 GNU/Linux

一些硬件信息

OptiPlex 790
Intel(R) Core(TM) i5-2400 CPU @ 3.10GHz
4GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)
4GiB DIMM DDR3 Synchronous 1333 MHz (0.8 ns)

我发现的日志:

    # journalctl -e
    Oct 18 22:44:12 flyer soffice.bin[12165]: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton)
    Oct 18 22:44:12 flyer soffice.bin[12165]: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton)
    Oct 18 22:44:12 flyer soffice.bin[12165]: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton)
    Oct 18 22:44:12 flyer soffice.bin[12165]: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton)
    Oct 18 22:44:12 flyer soffice.bin[12165]: Negative content width -12 (allocation 1, extents 6x7) while allocating gadget (node button, owner GtkButton)
    Oct 18 22:44:30 flyer audit[12165]: AVC apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/local/lib/libpython3.9.so.1.0" pid=12165 comm="soffice.bin" requested_mask="r" denied_mask="r>
    Oct 18 22:44:30 flyer audit[12165]: AVC apparmor="ALLOWED" operation="file_mmap" profile="libreoffice-soffice" name="/usr/local/lib/libpython3.9.so.1.0" pid=12165 comm="soffice.bin" requested_mask="rm" denied_m>
    Oct 18 22:44:30 flyer kernel: audit: type=1400 audit(1634586270.897:77): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/local/lib/libpython3.9.so.1.0" pid=12165 comm="soffice.bin" >
    Oct 18 22:44:30 flyer kernel: audit: type=1400 audit(1634586270.897:78): apparmor="ALLOWED" operation="file_mmap" profile="libreoffice-soffice" name="/usr/local/lib/libpython3.9.so.1.0" pid=12165 comm="soffice.>
    Oct 18 22:44:30 flyer audit[12165]: AVC apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/flyer/.local/lib/python3.9/site-packages/distutils-precedence.pth" pid=12165 comm="soffice.b>
    Oct 18 22:44:30 flyer kernel: audit: type=1400 audit(1634586270.913:79): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/flyer/.local/lib/python3.9/site-packages/distutils-preceden>
    Oct 18 22:45:01 flyer CRON[12280]: pam_unix(cron:session): session opened for user root(uid=0) by (uid=0)
    Oct 18 22:45:01 flyer CRON[12281]: (root) CMD (command -v debian-sa1 > /dev/null && debian-sa1 1 1)
    Oct 18 22:45:01 flyer CRON[12280]: pam_unix(cron:session): session closed for user root
    Oct 18 22:48:27 flyer gnome-shell[2713]: libinput error: event4  - Logitech USB Keyboard: client bug: event processing lagging behind by 25ms, your system is too slow
    Oct 18 22:50:43 flyer systemd[1]: Starting system activity accounting tool...
    Oct 18 22:50:43 flyer systemd[1]: sysstat-collect.service: Succeeded.
    Oct 18 22:50:43 flyer systemd[1]: Finished system activity accounting tool.
    Oct 18 22:50:54 flyer gnome-shell[2713]: libinput error: event3  - Logitech USB-PS/2 Optical Mouse: client bug: event processing lagging behind by 13ms, your system is too slow
    Oct 18 22:50:59 flyer systemd[2539]: Started Application launched by gnome-shell.
    Oct 18 22:51:00 flyer rtkit-daemon[963]: Supervising 6 threads of 3 processes of 1 users.
    Oct 18 22:51:00 flyer rtkit-daemon[963]: Supervising 6 threads of 3 processes of 1 users.
    Oct 18 22:51:00 flyer rtkit-daemon[963]: Supervising 6 threads of 3 processes of 1 users.
    Oct 18 22:51:00 flyer rtkit-daemon[963]: Supervising 6 threads of 3 processes of 1 users.
    Oct 18 22:51:00 flyer rtkit-daemon[963]: Successfully made thread 12513 of process 12442 owned by '1000' RT at priority 10.
    Oct 18 22:51:00 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:00 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:00 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:01 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:01 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:02 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:02 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:03 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:03 flyer rtkit-daemon[963]: Supervising 7 threads of 4 processes of 1 users.
    Oct 18 22:51:03 flyer systemd[2539]: app-gnome-firefox\x2desr-4679.scope: Succeeded.
    Oct 18 22:51:03 flyer systemd[2539]: app-gnome-firefox\x2desr-4679.scope: Consumed 50min 25.087s CPU time.
    Oct 18 22:51:59 flyer systemd[2539]: Started Application launched by gnome-shell.
    Oct 18 22:51:59 flyer libreoffice-calc.desktop[12680]: Warning: failed to read path from javaldx
    Oct 18 22:52:00 flyer gnome-shell[2713]: libinput error: event3  - Logitech USB-PS/2 Optical Mouse: client bug: event processing lagging behind by 22ms, your system is too slow
    Oct 18 22:52:01 flyer systemd[2539]: app-gnome-libreoffice\x2dcalc-12680.scope: Succeeded.
    Oct 18 22:52:01 flyer systemd[2539]: app-gnome-libreoffice\x2dcalc-12680.scope: Consumed 1.412s CPU time.
    Oct 18 22:52:18 flyer audit[12226]: AVC apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/local/lib/libpython3.9.so.1.0" pid=12226 comm="soffice.bin" requested_mask="r" denied_mask="r>
    Oct 18 22:52:18 flyer audit[12226]: AVC apparmor="ALLOWED" operation="file_mmap" profile="libreoffice-soffice" name="/usr/local/lib/libpython3.9.so.1.0" pid=12226 comm="soffice.bin" requested_mask="rm" denied_m>
    Oct 18 22:52:18 flyer kernel: audit: type=1400 audit(1634586738.092:80): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/usr/local/lib/libpython3.9.so.1.0" pid=12226 comm="soffice.bin" >
    Oct 18 22:52:18 flyer kernel: audit: type=1400 audit(1634586738.092:81): apparmor="ALLOWED" operation="file_mmap" profile="libreoffice-soffice" name="/usr/local/lib/libpython3.9.so.1.0" pid=12226 comm="soffice.>
    Oct 18 22:52:18 flyer audit[12226]: AVC apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/flyer/.local/lib/python3.9/site-packages/distutils-precedence.pth" pid=12226 comm="soffice.b>
    Oct 18 22:52:18 flyer kernel: audit: type=1400 audit(1634586738.112:82): apparmor="ALLOWED" operation="open" profile="libreoffice-soffice" name="/home/flyer/.local/lib/python3.9/site-packages/distutils-preceden>
debian libreoffice
  • 1 个回答
  • 369 Views

Sidebar

Stats

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

    模块 i915 可能缺少固件 /lib/firmware/i915/*

    • 3 个回答
  • Marko Smith

    无法获取 jessie backports 存储库

    • 4 个回答
  • Marko Smith

    如何将 GPG 私钥和公钥导出到文件

    • 4 个回答
  • Marko Smith

    我们如何运行存储在变量中的命令?

    • 5 个回答
  • Marko Smith

    如何配置 systemd-resolved 和 systemd-networkd 以使用本地 DNS 服务器来解析本地域和远程 DNS 服务器来解析远程域?

    • 3 个回答
  • Marko Smith

    dist-upgrade 后 Kali Linux 中的 apt-get update 错误 [重复]

    • 2 个回答
  • Marko Smith

    如何从 systemctl 服务日志中查看最新的 x 行

    • 5 个回答
  • Marko Smith

    Nano - 跳转到文件末尾

    • 8 个回答
  • Marko Smith

    grub 错误:你需要先加载内核

    • 4 个回答
  • Marko Smith

    如何下载软件包而不是使用 apt-get 命令安装它?

    • 7 个回答
  • Martin Hope
    user12345 无法获取 jessie backports 存储库 2019-03-27 04:39:28 +0800 CST
  • Martin Hope
    Carl 为什么大多数 systemd 示例都包含 WantedBy=multi-user.target? 2019-03-15 11:49:25 +0800 CST
  • Martin Hope
    rocky 如何将 GPG 私钥和公钥导出到文件 2018-11-16 05:36:15 +0800 CST
  • Martin Hope
    Evan Carroll systemctl 状态显示:“状态:降级” 2018-06-03 18:48:17 +0800 CST
  • Martin Hope
    Tim 我们如何运行存储在变量中的命令? 2018-05-21 04:46:29 +0800 CST
  • Martin Hope
    Ankur S 为什么 /dev/null 是一个文件?为什么它的功能不作为一个简单的程序来实现? 2018-04-17 07:28:04 +0800 CST
  • Martin Hope
    user3191334 如何从 systemctl 服务日志中查看最新的 x 行 2018-02-07 00:14:16 +0800 CST
  • Martin Hope
    Marko Pacak Nano - 跳转到文件末尾 2018-02-01 01:53:03 +0800 CST
  • Martin Hope
    Kidburla 为什么真假这么大? 2018-01-26 12:14:47 +0800 CST
  • Martin Hope
    Christos Baziotis 在一个巨大的(70GB)、一行、文本文件中替换字符串 2017-12-30 06:58:33 +0800 CST

热门标签

linux bash debian shell-script text-processing ubuntu centos shell awk ssh

Explore

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

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve