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

StressedBoi_69420's questions

Martin Hope
StressedBoi_69420
Asked: 2023-06-21 21:32:46 +0800 CST

/dev/nvme0n1p2:[4.772818]蓝牙:hci0:格式错误的 MSFT 供应商事件:0x02

  • 5

目标:启动至 GUI 登录。

有磁盘即将满的警告。删除了一些 conda venvs 和 docker 镜像。执行 docker 镜像运行后立即崩溃。

启动时出错:

[   0.453097] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PC00.MHBR],
AE_NOT_FOUND (20220331/psargs-330)
[   0.453140] ACPI BIOS Error (bug): Could not resolve symbol [\_SB.PTID.PBAR],
AE_NOT_FOUND (20220331/dsfield-500)
[.   1.037563] tpm tpm0: [Firmware Bug]: TPM interrupt not working, polling inst
ead
/dev/nvme0n1p2: recovering journal
/dev/nvme0n1p2: clean, 8607152/61022208 files, 236685514/244059136 blocks
[   0.453097] ACPI BIOS Error (bug): Could not resolve symbol [\_TZ.ETMD], AE_N
OT_FOUND (20220331/psargs-330)
[   4.070446] ACPI Error: Aborting method \_SB.IETM._OSC due to previous error
(AE_NOT_FOUND) (20220331/psparse-529)
[   4.772818] Bluetooth: hci0: Malformed MSFT vendor event: 0x02

在那之前,我会看到前 4 行,并且机器仍然会启动到 GUI 登录。

值得庆幸的是,我可以通过以下方式登录 bash。TTY 使用CTRL+ ALT+ F2,并在那里查看我的所有文件。

df -h

Filesystem       Size Used Avail Use% Mounted on
tmpfs            3.2G 2.3M  3.2G   1% /run
/dev/nvme0n1p2   916G 887G     0 100% /
tmpfs             16G    0   16G   0% /dev/shm
tmpfs            5.0M 4.0K  5.0M   1% /run/lock  
/dev/nvme0n1p1   511M 6.1M  505M   2% /boot/efi
temps            3.2G  88K  3.2G   1% /run/user/1000

sudo apt update运行成功

sudo apt upgrade:E: You don't have enough free space in /var/cache/apt/archives/

之后错误仍然存​​在:

  • sudo apt clean
  • sudo apt autoremove
  • sudo rm -rf /var/cache/apt/archives/*
  • sudo rm -rf /var/tmp/*

删除某些文件夹后,我不会错过任何危险,我现在可以sudo apt upgrade

现在卡在了Failed to start Record successful boot for GRUB

20.04
  • 1 个回答
  • 97 Views
Martin Hope
StressedBoi_69420
Asked: 2022-06-15 03:53:25 +0800 CST

更改屏幕亮度的命令

  • 0

目标:通过/降低屏幕亮度(通过“标准”降低/降低)。单行命令。

按照本教程,没有发生任何变化:

(base) moi@ubuntu-pcs:~$ sudo apt update
[sudo] password for moi: 
Hit:1 http://gb.archive.ubuntu.com/ubuntu jammy InRelease
Get:2 http://security.ubuntu.com/ubuntu jammy-security InRelease [110 kB]
Get:3 http://gb.archive.ubuntu.com/ubuntu jammy-updates InRelease [109 kB]     
Hit:4 https://dl.google.com/linux/chrome/deb stable InRelease                  
Get:5 http://gb.archive.ubuntu.com/ubuntu jammy-backports InRelease [99.8 kB]  
Get:6 http://security.ubuntu.com/ubuntu jammy-security/main amd64 DEP-11 Metadata [11.4 kB]
Get:7 http://gb.archive.ubuntu.com/ubuntu jammy-updates/main amd64 DEP-11 Metadata [73.4 kB]
Get:8 http://gb.archive.ubuntu.com/ubuntu jammy-updates/universe amd64 DEP-11 Metadata [91.8 kB]
Get:9 http://gb.archive.ubuntu.com/ubuntu jammy-backports/universe amd64 DEP-11 Metadata [1,196 B]
Fetched 497 kB in 2s (272 kB/s)               
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
125 packages can be upgraded. Run 'apt list --upgradable' to see them.
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
N: Skipping acquisition of configured file 'main/binary-i386/Packages', as repository 'https://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target Translations (main/i18n/Translation-en_GB) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11-icons-small (main/dep11/icons-48x48.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target DEP-11-icons-hidpi (main/dep11/[email protected]) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target CNF (main/cnf/Commands-amd64) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list.d/google-chrome.list:3 and /etc/apt/sources.list.d/google-chrome.list:4
(base) moi@ubuntu-pcs:~$ xrandr | grep " connected" | cut -f1 -d " "
XWAYLAND0
(base) moi@ubuntu-pcs:~$ xrandr --output XWAYLAND0 --brightness 0.5

lsb_release -a:

(base) moi@ubuntu-pcs:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 22.04 LTS
Release:    22.04
Codename:   jammy
brightness
  • 1 个回答
  • 75 Views
Martin Hope
StressedBoi_69420
Asked: 2022-05-25 05:06:09 +0800 CST

Ubuntu 20.04 | 谷歌浏览器不会自动恢复标签页

  • 0

目标:我希望在我自动启动 Google Chrome 时显示我以前的所有标签。

当我重新启动Ubuntu 20.04并启动Google Chrome时,会出现一个Restore按钮。

有没有办法让它自动这样做而不被告知?

我按照这篇文章,仍然没有区别。

启用设置以在重启后恢复 Google Chrome 标签如果您正在寻找一种在 Chrome 重启时恢复所有标签的方法,这很容易:

打开 Chrome 菜单(单击 Chrome 右上角的 3 点菜单)

单击设置滚动到页面底部的启动部分

单击以启用设置从上次中断的地方继续

20.04
  • 1 个回答
  • 154 Views
Martin Hope
StressedBoi_69420
Asked: 2022-02-18 06:33:40 +0800 CST

GNU nano 4.8 无限循环保存文件

  • 0

我可以说我不是第一个遇到这个问题的人......

me@PF2DCSXD:/$ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory

me@PF2DCSXD:/$ sudo nano /etc/resolv.conf

然后我陷入了这个无限循环。

  • Ctrl + X
  • Y Enter
  • 它说“[写入/etc/resolv.conf时出错:没有这样的文件或目录]”
  • Ctrl + C

GNU nano 4.8 窗口


终端:

me@PF2DCSXD:/$ ln -s /run/systemd/resolve/resolv.conf /etc/resolv.conf
ln: failed to create symbolic link '/etc/resolv.conf': File exists

me@PF2DCSXD:/$ cat /etc/resolv.conf
cat: /etc/resolv.conf: No such file or directory
nano
  • 1 个回答
  • 211 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