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

Dims's questions

Martin Hope
Dims
Asked: 2020-08-10 06:50:55 +0800 CST

如何“从 Launchpad PPA 中删除软件”以进行发布升级?

  • 7

我正在尝试使用命令从 16 LTS 升级

sudo do-release-upgrade

但它失败了

Could not calculate the upgrade

An unresolvable problem occurred while calculating the upgrade.

This was likely caused by:
* Unofficial software packages not provided by Ubuntu
Please use the tool 'ppa-purge' from the ppa-purge
package to remove software from a Launchpad PPA and
try the upgrade again.

If none of this applies, then please report this bug using the
command 'ubuntu-bug ubuntu-release-upgrader-core' in a terminal.If
you want to investigate this yourself the log files in
'/var/log/dist-upgrade' will contain details about the upgrade.
Specifically, look at 'main.log' and 'apt.log'.

她想要什么,如何满足她?我试图从中删除所有软件包,launchpad.net但没有帮助。

launchpad ppa apt 16.04 do-release-upgrade
  • 1 个回答
  • 2296 Views
Martin Hope
Dims
Asked: 2019-10-31 06:15:19 +0800 CST

vncserver下如何去掉xfce4并切换到KDE?[复制]

  • 1
这个问题在这里已经有了答案:
如何从我的计算机中删除 XFCE? (6 个回答)
2年前关闭。

我已经安装了tigervnc 服务器和xfce

 sudo apt install xfce4 xfce4-goodies

并且工作了一段时间。然后我决定尝试 KDE 并做到了

sudo apt install kubuntu-desktop
sudo apt remove xfce4

但尽管如此,我还是xfce4在 vnc 屏幕上。如何删除它并切换到 KDE?

kde kubuntu vnc xfce
  • 1 个回答
  • 1700 Views
Martin Hope
Dims
Asked: 2018-08-24 01:00:50 +0800 CST

Ubuntu 在 SSD 上的加载速度与在 HDD 上的加载速度相同

  • 0

我在笔记本电脑中将 HDD (WDC WD10JPVX-75JC3T0) 更改为 SSD (WDS500G2B0A),发现它以相同的速度加载(没有我预期的更快)。

为什么?

我按 1:1 复制分区,可能我还需要更改一些设置吗?


“速度”是指冷启动时间。


这是dmesg输出的一部分:

[    9.107913] EXT4-fs (sda5): mounted filesystem with ordered data mode. Opts: (null)
[    9.197366] audit: type=1400 audit(1538597657.730:2): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/snap/core/4917/usr/lib/snapd/snap-confine" pid=845 comm="apparmor_parser"
[    9.197377] audit: type=1400 audit(1538597657.730:3): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/snap/core/4917/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" p
id=845 comm="apparmor_parser"
[    9.198964] audit: type=1400 audit(1538597657.730:4): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/sbin/dhclient" pid=844 comm="apparmor_parser"
[    9.198974] audit: type=1400 audit(1538597657.730:5): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-client.action" pid=844 comm="apparmor_parser"
[    9.198980] audit: type=1400 audit(1538597657.730:6): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/NetworkManager/nm-dhcp-helper" pid=844 comm="apparmor_parser"
[    9.198987] audit: type=1400 audit(1538597657.730:7): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/connman/scripts/dhclient-script" pid=844 comm="apparmor_parser"
[    9.201702] audit: type=1400 audit(1538597657.734:8): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session" pid=843 comm="apparmor_parser"
[    9.201712] audit: type=1400 audit(1538597657.734:9): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/lightdm/lightdm-guest-session//chromium" pid=843 comm="apparmor_pars
er"
[    9.204268] audit: type=1400 audit(1538597657.734:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine" pid=853 comm="apparmor_parser"
[    9.204279] audit: type=1400 audit(1538597657.734:11): apparmor="STATUS" operation="profile_load" profile="unconfined" name="/usr/lib/snapd/snap-confine//mount-namespace-capture-helper" pid=853 comm="a
pparmor_parser"
[   97.452870] bbswitch: version 0.8
[   97.452876] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0

如您所见,它在 90 秒内什么都不做。它有什么作用?

ssd 16.04
  • 1 个回答
  • 71 Views
Martin Hope
Dims
Asked: 2018-07-03 03:30:54 +0800 CST

如何使用 xfce 删除工作区?

  • 3

我不小心在 xfce 中创建了很多工作区

在此处输入图像描述

现在如何删除其中一些?

workspaces xfce 14.04
  • 1 个回答
  • 2768 Views
Martin Hope
Dims
Asked: 2018-07-02 10:17:49 +0800 CST

如何在不使用 Xfce 中的键盘的情况下切换工作区?

  • 1

每个操作都应该可以用鼠标和键盘来完成。

如何在 Xfce 中不使用键盘切换工作区?

workspaces xfce workspace-switcher
  • 3 个回答
  • 5099 Views
Martin Hope
Dims
Asked: 2017-08-18 06:52:41 +0800 CST

如何找到谁使用 Ctrl-Alt-Back 组合?

  • 1

在 Jetbrains IDE 之类的 IDEPyCharm中,组合键Ctrl-Alt-Back用于导航到代码中的先前位置(例如 Web 浏览器历史记录)。

在此处输入图像描述

不幸的是,在Ubuntu这种组合下不起作用。怎么知道,谁持有?

keyboard
  • 1 个回答
  • 50 Views
Martin Hope
Dims
Asked: 2017-08-16 09:40:36 +0800 CST

如何告诉 Ubuntu 硬件时钟是当地时间?

  • 6

如何告诉 Ubuntu 硬件时钟是当地时间?

此命令没有帮助:

timedatectl set-local-rtc 1
16.04
  • 1 个回答
  • 46229 Views
Martin Hope
Dims
Asked: 2017-07-29 03:11:08 +0800 CST

我应该如何将主机名添加到 /etc/hosts?

  • 5

关于如何更改 Ubuntu 的主机名有几个答案,他们都建议对/etc/hosts. “相同”代表“与中相同/etc/hostanme”。但不幸的是,这些文件具有完全不同的格式,并且不能以“相同”的方式进行更改。

所以,问题是:写什么hosts才能拥有 hostname myname?

目前我的hosts包含:

127.0.0.1 localhost

和一些我不明白的 IPv6 东西。

那么,我应该用 替换localhost,myname真的吗?

networking
  • 1 个回答
  • 18317 Views
Martin Hope
Dims
Asked: 2017-02-14 13:10:16 +0800 CST

如何查找所有带零的文件,包括带空格的文件名?

  • 2

在这个答案https://askubuntu.com/a/216889/50183中,我找到了一个列出所有文件的命令,用零填充:

find -type f -printf "%S\t%p\n" 2>/dev/null | awk '{if ($1 < 1.0) print $1 $2}'

不幸的是,它无法捕获带有空格的文件名和路径。

怎么提高?

command-line
  • 1 个回答
  • 207 Views
Martin Hope
Dims
Asked: 2016-09-11 14:31:39 +0800 CST

如何在 Ubuntu Server 16.04 上删除 GUI?

  • 7

我不想只有命令行的服务器机器。所以,我希望从服务器上移除 GUI,它是在升级过程中自动安装的。

同时,我不想删除X,因为我仍然希望能够在or上运行X Window应用程序。VNCXServer

怎么做?

更新

sudo apt-get remove ubuntustudio-desktop

没有帮助

更新 2

改变

#GRUB_CMDLINE_LINUX_DEFAULT="quiet splash console=tty1"
GRUB_CMDLINE_LINUX_DEFAULT="text"

inetc/default/grub没有帮助(它只在启动阶段影响图形)

更新 3

更改为

env DEFAULT_RUNLEVEL=3

在/etc/init/rc-sysinit.conf没有帮助。

更新 4

$ ls /usr/share/xsessions
ubuntustudio.desktop  xfce.desktop

更新 5

将“手动”添加到lightdm.override

$ cat /etc/init/lightdm.override
manual

没有帮助,虽然停止lightdm服务

sudo service lightdm stop

关闭桌面。如何使该服务永远不会运行?

更新 6

$ sudo update-rc.d lightdm disable
insserv: warning: current start runlevel(s) (empty) of script `lightdm' overrides LSB defaults (2 3 4 5).
insserv: warning: current stop runlevel(s) (0 1 2 3 4 5 6) of script `lightdm' overrides LSB defaults (0 1 6).

没有帮助

解决方案

systemctl disable lightdm.service

帮助,谢谢@steeldriver

16.04
  • 1 个回答
  • 19841 Views
Martin Hope
Dims
Asked: 2014-10-20 10:20:51 +0800 CST

我怎么可能退出 sudoers?[复制]

  • 9
这个问题在这里已经有了答案:
如何将自己重新添加为 sudo 用户? (5 个答案)
我不小心将自己从 sudoers 中删除了,我该如何解决这个问题?[重复] (1 个回答)
7 年前关闭。

我开始收到消息

dims is not in the sudoers file.  This incident will be reported.

关于我自己。

怎么会这样?

我发出的可疑命令是创建“高级”组并将我自己添加到其中。

addgroup advanced
usermod -G advanced dims

这会破坏我的 sudo 权利吗?

sudo
  • 1 个回答
  • 936 Views
Martin Hope
Dims
Asked: 2014-10-08 05:29:59 +0800 CST

mldonkey-server 配置文件在哪里?

  • 3

我已经安装了 mldonkey-server

sudo apt-get install mldonkey-server

它已安装并正在运行。telnet localhost 和 Web 界面都不可用。

$ telnet 127.0.0.1 4000
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
Telnet connection from 127.0.0.1 rejected (see allowed_ips setting)
Connection closed by foreign host.

现在如何检查它的配置?我找不到它在哪里。在手册中说,mldonkey 配置与安装应用程序的位置相同。但是我在使用 apt-get 时不控制这个地方。

14.04
  • 1 个回答
  • 1746 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