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

Pranav's questions

Martin Hope
Pranav
Asked: 2020-02-14 21:24:43 +0800 CST

如何在 ZFS 文件系统中手动导入池并退出?

  • 0

当我尝试启动 Ubuntu 19.10 时,我看到了以下错误消息:

Failed to import pool 'rpool'.

Command: /sbin/zpool import -c /etc/zfs/zpool.cache -N 'rpool' 
Message: cannot import 'rpool': one or more devices is currently unavailable. Error: 1

Manually import the pool and exit.

几个小时前,我在 CCNA 课上正常使用笔记本电脑,没有任何问题。但是当我回到家时,我开始看到那条信息。使用 live 19.10sudo zpool import可启动笔式驱动器,我可以获得. 但是不知道怎么修,出了什么问题。

让我知道是否需要更多输出来提供帮助。

zfs 19.10
  • 1 个回答
  • 1111 Views
Martin Hope
Pranav
Asked: 2019-12-15 08:39:35 +0800 CST

“ssh_askpass exec(/usr/libexec/openssh/ssh-askpass) 没有这样的文件或目录”错误当我尝试使用 VS Code 推送 Git 存储库时

  • 7

不知道发生了什么。但是突然之间我无法在 GitHub 中推送更新。一个月前,我使用 SSH 密钥将 VS Code 与 Github 集成,这样当我将更新推送到 Git 存储库时,我不必每次都输入电子邮件和密码。

我认为 BleachBit 删除了一些重要文件,并且正在发生这种情况。 但这是我的疯狂猜测。我无法证实这一点。因为除此之外我什么都没做。VS Code 过去可以正常工作。这突然发生了。如果这是 Bleachbit 的行为, 我必须小心Bleachbit。错误消息的屏幕截图。

同时,我花了一周时间思考如何解决这个问题。如果您遇到此问题,请务必将其注释掉。

当我这样做时ls /usr/bin/ssh-askpass,它说没有文件或文件夹。这可能是问题的原因。但我确实在/usr/bin中看到了这些与 ssh 相关的文件夹: ssh ssh-add //is a file that supposed to be deleted when I unistalled ssh-askpass ssh-agent //is a file ssh-argv0 ssh-copy-id ssh-keygen ssh-keyscan

ssh git github visual-studio-code 19.10
  • 3 个回答
  • 41821 Views
Martin Hope
Pranav
Asked: 2019-08-28 03:54:13 +0800 CST

如何摆脱只读文件系统?

  • 2

我尝试了很多事情,但到本周末,我将再次陷入这种情况。我是双启动用户(Windows 10 Pro 和 Ubuntu 19.04)。我保持两个操作系统都是最新的。与非常慢但稳定的 Windows 不同,这个非常快但不太稳定的发行版经常崩溃。

为了摆脱这种情况,我要做的是:

  • 使用实时 Ubuntu 19.04 可启动笔式驱动器,打开 Gparted 并检查
    sda6 和 sda8 上的错误。单独留下交换分区(sda7)。

  • 有时我使用 live ubuntu 中的这两个命令:

    须藤 fsck.ext4 -f /dev/sda6

    须藤 fsck.ext4 -f /dev/sda8

其中sda6是我的根分区,sda5是我的主分区。

  • 我也从 Grub > Recovery Mode > Root shell 执行此操作
   mount -n -o remount, rw /
   touch /forcefsck
   shutdown -r now

所有答案尝试都是在观察askubuntu和ubuntuforms.org的建议后完成的。帮我度过难关。我已经尝试了很多东西。如果还有其他机制,请告诉我。

注意:为了清楚起见,快速启动在 Window OS 中被禁用。

用户在评论中询问的一些信息可以帮助我的情况:

