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 / 问题

全部问题(ubuntu)

Martin Hope
Stormlord
Asked: 2024-12-28 07:08:43 +0800 CST

来自 ntpd 的有关 leapsecond 文件的日志消息

  • 8

此消息已开始出现在日志ntpd中。

leapsecond file ('/usr/share/zoneinfo/leap-seconds.list'): will expire in less than one day

请问这是啥以及如何修复?

ntp
  • 1 个回答
  • 147 Views
Martin Hope
Zeye
Asked: 2024-12-27 04:30:48 +0800 CST

按哪个键可以用奶酪拍照

  • 6

安装 Cheese 后,可以通过左键单击图标来捕获图像。有没有办法通过按键来启动图像捕获?

我相信这个问题与 Ubuntu 的任何特定版本无关。对于那些严格遵守仅使用受支持版本的要求的人来说,这个问题是在使用 Ubuntu 版本 22.04 时出现的。关于 cheese 显示 41.1

cheese
  • 2 个回答
  • 40 Views
Martin Hope
Alex Goat
Asked: 2024-12-27 04:03:52 +0800 CST

Snap Steam 未检测到我的第二个驱动器

  • 5

我有一个 1TB 硬盘,我想用它来存储游戏。使用 steam 的 .deb 版本和 Flatpack 版本,我可以添加硬盘并使用它,但使用 Snap 版本则不行(当我在设置中选择磁盘时什么都没有发生)。有没有人想出解决这个问题的办法,还是这只是一个无法修复的 Snap 问题?

hard-drive
  • 1 个回答
  • 32 Views
Martin Hope
Tori Myers
Asked: 2024-12-26 22:48:10 +0800 CST

dl.wine.hq 错误

  • 5

自从我第一次安装 Wine 以来,我就遇到了问题。我不记得我是如何安装它的,但我试图删除它,当它被删除时,一些软件包(我认为)还残留着,阻止我升级我的 ubuntu 及其软件。这真的让我很困惑。

sudo apt update所以我在使用和时遇到了各种错误sudo apt upgrade,然后我收到一条通知,说有一个新的 ubuntu 版本可用(我正在使用 ubuntu 22.04 LTS jammy),所以我尝试通过命令行升级sudo do-release-upgrade并收到Please install all available updates for your release before upgrading.错误。

然后我尝试了这个:

cd /etc/apt/sources.list.d 
for i in *.list; do mv ${i} ${i}.disabled; done 
apt clean
apt autoclean 
sudo do-release-upgrade

并且它在大多数情况下都表现出色,我可以成功更新和升级。但当我尝试执行 do-release-upgrade 时,我再次收到与 Wine 相关的错误。这是我运行时得到的sudo do-get-release:

Get:1 Upgrade tool signature [833 B]                                           
Get:2 Upgrade tool [1,277 kB]                                                  
Fetched 1,278 kB in 0s (0 B/s)                                                 
authenticate 'noble.tar.gz' against 'noble.tar.gz.gpg' 
extracting 'noble.tar.gz'

Reading cache

Checking package manager
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done             
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Err https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
  Could not handshake: Error in the pull function. [IP: 146.75.118.217 443]    
Fetched 0 B in 6s (0 B/s)                                                      
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

Checking for installed snaps

Calculating snap size requirements

Updating repository information           
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Err https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
  Could not handshake: Error in the pull function. [IP: 146.75.54.217 443]     
Fetched 0 B in 6s (0 B/s)                                                                  
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Err https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
  Could not handshake: Error in the pull function. [IP: 146.75.118.217 443]    
Fetched 0 B in 6s (0 B/s)                                                      
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Ign https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
Err https://dl.winehq.org/wine-builds/ubuntu jammy InRelease                   
  Could not wait for server fd - select (11: Resource temporarily unavailable) [IP: 146.75.54.217 443]
Fetched 0 B in 6s (0 B/s)                                                      

Error during update 

A problem occurred during the update. This is usually some sort of 
network problem, please check your network connection and retry. 


Restoring original system state

Aborting
Reading package lists... Done    
Building dependency tree... Done 
Reading state information... Done

有人能帮我彻底戒掉酒瘾吗?任何帮助我都会感激不尽。

wine
  • 1 个回答
  • 35 Views
Martin Hope
Bálint Kriegler
Asked: 2024-12-26 21:10:10 +0800 CST

启动和 ubuntu 徽标与登录页面之间出现长时间黑屏

  • 6

当我打开电脑时,会显示主板品牌等,它说你可以按F2 / DEL进入BIOS,之后屏幕会黑3-4分钟,如果我按F12,我甚至看不到电脑在工作,它说的是24之类的东西,但它什么也不做,看起来就像我在终端中启动命令时一样,机器在它说些什么之前就开始工作了,然后它突然切换到操作系统。提前谢谢你的帮助!

boot
  • 1 个回答
  • 40 Views
Martin Hope
Steve Cohen
Asked: 2024-12-26 11:49:36 +0800 CST

为什么 Kate 在 Ubuntu 24.04 上安装时带有通用的“齿轮”图标?

  • 6

我有一台十年前的笔记本电脑,运行的是 Ubuntu 24.04。我在那里安装了 Kate 应用程序,它带有自己的易于识别的图标。我经常使用它,所以我把它固定在仪表板上。它是在我升级到 24.04 之前安装的。

现在我买了一台新机器,也安装了 Ubuntu 24.04。我还在新机器上安装了 Kate。安装起来非常简单。它有一个通用的“齿轮”图标,我不喜欢它,也无法更改。

为什么会这样?这是因为它是快速安装的结果吗?为什么没有一种简单的方法来更改图标,或者至少没有一种通过配置文件来更改图标的方法?

更新: 折腾了几个小时后,我彻底失败了。在我的计算机上安装可用 Kate 的唯一方法似乎是通过“显示应用程序”界面。应用中心方法毫无用处。这会显示齿轮图标。尝试找到可用的图标让我陷入了困境:

$ which kate
/snap/bin/kate
$ ll /snap/bin/kate
lrwxrwxrwx 1 root root 13 Dec 26 13:09 /snap/bin/kate -> /usr/bin/snap*

我甚至不知道这个符号链接中的星号是什么意思。它没有引导我找到任何图标。所以我只能使用装备。我可以启动 Kate。它有效。但为什么这个系统在准备好之前就向公众发布了呢?

我知道你们不喜欢讽刺,但 Ubuntu 是在试图排斥其现有的用户群吗?

unity
  • 1 个回答
  • 42 Views
Martin Hope
station_echo
Asked: 2024-12-26 06:38:22 +0800 CST

如何在 Ubuntu 24.04 上启用 DisplayPort?

  • 5

我使用的是 HP EliteBook 840 G8,它运行的是 Ubuntu 24.04(Wayland、Intel® Xe Graphics (TGL GT2)),已完全更新。当我通过 HDMI 电缆连接外接显示器时,它运行正常。但是,当我使用 HP USB-C 通用底座并使用 DisplayPort 电缆将外接显示器连接到底座时,显示器检测不到任何输入。我尝试了两种不同的 DisplayPort 电缆。

我手动将显示器的输入源设置为 DisplayPort,也测试了自动检测,但都不起作用。由于我的笔记本电脑没有 DisplayPort 端口,因此我无法在没有扩展坞的情况下测试设置。

值得注意的是,扩展坞似乎可以正常工作:USB 端口工作正常,它为笔记本电脑充电,电源 LED 亮起。如果您能提供任何建议或故障排除建议来解决这个问题,我将不胜感激。提前致谢!

multiple-monitors
  • 1 个回答
  • 33 Views
Martin Hope
Amir Namir
Asked: 2024-12-25 17:49:49 +0800 CST

ssh 权限被拒绝()

  • 5

我正在尝试通过 ssh 连接到本地环境中的 raspberry pi 3 上的 ubuntu 服务器 22.04。起初我只是使用了命令,但出现了错误!所以我修改了文件并取消注释了和行。再次尝试后,我收到了错误(我被告知这是在您输入错误密码时显示的,但我输入了正确的密码)。有趣的是,我能够从 ubuntu 服务器通过 ssh 连接到 myPC,但反之则不行。我终于能够使用 puclickey 进行 ssh,但对于我和我的同事来说,使用密码验证连接到 raspberry pi 要容易得多,特别是因为它在本地网络环境中。ssh [email protected]premission denied (publickey)sshd_configPasswordAuthentication yesPublickeyAuthentication nopremission denied()

有人知道如何使用密码进行 ssh 吗?

编辑:这是 ssh -vvv 命令输出的重要部分

