我正在尝试安装 libtool。即使我安装了它,它似乎也不可用。
任何帮助都很有价值。
ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 15.04
Release: 15.04
Codename: vivid
ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ which libtool
ubuntu@ip-172-30-2-10:/opt/backend.mydomain.com/HaLVM$ sudo apt-get remove --purge libtool
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
libtool*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 826 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... …Run Code Online (Sandbox Code Playgroud) 我试图在chown里面/opt,出于某种原因chown跳到父母身边,把所有东西都吃了。
任何人都可以建议为什么/如何发生这种情况,以及将来如何避免这样做?在给定的目录中运行命令可以有效地跳转并在根目录中运行它,这有点令人担忧。
ubuntu: /opt > sudo chown -R root:www-data .*
chown: changing ownership of '../var/lib/lxcfs/proc/cpuinfo': Operation not permitted
chown: changing ownership of '../var/lib/lxcfs/proc/meminfo': Operation not permitted
chown: changing ownership of '../var/lib/lxcfs/proc/stat': Operation not permitted
chown: changing ownership of '../var/lib/lxcfs/proc/uptime': Operation not permitted
chown: changing ownership of '../var/lib/lxcfs/proc/diskstats': Operation not permitted
chown: changing ownership of '../var/lib/lxcfs/proc/swaps': Operation not permitted
chown: changing ownership of '../var/lib/lxcfs/proc': Operation not permitted
chown: changing ownership of '../var/lib/lxcfs/cgroup/devices': Operation not permitted …Run Code Online (Sandbox Code Playgroud)