pranav@Inspi5548:~$ sudo blkid
[sudo] password for pranav: 
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/sda1: LABEL="Recovery" UUID="EAD20314D202E4A3" TYPE="ntfs" PARTLABEL="Ba" PARTUUID="aa5a9347-3807-406c-8a85-df356eb9be93"
/dev/sda2: UUID="8A05-F7D6" TYPE="vfat" PARTUUID="ee306771-48e7-4deb-9c8b-a23c5f0a9dc2"
/dev/sda3: LABEL="New Volume" UUID="E0E07C6CE07C4B34" TYPE="ntfs" PARTUUID="f933de5f-d72a-48c0-918c-b1915e9700f2"
/dev/sda4: UUID="D8FA2AC3FA2A9DAE" TYPE="ntfs" PARTUUID="33885b82-b903-4ee7-9d91-8192f00f2209"
/dev/sda5: UUID="B4D0303ED030095E" TYPE="ntfs" PARTUUID="2d245ea3-510c-41af-825a-4f2f1608275b"
/dev/sda6: UUID="c8e65428-6dea-4e9d-b3b0-370820a1a210" TYPE="ext4" PARTUUID="978bac65-22b0-429b-8bb9-36e97e0754a1"
/dev/sda8: UUID="a54711ee-4373-4a1b-8d06-d0f29aca9a6b" TYPE="ext4" PARTUUID="3f5e0e3c-1884-4597-bdf2-6496941b4fd1"
/dev/loop8: TYPE="squashfs"
/dev/loop9: TYPE="squashfs"
/dev/loop10: TYPE="squashfs"

pranav@Inspi5548:~$ cat /etc/fstab
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda6 during installation
UUID=c8e65428-6dea-4e9d-b3b0-370820a1a210 /               ext4    errors=remount-ro 0       1
# /boot/efi was on /dev/sda2 during installation
#UUID=8A05-F7D6  /boot/efi       vfat    umask=0077      0       1
# /home was on /dev/sda8 during installation
UUID=a54711ee-4373-4a1b-8d06-d0f29aca9a6b /home           ext4    defaults        0       2
# swap was on /dev/sda7 during installation
UUID=1ad69fff-0367-4131-b0a2-839fd5b3846f none            swap    sw              0       0
#UUID=a54711ee-4373-4a1b-8d06-d0f29aca9a6b  /boot   ext4defaults    0   2
UUID=8A05-F7D6  /boot/efi   vfat    defaults    0   1

pranav@Inspi5548:~$ ls -al ~/.local/share/gnome-shell/extensions
total 36
drwxrwxr-x 9 pranav pranav 4096 Aug 22 12:54 .
drwx------ 3 pranav pranav 4096 Aug 29 16:02 ..
drwxrwxr-x 5 pranav pranav 4096 Jul 29 16:39 caffeine@patapon.info
drwxrwxr-x 5 pranav pranav 4096 Aug  4 22:56 dash-to-dock@micxgx.gmail.com
drwxrwxr-x 4 pranav pranav 4096 Jul 29 16:24 desktop-icons@csoriano
drwxrwxr-x 6 pranav pranav 4096 Aug 11 15:26 gsconnect@andyholmes.github.io
drwxrwxr-x 2 pranav pranav 4096 Jul 29 21:33 Hide_Activities@shay.shayel.org
drwxrwxr-x 2 pranav pranav 4096 Aug 22 12:54 remove-alt-tab-delay@tetrafox.pw
drwxrwxr-x 4 pranav pranav 4096 Jul 29 16:46 status-area-horizontal-spacing@mathematical.coffee.gmail.com

此屏幕截图来自Disks“SMART Data & Self-Test”窗口,此屏幕截图来自gparted应用程序。两者均取自 Live Ubuntu 19.04。

请注意,我已使用 # 在多个位置进行评论/etc/fstab以解决问题,这是该事件之后的输出。

ubuntu@ubuntu:~$ sudo blkid
/dev/sda1: LABEL="Recovery" UUID="EAD20314D202E4A3" TYPE="ntfs" PARTLABEL="Ba" PARTUUID="aa5a9347-3807-406c-8a85-df356eb9be93"
/dev/sda2: UUID="8A05-F7D6" TYPE="vfat" PARTUUID="ee306771-48e7-4deb-9c8b-a23c5f0a9dc2"
/dev/sda3: LABEL="New Volume" UUID="E0E07C6CE07C4B34" TYPE="ntfs" PARTUUID="f933de5f-d72a-48c0-918c-b1915e9700f2"
/dev/sda4: UUID="D8FA2AC3FA2A9DAE" TYPE="ntfs" PARTUUID="33885b82-b903-4ee7-9d91-8192f00f2209"
/dev/sda5: UUID="B4D0303ED030095E" TYPE="ntfs" PARTUUID="2d245ea3-510c-41af-825a-4f2f1608275b"
/dev/sda6: UUID="c8e65428-6dea-4e9d-b3b0-370820a1a210" TYPE="ext4" PARTUUID="978bac65-22b0-429b-8bb9-36e97e0754a1"
/dev/sda8: UUID="a54711ee-4373-4a1b-8d06-d0f29aca9a6b" TYPE="ext4" PARTUUID="3f5e0e3c-1884-4597-bdf2-6496941b4fd1"
/dev/sdb1: LABEL="UBUNTU 19_0" UUID="15E4-2844" TYPE="vfat" PARTLABEL="Microsoft Basic Data" PARTUUID="5c3b9d59-eab7-47c5-85c0-55654f42445a"
/dev/loop0: TYPE="squashfs"
/dev/loop1: TYPE="squashfs"
/dev/loop2: TYPE="squashfs"
/dev/loop3: TYPE="squashfs"
/dev/loop4: TYPE="squashfs"
/dev/loop5: TYPE="squashfs"
/dev/loop6: TYPE="squashfs"
/dev/loop7: TYPE="squashfs"
/dev/loop8: TYPE="squashfs"
ubuntu@ubuntu:~$ 
filesystem dual-boot fsck read-only 19.04
  • 1 个回答
  • 652 Views
