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
    • 最新
    • 标签
主页 / ubuntu / 问题

问题[bleachbit](ubuntu)

Martin Hope
Austin Rojers
Asked: 2020-07-26 02:43:10 +0800 CST

我无法到达登录屏幕

  • 0

我正在使用bleachbit然后系统卡住了它不工作我强制关闭现在当我重新启动时我无法进入登录屏幕我进入tty并发现系统没有剩余空间。请帮帮我,我在根分区中有很多重要文件

login-screen tty bleachbit
  • 1 个回答
  • 229 Views
Martin Hope
Shempklong
Asked: 2020-04-09 16:35:57 +0800 CST

安装 BleachBit 时遇到问题

  • 1

我有 ubuntu 18.04 LTS,我想获得 BleachBit,当我尝试通过命令行时,我收到以下错误消息:

 Preconfiguring packages ...
(Reading database ... 168709 files and directories currently installed.)
Removing linux-image-4.15.0-20-generic (4.15.0-20.21) ...
/etc/kernel/postrm.d/initramfs-tools:
update-initramfs: Deleting /boot/initrd.img-4.15.0-20-generic
/etc/kernel/postrm.d/zz-update-grub:
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE) 
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
(EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
run-parts: /etc/kernel/postrm.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-4.15.0-20-generic (--remove):
 installed linux-image-4.15.0-20-generic package post-removal script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-4.15.0-20-generic
E: Sub-process /usr/bin/dpkg returned an error code (1)

这是 Xorg.0.log 中的内容:

[  2545.601] _XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
[  2545.602] _XSERVTransMakeAllCOTSServerListeners: server already running
[  2545.602] (EE) 
Fatal server error:
[  2545.603] (EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
[  2545.603] (EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
[  2545.604] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[  2545.604] (EE) 
[  2545.604] (EE) Server terminated with error (1). Closing log file.

我曾经sudo service lightdm stop尝试杀死 xserver 并得到“无法停止 lightdm.service:未加载单元 lightdm.service。”

当我尝试从网站安装时,我在通知中收到此错误消息:“无法安装 BleachBit:安装包时出错:安装的 linux-image-4.15.0-20-generic 包删除后脚本子进程返回错误退出状态1"

所以我在这里不知所措。当我查找错误消息时,我没有找到任何可以帮助我的东西。在尝试安装 ffmpeg 时,我也遇到了同样的命令行错误。我将不胜感激任何帮助。谢谢。

编辑:我去了 wiki.x.org,到https://www.x.org/wiki/FAQErrorMessages/,它说尝试netstat -ln但未找到命令 netstat,我在尝试安装时收到相同的错误消息.

EDIT2:cat /etc/apt/sources.list返回:

# deb cdrom:[Ubuntu 18.04 LTS _Bionic Beaver_ - Release amd64 (20180426)]/ bionic main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic universe
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic multiverse
deb http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-updates multiverse

## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse
# deb-src http://us.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu bionic partner
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu bionic-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu bionic-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu bionic-security multiverse
deb http://archive.canonical.com/ bionic partner
# deb-src http://archive.canonical.com/ bionic partner
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse

EDIT3:sudo dpkg --configure -a && sudo apt update --fix-missing -y && sudo apt install -f -y && sudo apt full-upgrade -y返回:

Setting up linux-image-4.15.0-29-generic (4.15.0-29.31) ...
Processing triggers for linux-image-4.15.0-29-generic (4.15.0-29.31) ...
/etc/kernel/postinst.d/initramfs-tools:
update-initramfs: Generating /boot/initrd.img-4.15.0-29-generic
/etc/kernel/postinst.d/zz-update-grub:
_XSERVTransSocketUNIXCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: server already running
(EE) 
Fatal server error:
(EE) Cannot establish any listening sockets - Make sure an X server isn't already running(EE) 
(EE) 
Please consult the The X.Org Foundation support 
     at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
run-parts: /etc/kernel/postinst.d/zz-update-grub exited with return code 1
dpkg: error processing package linux-image-4.15.0-29-generic (--configure):
 installed linux-image-4.15.0-29-generic package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 linux-image-4.15.0-29-generic

EDIT4:输出cat /etc/default/grub为:

# If you change this file, run 'update-grub' afterwards to update
# /boot/grub/grub.cfg.
# For full documentation of the options in this file, see:
#   info -f grub -n 'Simple configuration'

GRUB_DEFAULT=0
#GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_TIMEOUT=10
GRUB_DISTRIBUTOR=`lsb_release -i -s 2> /dev/null || echo Debian`
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash intel_idle.max_cstate=1"
GRUB_CMDLINE_LINUX=""

# Uncomment to enable BadRAM filtering, modify to suit your needs
# This works with Linux (no patch required) and with any kernel that obtains
# the memory map information from GRUB (GNU Mach, kernel of FreeBSD ...)
#GRUB_BADRAM="0x01234567,0xfefefefe,0x89abcdef,0xefefefef"

# Uncomment to disable graphical terminal (grub-pc only)
#GRUB_TERMINAL=console

# The resolution used on graphical terminal
# note that you can use only modes which your graphic card supports via VBE
# you can see them in real GRUB with the command `vbeinfo'
#GRUB_GFXMODE=640x480

# Uncomment if you don't want GRUB to pass "root=UUID=xxx" parameter to Linux
#GRUB_DISABLE_LINUX_UUID=true

# Uncomment to disable generation of recovery mode menu entries
#GRUB_DISABLE_RECOVERY="true"

# Uncomment to get a beep at grub start
#GRUB_INIT_TUNE="480 440 1"
X
sudo update-grub
X

X

sudo update-grub
grub2 xorg dpkg lightdm bleachbit
  • 1 个回答
  • 285 Views
Martin Hope
A.K.
Asked: 2019-08-21 12:35:14 +0800 CST

以 root 身份运行时出现 Bleachbit 错误

  • 0

我最近在漂白位中遇到 2 个错误

最近的文档列表 0
错误:system.memory:功能:内存
回溯(最近一次通话最后):
  文件“/usr/share/bleachbit/Worker.py”,第 83 行,在执行中
    对于 cmd.execute(self.really_delete) 中的 ret:
  文件“/usr/share/bleachbit/Command.py”,第 147 行,在执行中
    对于 self.func() 中的 func_ret:
  文件“/usr/share/bleachbit/Memory.py”,第 302 行,在wipe_memory
    擦除交换linux(设备,proc_swaps)
  文件“/usr/share/bleachbit/Memory.py”,第 274 行,wipe_swap_linux
    logger.info(_("正在擦除交换设备 %s。"), device)
UnboundLocalError:分配前引用的局部变量“_”
覆盖可用磁盘空间 /root/.cache 0
kde python bleachbit
  • 1 个回答
  • 176 Views
Martin Hope
jim
Asked: 2019-01-21 05:04:20 +0800 CST

Bleach Bit - 如何通过命令行擦除可用空间?

  • 3

我试图弄清楚如何通过带有 Bleach Bit 的 Ubuntu 16.04 上的命令行运行“擦除可用磁盘空间”。看起来bleachbit 命令实用程序只能擦除特定的缓存。有人对如何做到这一点有任何想法吗?

我在 Bleach Bit GUI 中提到的选项

bleachbit
  • 2 个回答
  • 1589 Views
Martin Hope
acgbox
Asked: 2018-11-18 08:53:54 +0800 CST

root的bleachbit配置文件在哪里

  • 0

如果我想为用户编辑bleachbit 配置文件,我可以访问:

.config/bleachbit/bleachbit.ini

如果我以 root 身份运行bleachbit GUI,它比我以用户身份运行bleachbit 有更多的选项。我在“bleachbit.ini”中找不到这些“额外”选项。

root的bleachbit配置文件在哪里?(Ubuntu 18.04)

root 18.04 bleachbit
  • 1 个回答
  • 372 Views
Martin Hope
Wok
Asked: 2018-08-20 03:47:29 +0800 CST

如何防止 BleachBit 重置文件关联

  • 0

在我运行BleachBit后,PDF、EPUB、JPG 和 PNG 的文件关联被重置为系统的默认值(我使用的是 Windows,所以默认值为 Microsoft Edge 或 Windows Image Viewer)。

我不知道要勾选哪个选项以防止BleachBit重置文件关联。我在软件或网上找不到任何有关此的信息。

任何想法?


我的猜测是该选项是其中之一:

在此处输入图像描述 在此处输入图像描述

bleachbit
  • 1 个回答
  • 273 Views
Martin Hope
Lamarck's son
Asked: 2018-02-23 08:24:06 +0800 CST

在带有日志功能的 ext4 文件系统中使用 Bleachbit 是否安全?

  • 1

我想粉碎一个文件,使其无法恢复。我通常使用命令'bleachbit -s file'。当我搜索它时,我发现 ext4 中的日志在其他地方复制了文件,即使在文件被粉碎后也不会删除。在另一个论坛上,有人说日志生成的文件在一段时间后会自行删除。

这是真的吗?我是否可以只信任 Bleachbit 来擦除我的文件,知道它们在一段时间后将无法恢复,或者日志功能使其无用,因为即使在此之后,它们仍然可以恢复?

对不起,如果这是一个愚蠢的问题。我对Linux有点陌生,但仍然不太了解。对不起我的英语,我更像是一个读者而不是作家。

filesystem ext4 privacy bleachbit
  • 2 个回答
  • 355 Views
Martin Hope
Samuel Shifterovich
Asked: 2016-06-20 07:22:24 +0800 CST

Bleachbit 磁盘空间减少

  • 0

在我问之前,让我说我理解它是如何工作的,所以我有 0 字节可用这一事实并不让我感到惊讶,因为我在 Bleachbit 做它的时候关闭了计算机。

但现在我想手动删除这些文件。我在哪里可以找到它们?我删除了 ~/tmp 和一些属于 ~/. Bleachbit 说它已经写了 4 个文件。

bleachbit
  • 1 个回答
  • 185 Views
Martin Hope
Duncan
Asked: 2015-08-19 08:30:20 +0800 CST

防止 Bleachbit 在终端中被擦除

  • 0

我今天在我的 Ubuntu 服务器上试用了 Bleachbit。但是,它似乎正在尝试擦除可用空间,这需要很多时间,而且我不需要它。

如何让 Bleachbit 不从命令行擦除可用空间?

bleachbit
  • 1 个回答
  • 509 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