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

问题[manjaro](computer)

Martin Hope
el_oso
Asked: 2021-02-08 15:16:46 +0800 CST

无法启动 postgres - 无法创建锁定文件

  • 6

我已经从 Manjaro 上的 pacman repo 安装了 postgres,但在尝试启动它时遇到了麻烦。

我已按照arch wiki的说明创建了我的数据库。initdb -D /var/lib/postgres/data/

我运行以下命令,但没有完成。pg_ctl -D /var/lib/postgres/data/ -l logfile start

日志文件错误是FATAL: could not create lock file "/run/postgresql/.s.PGSQL.5432.lock": No such file or directory

有人可以解释一下这个错误的含义以及如何让 Postgres 启动吗?

postgresql manjaro
  • 3 个回答
  • 1755 Views
Martin Hope
Jeremy Meadows
Asked: 2020-08-28 07:00:59 +0800 CST

Xfce4 中的 bspwm 工作区不工作

  • 5

我已经将 bspwm 作为独立桌面运行了一段时间,但我发现在没有适当的 DE 的情况下必须管理 wifi、xinput 设置、主题等有点痛苦,所以我切换到 Xfce4 并用 bspwm 替换了 xfwm。我让 sxhkd 工作正常,bspwm 大部分工作,但没有任何切换工作区的能力。我通常保持 10 个工作区打开,所以我在 Xfce 工作区设置中设置了 10 个工作区,但我似乎找不到在它们之间切换的方法。

xfce4-panel 只显示 1 个工作区,Polybar 在过去显示 1-10 的位置显示“桌面”。Xfce-panel 运行时出现警告“屏幕 0 上没有窗口管理器”,但 xrandr 说我当前在屏幕 0 上,并且 bspwm 肯定正在运行。我不知道这是 Xfce 还是 bspwm 问题。

linux manjaro
  • 1 个回答
  • 596 Views
Martin Hope
alx
Asked: 2020-02-07 03:30:53 +0800 CST

pacman - Syy:错误:检索文件“packages.db”失败

  • 6

我在 AWS Cloud9 机器中运行 Manjaro 容器docker container run --interactive --tty manjarolinux/build bash,运行的第一个命令pacman -Syy失败并显示以下输出:

# pacman -Syy
:: Synchronizing package databases...
error: failed retrieving file 'packages.db' from disk : Couldn't open file /build/packages/packages.db
error: failed to update packages (download library error)
 core                                                                                                          167.5 KiB   722 KiB/s 00:00 [#####################################################################################] 100%
 extra                                                                                                        1986.5 KiB  2.37 MiB/s 00:01 [#####################################################################################] 100%
 community                                                                                                       5.8 MiB  3.10 MiB/s 00:02 [#####################################################################################] 100%
 multilib                                                                                                      192.6 KiB  0.00   B/s 00:00 [#####################################################################################] 100%
error: failed to synchronize all databases

/build/目录为空,因此该文件不存在。该文件的目的是什么?我应该如何解决这个问题?

我需要在容器中安装软件包,但 pacman 现在似乎没用。


/etc/pacman.conf:

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg      = pacman glibc manjaro-system
# If upgrades are available for these packages they will be asked for first
SyncFirst    = manjaro-system archlinux-keyring manjaro-keyring
#XferCommand = /usr/bin/curl -L -C - -f -o %o %u
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
#Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Manjaro Linux
# packagers with `pacman-key --populate archlinux manjaro`.

#
# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

[packages]
SigLevel = Optional TrustAll
Server = file:///build/packages

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs
docker manjaro
  • 1 个回答
  • 1459 Views
Martin Hope
Parker Piedmont
Asked: 2019-06-09 06:40:57 +0800 CST

Rufus dd 模式分区问题

  • 6

我正在尝试使用 Rufus 创建一个可启动的 USB 驱动器来安装 Manjaro。我将它设置为 dd 模式,就像 Manjaro 的网站所说的那样,但 Rufus 似乎错误地对我的驱动器进行了分区。我试过 32GB 闪存驱动器和 16GB 闪存驱动器,但在这两种情况下,Rufus 创建了一个 4MB FAT 分区,偏移量为 1999MB。难道我做错了什么?

ImageWriter 是 Manjaro 推荐的用于制作可启动 USB 驱动器的另一个程序,它做同样的事情。

manjaro rufus
  • 2 个回答
  • 3628 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何减少“vmmem”进程的消耗?

    • 11 个回答
  • Marko Smith

    从 Microsoft Stream 下载视频

    • 4 个回答
  • Marko Smith

    Google Chrome DevTools 无法解析 SourceMap:chrome-extension

    • 6 个回答
  • Marko Smith

    Windows 照片查看器因为内存不足而无法运行?

    • 5 个回答
  • Marko Smith

    支持结束后如何激活 WindowsXP?

    • 6 个回答
  • Marko Smith

    远程桌面间歇性冻结

    • 7 个回答
  • Marko Smith

    子网掩码 /32 是什么意思?

    • 6 个回答
  • Marko Smith

    鼠标指针在 Windows 中按下的箭头键上移动?

    • 1 个回答
  • Marko Smith

    VirtualBox 无法以 VERR_NEM_VM_CREATE_FAILED 启动

    • 8 个回答
  • Marko Smith

    应用程序不会出现在 MacBook 的摄像头和麦克风隐私设置中

    • 5 个回答
  • Martin Hope
    Vickel Firefox 不再允许粘贴到 WhatsApp 网页中? 2023-08-18 05:04:35 +0800 CST
  • Martin Hope
    Saaru Lindestøkke 为什么使用 Python 的 tar 库时 tar.xz 文件比 macOS tar 小 15 倍? 2021-03-14 09:37:48 +0800 CST
  • Martin Hope
    CiaranWelsh 如何减少“vmmem”进程的消耗? 2020-06-10 02:06:58 +0800 CST
  • Martin Hope
    Jim Windows 10 搜索未加载,显示空白窗口 2020-02-06 03:28:26 +0800 CST
  • Martin Hope
    andre_ss6 远程桌面间歇性冻结 2019-09-11 12:56:40 +0800 CST
  • Martin Hope
    Riley Carney 为什么在 URL 后面加一个点会删除登录信息? 2019-08-06 10:59:24 +0800 CST
  • Martin Hope
    zdimension 鼠标指针在 Windows 中按下的箭头键上移动? 2019-08-04 06:39:57 +0800 CST
  • Martin Hope
    jonsca 我所有的 Firefox 附加组件突然被禁用了,我该如何重新启用它们? 2019-05-04 17:58:52 +0800 CST
  • Martin Hope
    MCK 是否可以使用文本创建二维码? 2019-04-02 06:32:14 +0800 CST
  • Martin Hope
    SoniEx2 更改 git init 默认分支名称 2019-04-01 06:16:56 +0800 CST

热门标签

windows-10 linux windows microsoft-excel networking ubuntu worksheet-function bash command-line hard-drive

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve