AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

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

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
主页 / unix / 问题

问题[linux-mint](unix)

Martin Hope
Vlastimil Burián
Asked: 2023-03-06 14:22:12 +0800 CST

shim-signed 永远不会更新

  • 6

在我的Dell Inspiron 15 Gaming 7577机器(第 7 代 Intel,如果相关)上,运行 Linux Mint 21.1 Cinnamon.. 大约一个月后,我在更新脚本输出中看到了这个:

Command: apt-get -o APT::Get::Always-Include-Phased-Updates=true dist-upgrade
--------------------------------------
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  shim-signed
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.

考虑到我强制更新分阶段包,以下应该没有帮助/问题:

$ apt-cache policy shim-signed
shim-signed:
  Installed: 1.51+15.4-0ubuntu9
  Candidate: 1.51.3+15.7-0ubuntu1
  Version table:
     1.51.3+15.7-0ubuntu1 500 (phased 71%)
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
 *** 1.51+15.4-0ubuntu9 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
        100 /var/lib/dpkg/status

是否apt开始忽略该APT::Get::Always-Include-Phased-Updates=true选项?我不知道。

任何见解都将受到重视,谢谢。


# apt-get --simulate install shim-signed
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 base-files : Conflicts: base-files:i386
 base-files:i386 : Conflicts: base-files
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

以上我只是跑来模拟更新,希望对大家有所帮助。


$ apt-cache policy base-files{,:i386}
base-files:
  Installed: 21.1.0
  Candidate: 21.1.0
  Version table:
 *** 21.1.0 700
        700 http://packages.linuxmint.com vera/upstream amd64 Packages
        100 /var/lib/dpkg/status
     12ubuntu4.3 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
     12ubuntu4 500
        500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages
base-files:i386:
  Installed: (none)
  Candidate: 12ubuntu4.3
  Version table:
     12ubuntu4.3 500
        500 http://archive.ubuntu.com/ubuntu jammy-updates/main i386 Packages
     12ubuntu4 500
        500 http://archive.ubuntu.com/ubuntu jammy/main i386 Packages

@Stephen 的评论^^^

linux-mint
  • 1 个回答
  • 52 Views
Martin Hope
Vlastimil Burián
Asked: 2023-03-02 09:02:47 +0800 CST

启动时某些驱动器的 40 秒 `fsck`

  • 6

在我的 Linux Mint 21.1 Cinnamon 上,我刚刚经历了非常缓慢的启动,这在以前从未发生过:

$ systemd-analyze blame
40.890s [email protected]\x2duuid-c5da2d40\x2d42ce\x2d4193\x2d9f21\x2d08ab6de8764d.service

我刚起床,用三星 NVMe 2TB 驱动器打开我的笔记本电脑,但是启动时间很长,我去​​查看一些日志没有成功,只有上面显示了一些潜在的问题。

我现在如何调查为什么驱动器fsck花了这么长时间?它记录在某处吗?谢谢你!


/run/initramfs/fsck.log

Log of fsck -C -f -y -T -t ext4 /dev/nvme0n1p2 
Thu Mar  2 00:08:51 2023

e2fsck 1.46.5 (30-Dec-2021)
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/nvme0n1p2: 1885079/122093568 files (0.6% non-contiguous), 179291521/488354304 blocks

Thu Mar  2 00:09:00 2023
----------------

那么什么可以解释极慢的启动呢?


来自评论:

正如root我执行的那样:

# pv -Wptearb </dev/nvme0n1 >/dev/null
1.82TiB 0:15:59 [1.94GiB/s] [1.94GiB/s] [==============================>] 100%
linux-mint
  • 1 个回答
  • 54 Views
Martin Hope
Ash
Asked: 2023-02-22 17:28:47 +0800 CST

Mpv 没有运行 youtube url 因为 youtube-dl 已经过时

  • 5

我正在使用 Linux Mint 21.1,并且最近安装了 mpv。当我运行mpv后跟一个 youtube url 时,我得到以下几行:

[ytdl_hook] ERROR: Unable to extract updater id: please report this issue on https://yt-dl.org/bug. Make sure you are using the latest version...
[ytdl_hook] youtube-dl failed: unexpected error occurred
[ytdl_hook] It appears that your youtube-dl version is severely out of date
Failed to recognize title format

看来问题是我的 youtube-dl 已经过时了,但是当我命令时,youtube-dl --update我得到了youtube-dl is up-to-date (2021.12.17). 我看不到什么?

linux-mint
  • 1 个回答
  • 85 Views
Martin Hope
Vlastimil Burián
Asked: 2023-02-20 03:20:55 +0800 CST

格式化时在 Ext4 (crc32c-intel) 上校验和(5TB 外部硬盘)

  • 8

我从 Seagate 购买了一个新的 2.5 英寸外置硬盘,容量为 5TB。

现在在我的 Linux Mint 21.1 上,我需要格式化新创建的分区gdisk:

Model: Expansion HDD   
Sector size (logical/physical): 512/4096 bytes
Disk identifier (GUID): 52CB8F84-EFAF-4EC9-B65D-6F8541A65F53
Partition table holds up to 128 entries
Main partition table begins at sector 2 and ends at sector 33
First usable sector is 34, last usable sector is 9767541133
Partitions will be aligned on 2048-sector boundaries
Total free space is 2014 sectors (1007.0 KiB)

Number  Start (sector)    End (sector)  Size       Code  Name
   1            2048      9767541133   4.5 TiB     8300  Seagate_5TB_Ext4

现在可见fdisk:

Disk /dev/sdb: 4.55 TiB, 5000981077504 bytes, 9767541167 sectors
Disk model: Expansion HDD   
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: 52CB8F84-EFAF-4EC9-B65D-6F8541A65F53

Device     Start        End    Sectors  Size Type
/dev/sdb1   2048 9767541133 9767539086  4.5T Linux filesystem

我想使用 Ext4 作为文件系统。

问题是,默认情况下是否有一些数据校验和,或者我是否需要明确使用一些选项:

mkfs.ext4 -O metadata_csum,64bit /dev/path/to/disk

如Ext4 元数据校验和 Linux 内核页面所述?

谢谢。

请注意,到目前为止,我对 Ext4 使用了这些命令行选项:

mkfs.ext4 -L Seagate_5TB_Ext4 -m 0 -E lazy_itable_init=0,lazy_journal_init=0 /dev/sdX
linux-mint
  • 1 个回答
  • 154 Views
Martin Hope
Michael Shoe
Asked: 2023-01-26 07:46:54 +0800 CST

如何判断我的 Linux Mint 安装是从什么 PPA 下载 docker.io

  • 6

我正陷入疯狂的困境,意识到下载 docker-ce 而不是 docker.io 可能更好,但很想知道 docker.io 上次更新的时间。我相信我已经追踪到这里https://launchpad.net/ubuntu/+source/docker.io但是,我不确定如何判断它会安装哪个。

农历龙虾

动力库达

等等

有没有我可以在 Linux Mint 上运行的命令,它将引导我到我的系统从哪里检索安装包?

我将如何确定它将安装特定软件包的哪个/版本?

linux-mint
  • 1 个回答
  • 14 Views
Martin Hope
AnotherSherlock
Asked: 2022-12-26 09:42:19 +0800 CST

无法在 Linux Mint Vera 上安装 NodeJs

  • 6

这是我执行的命令(遵循文档):

curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash - &&sudo apt-get install -y nodejs

这是出现的错误消息:

您的发行版(标识为“vera”)目前不受支持,如果您认为这是不正确的或希望考虑为您的发行版提供支持,请通过https://github.com/nodesource/distributions/issues联系 NodeSource

我能想到的一种潜在解决方法是安装适用于先前 Mint 版本的 nodejs 版本,但我不知道该怎么做。

linux-mint
  • 2 个回答
  • 164 Views
