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

问题[patch](ubuntu)

Martin Hope
fish24
Asked: 2019-08-01 02:36:45 +0800 CST

无法修复 Ubuntu 16.04 中损坏的软件包

  • 2

我正在尝试运行此命令:sudo apt install -f

我有这个错误:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  snapd-login-service
Use 'sudo apt autoremove' to remove it.
0 to upgrade, 0 to newly install, 0 to remove and 4 not to upgrade.
5 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up ros-kinetic-librealsense (1.12.1-0xenial-20190607-170900-0800) ...

Kernel preparation unnecessary for this kernel.  Skipping...

Running the pre_build script:

dkms: Pre-build script started...

Downloading kernel sources...
Reading package lists...
Picking 'linux-signed-hwe' as source package instead of 'linux-image-4.15.0-55-generic'
Need to get 12.4 kB of source archives.
Get:1 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main linux-signed-hwe 4.15.0-55.60~16.04.2 (dsc) [1,829 B]
Get:2 http://gb.archive.ubuntu.com/ubuntu xenial-updates/main linux-signed-hwe 4.15.0-55.60~16.04.2 (tar) [10.6 kB]
dpkg-source: info: extracting linux-signed-hwe in linux-signed-hwe-4.15.0
dpkg-source: info: unpacking linux-signed-hwe_4.15.0-55.60~16.04.2.tar.xz
W: Can't drop privileges for downloading as file 'linux-signed-hwe_4.15.0-55.60~16.04.2.dsc' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)
Fetched 12.4 kB in 0s (237 kB/s)
grep: drivers/media/usb/uvc/uvc_driver.c: No such file or directory
INFO: No Intel RealSense(TM) cameras are currently supported.
Patching uvcvideo sources...
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/drivers/media/usb/uvc/Makefile b/drivers/media/usb/uvc/Makefile
|index c26d12fdb8f4..d86cf22155d1 100644
|--- a/drivers/media/usb/uvc/Makefile
|+++ b/drivers/media/usb/uvc/Makefile
--------------------------
File to patch: Picking 'linux-signed-hwe' as source package instead of 'linux-image-4.15.0-55-generic'
Picking 'linux-signed-hwe' as source package instead of 'linux-image-4.15.0-55-generic': No such file or directory
File to patch:  

请帮忙!

kernel patch 16.04
  • 1 个回答
  • 673 Views
Martin Hope
Jmart
Asked: 2019-07-16 09:10:00 +0800 CST

是否所有 Ubuntu 用户都获得与 Ubuntu Advantage 用户相同的补丁程序?

  • 1

Ubuntu 是否为普通用户提供与 Canonical Advantage 用户相同的补丁,还是像 Red Hat 一样,如果您为支持付费,您可以更快地获得补丁?

patch canonical
  • 1 个回答
  • 148 Views
Martin Hope
viDim
Asked: 2019-05-15 15:39:18 +0800 CST

内核版本 4.15.0-50-generic 中是否修补了 CVE-2019-11815 错误?[复制]

  • 2
这个问题在这里已经有了答案:
如何判断 CVE 是否已在 Ubuntu 的存储库中修复? (4 个回答)
3年前关闭。

据消息称,该漏洞已在 Linux 内核 5.0.8 版本中修复。那么内核版本 4.15.0-50-generic 呢?如何检查给定内核以确定 CVE-2019-11815 是否已修补?如何使用内核版本 4.15.0-50-generic 修补 Ubuntu 18.04.2 LTS 中的 CVE-2019-11815 错误?

security kernel patch
  • 3 个回答
  • 970 Views
Martin Hope
yi_asb
Asked: 2019-03-05 19:33:19 +0800 CST

如何在 ubuntu 18.04 上更新到最新的 ntp 补丁 4.2.8p12 [重复]

  • 1
这个问题在这里已经有了答案:
如何判断 CVE 是否已在 Ubuntu 的存储库中修复? (4 个回答)
3年前关闭。

我试过这里的方法How to update ntpd to the latest version to patch the latest漏洞?

但它失败了。补丁 12 已经发布了一段时间。ubuntu 是否计划将其包含在 apt update 等中?

如果没有,请告知我如何更新到最新补丁?

谢谢

updates ntp patch
  • 1 个回答
  • 532 Views
Martin Hope
hussam
Asked: 2018-06-02 06:41:57 +0800 CST

如何应用已修补的内核?

  • 0

我正在关注有关此错误报告的讨论; https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1728244

解决方案是应用补丁内核; https://people.canonical.com/~khfeng/lp1728244-testing/

现在,我不确定应该使用哪些文件或如何应用它们。有人可以帮忙吗?

drivers kernel patch
  • 1 个回答
  • 115 Views
Martin Hope
bogdan
Asked: 2018-03-14 04:27:25 +0800 CST

内核补丁 - 如何检查/验证何时应用特定补丁

  • 2

我如何查找/验证,如果和何时将特定补丁(例如这个补丁)添加到内核中?

我能想到的一种方法(不是很有效)是下载自从补丁被记录以来的所有内核,并查看更改日志文件。例子:

$ apt-get changelog linux-image-4.4.0-116-generic

您如何处理此类问题?

dpkg kernel apt patch
  • 1 个回答
  • 541 Views
Martin Hope
sleepless_in_seattle
Asked: 2018-03-07 06:36:18 +0800 CST

apt-get dist-upgrade 与 dpkg -i *.deb 文件之间的区别?

  • 0

我即将为我的 Ubuntu 机器更新崩溃和幽灵内核补丁,一位指南说我必须安装*.deb文件,dpkg另一位说我必须运行apt-get dist-upgrade.

两者有什么区别?

例如,他们中的任何一个都会冒着版本从 14.04 升级到 16.04 的风险吗?

software-installation package-management kernel patch
  • 1 个回答
  • 149 Views
Martin Hope
rootsandculture
Asked: 2016-09-09 07:41:25 +0800 CST

菜鸟问题 - 如何使补丁工作

  • 1

我在翻录音频 CD 时遇到问题,并且在论坛中找到了一个补丁,而不是修复它。但不知道应用它。

cd偏执狂补丁

提前致谢

patch
  • 1 个回答
  • 115 Views
Martin Hope
wb9688
Asked: 2015-08-27 05:17:37 +0800 CST

如何使用 diff 制作统一补丁?

  • 2

我有两个目录src和src-with-fixes. 我想做一个统一的补丁,这样人们就可以下载src目录和补丁文件并运行patch -p1 < patch.diff并在 src 目录中获得修复。

patch
  • 1 个回答
  • 475 Views
Martin Hope
Xiè Jìléi
Asked: 2010-12-28 19:27:44 +0800 CST

如何在 Debian 软件包上创建和维护补丁?

  • 8

我想修补 Trac 包。我知道如何修补和重建包,但有些东西我不是很了解。

我的补丁很危险,不太可能回馈社区。所以,我只想说,这是一个非常私密的补丁。但是,我希望我的补丁在 Ubuntu 软件包升级时继续工作。(我应该apt-get source trac在每次Trac升级时将我的补丁移动到新版本的源目录吗?)

我看到有一个patch/目录(quilt我猜很多都在使用)debian/,但我不知道如何使用它?会debuild自动应用目录中的所有补丁patch/吗?那么dpkg-buildpackage呢?是否有一些环境变量来控制要应用的补丁的选择?

package-management patch
  • 2 个回答
  • 5889 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