我试图让nfs在Ubuntu 16.04.2 LTS上工作。 我得到以下错误: 我已经尝试重新安装nfs-common,nfs-kernel-server和其他软件包按照其他论坛提供的说明,并不能得到它的工作。 由于这个原因,每次都通过dpkg安装失败。 May 17 11:32:44 ocrservernew systemd[1]: Mounting RPC Pipe File System… May 17 11:32:44 ocrservernew systemd[1]: Mounting NFSD configuration filesystem… May 17 11:32:44 ocrservernew mount[1962]: mount: unknown filesystem type 'rpc_pipefs' May 17 11:32:44 ocrservernew systemd[1]: run-rpc_pipefs.mount: Mount process exited, code=exi May 17 11:32:44 ocrservernew systemd[1]: Failed to mount RPC Pipe […]
由于symantec ghost(ghost是一个不能被删除的要求)的问题,我必须安装一些grub遗留的机器。 我有一个准备机器的脚本,但是有一个小问题:apt-get purge grub-pc提供了一个忽略-y –force-yes的对话窗口。 我怎么能摆脱它? 编辑:debconf模板是grub-pc / postrm_purge_boot_grub。 –force-confdef没有帮助。
在尝试更新Debian 6,x64上的linux-image-2.6.32-5-amd64软件包时出现错误。 Setting up linux-image-2.6.32-5-amd64 (2.6.32-41squeeze2) … Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.32-5-amd64 Examining /etc/kernel/postinst.d. run-parts: executing /etc/kernel/postinst.d/initramfs-tools 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 run-parts: executing /etc/kernel/postinst.d/zz-update-grub 2.6.32-5-amd64 /boot/vmlinuz-2.6.32-5-amd64 Searching for GRUB installation directory … found: /boot/grub Searching for default file … Generating /boot/grub/default file and setting the default boot entry to 0 entry not specified. run-parts: /etc/kernel/postinst.d/zz-update-grub […]
在遵循关于如何保护Ubuntu服务器的在线指南时,我在我的一个testing虚拟机上运行了这个命令。 sudo dpkg-statoverride –update –add root admin 4750 /bin/su 我知道这个命令的意图是将su的使用限制在特定的用户身上。 我没有意识到的是su在Ubuntu上已经被默认禁用了。 有人能告诉我如何在Ubuntu 12.04上反转它吗? 我已经试过了: sudo dpkg-statoverride –remove /bin/su
在Wheezy上,我使用了我通过设置的当前backports内核 # echo "deb http://ftp.de.debian.org/debian wheezy-backports main" > \ /etc/apt/sources.list.d/wheezy-backports.list # apt-get update # apt-get -t wheezy-backports install linux-image-amd64 linux-headers-amd64 同样,我目前正在运行一个3.14内核。 现在,当我进行常规apt-get update && apt-get upgrade ,我提供了以下内容: The following packages will be upgraded: *** *** linux-image-3.2.0-4-amd64 这是预期的行为? 当我想保持3.14内核时,我是否需要否认这一点? 如何永久性地使aptitude忽略规范化的内核包,并且只跟随backports(无论是运行backports内核,还是我不运行,在aptitude愿望之间进行切换都没有意义)。
自从PHP 5.3发布以来已经有一段时间了。 我迫不及待想要使用它,但是Ubuntu开发者已经决定在10.04之前不将其包含在APT存储库中。 我不想等那么久,这太可笑了。 我觉得奇怪的是,要在他们的Ubuntu服务器上安装PHP 5.3的人还有很多,还有更多。 然而,我无法在networking上的任何地方find一个软件包或者替代版本库,只能说明自己做了什么(我没有足够的技巧来做,而且也相当黑客)。 我在错误的方向看,还是真的没有什么能让我用dpkg / apt安装最新的PHP?
我无法添加/删除任何包在Ubuntu的业力 我一直得到以下 Errors were encountered while processing: crossplatfromui E: Sub-process /usr/bin/dpkg returned an error code (1) 我该如何彻底删除这个包?
我在Debian Lenny上,并且从lenny-backports安装了nginx 0.7.65。 我需要uwsgi模块,所以我为lenny-backports添加了deb-src ,并且实现了apt-get source nginx 。 这抓住了0.7.67-3。 我遵循本指南的T: http : //brandonkonkle.com/blog/2010/sep/14/django-uwsgi-and-nginx/ ,然后根据说明做了dpkg -i nginx * .deb。 它似乎并没有取代0.7.65因为我得到这个: (Reading database … 27253 files and directories currently installed.) Preparing to replace nginx 0.7.67-3~bpo50+1 (using nginx_0.7.67-3~bpo50+1_i386.deb) … Unpacking replacement nginx … Preparing to replace nginx-dbg 0.7.67-3~bpo50+1 (using nginx-dbg_0.7.67-3~bpo50+1_i386.deb) … Unpacking replacement nginx-dbg … Setting up nginx […]
我在Debian下运行,最近我升级到Squeeze。 从那以后,我在Webmin遇到了很多问题。 所以我决定删除它使用: apt-get remove webmin 然后我下载了Webmin 1.530的源代码并进行了编译。 但是安装过程已经停止了一个小时,所以我取消了。 我甚至尝试使用.deb文件安装而没有成功(安装了几个小时)。 从现在起,我无法安装Webmin,因为我卸载了它。 所以我想知道如何在我的服务器上完全清除Webmin的任何痕迹。 然后我会重新安装它。
我试图升级nginx 1.2.1到版本1.2.6在Ubuntu 12.10,但没有运气。 我以前安装nginx使用apt-get install nginx-full因为我需要模块而不是从源代码构build。 但是现在我不能用下面的apt-get“覆盖”旧的包 $ apt-get install nginx Reading package lists… Done Building dependency tree Reading state information… Done The following NEW packages will be installed: nginx 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 415 kB of archives. After this operation, 930 kB of […]