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
    • 最新
    • 标签
主页 / user-797920

thesilican's questions

Martin Hope
thesilican
Asked: 2020-04-30 10:29:04 +0800 CST

删除 apt 存储库?

  • 1

前段时间我可能不小心添加了一个带有无效 URL 的 apt 存储库。现在,每次我运行sudo apt update时,底部都会显示以下错误消息:

E: The repository 'http://archive.canonical.com (lsb_release 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) manpage for repository creation and user configuration details.

我试过使用sudo add-apt-repository --remove 'http://archive.canonical.com (lsb_release Release',运行命令后没有区别。如何从我的 apt 存储库列表中删除此 url?

http://archive.canonical.com (lsb_release Release编辑:在我的 /etc/apt/sources.list 中找不到该 url

以下要点包含https://gist.github.com/MrSiliconGuy/4ae2c649e5133f7edff012bfd6483d70/etc/apt/sources.list的内容和输出sudo apt update

编辑:原来是这条线deb http://archive.canonical.com/ (lsb_release -sc) partner

apt 源文件中不能有 shell 命令

package-management updates apt add-apt-repository
  • 4 个回答
  • 3788 Views
Martin Hope
thesilican
Asked: 2018-02-22 05:45:22 +0800 CST

麻烦双启动Kubuntu - Win10

  • 0

我正在尝试在我的 Acer Swift 3(已安装 Win10)上双启动 Kubuntu,但是,每次安装后重新启动后,它都会直接启动到 Windows。按 F12 显示Windows Boot Manager为唯一选项。

我已经尝试过以下方法:

  • 通过 live USB 和 sda 上的引导加载程序在 Windows 10 旁边安装 Kubuntu

  • 在 sda6 上使用引导加载程序重新安装(Linux 安装分区)

  • 从 live usb 运行引导修复

  • 做bcdedit /set {bootmgr} path \EFI\ubuntu\shimx64.efi(来自某处的教程)

没有任何工作,每次它只能直接引导到 Windows,没有 GRUB。也许 BIOS 只能运行 Windows 启动管理器?

有什么建议么?

~~~~

我的 BIOS 设置为 UEFI 启动 w/secure boot off。使用 Legacy 仅显示类似No bootable disk detected. Insert bootable disk and press any key to continue

grub2 dual-boot kubuntu windows-10
  • 2 个回答
  • 1181 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