搜索libldap2-devusing apt-cache show,以下包的信息将在输出中返回:2.4.47+dfsg-3+deb10u1和2.4.47+dfsg-3+deb10u2
当我使用 Debian 10 (buster) 时,+deb10u1和发行版之间有什么区别+deb10u2,为什么两者都作为 输出的一部分返回?apt-cache show
root@docker-desktop:/opt/sds# cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 10 (buster)"
NAME="Debian GNU/Linux"
VERSION_ID="10"
VERSION="10 (buster)"
VERSION_CODENAME=buster
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
Run Code Online (Sandbox Code Playgroud)
apt-cache show:
root@docker-desktop:/opt/sds# apt-cache show 'libldap2-dev'
Package: libldap2-dev
Source: openldap
Version: 2.4.47+dfsg-3+deb10u2
Installed-Size: 1426
Maintainer: Debian OpenLDAP Maintainers <pkg-openldap-devel@lists.alioth.debian.org>
Architecture: amd64
Replaces: libopenldap-dev
Provides: libldap-dev
Depends: libldap-2.4-2 (= 2.4.47+dfsg-3+deb10u2)
Conflicts: libldap-dev, libopenldap-dev
Description: OpenLDAP development libraries
Description-md5: 2359036e8e1bd2b4b5d49233c1509ecf
Multi-Arch: same
Homepage: …Run Code Online (Sandbox Code Playgroud) 我正在下载 cuda-toolkit-10-1,遵循https://docs.nvidia.com/cuda/wsl-user-guide/index.html中的指南,包括将我的 WSL 从版本 1 更新到版本 2。即将结束apt-get install当我的内存可能耗尽时,我的
安装在解压时出现错误消息:dpkg: error processing archive /tmp/<cuda_vers>.deb: error setting permissions of <file.so>: Read-only file system错误代码(2)。
我释放了一些内存并尝试通过 apt-get 重新安装,但出现错误消息dpkg was interrupted, you must manually run 'sudo dpkg --configure -a to correct the problem,我尝试失败dpkg: error: unable toa ccess dpkg status area: Read-only file system。
我现在无法运行大多数命令。以下是一些错误消息及其各自的错误
消息ls::-bash: /bin/ls: Input/output error
df -uSorry, command-not-found has crashed! Please file a bug report..., Python version: …
我正在开发一个 debian 包,我想在安装这个包时在 fstab 中添加以下行:
tmpfs /some/created/dir tmpfs defaults,noatime,nosuid,nodev,noexec,mode=0755,size=128M 0 0
我如何定义这个动作?
我在没有互联网的隔绝环境中工作。
我想安装我的主目录中的某些软件包。这些包是通过USB设备放在这里的。.deb现在,我的主目录中有 50 个文件。我想使用安装它们sudo apt install。
可以帮助我如何让sudo apt install命令识别这条路径吗?
我是 Ubuntu 新手。那么,有人可以提供一步一步的信息吗?
Linux Mint 的软件包在提交给软件管理员之前是否经过任何形式的手动审核?
我问这个问题是因为像discord这样需要多次下载的应用程序只有53条评论,而像Rider这样的应用程序只有2条评论。是否有人调查这个软件包,并验证它们确实来自正确的来源并且不是木马?
我在网上查过但无法得到直接答案。另外,我读过的 Unix 书籍中没有提到包管理器。
人们会想象需要某人/某物来管理程序的安装/更新/删除;就像我们今天一样。但是贝尔实验室的人有包管理器吗?他们是否有一个包含大量程序的集中存储库?或者就像今天的 Slackware,每个人管理自己的包?
提前致谢
我想创建一个脚本,能够在任何 Linux 发行版中安装我想要的一组软件包(最初创建它以在 Ubuntu 中运行,然后将其扩展到任何一个),并且基本上充当环境设置。此类软件包的示例有zsh、omz、fzf、自动完成等...
我的问题是,我是否应该依赖软件包管理器 ( apt-get) 的存在来安装软件包,然后通过脚本或手动调用wget它源文件并继续安装?您认为哪个最好?
ubuntu shell-script software-installation package-management source-code
在 Kubuntu 中,我安装了 yum。
~$ sudo apt-get install yum
[sudo] password for jim:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
debugedit liblua5.2-0 librpm3 librpmbuild3 librpmio3 librpmsign1 libsqlite0 python-libxml2 python-rpm python-sqlite python-sqlitecachec python-urlgrabber rpm rpm-common rpm2cpio
Suggested packages:
rpm-i18n python-sqlite-dbg alien elfutils
The following NEW packages will be installed:
debugedit liblua5.2-0 librpm3 librpmbuild3 librpmio3 librpmsign1 libsqlite0 python-libxml2 python-rpm python-sqlite python-sqlitecachec python-urlgrabber rpm rpm-common rpm2cpio yum
0 upgraded, 16 newly installed, …Run Code Online (Sandbox Code Playgroud) 我正在尝试安装 Banshee 音乐播放器,但每次我输入
apt-get install Banshee
Run Code Online (Sandbox Code Playgroud)
我得到这个回应。
root@kali:~# apt-get install Banshee
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package Banshee
Run Code Online (Sandbox Code Playgroud)
在那之后,我认为可能缺少某些来源,所以也输入了它们。
root@kali:~# deb http://http.kali.org/kali kali main non-free contrib
bash: deb: command not found
root@kali:~# deb http://security.kali.org/kali-security kali/updates main contrib non-free
bash: deb: command not found
root@kali:~# deb-src http://http.kali.org/kali kali main non-free contrib
bash: deb-src: command not found
root@kali:~# deb-src http://security.kali.org/kali-security kali/updates main contrib non-free
bash: deb-src: command not found
Run Code Online (Sandbox Code Playgroud)
然后我发现了一些有同样问题的帖子,说输入sudo,但由于我以 …
我试图更新和升级我的软件包,但是当我执行以下命令时:
sudo apt upgrade && sudo apt update
Run Code Online (Sandbox Code Playgroud)
出现以下消息:
Hit:1 https://download.sublimetext.com apt/stable/ InRelease
Hit:2 http://kali.cs.nctu.edu.tw/kali kali-rolling InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
767 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some …Run Code Online (Sandbox Code Playgroud) 如何安装/卸载软件包.deb?
debian ×3
ubuntu ×3
kali-linux ×2
apt ×1
dependencies ×1
history ×1
input ×1
linux-mint ×1
security ×1
shell-script ×1
source-code ×1
terminal ×1
upgrade ×1
windows-subsystem-for-linux ×1
yum ×1