Martin Hope
Pranav
Asked: 2019-08-25 04:57:52 +0800 CST

有没有办法卸载我使用 umake 安装的 Netbeans?

  • 1

umake ide netbeans一个月前,我使用命令安装了 Netbeans。我正在使用 IntelliJ Ultimate。我到处搜索以使用 umake 卸载 Netbeans,但没有找到任何可靠的东西。是否有一些umake命令可以卸载?我在部分中没有看到任何这样的命令umake --help。

java netbeans ubuntu-make 19.04
  • 1 个回答
  • 218 Views
Martin Hope
Pranav
Asked: 2019-08-06 08:42:38 +0800 CST

如何解决“运行 Tomcat 服务器时出错(Ubuntu):端口超出范围问题”。问题?

  • 3

我正在尝试在需要 Tomcat 服务器的地方练习 Java servlet。我选择 IntelliJ 作为我的 IDE,它向我抛出了弹出消息:

Intellji 弹出错误消息的屏幕截图。

我使用了这个配置: IntelliJ Tomcat 本地服务器配置的屏幕截图。

这就是Tomcat 的 server.xml 文件中的内容,您可以在其中看到端口号也与 IntelliJ 中的端口号匹配。但默认情况下,此服务器文件中没有提及 JMX、HTTPS 和 AJP 的端口号。

现在的主要问题是,为什么 IntelliJ 在一切“看起来”都很好时会做出这样的响应?如果你解决这个问题,请帮助我。

configuration server java tomcat 19.04
  • 1 个回答
  • 8793 Views
Martin Hope
Pranav
Asked: 2019-08-02 03:26:46 +0800 CST

如何在 Intellij IDEA 中链接 Tomcat 服务器配置?

  • 1

在Java类中,我的先生告诉我链接Xampp 文件夹内的Tomcat服务器配置。但是他的操作系统是 Windows,自从我使用 Ubuntu 19.04 以来,我的情况有所不同。我从他们的官方网站安装了“ xampp-linux-x64-7.3.7-1-installer.run ” 。

但不幸的是,在我的先生 Windows 操作系统中没有这样的“ Tomcat ”文件夹。

所以我使用“ sudo apt install tomcat9 ”安装了Tomcat,假设它是最新的稳定版本。

我去 Intellij 添加 Tomcat 的本地服务器配置,并显示路径“ /etc/tomcat9 ”,但 IDE 显示“找不到应用程序服务器库”,如下面的屏幕截图所示:

错误截图

该怎么办?我错过了什么?需要帮助。

configuration java tomcat intellij 19.04
  • 1 个回答
  • 4648 Views
Martin Hope
Pranav
Asked: 2019-07-24 22:38:59 +0800 CST

是否有命令知道我的“/var/lib/dpkg/status”是否正常?确保 dpkg 及其文件没有任何问题[重复]

  • 0
这个问题在这里已经有了答案:
dpkg warning files list file for package missing 6 个答案
3年前关闭。

我运行了不同的命令。也许我也破坏了很多东西。 但到目前为止,我没有看到任何错误或崩溃。 所以我的主要问题是我怎么知道我的电脑是健康的并且没有任何问题?!我想尝试你们可能知道的所有“安全”命令,看看是否有问题。有点像“调试我的电脑”尽可能流畅。特别关注dpkg案例。如果您知道,还有其他情况。

