标签: updates

无法获取 deb.debian.org/debian/pool/main/l/linux/linux-libc-dev_5.10.70-1_amd64.deb

docker-compose -f docker-compose-mssql.yml up -d --build --remove-orphans 我在项目中运行时收到以下错误。

E:无法获取 http://deb.debian.org/debian/pool/main/l/linux/linux-libc-dev_5.10.70-1_amd64.deb 404 Not Found [IP: 199.232.22.132 80]

E:无法获取某些档案,也许运行 apt-get update 或尝试使用 --fix-missing?

在此输入图像描述

完整日志如下:

WARNING: Python-dotenv could not parse statement starting at line 1
WARNING: Python-dotenv could not parse statement starting at line 2
WARNING: Python-dotenv could not parse statement starting at line 3
Building flask-dev
Sending build context to Docker daemon  756.2kB
Step 1/19 : FROM python:3.7-slim
 ---> 3e12d0db6381
Step 2/19 : ENV APP_HOME /usr/src/app
 ---> Using cache
 ---> 547384aa23b8
Step …
Run Code Online (Sandbox Code Playgroud)

updates package-management apt docker 20.04

0
推荐指数
1
解决办法
5951
查看次数

升级ubuntu版本会更新软件列表吗?

当 4 月 21 日 Ubuntu 新版本发布时,我很期待更新。然而,我的软件列表中的许多源(例如 wine、lutris、其他通用 ppa 源)都设置为顽皮的。当我通过软件更新程序更新到 Jammy 时,源是否会更新,或者我是否需要手动将它们设置为 Jammy?

upgrade updates apt

0
推荐指数
1
解决办法
458
查看次数

第一次编写脚本——为什么输出不写入文件?

我学会了使用带有 DOS 的计算机,因此我尝试近似批处理/.bat 文件来运行系统的所有更新并创建结果的日志文件。

#!/bin/bash
#update system in one step
cd ~
date > aupdate.log
echo Launching updates...
echo Beginning apt update
sudo apt update >> aupdate.log
sudo apt upgrade -y >> aupdate.log
echo Completing apt autoremove process
sudo apt autoremove -y >> aupdate.log
echo Beginning snap update
sudo snap refresh >> aupdate.log
echo Beginning flatpak update
flatpak update -y >> aupdate.log
echo Updates complete. Review aupdate.log for details.
Run Code Online (Sandbox Code Playgroud)

我走在正确的轨道上吗?到目前为止,我有两个问题需要解决。

  1. 没有创建日志文件
  2. 运行 apt > filename 时如何抑制有关重定向输出的警告(编辑:见下文)

编辑:这是我运行脚本时的结果:

Launching updates...
Beginning …
Run Code Online (Sandbox Code Playgroud)

updates command-line apt scripts log

0
推荐指数
1
解决办法
745
查看次数

如何知道软件包是否/何时会更新?

这是一个更新过程的问题。

After the latest Thunderbird update (version 102), I realized my Tbsync add-on was now incompatible. Tbsync has been updated to v4 to catch up to TB 102, but my current Tbsync version is 3.0.2 and Thunderbird can't find any updates available in the repositories.

So I wondered what the last Tbsync version was in the repositories and found this page which tells me that the available versions for Tbsync go from v2 for Ubuntu 20.04 to v3 for …

updates package-management thunderbird 18.04

0
推荐指数
1
解决办法
112
查看次数

强制 ubuntu 22.04.3 使用内核 6.2 而不是 5.15

我有两台笔记本电脑显示

DISTRIB_DESCRIPTION="Ubuntu 22.04.3 LTS"
Run Code Online (Sandbox Code Playgroud)

但其中之一有

Linux ... 6.2.0-39-generic #40~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 16 10:53:04 UTC 2 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

另一个显示旧的内核版本:

Linux ... 5.15.0-91-generic #101-Ubuntu SMP Tue Nov 14 13:30:08 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Run Code Online (Sandbox Code Playgroud)

