我做了 sudo aptitude --purge remove php5,它已成功删除,但 php5 仍然安装在我的系统上。如何卸载并重新安装 php5?
更新
感谢您的回答,我已经安装了这些软件包:
tony@bandop $ aptitude search php|grep "^i"
i A libapache2-mod-php5 - server-side, HTML-embedded scripting langu
i php-pear - PEAR - PHP Extension and Application Repos
i php5-cli - command-line interpreter for the php5 scri
i A php5-common - Common files for packages built from the p
i php5-dev - Files for PHP5 module development
i php5-mysql - MySQL module for php5
Run Code Online (Sandbox Code Playgroud)
我想配置 PHP 以使用我构建的外部 PCRE 库。你知道我必须重新配置哪个包吗?有没有办法在使用 aptitude 安装软件包时指定配置选项?
我想在 Ubuntu 10.04 上卸载 RabbitMQ,并发出以下命令:
sudo apt-get --purge autoremove rabbitmq-server
Run Code Online (Sandbox Code Playgroud)
它卸载了所有依赖项,例如 erlang 库,但未能删除 rabbitmq-server 本身。
当我重复上面的命令时,我得到:
(Reading database ... 26297 files and directories currently installed.)
Removing rabbitmq-server ...
* Stopping message broker rabbitmq-server
* message broker already stopped
[ OK ]
invoke-rc.d: initscript rabbitmq-server, action "stop" failed.
dpkg: error processing rabbitmq-server (--purge):
subprocess installed pre-removal script returned error exit status 3
* Starting message broker rabbitmq-server
* FAILED - check /var/log/rabbitmq/startup_\{log, _err\}
[fail]
invoke-rc.d: initscript rabbitmq-server, action "start" failed.
dpkg: …Run Code Online (Sandbox Code Playgroud) 我需要在我们的一些工作站上运行一个命令来卸载最前沿,并且在格式化命令时遇到了一些麻烦。
这是需要发生的事情(在多个命令中)
xcopy \\serverpath\Installer.exe C:\Windows
Install.exe /u /s
Del C:\Windows\Install.exe
我正在将 psexec 与计算机列表一起使用,但一直遇到错误。这就是我的命令现在的样子。
psexec @ComputerList.txt -u domain\administrator cmd /c (xcopy "\\NetworkPath\Forefront Software\Install.exe" "C:\Windows" && Install.exe /u /s && del C:\Windows\Install.exe)
Run Code Online (Sandbox Code Playgroud)
我认为路径名和引号中的空格把事情搞砸了......
编辑:
尝试使用脚本运行它但没有运气。看起来 scepinstall.exe 只是挂在远程机器上。我也尝试使用可以在C:\Windows\ccmsetup\
谢谢您的帮助
command-line-interface copy windows-command-prompt uninstall pstools
我通过本指南安装了 nagios,它运行良好,但现在我想完全卸载它。你能指导我我需要删除什么,因为我看不到卸载程序。
我已经从 Ubuntu 中删除并清除了 couchdb,但是如果我在任何时候在 shell 中键入“couchdb”,系统仍然会在崩溃之前尝试启动它。我检查了/usr/bin,即使在我清除之后,我仍然引用了 couchdb:
$ /usr/bin: ls couch*
couchdb couchdb-dump couchdb-load couchdb-replicate couchjs couchpy
Run Code Online (Sandbox Code Playgroud)
.bash_profile, .bashrc, .profile, /etc/profile- 还有其他地方我应该寻找文物吗?我将描述我的问题和解决方案,以防止非高级用户将不需要的软件与其他软件一起安装(通过“所需软件 setup.exe”中的预设复选框安装的广告软件)
我们有一台社区 PC,其中 10 多人拥有管理员权限。(都用同一个本地账号登录)
这些人都不会删除所有数据,因为他们非常好。
其中一些人在他们想要使用的电脑上安装软件。
有些软件带有不需要的软件,我们的电脑上没有人真正想要。但是有些用户不知道如何在安装不需要的广告软件、工具栏等时取消选中某些复选框(视觉)
我一直在寻找一个简单的解决方案,可以停止例如巴比伦工具栏,...安装在我们的社区电脑上。