Martin Hope
Vlastimil Burián
Asked: 2022-12-24 23:15:46 +0800 CST

如何永久禁用以太网卡上的 EEE(节能以太网)?

  • 8

我正在寻找一个内核参数,我可以在 GRUB 配置中使用它来永久禁用我新笔记本电脑的 LAN(有线以太网)卡上的EEE(节能以太网,维基百科):

基本信息:

操作系统:Linux Mint 21.1“维拉”肉桂

# ethtool -i enp59s0 
driver: r8169
version: 5.15.0-56-generic
firmware-version: rtl8168h-2_0.0.2 02/26/15
expansion-rom-version: 
bus-info: 0000:3b:00.0
supports-statistics: yes
supports-test: no
supports-eeprom-access: no
supports-register-dump: yes
supports-priv-flags: no

什么有效(重启后不持久,睡眠和唤醒):

# ethtool --set-eee enp59s0 eee off

但是,我宁愿不必为此设置 @reboot CRON。

我在正在运行的机器上尝试过的,如这里、这里和其他地方所建议的:

# sysctl -w igb.EEE=0
# sysctl -w e1000e.EEE=0
# sysctl -w r8169.EEE=0

所有这些都以错误消息结尾:

sysctl: cannot stat /proc/sys/[PARAM]/EEE: No such file or directory

非常感谢您的帮助。

linux-mint
  • 1 个回答
  • 289 Views
Martin Hope
bryan tai
Asked: 2022-10-09 00:47:28 +0800 CST

我收到有关格式错误的条目的错误

  • 1

当我这样做时,sudo apt update我收到此错误:

E: Malformed entry 1 in list file /etc/apt/sources.list.d/additional-repositories.list (Component) 
E: The list of sources could not be read.

我在 Linux Mint 21 Cinnamon 上。

的内容/etc/apt/sources.list.d/additional-repositories.list:

deb https://dl.winehq.org/wine-builds/ubuntu/ bionic
main

我对 Linux 很陌生,我不明白这意味着什么或如何解决它。

linux linux-mint
  • 1 个回答
  • 24 Views
Martin Hope
frankfalse
Asked: 2022-10-05 02:22:40 +0800 CST

Linux 工作站如何与 Windows Active Directory 交互?

  • 3

我正在研究LDAP,在我的公司里有一个 Active Directory 服务器。在我的工作站上安装了 Linux Mint。

我试图展示出现我的问题的背景:

  • 打开一个新窗口来浏览工作站的文件系统;
  • File在打开的窗口的菜单中(很抱歉,此时我无法添加打开的窗口的图像),有选项Connect to Server;
  • 通过此选项,我可以选择Type: Windows share并使用在 Windows 域中注册的帐户进行身份验证;
  • 之后,我可以浏览一些启用了我的帐户的网络目录。

解释了上下文我可以问这个问题:Connect to Server我使用过 LDAP 还是其他东西?是否可以通过命令行进行相同的身份验证?

谢谢

linux-mint ldap
  • 1 个回答
  • 46 Views
Martin Hope
bs-
Asked: 2022-10-04 03:36:02 +0800 CST

Firefox 崩溃 Linux Mint 20 (ulyan) 内存抖动

  • -1

Firefox 105.0.1 吃掉了我所有的内存(mate-system-monitor 报告 100%),经常使 Linux Mint 20 (ulyan) 崩溃,通常每周几次。

我的系统完全锁定,鼠标和键盘变得无响应,点击<ctrl>+<alt>+<F5>不起作用。

Mint 肯定有过错:操作系统必须与写得不好、耗尽内存的软件隔离开来。

Mint / Firefox 的早期版本没有遇到这个问题。

可以做什么?

更新:升级到 Linux Mint 20.3 并没有解决。

linux-mint memory
  • 2 个回答
  • 36 Views

Sidebar

Stats

  • 问题 199037
  • 回答 263511
  • 最佳答案 131755
  • 用户 66345
  • 热门
  • 回答
  • 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