两者都很apt-get update; apt-get upgrade干净。我也许可以强迫

apt-get install linux-image-6.2.0-39-generic
Run Code Online (Sandbox Code Playgroud)

但这可能会加剧没有自动更新的问题。使用update-manager已经过时了,因为我只能通过 ssh 访问机器。

我如何知道apt-???切换到较新的内核系列?

upgrade updates apt kernel 22.04

0
推荐指数
1
解决办法
3383
查看次数

没有 Unity,无法发送错误报告

今天更新后,13.04 不再显示 Unity 面板。

我尝试了从控制台报告的指南,但它总是显示“请在自动打开的 Web 浏览器中填写表单”。有没有办法从控制台或另一台计算机完成报告错误?

https://help.ubuntu.com/10.04/serverguide/reporting-bugs.html

顺便说一句 Ctrl+alt+T 对我有用,当键盘输入没有转到 pidgin 时,就是这样。ubuntu-bug /var/crash/_usr_bin_compiz.1000.crash不会弹出浏览器窗口。

我试过这个,它没有帮助,我重置后仍然有同样的问题。 如何重置我的 Unity 配置?

是否在所有带有 Intel Mobile GM965/GL960 集成图形控制器的机器上都会发生这种情况?

- 更新 -

我已经提交了一个错误报告,它现在被标记为“高”重要性,并进行了分类。问题是,最新版本的 Ubuntu“支持”多大的电脑?这台机器也受到了 Chromium 错误标题的影响,以及普遍的缓慢让我想知道显卡的支持程度。

我见过运行 12.x Ubuntu 的更老的(P4 时代)计算机,但我想较新的版本即使在 5 年前的机器上也没有经过那么多的测试?是否有任何关于 Ubuntu 在更新和主要发行版升级中使用的 QA 实践的文档?

updates unity intel-graphics 13.04

-1
推荐指数
1
解决办法
461
查看次数

我不想升级 12.04

如何继续更新 12.04 但更新到更高的 Ubuntu 版本?换句话说,我想安装 12.04 可用的所有更新,而不是在不知不觉中安装到 14.04 或开发版本之一的版本更新。

updates 12.04

-1
推荐指数
1
解决办法
104
查看次数

GPG 错误:http://packages.osrfoundation.org

当我apt-get update在 ubuntu-14.04 上使用“ ”更新时,出现以下错误,

W: GPG error: http://packages.osrfoundation.org trusty InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 67170598AF249743
Run Code Online (Sandbox Code Playgroud)

我试过按照某些论坛中给出的命令

apt-key adv --keyserver keyserver.ubuntu.com --recv-key 67170598AF249743
Run Code Online (Sandbox Code Playgroud)

输出如下

Executing: gpg --ignore-time-conflict --no-options --no-default-keyring --homedir /tmp/tmp.XI2D9gTkMc --no-auto-check-trustdb --trust-model always --keyring /etc/apt/trusted.gpg --primary-keyring /etc/apt/trusted.gpg --keyserver keyserver.ubuntu.com --keyserver-options http-proxy=http://202.141.80.80:3128 --recv-key 67170598AF249743
gpg: requesting key AF249743 from hkp server keyserver.ubuntu.com
gpgkeys: key 67170598AF249743 not found on keyserver
gpg: no valid OpenPGP data found.
gpg: Total number …
Run Code Online (Sandbox Code Playgroud)

updates apt

-2
推荐指数
1
解决办法
3000
查看次数

有没有更安全实用的方法来进行系统更新?

当我看到诸如 Crypto 和 RSA 之类的更新时,我感到害怕,尽管我讨厌 DOS(终端),但由于 CTB Locker 之后是一些正在缓慢接管 Windows 的# $ 但没有防病毒软件可以找到任何东西并且疯狂当它通过蓝牙连接时,它听起来甚至影响了我的手机和汽车收音机

