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

Scott Stensland's questions

Martin Hope
Scott Stensland
Asked: 2024-04-28 21:35:57 +0800 CST

Ubuntu 24.04 出现错误 在发出 apt-get build-dep 时,您必须将一些“deb-src”URI 放入您的sources.list 中

  • 11

在从头开始新安装(不是升级)的 Ubuntu 24.04 上,我在运行时收到此错误

$ sudo apt-get build-dep -y vlc  
Reading package lists... Done
E: You must put some 'deb-src' URIs in your sources.list

24.04 之前的修复是对 进行编辑/etc/apt/sources.list,但现在在 24.04 上:

$ cat /etc/apt/sources.list
# Ubuntu sources have moved to /etc/apt/sources.list.d/ubuntu.sources

这是 24.04 的新文件

$ cat /etc/apt/sources.list.d/ubuntu.sources 
Types: deb
URIs: http://us.archive.ubuntu.com/ubuntu/
Suites: noble noble-updates noble-backports noble-proposed
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg



Types: deb
URIs: http://security.ubuntu.com/ubuntu/
Suites: noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

如何添加deb-src到新文件/etc/apt/sources.list.d/ubuntu.sources?

apt
  • 1 个回答
  • 2671 Views
Martin Hope
Scott Stensland
Asked: 2023-08-21 22:54:08 +0800 CST

称为 RDD 进程的 Firefox 子进程的高 CPU 使用率

  • 6

有谁知道如何通过名为 RDD Process 的 firefox 子进程来解决这个高 cpu 使用率...或者作为临时创可贴如何禁用“RDD Process”,直到它在 firefox 上得到修复?作为一个忠实的 ff 用户,自从“有龙”时代以来,我不想停止使用 ff,但是新的 ff 用户不会忍受这个 ff bug

这是顶部显示的

$ top

top - 10:46:45 up  1:33,  1 user,  load average: 1.52, 1.12, 0.75
Tasks: 451 total,   1 running, 449 sleeping,   0 stopped,   1 zombie
%Cpu(s):  7.1 us, 10.2 sy,  0.0 ni, 82.7 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  63964.8 total,  48381.4 free,  10170.6 used,   5412.8 buff/cache
MiB Swap:  67584.0 total,  67584.0 free,      0.0 used.  52009.7 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                      
   9616 olaf      20   0  687632 124196  98824 S 167.6   0.2   8:06.11 RDD Process                                                                  
  11115 olaf      20   0 3478912   1.0g 142712 S  45.9   1.6   2:05.58 Isolated Web Co                                                              
   9154 olaf      20   0 5345052 918880 434104 S  37.8   1.4   9:23.10 firefox-trunk                                                                
   3318 olaf      20   0 7468292 375644 173560 S   8.1   0.6   4:51.18 gnome-shell                                                                  
   3828 root      20   0  394520  33684  27112 S   5.4   0.1   0:00.70 fwupd                                                                        
  19979 root      20   0       0      0      0 I   5.4   0.0   0:09.26 kworker/u32:0-i915                                                           
  20667 root      20   0       0      0      0 I   5.4   0.0   0:06.43 kworker/u32:4-i915                                                           
     65 root      20   0       0      0      0 S   2.7   0.0   0:00.78 ksoftirqd/8                                                                  
   3084 olaf       9 -11 2622692  31628  22540 S   2.7   0.0   0:25.00 pulseaudio                                                                   
   9014 olaf      20   0  751244  92592  66272 S   2.7   0.1   0:06.94 gnome-terminal-               

这只是前几天开始的......以前我从未见过 RDD

firefox   118.0a1 (2023-08-19) (64-bit)


uname -m && uname -r && cat /etc/*release
x86_64
6.2.0-26-generic
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
PRETTY_NAME="Ubuntu 22.04.3 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.3 LTS (Jammy Jellyfish)"
VERSION_CODENAME=jammy

是的,通过发出重置我的本地设置并没有帮助

        rm -rf ~/.mozilla
        rm -rf ~/.cache/mozilla

这是在一个强大的桌面上,并且这个 RDD 进程始终使用高 CPU ......这不是一个临时短暂的 cpu 峰值......但是,在反复杀死 Firefox 并重新启动后,RDD 确实在几个这样的周期中重新出现......我写 RDD 流程已经消失了,但整个事件序列在过去一周左右的时间里又重复了一遍

与上述 RDD 问题巧合的是,YouTube 现在有时无法在单击视频时播放视频,但同一视频在 Vivaldi 等其他浏览器上可以正常播放

下面的答案不能解决这个高CPU问题...我怎样才能禁用“RDD进程”直到它得到修复?我不希望 cpu 核心整天挂着,因为我不断使用 firefox,即使只查看像 SO 这样行为良好的网站...在杀死 ff 后一切正常,直到我尝试观看 YouTube 视频,此时 cpu 达到 100%并永远保持固定并且 YouTube 视频无法渲染

更新汉堡菜单 -> 故障排除模式 -> 重新启动...只是为了禁用所有插件之后 RDD 问题消失,但是如果没有我的插件我永远不会使用 ff 所以这不是一个解决方案

firefox
  • 1 个回答
  • 45 Views
Martin Hope
Scott Stensland
Asked: 2023-02-11 10:47:21 +0800 CST

试图覆盖 foo,它也在包 bar dpkg-deb 中:错误:粘贴子进程被信号杀死(破管)[重复]

  • 7
这个问题在这里已经有了答案:
dpkg 错误:“试图覆盖文件,该文件也在……” (6 个答案)
上个月关闭。

Ubuntu 22.04

今天当我发出

sudo apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 unixodbc : Depends: odbcinst1debian2 (>= 2.3.11) but it is not installed
            Depends: libodbc1 (>= 2.3.11) but 2.3.9-5 is installed
 unixodbc-dev : Depends: odbcinst1debian2 (= 2.3.11) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

然后按照建议得到

sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following package was automatically installed and is no longer required:
  libodbccr2
Use 'sudo apt autoremove' to remove it.
The following additional packages will be installed:
  libodbc1 odbcinst odbcinst1debian2
Suggested packages:
  unixodbc-bin
The following NEW packages will be installed:
  odbcinst1debian2
The following packages will be upgraded:
  libodbc1 odbcinst
2 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 0 B/607 kB of archives.
After this operation, 863 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
(Reading database ... 725562 files and directories currently installed.)
Preparing to unpack .../odbcinst_2.3.11_amd64.deb ...
Unpacking odbcinst (2.3.11) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/apt/archives/odbcinst_2.3.11_amd64.deb (--unpack):
 trying to overwrite '/etc/odbc.ini', which is also in package unixodbc-common 2.3.9-5
Preparing to unpack .../odbcinst1debian2_2.3.11_amd64.deb ...
Unpacking odbcinst1debian2:amd64 (2.3.11) ...
dpkg: error processing archive /var/cache/apt/archives/odbcinst1debian2_2.3.11_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbcinst.so.2.0.0', which is also in package libodbcinst2:amd64 2.3.9-5
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../libodbc1_2.3.11_amd64.deb ...
Unpacking libodbc1:amd64 (2.3.11) over (2.3.9-5) ...
dpkg: error processing archive /var/cache/apt/archives/libodbc1_2.3.11_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libodbc.so.2.0.0', which is also in package libodbc2:amd64 2.3.9-5
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Errors were encountered while processing:
 /var/cache/apt/archives/odbcinst_2.3.11_amd64.deb
 /var/cache/apt/archives/odbcinst1debian2_2.3.11_amd64.deb
 /var/cache/apt/archives/libodbc1_2.3.11_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

如何走出这个洞?

我没有问题清除任何包来解决这个问题。这正是阻碍 Linux 大规模采用的边缘案例。我的直觉告诉我要保持低调,直到冒犯包所有者将他们的修复推到上游。

我尝试了很多猜测,包括……无济于事……建议?

sudo apt-get autoremove  
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 unixodbc : Depends: odbcinst1debian2 (>= 2.3.11) but it is not installed
            Depends: libodbc1 (>= 2.3.11) but 2.3.9-5 is installed
 unixodbc-dev : Depends: odbcinst1debian2 (= 2.3.11) but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
apt
  • 2 个回答
  • 637 Views
Martin Hope
Scott Stensland
Asked: 2021-08-01 03:38:11 +0800 CST

文件具有意外大小 (7660 != 7398)。正在进行镜像同步?

  • 1

运行系统更新时出现此错误

sudo apt-get update
Hit:1 http://us.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://us.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                                                               
Hit:3 http://us.archive.ubuntu.com/ubuntu focal-backports InRelease                                                                                                             
Hit:4 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                    
Hit:5 https://download.docker.com/linux/ubuntu focal InRelease                                                                                                                  
Hit:6 http://us.archive.ubuntu.com/ubuntu focal-security InRelease                                                                                                              
Hit:7 https://download.sublimetext.com apt/dev/ InRelease                                                                                                                       
Hit:8 http://us.archive.ubuntu.com/ubuntu focal-proposed InRelease                                                                                                              
Get:9 https://brave-browser-apt-nightly.s3.brave.com stable InRelease [4,317 B]                                                                                                 
Hit:10 https://apt.releases.hashicorp.com focal InRelease                                                                                                                       
Hit:11 https://deb.opera.com/opera-developer stable InRelease                                                                      
Hit:12 https://packages.microsoft.com/repos/azure-cli focal InRelease                                        
Hit:13 https://packages.microsoft.com/repos/ms-teams stable InRelease                  
Hit:14 http://archive.canonical.com/ubuntu focal InRelease                            
Get:15 https://mega.nz/linux/MEGAsync/xUbuntu_20.04 ./ InRelease [2,441 B]
Get:16 https://brave-browser-apt-nightly.s3.brave.com stable/main amd64 Packages [7,398 B]
Err:16 https://brave-browser-apt-nightly.s3.brave.com stable/main amd64 Packages
  File has unexpected size (7660 != 7398). Mirror sync in progress? [IP: 99.84.126.35 443]
  Hashes of expected file:
   - Filesize:7398 [weak]
   - SHA512:8bd5e753fce431f6e7cf8111722cd89c296598b62b335fd839e4c85c90d348a61347a456f3f8d117e3ae4c035cff797549eb2f4d5ecdccbc949d397c1b7e56ca
   - SHA256:bb14d8a13aac904ca0410bf622f7d062f3336273d94a7a33b881d223234f7167
   - SHA1:fe3f258c595be080b276763c160a04c4bc2f59ca [weak]
   - MD5Sum:6a2fa07708eb6be197aae80b61a5906c [weak]
  Release file created at: Sat, 31 Jul 2021 06:46:39 +0000
Fetched 6,758 B in 2s (3,237 B/s)
Reading package lists... Done
E: Failed to fetch https://brave-browser-apt-nightly.s3.brave.com/dists/stable/main/binary-amd64/Packages.bz2  File has unexpected size (7660 != 7398). Mirror sync in progress? [IP: 99.84.126.35 443]
   Hashes of expected file:
    - Filesize:7398 [weak]
    - SHA512:8bd5e753fce431f6e7cf8111722cd89c296598b62b335fd839e4c85c90d348a61347a456f3f8d117e3ae4c035cff797549eb2f4d5ecdccbc949d397c1b7e56ca
    - SHA256:bb14d8a13aac904ca0410bf622f7d062f3336273d94a7a33b881d223234f7167
    - SHA1:fe3f258c595be080b276763c160a04c4bc2f59ca [weak]
    - MD5Sum:6a2fa07708eb6be197aae80b61a5906c [weak]
   Release file created at: Sat, 31 Jul 2021 06:46:39 +0000
E: Some index files failed to download. They have been ignored, or old ones used instead.
updates
  • 1 个回答
  • 4903 Views
Martin Hope
Scott Stensland
Asked: 2021-02-21 10:14:31 +0800 CST

引导修复无法提供帮助:当前会话处于 BIOS 兼容模式

  • 1

在启动时它直接进入可怕的 grub 提示符

Ubuntu 20.04 运行良好( /dev/sda5 ),直到我删除(在 gparted 中)一个未使用的分区 /dev/sda6 然后自动重命名以下分区 /dev/sda7 然后被称为 /dev/sda6 (gparted 中的错误?它应该将 7 保留为 7) ... 盒子在原来 /dev/sda7 上的 Fedora 双重启动到现在也运行良好

这是一台 2012 年的老式笔记本电脑,我在 bios 中没有看到任何提及 UEFI ...当我运行引导修复时收到以下消息

当前会话处于 BIOS 兼容模式。请在您的 UEFI 固件中禁用 BIOS 兼容/CSM/Legacy 模式,并从与 UEFI 启动模式兼容的 live-CD(或 live-USB)中使用此软件。例如,在确保您的 BIOS 设置为以 EFI 模式启动 USB 后,使用 Boot-Repair-Disk-64 位 ( www.sourceforge.net/p/boot-repair-cd ) 的 live-USB。这将启用此功能。

https://paste.ubuntu.com/p/btw3GkGGqB/ 有什么建议吗?

目前我在这个盒子上的 live usb 上启动了 gparted 显示

在此处输入图像描述

grub2
  • 1 个回答
  • 5508 Views
Martin Hope
Scott Stensland
Asked: 2020-08-14 15:50:18 +0800 CST

systemd [1]:apport-autoreport.service:失败,结果为“start-limit-hit”

  • 1

systemd 正在持续使用 100% ... 这是顶部

top - 19:47:09 up 13 min,  1 user,  load average: 3.26, 2.62, 1.69
Tasks: 306 total,   4 running, 294 sleeping,   0 stopped,   8 zombie
%Cpu(s): 35.5 us, 12.6 sy,  0.0 ni, 51.9 id,  0.0 wa,  0.0 hi,  0.0 si,  0.0 st
MiB Mem :  11858.2 total,   5183.4 free,   3433.2 used,   3241.6 buff/cache
MiB Swap:   2048.0 total,   2048.0 free,      0.0 used.   7913.7 avail Mem 

    PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                    
      1 root      20   0  268660 110536   8532 R 100.0   0.9  11:39.36 systemd                                                                                    
    772 message+  20   0   10988   6768   4116 R  46.0   0.1   5:16.01 dbus-daemon                                                                                
    259 root      19  -1  496536 327492 325464 S  16.8   2.7   2:16.95 systemd-journal                                                                            
    796 syslog    20   0  221104   5832   4052 S  13.9   0.0   1:38.00 rsyslogd                                                                                   
    804 root      20   0  103380  93880   7784 S  13.1   0.8   1:34.41 systemd-logind                                                                             
     18 root      20   0       0      0      0 S   0.7   0.0   0:00.55 ksoftirqd/1                                                                                
   1733 root      20   0  352968 130376  83760 S   0.7   1.1   0:25.47 Xorg                                                                                       
   1916 ava       20   0 4008000 272576 117864 S   0.7   2.2   0:32.40 gnome-shell                                                                                
   3877 ava       20   0 2629148 269672 162688 S   0.7   2.2   0:09.53 Web Content                       

   

这是系统日志

 sudo tail -n 100 /var/log/syslog
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
Aug 13 19:46:11 kiev systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Start request repeated too quickly.
Aug 13 19:46:11 kiev systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.

这是一些 dmesg

[    3.942656] systemd[1]: Inserted module 'autofs4'
[    4.005635] systemd[1]: systemd 246-2ubuntu1 running in system mode. (+PAM +AUDIT +SELINUX +IMA +APPARMOR +SMACK +SYSVINIT +UTMP +LIBCRYPTSETUP +GCRYPT +GNUTLS +ACL +XZ +LZ4 +ZSTD +SECCOMP +BLKID +ELFUTILS +KMOD +IDN2 -IDN +PCRE2 default-hierarchy=hybrid)
[    4.025381] systemd[1]: Detected architecture x86-64.
[    4.046020] systemd[1]: Set hostname to <kiev>.
[    4.132974] systemd[1]: /lib/systemd/system/docker.socket:6: ListenStream= references a path below legacy directory /var/run/, updating /var/run/docker.sock → /run/docker.sock; please update the unit file accordingly.
[    4.137916] systemd[1]: /lib/systemd/system/dbus.service:12: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[    4.164397] systemd[1]: /lib/systemd/system/plymouth-start.service:17: Unit configured to use KillMode=none. This is unsafe, as it disables systemd's process lifecycle management for the service. Please update your service to use a safer KillMode=, such as 'mixed' or 'control-group'. Support for KillMode=none is deprecated and will eventually be removed.
[    4.193000] systemd[1]: /lib/systemd/system/gdm.service:30: Standard output type syslog is obsolete, automatically updating to journal. Please update your unit file, and consider removing the setting altogether.

这发生在我上次系统更新之后......重新启动和/或另一个系统更新后相同......有什么想法吗?

Ubuntu 20.04

systemd apport
  • 2 个回答
  • 6053 Views
Martin Hope
Scott Stensland
Asked: 2020-07-10 08:40:33 +0800 CST

如何在所有快照包中搜索文件名?

  • 1

什么是 snap 等价于发行

apt-file search X11/extensions/XKBrules.h # header file some repo uses who's compile fails as it cannot find this file

# ... above returns with

libxkbfile-dev: /usr/include/X11/extensions/XKBrules.h

上面让我确定哪个 Ubuntu 包libxkbfile-dev包含文件/usr/include/X11/extensions/XKBrules.h

上面的美妙之处在于它搜索所有包,而不仅仅是那些已经安装的包

如何识别哪个快照包包含给定的文件名?(即使我还没有安装那个 snap 包)


在新机器上,为了使上述 apt-file 正常工作,机器必须进行以下运行以安装所有 Ubuntu 软件包的最新索引

sudo apt install apt-file -y  && sudo apt-file update

我正在寻找与 sn​​ap 包等效的功能

... 为什么 ?一个常见的用例是:如果我正在编译其他人的代码并且缺少头文件,那么我需要知道要安装哪个包来获取缺少的头文件(假设丢失的文件实际上存在于它经常用于 Ubuntu 包的包中并且随着项目迁移到 snap 将越来越多)

package-management apt snap
  • 1 个回答
  • 115 Views
Martin Hope
Scott Stensland
Asked: 2020-05-07 08:01:08 +0800 CST

docker ps 卡住了... docker install 也只是挂起

  • 5

docker ps永远挂起是第一个症状,所以我清除了 docker 并尝试重新安装......安装永远不会完成

dpkg -l|grep docker
iF  docker-ce                                  5:19.03.8~3-0~ubuntu-bionic                amd64        Docker: the open-source application container engine
ii  docker-ce-cli                              5:19.03.8~3-0~ubuntu-bionic                amd64        Docker CLI: the open-source application container engine

注意上面安装的docker失败iF...详情请参阅dpkg -l | head -3

在 Ubuntu 20.04 上,docker 无法完成安装

sudo apt-get install docker-ce
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  aufs-tools cgroupfs-mount containerd.io docker-ce-cli pigz
The following NEW packages will be installed:
  aufs-tools cgroupfs-mount containerd.io docker-ce docker-ce-cli pigz
0 upgraded, 6 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/85.7 MB of archives.
After this operation, 385 MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Selecting previously unselected package pigz.
(Reading database ... 272586 files and directories currently installed.)
Preparing to unpack .../0-pigz_2.4-1_amd64.deb ...
Unpacking pigz (2.4-1) ...
Selecting previously unselected package aufs-tools.
Preparing to unpack .../1-aufs-tools_1%3a4.14+20190211-1ubuntu1_amd64.deb ...
Unpacking aufs-tools (1:4.14+20190211-1ubuntu1) ...
Selecting previously unselected package cgroupfs-mount.
Preparing to unpack .../2-cgroupfs-mount_1.4_all.deb ...
Unpacking cgroupfs-mount (1.4) ...
Selecting previously unselected package containerd.io.
Preparing to unpack .../3-containerd.io_1.2.13-1_amd64.deb ...
Unpacking containerd.io (1.2.13-1) ...
Selecting previously unselected package docker-ce-cli.
Preparing to unpack .../4-docker-ce-cli_5%3a19.03.8~3-0~ubuntu-bionic_amd64.deb ...
Unpacking docker-ce-cli (5:19.03.8~3-0~ubuntu-bionic) ...
Selecting previously unselected package docker-ce.
Preparing to unpack .../5-docker-ce_5%3a19.03.8~3-0~ubuntu-bionic_amd64.deb ...
Unpacking docker-ce (5:19.03.8~3-0~ubuntu-bionic) ...
Setting up aufs-tools (1:4.14+20190211-1ubuntu1) ...
Setting up containerd.io (1.2.13-1) ...
Setting up docker-ce-cli (5:19.03.8~3-0~ubuntu-bionic) ...
Setting up pigz (2.4-1) ...
Setting up cgroupfs-mount (1.4) ...
Setting up docker-ce (5:19.03.8~3-0~ubuntu-bionic) ...
Created symlink /etc/systemd/system/multi-user.target.wants/docker.service → /lib/systemd/system/docker.service.
Created symlink /etc/systemd/system/sockets.target.wants/docker.socket → /lib/systemd/system/docker.socket.

以前的安装没问题,直到我注意到 docker ps它永远挂起......我清除了 docker,包括删除所有

apt-get purge docker-*  -y
rm -rf /var/lib/docker
systemctl daemon-reload

这是我的恰当条目

cd  /etc/apt ; grep -r docker 

sources.list.d/docker.list:deb [arch=amd64] https://download.docker.com/linux/ubuntu bionic stable

然后我在 install 上面运行,它也只是永远挂起,所以在绝望中我在下面添加到删除 cmds 列表中......没有帮助

rm /var/run/docker.pid
rm -rf /lib/systemd/system/docker.service
rm -rf /etc/docker
rm -rf /run/docker.sock
rm -rf /etc/systemd/system/docker.service.d

docker version即使以root身份也只是挂起

uname -m && uname -r && cat /etc/*release
x86_64
5.4.0-30-generic
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"
NAME="Ubuntu"
VERSION="20.04 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04 LTS"

我即将重新格式化我的笔记本电脑并从头开始重新安装 Ubuntu 20.04 ......有什么建议吗?

显然 docker-ce purge 包逻辑留下了神秘的 docker 残留物,这会阻止后续的 docker install 正常工作

PS ...我的远程 VPS ubuntu 18.04 都可以正常运行 docker 所以不知道这是否与 Ubuntu 20.04 相关,尽管我已经看到 docker 在其他 20.04 机器上运行正常

更新

是的,当我从 5.4.0-30-generic 恢复到内核 29 时,docker 工作正常,当我再次回到内核 30 时,它以同样的方式失败……这里是内核 5.4.0-30-generic

sudo journalctl -u docker

May 06 15:42:10 kiev systemd[1]: Starting Docker Application Container Engine...
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.613610505-04:00" level=info msg="Starting up"
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.615578768-04:00" level=info msg="detected 127.0.0.53 nameserver, assuming systemd-resolved, so using resolv.conf: /run/systemd/resolve/resolv.>
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.645651302-04:00" level=info msg="parsed scheme: \"unix\"" module=grpc
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.645870506-04:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.645925462-04:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" module=>
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.645942687-04:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.648421919-04:00" level=info msg="parsed scheme: \"unix\"" module=grpc
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.648915679-04:00" level=info msg="scheme \"unix\" not registered, fallback to default scheme" module=grpc
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.649020592-04:00" level=info msg="ccResolverWrapper: sending update to cc: {[{unix:///run/containerd/containerd.sock 0  <nil>}] <nil>}" module=>
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.649038754-04:00" level=info msg="ClientConn switching balancer to \"pick_first\"" module=grpc
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.845831131-04:00" level=warning msg="Your kernel does not support swap memory limit"
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.845857901-04:00" level=warning msg="Your kernel does not support cgroup blkio weight"
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.845868145-04:00" level=warning msg="Your kernel does not support cgroup blkio weight_device"
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.846071798-04:00" level=info msg="Loading containers: start."
May 06 15:42:10 kiev dockerd[6798]: time="2020-05-06T15:42:10.955282685-04:00" level=info msg="Default bridge (docker0) is assigned with an IP address 172.17.0.0/16. Daemon option --bip can be used to set>
May 06 15:42:11 kiev dockerd[6798]: time="2020-05-06T15:42:11.027647745-04:00" level=info msg="Loading containers: done."

所以问题只发生在使用内核 5.4.0-30-generic 而 5.4.0-29-generic 是可以的

docker-ce    5:19.03.8~3-0~ubuntu-bionic      amd64  

更新

docker 在当前具有内核 5.8.0-32-generic 的 Ubuntu 20.04 上是可以的

docker 20.04
  • 5 个回答
  • 8484 Views
Martin Hope
Scott Stensland
Asked: 2019-09-11 08:42:13 +0800 CST

为什么 tracker-miner-fs 占用了我 100% 的 CPU?什么是 /usr/lib/tracker/tracker-miner-fs?

  • 12

什么是 /usr/lib/tracker/tracker-miner-fs ?

man tracker-miner-fs

tracker-miner-fs - Used to crawl the file system to mine data.

有没有人有关于它寄回母舰的链接?

我关闭了所有 ubuntu 桌面搜索

设置 -> 搜索 -> 关闭

那么为什么这还在运行呢?

为什么这些系统启动的高资源猪在启动时会投入其中?至少他们应该知道足够的知识,以便在启动后低调几分钟,然后再破坏系统

这是我的上衣

 top

top - 12:18:44 up 2 days, 22:05,  1 user,  load average: 1.78, 0.93, 0.81
Tasks: 402 total,   2 running, 397 sleeping,   0 stopped,   3 zombie
%Cpu(s):  3.1 us,  0.8 sy, 12.3 ni, 81.4 id,  0.0 wa,  0.0 hi,  2.3 si,  0.0 st
MiB Mem :  11890.6 total,   2620.7 free,   6532.1 used,   2737.9 buff/cache
MiB Swap:    980.0 total,    520.4 free,    459.6 used.   4676.9 avail Mem 

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU  %MEM     TIME+ COMMAND                                                                                                      
 2465 pie       39  19  907480 181896   5516 R 100.7   1.5   0:41.54 tracker-miner-f                                                                                              
27322 pie       20   0 2815908 300964 152648 S  16.3   2.5   0:05.06 Web Content                                                                                                  
26063 pie       20   0 3446052 442824 213372 S  11.6   3.6   1:29.63 firefox-bin                                                                                                  
 2260 pie       20   0 3986768 495212  66044 S   1.7   4.1 180:56.22 gnome-shell                                                                                                  
 2591 pie       20   0 4982644 576408  60328 S   0.7   4.7  98:44.12 skypeforlinux                                                                                                
15989 pie       20   0  847760 255684  79192 S   0.7   2.1  76:30.11 opera-developer                                                                                              
   10 root      20   0       0      0      0 I   0.3   0.0   3:16.04 rcu_sched                                                                                                    
  896 root     -51   0       0      0      0 S   0.3   0.0   4:12.46 irq/129-iwlwifi                                                                                              
 1156 systemd+  20   0   23168   2976   1992 S   0.3   0.0   0:23.42 systemd-resolve                                                                                              
 7691 pie       20   0 1857912 890064 102592 S   0.3   7.3  76:55.09 brave                                                                                                        
15919 pie       20   0  609008  63460  40212 S   0.3   0.5   1:11.66 opera-developer                                                                                              
22668 pie       20   0  797876 206564  95392 S   0.3   1.7   1:01.99 brave                                                                                                        
    1 root      20   0  166808   6648   3776 S   0.0   0.1   0:42.56 systemd                            

这是pid

ps -eafww|grep 2465 
pie       2465  2131  0 Sep07 tty2     00:00:53 /usr/lib/tracker/tracker-miner-fs

这是它的 ubuntu 包

apt-file search tracker-miner-fs

tracker-miner-fs

这是包装说明

apt show  -a   tracker-miner-fs


Description: metadata database, indexer and search tool - filesystem indexer
 This package contains the tracker indexer for indexing your files and folders.
 .
 Tracker is an advanced framework for first class objects with associated
 metadata and tags. It provides a one stop solution for all metadata, tags,
 shared object databases, search tools and indexing.

为什么这个系统进程使用了​​我 100% 的 CPU?

如何清除它......不是通常的方式,因为它似乎被深深嵌入并且做一个简单的包装清除会破坏我的盒子

 sudo apt purge  tracker-miner-fs 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apturl apturl-common libcue2 libgnome-autoar-0-0 libgsf-1-114 libgsf-1-common libtagc0 libtracker-control-2.0-0 libtracker-miner-2.0-0 nautilus-data tracker tracker-extract
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  gnome-shell-extension-desktop-icons* nautilus* nautilus-share* tracker-miner-fs* ubuntu-desktop* ubuntu-desktop-minimal*
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 2,704 kB disk space will be freed.
Do you want to continue? [Y/n] 

所以让我们不要清除它......只是删除如何

sudo apt remove tracker-miner-fs 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  apturl apturl-common libcue2 libgnome-autoar-0-0 libgsf-1-114 libgsf-1-common libtagc0 libtracker-control-2.0-0 libtracker-miner-2.0-0 nautilus-data tracker tracker-extract
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
  gnome-shell-extension-desktop-icons nautilus nautilus-share tracker-miner-fs ubuntu-desktop ubuntu-desktop-minimal
0 upgraded, 0 newly installed, 6 to remove and 0 not upgraded.
After this operation, 2,704 kB disk space will be freed.
Do you want to continue? [Y/n]

所以删除它也会破坏机器(如果你删除了一个包,而它又想删除包 ubuntu-desktop 你的机器将无法正常启动,因此需要启动到恢复才能启动和运行)

这是它的 ubuntu 包的内容

dpkg -L tracker-miner-fs 
/.
/etc
/etc/xdg
/etc/xdg/autostart
/etc/xdg/autostart/tracker-miner-apps.desktop
/etc/xdg/autostart/tracker-miner-fs.desktop
/usr
/usr/lib
/usr/lib/sysctl.d
/usr/lib/sysctl.d/30-tracker.conf
/usr/lib/systemd
/usr/lib/systemd/user
/usr/lib/systemd/user/tracker-miner-apps.service
/usr/lib/systemd/user/tracker-miner-fs.service
/usr/lib/tracker
/usr/lib/tracker/tracker-miner-apps
/usr/lib/tracker/tracker-miner-fs
/usr/share
/usr/share/dbus-1
/usr/share/dbus-1/services
/usr/share/dbus-1/services/org.freedesktop.Tracker1.Miner.Applications.service
/usr/share/dbus-1/services/org.freedesktop.Tracker1.Miner.Files.service
/usr/share/doc
/usr/share/doc/tracker-miner-fs
/usr/share/doc/tracker-miner-fs/copyright
/usr/share/lintian
/usr/share/lintian/overrides
/usr/share/lintian/overrides/tracker-miner-fs
/usr/share/man
/usr/share/man/man1
/usr/share/man/man1/tracker-miner-fs.1.gz
/usr/share/tracker
/usr/share/tracker/miners
/usr/share/doc/tracker-miner-fs/changelog.Debian.gz
/usr/share/tracker/miners/org.freedesktop.Tracker1.Miner.Applications.service
/usr/share/tracker/miners/org.freedesktop.Tracker1.Miner.Files.service

我应该通过关闭它的 systemd 服务来禁用它吗?应该让它一个人呆着吗?

uname -m && uname -r && cat /etc/*release
x86_64
5.0.0-28-generic
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=19.04
DISTRIB_CODENAME=disco
DISTRIB_DESCRIPTION="Ubuntu 19.04"
NAME="Ubuntu"
VERSION="19.04 (Disco Dingo)"

我看到它使用 dconf-editor ->org->freedesktop->tracker->miner->files 启用

我看到它使用 dconf-editor ->org->freedesktop->tracker->miner->files 启用

仍然悬而未决的是谁从这次跑步中受益?我是否也可以订阅发送到母舰的提要,让我看到谁在使用我的包/应用程序,如果这是这个工具正在做的事情吗?这里的大局是什么?

performance systemd
  • 2 个回答
  • 10209 Views
Martin Hope
Scott Stensland
Asked: 2019-01-10 20:31:32 +0800 CST

如何减慢互联网连接速度?

  • 2

我有一个非常大的下载要执行,这是低优先级的。

我可以限制我的Ubuntu 18.10的网络速度,这样下载就不会阻碍我与其他计算机共享的连接吗?

我正在使用家庭 wifi 连接。

我可以使用浏览器执行此下载或 wget 等...但没有看到这样的设置。

networking wireless bandwidth download-speed
  • 1 个回答
  • 1146 Views
Martin Hope
Scott Stensland
Asked: 2019-01-08 16:32:05 +0800 CST

尽管 GNOME Shell 集成扩展正在运行,但未检测到本机主机连接器 [重复]

  • 44
这个问题在这里已经有了答案:
用于管理 GNOME 扩展的 URL extensions.gnome.org 在任何浏览器中都不起作用 5 个答案
3年前关闭。

在全新安装 18.10 时,我尝试安装 CPU 使用率小部件

https://extensions.gnome.org/extension/120/system-monitor/

在该链接上显示错误:

尽管 GNOME Shell 集成扩展正在运行,但未检测到本机主机连接器

system-monitor monitoring gnome-shell gnome-shell-extension
  • 1 个回答
  • 133556 Views
Martin Hope
Scott Stensland
Asked: 2018-11-03 17:08:37 +0800 CST

双击终端中的文本选择超出单词边界

  • 1

Ubuntu 18.10 gnome 终端 3.30.1

在 gnome 终端中,当我双击下面的单词background时,它才有意义,它应该只突出显示单词background

background=true

然而它突出了background=true

其他发行版的终端允许您编辑字符集以定义单词边界

我发出这个来找到我的 UUID

sudo dconf list /org/gnome/terminal/legacy/profiles:/

这表明

:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/

查看我发布的可用属性

sudo dconf dump /org/gnome/terminal/legacy/profiles:/

输出 :

[:b1dcc9dd-5262-4d8d-a863-c897e6d979b9]
default-size-rows=42
default-size-columns=142
use-transparent-background=true
use-theme-colors=false
use-theme-transparency=false
scrollback-unlimited=true
background-color='rgb(28,30,31)'
background-transparency-percent=3
audible-bell=false

下面用于在以前的 ubuntu 版本中定义属性word-char-exceptions

sudo dconf write /org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/word-char-exceptions '@ms "-#%&+,./:=?@_~"'  

这里的答案都不适用于 18.10 我可以指定哪些字符在 GNOME 终端中设置双击选择边界吗?

这里的更新 是有效的

gsettings set org.gnome.Terminal.Legacy.Profile:/org/gnome/terminal/legacy/profiles:/:b1dcc9dd-5262-4d8d-a863-c897e6d979b9/ word-char-exceptions  '@ms "-,.?%&#_+@~·/"' 

只需替换b1dcc9dd-5262-4d8d-a863-c897e6d979b9为您自己的 UUID 值

gnome-terminal dconf
  • 2 个回答
  • 674 Views
Martin Hope
Scott Stensland
Asked: 2018-11-01 16:43:59 +0800 CST

如何在 18.10(GNOME)中禁用自动最大化新窗口 [重复]

  • 11
这个问题在这里已经有了答案:
如何禁用 GNOME 中新启动窗口的自动最大化? (4 个回答)
3年前关闭。

在任何 18.10 应用程序上,当我打开一个非常宽的窗口然后我打开同一个应用程序的新窗口时,新窗口将自动最大化其大小。如何在创建新窗口时禁用此自动最大化?如果可能的话,我希望禁用任何类型的自动最大化窗口行为

我尝试了 18.04 中建议的解决方案,但在 18.10 上无法使用:

打开终端并运行

gsettings set org.gnome.mutter edge-tiling false

您可能还需要运行

gsettings set org.gnome.shell.overrides edge-tiling false

(18.04) 意外触摸屏幕边缘之一时如何禁用窗口大小调整?

gnome resize gnome-shell window 18.10
  • 1 个回答
  • 4897 Views
Martin Hope
Scott Stensland
Asked: 2016-03-03 18:01:43 +0800 CST

跳过获取配置文件“main/binary-i386/Packages”作为存储库“xxx”不支持体系结构“i386”

  • 277

发出以下错误消息:

sudo apt-get update

Get:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease [95.8 kB]
Ign:2 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 InRelease                                                                                                            
Ign:3 http://dl.google.com/linux/chrome/deb stable InRelease                                                                                                                         
Hit:4 http://ppa.launchpad.net/canonical-x/vulkan/ubuntu xenial InRelease                                                                                                
Hit:5 http://repo.mongodb.org/apt/debian wheezy/mongodb-org/3.2 Release                                                                            
Hit:6 http://us.archive.ubuntu.com/ubuntu xenial-security InRelease                                                  
Ign:7 http://dl.google.com/linux/talkplugin/deb stable InRelease                                                     
Hit:8 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease                                                   
Ign:9 http://linux.dropbox.com/ubuntu wily InRelease                                           
Hit:10 http://ppa.launchpad.net/numix/ppa/ubuntu xenial InRelease                              
Get:12 http://dl.google.com/linux/chrome/deb stable Release [782 B]      
Hit:13 http://dl.google.com/linux/talkplugin/deb stable Release                  
Ign:14 https://apt.dockerproject.org/repo ubuntu-wily InRelease          
Hit:15 https://apt.dockerproject.org/repo ubuntu-wily Release            
Get:16 http://dl.google.com/linux/chrome/deb stable Release.gpg [181 B]  
Hit:17 http://linux.dropbox.com/ubuntu wily Release                                  
Get:20 http://dl.google.com/linux/chrome/deb stable/main amd64 Packages [1,191 B]
Fetched 98.0 kB in 0s (118 kB/s)                                 
Reading package lists... Done
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://dl.google.com/linux/chrome/deb stable InRelease' doesn't support architecture 'i386'

这跨越了各种版本的 ubuntu

apt
  • 9 个回答
  • 260998 Views
Martin Hope
Scott Stensland
Asked: 2015-10-24 08:16:01 +0800 CST

从 15.04 升级到 15.10 得到 compiz 段错误

  • 2

从 ubuntu 15.04 升级到 15.10 后出现大量屏幕闪烁 - 系统无法使用。使用控制台 (ctrl-alt-F1) 我注意到 dmesg 说 compiz 正在终止

[  150.423110] compiz[2676]: segfault at 1001a ip 00007f142039e135 sp 00007ffc5bfc8fd0 error 4 in libc-2.21.so[7f142031f000+1c0000]
[  153.569558] compiz[2714]: segfault at ffffffffffd98b80 ip 00007f4462f8e1e1 sp 00007ffd9e82e300 error 5 in libc-2.21.so[7f4462f0f000+1c0000]
[  155.287526] compiz[2762]: segfault at 1001a ip 00007f4f0cb68135 sp 00007ffc6a1531e0 error 4 in libc-2.21.so[7f4f0cae9000+1c0000]
[  156.770911] compiz[2807]: segfault at ffffffffffcfa170 ip 00007f6675a981e1 sp 00007fffc53c4d80 error 5 in libc-2.21.so[7f6675a19000+1c0000]
[  158.249853] compiz[2846]: segfault at ffffffffffd33940 ip 00007f1f513441e1 sp 00007fff98ae6e70 error 5 in libc-2.21.so[7f1f512c5000+1c0000]

我应该尝试做:

sudo unity --reset

我正在使用:AMD 显卡

upgrade
  • 1 个回答
  • 2555 Views
Martin Hope
Scott Stensland
Asked: 2015-10-21 09:04:22 +0800 CST

如何降低窗口使其落后于所有其他窗口 - 就像鼠标中键一样

  • 5

我正在寻找相当于在光标位于窗口顶部标题栏时按下鼠标中间滚轮按钮的键盘。这会降低该窗口,使其位于所有其他窗口之后。

command-line
  • 2 个回答
  • 1662 Views
Martin Hope
Scott Stensland
Asked: 2015-07-09 07:23:11 +0800 CST

apt-get——删除触发包安装?

  • 3

我想删除并清除 apache2 - 为什么这会触发 php5-cgi 的安装?

sudo apt-get --purge 删除 apache2

阅读包裹清单...完成
构建依赖树       
正在读取状态信息...完成
以下软件包已自动安装,不再需要:
  linux-headers-3.19.0-20 linux-headers-3.19.0-20-generic linux-image-3.19.0-20-generic linux-image-extra-3.19.0-20-generic linux-signed-image- 3.19.0-20-通用 linux-tools-3.19.0-20
  linux-tools-3.19.0-20-通用
使用“apt-get autoremove”删除它们。
将安装以下额外的软件包:
  php5-cgi
推荐套餐:
  php梨
以下软件包将被删除:
  apache2* libapache2-mod-php5*
将安装以下新软件包:
  php5-cgi
0 个已升级,1 个新安装,2 个要删除,15 个未升级。
需要获得 4,419 kB 的档案。
此操作后,将使用 8,152 kB 的额外磁盘空间。
你想继续吗?[是/否] 否
中止。

当我在上面发布时,它实际上安装了那个新包!我不认为这是另一种选择

apt
  • 1 个回答
  • 2171 Views
Martin Hope
Scott Stensland
Asked: 2015-03-05 17:06:48 +0800 CST

以下软件包已被保留 [重复]

  • 6
这个问题在这里已经有了答案:
“以下包已被保留:”为什么以及如何解决? (26 个答案)
6 年前关闭。

我已经尝试了所有通常的修复方法..到目前为止没有运气

sudo apt-get dist-upgrade 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libglib2.0-0:i386 libhwloc-plugins
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.

以下都没有帮助

sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install
upgrade
  • 1 个回答
  • 30519 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