package-management dpkg debugging 19.04
  • 1 个回答
  • 190 Views
Martin Hope
Pranav
Asked: 2019-07-22 01:02:13 +0800 CST

作为一个菜鸟,我错误地运行了“sudo chown $pranav.pranav -R /”来解决我的只读文件系统。如果这是一件坏事,我应该如何撤消它?[复制]

  • 1
这个问题在这里已经有了答案:
如果我不小心在系统目录(/、/etc、...)上运行命令“chmod -R”怎么办? (11 个答案)
如何修复“sudo:无法打开...只读文件系统”? (19 个回答)
3年前关闭。

我该怎么做才能撤消这个?我之前尝试运行 fsck 来解决我的“只读文件系统”,但它对我没有多大帮助。它只是解决了一段时间的情况,然后又回来了。所以,我在阅读了一篇文章后做了这个。

同时,我收到了数千行这样的信息:

chown: changing group of '/usr/share/doc/distro-info-data': Read-only file system
chown: changing group of '/usr/share/doc/software-properties-common/copyright': Read-only file system
chown: changing group of '/usr/share/doc/software-properties-common/changelog.gz': Read-only file system
chown: changing group of '/usr/share/doc/software-properties-common': Read-only file system
chown: changing group of '/usr/share/doc/nmap/3rd-party-licenses.txt.gz': Read-only file system
chown: changing group of '/usr/share/doc/nmap/leet-nmap-ascii-art.txt': Read-only file system
chown: changing group of '/usr/share/doc/nmap/nmap.usage.txt.gz': Read-only file system
chown: changing group of '/usr/share/doc/nmap/device-types.txt.gz': Read-only file system
chown: changing group of '/usr/share/doc/nmap/committers.txt.gz': Read-only file system
chown: changing group of '/usr/share/doc/nmap/nmap_gpgkeys.txt.gz': Read-only file system
chown: changing group of '/usr/share/doc/nmap/style/lua-format.lua.gz': Read-only file system
chown: changing group of '/usr/share/doc/nmap/style/README': Read-only file system
read-only chown 19.04
  • 2 个回答
  • 208 Views
Martin Hope
Pranav
Asked: 2019-07-03 20:46:58 +0800 CST

无法在 Ubuntu 19.04 中卸载 mysql-connector-python

  • 1

我的 Java Sir 告诉我安装 MySQL 服务器、工作台和连接器。在花了 30 多个小时阅读不同的帖子后,我以某种方式做到了这一点。

启动 Workbench 后,我转到 Tools > Start Shell for MySQL Utilities。这给了我这个弹出窗口:https ://imgur.com/GQvHKsI

按下载选项将我重定向到此网站: https ://imgur.com/ETr2nrY

安装此软件包后,每当我运行:sudo apt update,我都会收到此错误:

pranav@inspiron-5548:~$ sudo apt-get upgrade
[sudo] password for pranav: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be REMOVED:
  mysql-connector-python
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 1,362 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 216555 files and directories currently installed.)
Removing mysql-connector-python (8.0.16-1ubuntu19.04) ...
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ModuleNotFoundError: No module named 'distutils.sysconfig'
dpkg: error processing package mysql-connector-python (--remove):
 installed mysql-connector-python package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 mysql-connector-python
E: Sub-process /usr/bin/dpkg returned an error code (1)

所以,我想我应该卸载它,我使用 了 sudo apt-get remove --purge mysql-connector-python命令,但它也没有工作,它给我带来了和上面一样的错误。

该怎么办?我在这里陷入困境!由于在“mysql-utilities”中完成的任何新开发都可以追溯到 2017 年 1 月 17 日,我认为我不再需要它了。我在尝试安装旧的存档 deb 包时犯了错误。(新手)

如果你知道如何删除它,它是什么,告诉我它真的很有帮助。

mysql 19.04
  • 1 个回答
  • 2922 Views
Martin Hope
Pranav
Asked: 2019-05-23 22:54:27 +0800 CST

如何重置所有亮度修改?

  • 0

过去我遵循了许多指示,但现在情况很糟糕。比如:假设我睡觉并唤醒我的笔记本电脑,我必须再次切换亮度,以便让我的电脑知道我的亮度级别。

当我重新启动或启动笔记本电脑时也会发生这种情况。

