为什么“apt-get install npm”会删除一堆 Plesk 文件?

为什么“apt-get install npm”会删除一堆 Plesk 文件?

看:

root@iandpdev2:~# apt-get install npm 
Reading package lists... Done
Building dependency tree 
Reading state information... Done 
The following extra packages will be installed:   
gyp javascript-common
libc-ares-dev libjs-node-uuid libssl-dev libssl-doc   libssl1.0.0
libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi node-archy  
node-async node-block-stream node-combined-stream node-cookie-jar  
node-delayed-stream node-forever-agent node-form-data node-fstream  
node-fstream-ignore node-github-url-from-git node-glob
node-graceful-fs   node-gyp node-inherits node-ini
node-json-stringify-safe node-lockfile   node-lru-cache node-mime
node-minimatch node-mkdirp node-mute-stream   node-node-uuid node-nopt
node-normalize-package-data node-npmlog node-once   node-osenv node-qs
node-read node-read-package-json node-request node-retry   node-rimraf
node-semver node-sha node-sigmund node-slide node-tar  
node-tunnel-agent node-which nodejs nodejs-dev zlib1g-dev 

Suggested packages:   
node-hawk node-aws-sign node-oauth-sign
node-http-signature 

The following packages will be REMOVED:  
libpam-plesk plesk-base plesk-config-troubleshooter plesk-core
plesk-l10n   plesk-mail-pc-driver plesk-management-node
plesk-roundcube   plesk-service-node-utilities plesk-web-hosting
pp-sitebuilder   psa-drweb-configurator psa-horde psa-imp psa-ingo
psa-kronolith   psa-libxml-proxy psa-mail-driver-common
psa-mailman-configurator psa-mnemo   psa-passwd psa-php5-configurator
psa-phpmyadmin psa-phppgadmin   psa-pylibplesk psa-turba psa-updates
wpb-core wpb-headers 

The following NEW packages will be installed:  
gyp javascript-common libc-ares-dev libjs-node-uuid libssl-dev
libssl-doc   libv8-3.14-dev libv8-3.14.5 node-abbrev node-ansi
node-archy node-async   node-block-stream node-combined-stream
node-cookie-jar node-delayed-stream   node-forever-agent
node-form-data node-fstream node-fstream-ignore  
node-github-url-from-git node-glob node-graceful-fs node-gyp
node-inherits   node-ini node-json-stringify-safe node-lockfile
node-lru-cache node-mime   node-minimatch node-mkdirp node-mute-stream
node-node-uuid node-nopt   node-normalize-package-data node-npmlog
node-once node-osenv node-qs   node-read node-read-package-json
node-request node-retry node-rimraf   node-semver node-sha
node-sigmund node-slide node-tar node-tunnel-agent   node-which nodejs
nodejs-dev npm zlib1g-dev 

The following packages will be upgraded:  
libssl1.0.0

答案1

同样的事情。但我确实如此:

apt-get install npm 

我回答了问题 Y/n : n

在我这样做之后:

apt-get install --only-upgrade npm

在我这样做之后

apt-get install -s npm

当我这样做时:

apt-get install npm

我没有看到已删除的软件包,并且我安装了 npm 而没有删除 Plesk :)

相关内容