草庐IT

apt-utils

全部标签

ubuntu - 在 Ubuntu 上运行 apt-get update 时,Docker 存储库没有发布文件

我正在使用Ubuntu16.10,最近按照here中的说明使用Xenial构建安装了Docker(v1.12.4).我在创建容器、确保它们自动重启等方面没有遇到任何问题。但是,现在我每次运行apt-getupdate时都会收到以下错误消息:W:Therepository'https://apt.dockerproject.org/repoubuntu-xenialRelease'doesnothaveaReleasefile.N:Datafromsucharepositorycan'tbeauthenticatedandisthereforepotentiallydangerousto

bash -/bin/sh : apt-get: not found

我正在尝试更改dockerFile以使用aspell。我有一个bash脚本,我想将它封装在一个扩展坞中Step4:WrapthescriptinaDockercontainer.ThesampleSDKwedownloadedearliercontainsanexampleofanactionwrappedinaDockercontainer.Inparticular,thesampleSDKincludesaDockerfilethatbuildstheCprograminclient/example.candinstallsthebinaryas/blackbox/client/a

bash -/bin/sh : apt-get: not found

我正在尝试更改dockerFile以使用aspell。我有一个bash脚本,我想将它封装在一个扩展坞中Step4:WrapthescriptinaDockercontainer.ThesampleSDKwedownloadedearliercontainsanexampleofanactionwrappedinaDockercontainer.Inparticular,thesampleSDKincludesaDockerfilethatbuildstheCprograminclient/example.candinstallsthebinaryas/blackbox/client/a

git - 错误 : unable to find utility "git", 不是开发人员工具或在 PATH 中

我已经将Xcode版本更新到7.3.1。当我使用'gitstatus'时,我发现了一个错误!如下:$gitstatussh:line1:1601Segmentationfault:11/Applications/Xcode.app/Contents/Developer/usr/bin/xcodebuild-sdk/-findgit2>/dev/nullgit:error:unabletofindutility"git",notadevelopertoolorinPATH谢谢先进! 最佳答案 这也发生在我升级到HighSierra和X

python - 在没有互联网连接的情况下运行 sudo apt-get install

我的最终目标是将我的RaspberryPi变成一个FTP服务器。它连接到网络,但没有互联网连接。如果我可以运行“sudoapt-getinstall....”命令,这似乎非常容易完成,但由于我没有互联网,这是不可能的。我下载了python的“ftplib”,我认为它可以让我连接到我的FTP服务器并与之交互,但现在我卡住了。我对Linux或Web服务器了解不多,因此提前感谢您的耐心等待。我认为一个可能的解决方案是在我的计算机上通过互联网下载一个LAMP包,然后将其传输到RaspberryPi,但我不确定我可能会遇到什么样的路径和文件夹问题。 最佳答案

ruby - 不正确的 sources.list 导致 apt-get 更新失败 Ubuntu 13.04

我尝试使用rvm安装ruby​​,但由于apt-getupdate的问题而失败。我发现这是因为etc/apt目录下的sources.list文件有问题。我试着用这个http://blog.ubuntu-tweak.com/guide/how-to-fix-the-source-list-files了解并修复我的源文件。当我从sources.list中删除“坏行”时,已经没有行了。此时我能够成功地进行apt-get更新,但是rvminstallruby​​仍然失败,因为它现在无法找到必要的依赖项。我开始考虑完全全新安装,因为我不知道还能做什么,但我想我会先在这里寻求帮助。来源.list#

linux - *-dev *-dbg 和 *-utils 是什么意思?

当我想在ubuntu上安装像libxml2这样的库时,我输入sudoapt-getinstalllibxml2并输入tab键。libxml2、libxml2-dev、libxml2-dbg和libxml2-uils等几个名字出来了。这些后缀的全称是什么?我需要安装哪一个? 最佳答案 libxml2-util:这个包提供了xmllint,一个用于验证和重新格式化的工具XML文档和xmlcatalog,一种用于解析和操作XML或SGML目录文件。libxml2-dev:如果您希望使用GNOMEXML库开发自己的程序,请安装此包。libx

linux - 尽管 ping 有效,但 apt-get 在树莓派上失败

我正在尝试用我的树莓派更新和安装东西。不幸的是它失败了,我在执行sudoapt-getupdate时遇到了这些错误:Errhttp://raspberrypi.collabora.comwheezyRelease.gpgCouldnotresolve'host'Errhttp://mirrordirector.raspbian.orgwheezyRelease.gpgCouldnotresolve'host'Errhttp://archive.raspberrypi.orgwheezyRelease.gpgCouldnotresolve'host'Errhttp://repositor

linux - 如何使用 apt-get 删除不完整的包?

关闭。这个问题不符合StackOverflowguidelines.它目前不接受答案。这个问题似乎不是关于aspecificprogrammingproblem,asoftwarealgorithm,orsoftwaretoolsprimarilyusedbyprogrammers的.如果您认为这个问题是关于anotherStackExchangesite的主题,您可以发表评论,说明问题可能在哪里得到解答。关闭7年前。Improvethisquestion我尝试在Ubuntu中通过apt-get安装android-studio,发现需要从谷歌下载一个大小为233M的依赖包。由于我在中国

linux - 如何修复 "invalid signature when apt-get update"错误?

每当我尝试sudoapt-getupdate时,我都会收到这些错误:W:Anerroroccurredduringthesignatureverification.Therepositoryisnotupdatedandthepreviousindexfileswillbeused.GPGerror:http://packages.linuxmint.comrafaelaRelease:Thefollowingsignatureswereinvalid:BADSIG3EE67F3D0FF405B2ClementLefebvre(LinuxMintPackageRepositoryv1)