奇怪的是有一定的亮度水平,假设它的 50% 显示在亮度面板中,但除非我不切换它,否则 PC 不会响应该亮度。

brightness 19.04
  • 1 个回答
  • 98 Views
Martin Hope
Pranav
Asked: 2019-05-19 07:46:37 +0800 CST

我已将 Grub 超时设置为 4 秒。但有时,grub 会在 30 秒后开始启动。为什么?怎么了?[复制]

  • 1
这个问题在这里已经有了答案:
无法让 grub 菜单超时(或消失) 7 个答案
3年前关闭。

gedit /etc/default/grub 输出为:

GRUB_DEFAULT=0
GRUB_TIMEOUT=4
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor"
GRUB_CMDLINE_LINUX=""

如果您需要更多输出,请告诉我。这种情况发生了五分之一。但我不希望这种情况再发生。任何帮助,将不胜感激。

grub2 19.04
  • 1 个回答
  • 330 Views
Martin Hope
Pranav
Asked: 2019-05-18 18:34:41 +0800 CST

卸载“Xtreme 下载管理器”后,在搜索应用程序中键入“X”时仍会看到它的图标

  • 1

我按照应用程序开发人员在自述文件中提到的此步骤将其卸载:

  1. 卸载/opt/xdman/uninstall.sh以 root 身份运行

我什至重新启动以查看它是否消失,但它没有。我尝试了我无法使用“删除”来卸载 xtreme 下载管理器中提到的解决方案, 但它也不起作用。

任何帮助表示赞赏。

截屏

gnome-shell 19.04
  • 1 个回答
  • 543 Views
Martin Hope
Pranav
Asked: 2019-05-12 05:20:44 +0800 CST

无法在启动应用程序中执行两个命令

  • 3

我indicator-stickynotes在启动应用程序中使用命令,效果很好。我将其修改为sleep 30;indicator-sticknotes. 我在不同的文章中甚至在这个网站上都读过这个。但这对我不起作用。

这就像是:

前

我将其修改为:

后

startup-applications 19.04
  • 1 个回答
  • 1521 Views
Martin Hope
Pranav
Asked: 2019-05-10 05:20:14 +0800 CST

在 Ubuntu 19.04 中,“Indicator Stickynotes”停止工作。打不开。不显示在任务栏中

  • 1
pranav@inspiron-5548 : ~ $indicator-stickynotes
指示便笺已在运行。

这就是终端方法。下面给出的 gif 是打开这个应用程序的 GUI 方法:

尝试使用便签的行为

正如您在上面的 gif 中看到的那样,该应用程序根本没有响应。

我应该怎么办?我真的非常需要这个。它既好又简单。阿拉什... 应用图片

除非您没有意见,否则不要提及其他“便笺”。

gnome indicator 19.04
  • 1 个回答
  • 2538 Views
Martin Hope
Pranav
Asked: 2019-04-23 21:12:27 +0800 CST

亮度条和按钮都没有响应。(Ubuntu 19.04)

  • 1

所以我关注了这篇文章,但由于这个输出我被卡住了:

ln: failed to create symbolic link '/sys/class/brightness': Operation not permitted.

我想尝试的是:

$ cd /sys/class此目录应包含一个软链接,该链接称为brightness上一步中发现的亮度设备。如果它丢失,创建它:$ sudo ln -s /sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight/brightness /sys/class/brightness

请注意:/sys/class 内没有“亮度”文件夹。但是有“背光”文件夹。我应该怎么办?应该“亮度”文件夹/文件吗?

创建文件,给我,“不允许操作”。我使用“猫>亮度”命令。它没有用。现在我唯一的选择是创建一个文件夹。

同时,我无法通过“亮度”按钮控制亮度。即使手动移动“亮度条”也没有响应。

亮度条截图

亮度按钮和栏曾经工作,但不知道发生了什么。我该如何解决这个问题?

brightness 19.04
  • 2 个回答
  • 1511 Views
Martin Hope
Pranav
Asked: 2019-04-20 10:59:11 +0800 CST

升级到 19.04 后,我应该如何处理由于某种原因被禁用的所有 PPA?

  • 2

由于对于软件/操作系统更新,PPA 可以发挥至关重要的作用。所以:

  • 我应该启用它们吗?或者我应该启用那些说“迪斯科”的人吗?
  • 或者我应该删除所有没有说“迪斯科”的东西?