amir@amirux:~$ ssh -vvvv [email protected]
OpenSSH_8.9p1 Ubuntu-3ubuntu0.10, OpenSSL 3.0.2 15 Mar 2022
debug1: Reading configuration data /etc/ssh/ssh_config
debug1: /etc/ssh/ssh_config line 19: include /etc/ssh/ssh_config.d/*.conf matched no files
debug1: /etc/ssh/ssh_config line 21: Applying options for *
debug2: resolve_canonicalize: hostname 192.168.179.15 is address
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts' -> '/home/amir/.ssh/known_hosts'
debug3: expanded UserKnownHostsFile '~/.ssh/known_hosts2' -> '/home/amir/.ssh/known_hosts2'
debug3: ssh_connect_direct: entering
debug1: Connecting to 192.168.179.15 [192.168.179.15] port 22.
debug3: set_sock_tos: set socket 3 IP_TOS 0x10
debug1: Connection established.
.
.
.
debug1: Next authentication method: password
[email protected]'s password: 
debug3: send packet: type 50
debug2: we sent a password packet, wait for reply
debug3: receive packet: type 51
debug1: Authentications that can continue: 
Permission denied, please try again.

看来我输入了错误的密码,但我 100% 确定它是正确的。正如有人在评论部分提到的那样,cloud init 似乎安装在 RPi 上,这可以阻止密码验证吗?

server
  • 1 个回答
  • 56 Views
Martin Hope
alpha_ulrich
Asked: 2024-12-25 08:47:37 +0800 CST

从浏览器下载时出现奇怪的字符

  • 6

下载对话框

每当我尝试从浏览器(针对 Brave 和 Firefox 进行了测试)下载或上传任何内容时,对话框中都会出现奇怪的字符。我的文件资源管理器和其他应用程序运行正常,默认使用拉丁字母。我应该怎么做才能修复这些对话框?

版本:

   Ubuntu 版本:Ubuntu 24.04.1
   Brave 版本:1.73.104
   Firefox 版本:133.0.3(64 位)

安装步骤:

   Brave:如果 apt-get 可用,则
    curl -fsS https://dl.brave.com/install.sh | sh
      使用 install.shsudo apt-get install -y brave-browser

   Firefox:
    不记得安装过,很可能是 Ubuntu 预装的
      snap list,其中列出了 Firefox
       ,通过命令限制 Firefoxsnap info --verbose firefox
      confinement: strict

downloads
  • 1 个回答
  • 47 Views
Martin Hope
al333xj
Asked: 2024-12-24 08:37:32 +0800 CST

Wine 安装在 Ubuntu 上,但是系统找不到它 - 怎么办?

  • 6

wine我一直在使用( )的开发版本wine-staging 9.21进行音频制作。但是,我使用的软件似乎找不到wine。这是我遇到的特定错误:

$ yabridgectl sync
Setting up VST2, VST3, and CLAP plugins using:
- /home/alex/.local/share/yabridge/libyabridge-chainloader-vst2.so
- /home/alex/.local/share/yabridge/libyabridge-chainloader-vst3.so
- /home/alex/.local/share/yabridge/libyabridge-chainloader-clap.so

Finished setting up 8 plugins (8 new), skipped 0 non-plugin .dll files
Error: Could not run 'wine', make sure Wine is installed

Caused by:
    No such file or directory (os error 2)

系统信息:Ubuntu 24.04.01 LTS,在 Dell XPS 15 7590 上运行。

我之前一直在使用最新的开发版本,但由于一些问题,我需要从 v10 降级到 v9.21。我通过以下方式进行了降级

$ sudo apt-get install wine-staging-i386=9.21~noble-1 wine-staging-amd64=9.21~noble-1
$ sudo apt-get install wine-staging=9.21~noble-1

当我跑步时whereis,我能找到它

$ whereis wine
wine: /usr/lib/x86_64-linux-gnu/wine /usr/lib/wine /usr/share/wine /opt/wine-staging/bin/wine

当我在命令行中运行时wine,计算机找不到它——它正在一个不存在的地方寻找。

$ wine --version
bash: /usr/bin/wine: No such file or directory
$ ls /usr/bin/wi*
/usr/bin/winicontopam  /usr/bin/winicontoppm  /usr/bin/wireplumber  /usr/bin/wish  /usr/bin/wish8.6

看起来该/opt位置确实存在:

$ /opt/wine-staging/bin/wine --version
wine-9.21 (Staging)

我该怎么办?我应该在 中指定什么吗apt-get?只需添加一个符号链接吗?

apt
  • 1 个回答
  • 43 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