首页 > 其他分享 >install .deb locally

install .deb locally

时间:2023-08-28 11:25:14浏览次数:43  
标签:sudo package locally apt broken install deb

sudo dpkg -i /path/to/deb/file
sudo apt-get install -f
-f, --fix-broken
           Fix; attempt to correct a system with broken dependencies in place.

When dpkg installs a package and a package dependency is not satisfied,
it leaves the package in an unconfigured state and that package is considered broken.

The sudo apt-get install -f command tries to fix this broken package by installing the missing dependency.

Ref

https://unix.stackexchange.com/questions/159094/how-to-install-a-deb-file-by-dpkg-i-or-by-apt

标签:sudo,package,locally,apt,broken,install,deb
From: https://www.cnblogs.com/Searchor/p/17661818.html

相关文章

  • Debian / Ubuntu linux install kernel headers package
    确保你有最新的apt版本$ sudoapt-getupdate查找最新的内核版本(可选)$ apt-cachesearchlinux-headers-$(uname-r)安装Linux内核包$ sudoapt-getinstalllinux-headers-$(uname-r)......
  • Docker|--E: gnupg, gnupg2 and gnupg1 do not seem to be installed, but one of the
    错误apt-keyadv--keyserverkeyserver.ubuntu.com--recv-keys871920D1991BC93CE:gnupg,gnupg2andgnupg1donotseemtobeinstalled,butoneofthemisrequiredforthisoperation解决方案apt-getupdate&&apt-getinstall-ygnupg2#或者apt-getu......
  • pyinstaller打包openvino 2021.4.2
    打包准备1.安装pyinstallercondacreate-n opinstallpython=3.7-ycondaactivate opinstallpip installopenvinopipinstallpyinstaller2.将openvino文件夹复制到代码同级目录下D:\ProgramData\anaconda3\envs\openvino_install\Lib\site-packages\openvino拷贝至......
  • debian系Linux中文系统目录改为英文目录的解决方法
    debian系Linux中文系统目录改为英文目录的解决方法 之前给笔记本装的kali是英文版,系统安装好了后再修改系统语言为中文,或者直接就用英文系统,也是可以的。后来笔记本的硬盘坏掉了,换ssd,然后安装kali的中文版,中文是方便,但是进去后就不爽了。打开终端:➜kerker>ls-lh总用......
  • 使用pdb调试openstack (How to debug openstack using pdb )
    终于摸索出了一个调试openstack的简单方法,使用pdb进行单步调试,对于分析代码很有帮助。注意,这个方法只适用于用devstack安装的openstack。调试主要是使用了一个脚本,这个脚本不记得是从哪下载的了,是用来重启使用devstack安装的openstack的各个服务的,后来,我又结合devstack的stack.sh和......
  • pip install numpy -i https://pypi.tuna.tsinghua.edu.cn/simple
    pipinstallnumpy-ihttps://pypi.tuna.tsinghua.edu.cn/simpleLookinginindexes:https://pypi.tuna.tsinghua.edu.cn/simpleCollectingnumpyDownloadinghttps://pypi.tuna.tsinghua.edu.cn/packages/8b/d9/22c304cd123e0a1b7d89213e50ed6ec4b22f07f1117d64d28f81c08......
  • vue npm install报错
    PSI:\Vue3+ts+e-plus后台管理\vue3-ts-element-plus-master\vue3-ts-element-plus-master>npminstallnpmERR!codeERESOLVEnpmERR!ERESOLVEcouldnotresolvenpmERR! npmERR!Whileresolving:[email protected]!Found:[email protected]!node_......
  • macbook pro install lightgbm
    前提是已经安装好了brew。若没有安装好brew可搜索安装brew,国内源即可。1,第一步,按装编译软件brewinstallopen-mpibrewinstallcmakebrewinstallgcc2,第二步,下载lightgbm网上大多使用这个地址克隆,但是国内访问会比较慢,有可能断线。gitclone--recursivegit://github.com/Mic......
  • Cinema 4D Download Install资源及使用教程
    Cinema4Dr25是一款专业的3D建模、动画、模拟和渲染软件解决方案,该软件其快速、强大、灵活和稳定的工具集使设计、运动图形、VFX、AR/MR/VR、游戏开发和所有类型的可视化专业人士更容易和高效地使用3D工作流程。使用它,哪怕是像制作动物毛发这样十分精细的三维特效也是可以轻轻......
  • VMware Fusion Debian12虚拟机静态IP设置
    在VMwareFusion中安装了Debian12,设置静态IP后ping不通外部网络:/etc/network/interfaces配置#Thisfiledescribesthenetworkinterfacesavailableonyoursystem#andhowtoactivatethem.Formoreinformation,seeinterfaces(5).source/etc/network/int......