应用程序更新很重要。除非我解决了这个问题,否则运行“ apt-get update ”不会检查更新。

“软件与更新”中心截图

以防万一,这可能对这种情况有用:

$ ls /etc/apt/sources.list.d/
alexlarsson-ubuntu-flatpak-cosmic.list
alexlarsson-ubuntu-flatpak-cosmic.list.save
apandada1-ubuntu-brightness-controller-cosmic.list
apandada1-ubuntu-brightness-controller-cosmic.list.save
bit-team-ubuntu-stable-cosmic.list
bit-team-ubuntu-stable-cosmic.list.distUpgrade
bit-team-ubuntu-stable-cosmic.list.save
communitheme-ubuntu-ppa-cosmic.list
communitheme-ubuntu-ppa-cosmic.list.save
gnome-shell-extensions-ubuntu-ppa-cosmic.list
gnome-shell-extensions-ubuntu-ppa-cosmic.list.distUpgrade
gnome-shell-extensions-ubuntu-ppa-cosmic.list.save
google-chrome.list
google-chrome.list.distUpgrade
google-chrome.list.save
libreoffice-ubuntu-ppa-cosmic.list
libreoffice-ubuntu-ppa-cosmic.list.distUpgrade
libreoffice-ubuntu-ppa-cosmic.list.save
mysql.list
mysql.list.distUpgrade
mysql.list.save
ne0sight-ubuntu-chrome-gnome-shell-cosmic.list
ne0sight-ubuntu-chrome-gnome-shell-cosmic.list.save
noobslab-ubuntu-apps-cosmic.list
noobslab-ubuntu-apps-cosmic.list.distUpgrade
noobslab-ubuntu-apps-cosmic.list.save
noobslab-ubuntu-icons-cosmic.list
noobslab-ubuntu-icons-cosmic.list.distUpgrade
noobslab-ubuntu-icons-cosmic.list.save
noobslab-ubuntu-themes-cosmic.list
noobslab-ubuntu-themes-cosmic.list.distUpgrade
noobslab-ubuntu-themes-cosmic.list.save
oguzhaninan-ubuntu-stacer-cosmic.list
oguzhaninan-ubuntu-stacer-cosmic.list.save
rvm-ubuntu-smplayer-cosmic.list
rvm-ubuntu-smplayer-cosmic.list.save
scribus-ubuntu-ppa-cosmic.list
scribus-ubuntu-ppa-cosmic.list.distUpgrade
scribus-ubuntu-ppa-cosmic.list.save
shutter-ubuntu-ppa-cosmic.list
shutter-ubuntu-ppa-cosmic.list.save
sublime-text.list
sublime-text.list.distUpgrade
sublime-text.list.save
ubuntu-mozilla-security-ubuntu-ppa-cosmic.list
ubuntu-mozilla-security-ubuntu-ppa-cosmic.list.save
umang-ubuntu-indicator-stickynotes-cosmic.list
umang-ubuntu-indicator-stickynotes-cosmic.list.distUpgrade
umang-ubuntu-indicator-stickynotes-cosmic.list.save
vscode.list
vscode.list.distUpgrade
vscode.list.save
webupd8team-ubuntu-java-cosmic.list
webupd8team-ubuntu-java-cosmic.list.distUpgrade
webupd8team-ubuntu-java-cosmic.list.save
windscribe-repo.list
windscribe-repo.list.distUpgrade
windscribe-repo.list.save
ppa 19.04
  • 1 个回答
  • 1824 Views
Martin Hope
Pranav
Asked: 2019-04-19 20:32:12 +0800 CST

从 18.10 升级到 19.04 时发生异常事件

  • 1

相机拍摄的照片

我使用“ sudo do-release-update ”命令并开始更新和升级。

现在我不知道发生了什么。显示弹出信息,“Esc”按钮不会关闭该信息。没有“确定”选项可以关闭此信息。我应该怎么办?

我担心如果出了什么问题。我是否要重新启动或关闭或再次键入“sudo do-release-update”?

主要问题:我如何从终端关闭“配置 ttf-mscorefonts-installer ”信息而不关闭终端并且没有更新过程中发生的事情。

updates upgrade 18.10 19.04
  • 1 个回答
  • 156 Views
Martin Hope
Pranav
Asked: 2019-02-27 11:13:51 +0800 CST

