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

maan81's questions

Martin Hope
maan81
Asked: 2023-07-04 21:37:39 +0800 CST

尽管仍有大量虚拟内存,但为什么 gui 会在物理内存使用高峰时重新启动?

  • 5

这种情况经常发生。每次我看到 RAM 使用峰值时,GUI 都会重新启动。如果有任何帮助,我将不胜感激。

还需要什么其他信息?


当我在 Virtualbox 中使用 Windows 10 时,我就遇到过这种情况,我已经将其设置为消耗 6GB 内存。我有 12 GB 内存和 25 GB 交换空间。

ram
  • 1 个回答
  • 47 Views
Martin Hope
maan81
Asked: 2021-12-14 06:02:51 +0800 CST

安装 Nodejs 时出错

  • 1

遵循https://www.digitalocean.com/community/tutorials/how-to-install-node-js-on-ubuntu-20-04中的选项 2 :

$ cd ~
$ curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
$ sudo bash nodesource_setup.sh

我收到错误消息:


## Installing the NodeSource Node.js 16.x repo...


## Populating apt-get cache...

+ apt-get update
Hit:1 http://repo.mysql.com/apt/ubuntu focal InRelease
Hit:2 http://np.archive.ubuntu.com/ubuntu focal InRelease                                                                            
Hit:3 http://security.ubuntu.com/ubuntu focal-security InRelease                                                                     
Ign:4 http://oem.archive.canonical.com/updates precise-oem-sp1 InRelease                                                             
Get:5 http://oem.archive.canonical.com/updates precise-oem-sp1 Release [4,325 B]                                                     
Hit:6 http://np.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                    
Get:7 http://oem.archive.canonical.com/updates precise-oem-sp1 Release.gpg [287 B]                                                   
Ign:7 http://oem.archive.canonical.com/updates precise-oem-sp1 Release.gpg                                                           
Hit:8 https://repo.skype.com/deb stable InRelease                                                                                    
Hit:9 http://np.archive.ubuntu.com/ubuntu focal-backports InRelease                                                                  
Hit:11 https://download.sublimetext.com apt/stable/ InRelease                                         
Hit:10 https://packagecloud.io/slacktechnologies/slack/debian jessie InRelease
Reading package lists... Done                            
W: GPG error: http://oem.archive.canonical.com/updates precise-oem-sp1 Release: Detached signature file '/var/lib/apt/lists/partial/oem.archive.canonical.com_updates_dists_precise-oem-sp1_Release.gpg' is in unsupported binary format
E: The repository 'http://oem.archive.canonical.com/updates precise-oem-sp1 Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Error executing command, exiting

你能帮我解决这个问题吗?我无法继续前进,因为默认的 nodejs 是 10.19,它不受支持和维护。我在使用此版本时遇到问题,现在无法将其升级到当前版本。

apt
  • 1 个回答
  • 272 Views
Martin Hope
maan81
Asked: 2021-02-09 00:51:44 +0800 CST

升级 18.04 到 20.04 后无法安装 & 访问 & 登录 mysql

  • 0

我从 ubuntu 18.04 升级到 20.04,现在我的 mysql 不工作了。我记得在从mysql 5.7升级到mysql 8.0的过程中提到了一些注意事项;我记错了。

现在,我无法安装mysql。这就是我得到的:

maan@maan-Inspiron-5537:~$ sudo apt install mysql-server
Reading package lists... Done
Building dependency tree       
Reading state information... Done
mysql-server is already the newest version (8.0.23-0ubuntu0.20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] 

Setting up mysql-server-8.0 (8.0.23-0ubuntu0.20.04.1) ...
Renaming removed key_buffer and myisam-recover options (if present)
ERROR: Unable to start MySQL server:
2021-02-08T08:39:12.431863Z 0 [ERROR] [MY-000077] [Server] /usr/sbin/mysqld: Error while setting value 'STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_
FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' to 'sql_mode'.
2021-02-08T08:39:12.493831Z 0 [ERROR] [MY-010119] [Server] Aborting
Please take a look at https://wiki.debian.org/Teams/MySQL/FAQ for tips on fixing common upgrade issues.
Once the problem is resolved, run apt-get --fix-broken install to retry.
dpkg: error processing package mysql-server-8.0 (--configure):
 installed mysql-server-8.0 package post-installation script subprocess returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
 mysql-server depends on mysql-server-8.0; however:
  Package mysql-server-8.0 is not configured yet.

dpkg: error processing package mysql-server (--configure):
 dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
                                                                                                          Errors were encountered while processing:
 mysql-server-8.0
 mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
maan@maan-Inspiron-5537:~$ 

我不想删除现有的数据库。

有出路吗 ?

18.04
  • 1 个回答
  • 283 Views
Martin Hope
maan81
Asked: 2019-03-21 22:27:01 +0800 CST

分离在不同工作区中运行的不同应用程序[重复]

  • 2
这个问题在这里已经有了答案:
如何将 Ubuntu Dock 配置为仅从当前工作区显示窗口? (3 个回答)
3年前关闭。

如何设置任务栏(Ubuntu 扩展坞)以仅显示在当前工作区中运行的应用程序?当前单击它会显示应用程序运行的所有不同位置。

在此处输入图像描述

在这里,2 个 Firefox 窗口在不同的工作区中运行,所以我不希望它们都显示在所有工作区中。

workspaces gnome-shell ubuntu-dock
  • 1 个回答
  • 829 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