无论如何,我更喜欢让我的计算机保持更新(主要是安全相关),但我想知道是否有比我目前的方法更实用的方法。我将 Ubuntu 安装了两到三次,这样我就可以来回移动文件,将文件从一个移到另一个,以尝试修复更新后损坏的内容,但并不总是成功。当我重新启动并且没有声音时,当我重新启动并且没有网络时,或者当我重新启动并且它不启动时,是否有更好的方法来撤消更新。现在我现在有 17.04 并且令人惊讶的是它能够再次连接到 wifi,我以为我必须在那个之后重新加载,我还安装了 16.10(我认为)并且声音不起作用,我试过了.

更新有那么重要吗?我更新到 17.04 的原因之一是因为“软件”在上次更新后不起作用,完成后我可以看到无线网络但无法连接,我只是从 16.10 复制了我停止使用的文件,因为声音更新后工作。我认为这很正常

updates

-2
推荐指数
1
解决办法
96
查看次数

安装新版本时,“apt-cache policy”将旧版本的 youtube-dl 报告为候选版本

youtube-dl通过命令 更新后youtube-dl -U,我继续使用检查结果apt-cache policy,得到以下结果:

$ apt-cache policy youtube-dl
youtube-dl:
  Installed: (none)
  Candidate: 2014.02.17-1
  Version table:
     2014.02.17-1 0
        500 http://se.archive.ubuntu.com/ubuntu/ trusty/universe amd64 Packages
Run Code Online (Sandbox Code Playgroud)

该实用程序自己的版本报告给出了不同的结果:

$ youtube-dl --version
2020.05.29
Run Code Online (Sandbox Code Playgroud)

两个问题:

  1. 即使应用程序安装不久且仅更新过,为何仍会apt-cache policy报告?(none)Installed
  2. 为什么youtube-dl报告对我的查询更合理的答复--version(报告的日期更接近发布时间youtube-dl -U)以及报告的日期apt-cache policy真正意味着什么?

updates package-management apt

-2
推荐指数
1
解决办法
318
查看次数

我可以避免安全更新而只安装其他更新吗?

我正在使用 lubuntu 16.04 LTS。当我尝试更新我的 lubuntu 操作系统时,软件更新程序会显示两个类别。他们是:

1) 安全更新。

2)其他更新。

“其他更新”是什么意思?我认为它的改进/错误修复更新。如果我是对的,我只想要那些改进/错误修复更新。我真的不需要安全更新,因为我的使用非常简单(观看 youtube、收听 soundcloud 等),所以我可以通过取消标记“安全更新”来只安装“其他更新”吗?

updates lubuntu

-3
推荐指数
1
解决办法
166
查看次数

为什么一个不正确的存储库会阻止所有其他存储库使用 Apt 进行更新?

当我尝试使用 APT 运行更新时,如果单个存储库存在问题,APT 将无法继续并且更新失败... APT 不应该跳过该存储库并继续吗?特别是当它是一个单独的文件时/etc/sources.list.d/?并且没有连接到任何 Ubuntu 存储库?

这不是一个安全漏洞吗?如果可以写入错误的存储库列表,它将阻止重要的安全存储库通过无人值守的更新进行更新,不是吗?幸运的是,它第二次更新了安全存储库……也许这是设计使然。

这就是我所追求的apt update。存储库的更新在损坏后不会继续。

Hit:1 http://archive.ubuntu.com/ubuntu - InRelease
Hit:2 http://security.ubuntu.com/ubuntu --security InRelease
Hit:3 http://archive.ubuntu.com/ubuntu --updates InRelease
Hit:4 http://archive.ubuntu.com/ubuntu --backports InRelease
Ign:5 http://apt.keepsolid.com/ubuntu - InRelease
Err:6 http://apt.keepsolid.com/ubuntu - Release
  404  Not Found [IP: 144.217.71.199 80]
Reading package lists... Done
E: The repository 'http://apt.keepsolid.com/ubuntu - Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) …
Run Code Online (Sandbox Code Playgroud)

updates package-management apt repository

-3
推荐指数
1
解决办法
262
查看次数