Flathub 告诉我为 LibreOffice 做点什么。老实说,我不知道该怎么做[重复]

  • -1
这个问题在这里已经有了答案:
“错误:未在环境中设置 XDG_RUNTIME_DIR。” 尝试以 root 身份运行 nautilus 时 4 个答案
如何安装最新的稳定版 LibreOffice? (9 个回答)
永久 PATH 变量 (3 个答案)
3年前关闭。

这是带有 Windows 10 的 Ubuntu 18.10 双引导。

显然,获取最新 LibreOffice 的唯一方法是通过 Flatpak 或从官方网站下载 zip。

根据下面的“注意”声明,我应该在哪里以及在哪里进行更改?

$ sudo flatpak install flathub org.libreoffice.LibreOffice
Installing in system:
org.libreoffice.LibreOffice/x86_64/stable        flathub 1bf7758dc1d7
  permissions: ipc, network, pulseaudio, wayland, x11, dri
  file access: host, xdg-run/dconf
  dbus access: ca.desrt.dconf, org.gtk.vfs.*
  dbus ownership: org.libreoffice.LibreOfficeIpc0
org.libreoffice.LibreOffice.Locale/x86_64/stable flathub 4a88b1bc88e1
Is this ok [y/n]: y
Installing: org.libreoffice.LibreOffice/x86_64/stable from flathub
[####################] 418 metadata, 4841 content objects fetched; 253117 KiB transferred in 776 seconds
Now at 1bf7758dc1d7.
Installing: org.libreoffice.LibreOffice.Locale/x86_64/stable from flathub
[####################] 10 metadata, 71 content objects fetched; 1021 KiB transferred in 7 seconds
Now at 4a88b1bc88e1.

Note that '/var/lib/flatpak/exports/share' is not in the search path
set by the XDG_DATA_HOME and XDG_DATA_DIRS
environment variables, so applications may not
be able to find it until you set them. The
directories currently searched are:

- /home/pranav/.local/share
- /usr/local/share/
- /usr/share/

如果案件已结案,我没有得到实际帮助:https ://www.reddit.com/r/Ubuntu/comments/av15lq/flathub_warning_help_need_some_help_screenshot/

environment-variables libreoffice
  • 1 个回答
  • 1188 Views
Martin Hope
Pranav
Asked: 2019-02-09 12:40:41 +0800 CST

如何设置 RESUME 变量来覆盖这些问题?

  • 29

我有一个带有 Windows 10 的 Ubuntu 18.10 双启动。我认为由于下面的错误,我的 Ubuntu 最近在重新启动/启动时崩溃/挂起很多。

$ sudo apt-get --with-new-pkgs upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following NEW packages will be installed:
  linux-headers-4.18.0-15 linux-headers-4.18.0-15-generic linux-image-4.18.0-15-generic linux-modules-4.18.0-15-generic
  linux-modules-extra-4.18.0-15-generic
The following packages will be upgraded:
  linux-generic linux-headers-generic linux-image-generic
3 upgraded, 5 newly installed, 0 to remove and 0 not upgraded.
Need to get 66.0 MB of archives.
After this operation, 329 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-modules-4.18.0-15-generic amd64 4.18.0-15.16 [13.4 MB]
Get:2 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-image-4.18.0-15-generic amd64 4.18.0-15.16 [8,154 kB]                     
Get:3 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-modules-extra-4.18.0-15-generic amd64 4.18.0-15.16 [32.7 MB]              
Get:4 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-generic amd64 4.18.0.15.16 [1,868 B]                                      
Get:5 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-image-generic amd64 4.18.0.15.16 [2,480 B]                                
Get:6 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-headers-4.18.0-15 all 4.18.0-15.16 [10.5 MB]                              
Get:7 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-headers-4.18.0-15-generic amd64 4.18.0-15.16 [1,195 kB]                   
Get:8 http://archive.ubuntu.com/ubuntu cosmic-updates/main amd64 linux-headers-generic amd64 4.18.0.15.16 [2,440 B]                              
Fetched 66.0 MB in 2min 25s (456 kB/s)                                                                                                           
Selecting previously unselected package linux-modules-4.18.0-15-generic.
(Reading database ... 197143 files and directories currently installed.)
Preparing to unpack .../0-linux-modules-4.18.0-15-generic_4.18.0-15.16_amd64.deb ...
Unpacking linux-modules-4.18.0-15-generic (4.18.0-15.16) ...
Selecting previously unselected package linux-image-4.18.0-15-generic.
Preparing to unpack .../1-linux-image-4.18.0-15-generic_4.18.0-15.16_amd64.deb ...
Unpacking linux-image-4.18.0-15-generic (4.18.0-15.16) ...
Selecting previously unselected package linux-modules-extra-4.18.0-15-generic.
Preparing to unpack .../2-linux-modules-extra-4.18.0-15-generic_4.18.0-15.16_amd64.deb ...
Unpacking linux-modules-extra-4.18.0-15-generic (4.18.0-15.16) ...
Preparing to unpack .../3-linux-generic_4.18.0.15.16_amd64.deb ...
Unpacking linux-generic (4.18.0.15.16) over (4.18.0.14.15) ...
Preparing to unpack .../4-linux-image-generic_4.18.0.15.16_amd64.deb ...
Unpacking linux-image-generic (4.18.0.15.16) over (4.18.0.14.15) ...
Selecting previously unselected package linux-headers-4.18.0-15.
Preparing to unpack .../5-linux-headers-4.18.0-15_4.18.0-15.16_all.deb ...
Unpacking linux-headers-4.18.0-15 (4.18.0-15.16) ...
Selecting previously unselected package linux-headers-4.18.0-15-generic.
Preparing to unpack .../6-linux-headers-4.18.0-15-generic_4.18.0-15.16_amd64.deb ...
Unpacking linux-headers-4.18.0-15-generic (4.18.0-15.16) ...
Preparing to unpack .../7-linux-headers-generic_4.18.0.15.16_amd64.deb ...
Unpacking linux-headers-generic (4.18.0.15.16) over (4.18.0.14.15) ...
Setting up linux-headers-4.18.0-15 (4.18.0-15.16) ...
Setting up linux-modules-4.18.0-15-generic (4.18.0-15.16) ...
Setting up linux-headers-4.18.0-15-generic (4.18.0-15.16) ...
Setting up linux-image-4.18.0-15-generic (4.18.0-15.16) ...
I: /vmlinuz.old is now a symlink to boot/vmlinuz-4.18.0-14-generic
I: /initrd.img.old is now a symlink to boot/initrd.img-4.18.0-14-generic
I: /vmlinuz is now a symlink to boot/vmlinuz-4.18.0-15-generic
I: /initrd.img is now a symlink to boot/initrd.img-4.18.0-15-generic
Setting up linux-modules-extra-4.18.0-15-generic (4.18.0-15.16) ...
Setting up linux-headers-generic (4.18.0.15.16) ...
Setting up linux-image-generic (4.18.0.15.16) ...
Setting up linux-generic (4.18.0.15.16) ...
Processing triggers for linux-image-4.18.0-15-generic (4.18.0-15.16) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.18.0-15-generic
I: The initramfs will attempt to resume from /dev/sda5
I: (UUID=09e25397-4a2c-4fb0-a605-a7013eecb59c)
I: Set the RESUME variable to override this.
/etc/kernel/postinst.d/zz-update-grub:
Sourcing file `/etc/default/grub'
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-4.18.0-15-generic
Found initrd image: /boot/initrd.img-4.18.0-15-generic
Found linux image: /boot/vmlinuz-4.18.0-14-generic
Found initrd image: /boot/initrd.img-4.18.0-14-generic
Found linux image: /boot/vmlinuz-4.18.0-13-generic
Found initrd image: /boot/initrd.img-4.18.0-13-generic
Found Windows Boot Manager on /dev/sda2@/EFI/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for EFI firmware configuration
done
dual-boot crash 18.10
  • 3 个回答
  • 62933 Views
Martin Hope
Pranav
Asked: 2019-02-08 03:43:14 +0800 CST

“sudo gparted”不起作用。它说,“进程 gpartedbin 已经在运行。只允许一个 gpartedbin 进程。”

  • 1

截图图片:

这是使用 Windows 10 双启动的 Ubuntu 18.10。 出于某种原因,我一直无法通过单击其应用程序图标启动 Gparted。所以我每次都必须通过终端启动它。

有时它会发出以下警告:

tmp.mount 不存在。

有时它会给出这个错误:

进程 gpartedbin 已经在运行。只允许一个 gpartedbin 进程。”

dual-boot gparted 18.10
  • 1 个回答
  • 2273 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