我正在尝试rjava
在 Rstudio 中安装以下库显示错误-lpcre2-8, -lbz2, -lz
有什么办法可以解决这些问题吗?在其他网站上没有任何运气,并且各种极客提供了解决方案。系统:ubuntu-20.04
错误代码:
/usr/bin/ld: cannot find -lpcre2-8
/usr/bin/ld: cannot find -lbz2
/usr/bin/ld: cannot find -lz
collect2: error: ld returned 1 exit status
这是我正在尝试做的事情:
sudo apt-get install gdebi-core
wget https://download2.rstudio.org/server/xenial/amd64/rstudio-server-1.3.1093-amd64.deb
sudo gdebi rstudio-server-1.3.1093-amd64.deb
这是我得到的错误:
Traceback (most recent call last):
File "/usr/bin/gdebi", line 38, in <module>
from GDebi.GDebiCli import GDebiCli
File "/usr/share/gdebi/GDebi/GDebiCli.py", line 36, in <module>
from .DebPackage import DebPackage, DscSrcPackage
File "/usr/share/gdebi/GDebi/DebPackage.py", line 24, in <module>
import apt.debfile
File "/usr/lib/python3/dist-packages/apt/debfile.py", line 23, in <module>
import apt_inst
ModuleNotFoundError: No module named 'apt_inst'
(欢迎标记建议,我不知道如何正确分类或标记我的问题)
Ubuntu 18.04。
我有一个谜。当我访问 localhost:8787 时,我被带到 rstudio 登录屏幕:
我不知道在 localhost:8787 托管 rstudio 应用程序的进程是什么。几周前,我确实为通过 localhost:8787 访问的 rstudio 运行了一个 docker 容器。但是,该容器已被停止、删除,事实上,我已经删除了所有 docker 镜像:
(这里没有容器)
docker container ls
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
甚至没有要运行的图像:
docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
在搜索“如何判断本地主机上托管的进程”后,我发现了一篇帖子。我不确定在这里使用什么搜索词。
经过一番搜索,我在终端中运行了这个命令:
netstat -aon | grep 8787
哪个返回了这个:
netstat -aon | grep 8787
tcp 0 0 0.0.0.0:8787 0.0.0.0:* LISTEN off (0.00/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41490 TIME_WAIT timewait (47.91/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41212 TIME_WAIT timewait (16.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41402 TIME_WAIT timewait (39.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41344 TIME_WAIT timewait (32.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41144 TIME_WAIT timewait (7.76/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41340 TIME_WAIT timewait (31.84/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41090 TIME_WAIT timewait (0.76/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41096 TIME_WAIT timewait (1.74/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41200 TIME_WAIT timewait (14.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41556 TIME_WAIT timewait (56.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41080 TIME_WAIT timewait (0.00/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41356 TIME_WAIT timewait (33.85/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41240 TIME_WAIT timewait (19.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41492 TIME_WAIT timewait (48.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41294 TIME_WAIT timewait (26.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41078 TIME_WAIT timewait (0.00/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41324 TIME_WAIT timewait (29.83/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41286 TIME_WAIT timewait (25.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41436 TIME_WAIT timewait (41.86/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41388 TIME_WAIT timewait (37.86/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41282 TIME_WAIT timewait (24.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41306 TIME_WAIT timewait (27.83/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41198 TIME_WAIT timewait (14.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41564 TIME_WAIT timewait (57.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41170 TIME_WAIT timewait (10.79/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41548 TIME_WAIT timewait (55.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41520 TIME_WAIT timewait (51.92/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41216 TIME_WAIT timewait (16.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41348 TIME_WAIT timewait (32.89/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41394 TIME_WAIT timewait (38.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41118 TIME_WAIT timewait (4.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41226 TIME_WAIT timewait (17.81/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41298 TIME_WAIT timewait (26.83/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41130 TIME_WAIT timewait (5.81/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41544 TIME_WAIT timewait (54.92/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41498 TIME_WAIT timewait (48.91/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41450 TIME_WAIT timewait (43.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41562 TIME_WAIT timewait (56.95/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41202 TIME_WAIT timewait (14.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41092 TIME_WAIT timewait (1.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41106 TIME_WAIT timewait (2.76/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41196 TIME_WAIT timewait (14.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41352 TIME_WAIT timewait (33.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41574 TIME_WAIT timewait (58.62/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41554 TIME_WAIT timewait (55.93/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41272 TIME_WAIT timewait (23.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41338 TIME_WAIT timewait (31.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41560 TIME_WAIT timewait (56.94/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41390 TIME_WAIT timewait (37.93/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41452 TIME_WAIT timewait (43.86/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41346 TIME_WAIT timewait (32.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41570 TIME_WAIT timewait (57.96/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41254 TIME_WAIT timewait (21.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41486 TIME_WAIT timewait (47.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41350 TIME_WAIT timewait (32.92/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41382 TIME_WAIT timewait (36.87/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41110 TIME_WAIT timewait (3.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41374 TIME_WAIT timewait (35.87/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41274 TIME_WAIT timewait (23.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41270 TIME_WAIT timewait (23.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41172 TIME_WAIT timewait (11.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41244 TIME_WAIT timewait (20.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41482 TIME_WAIT timewait (46.89/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41370 TIME_WAIT timewait (35.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41208 TIME_WAIT timewait (15.79/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41578 TIME_WAIT timewait (58.96/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41292 TIME_WAIT timewait (25.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41114 TIME_WAIT timewait (3.77/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41156 TIME_WAIT timewait (9.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41460 TIME_WAIT timewait (44.89/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41168 TIME_WAIT timewait (10.78/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41310 TIME_WAIT timewait (28.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41440 TIME_WAIT timewait (42.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41160 TIME_WAIT timewait (9.78/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41552 TIME_WAIT timewait (55.92/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41584 TIME_WAIT timewait (59.94/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41234 TIME_WAIT timewait (18.81/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41132 TIME_WAIT timewait (6.55/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41366 TIME_WAIT timewait (34.86/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41458 TIME_WAIT timewait (44.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41456 TIME_WAIT timewait (44.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41404 TIME_WAIT timewait (39.86/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41084 TIME_WAIT timewait (0.54/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41386 TIME_WAIT timewait (37.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41210 TIME_WAIT timewait (15.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41098 TIME_WAIT timewait (1.74/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41134 TIME_WAIT timewait (6.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41320 TIME_WAIT timewait (29.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41514 TIME_WAIT timewait (50.92/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41312 TIME_WAIT timewait (28.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41120 TIME_WAIT timewait (4.76/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41082 TIME_WAIT timewait (0.00/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41568 TIME_WAIT timewait (57.94/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41462 TIME_WAIT timewait (44.89/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41566 TIME_WAIT timewait (57.62/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41360 TIME_WAIT timewait (34.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41104 TIME_WAIT timewait (2.75/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41536 TIME_WAIT timewait (53.92/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41586 TIME_WAIT timewait (59.96/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41326 TIME_WAIT timewait (29.83/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41276 TIME_WAIT timewait (24.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41378 TIME_WAIT timewait (36.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41540 TIME_WAIT timewait (54.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41330 TIME_WAIT timewait (30.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41392 TIME_WAIT timewait (38.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41384 TIME_WAIT timewait (37.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41488 TIME_WAIT timewait (47.89/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41162 TIME_WAIT timewait (9.79/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41238 TIME_WAIT timewait (19.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41504 TIME_WAIT timewait (49.90/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41194 TIME_WAIT timewait (13.79/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41300 TIME_WAIT timewait (26.83/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41242 TIME_WAIT timewait (19.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41476 TIME_WAIT timewait (46.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41572 TIME_WAIT timewait (58.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41204 TIME_WAIT timewait (15.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41538 TIME_WAIT timewait (53.92/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41176 TIME_WAIT timewait (11.78/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41108 TIME_WAIT timewait (3.55/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41150 TIME_WAIT timewait (8.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41480 TIME_WAIT timewait (46.89/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41420 TIME_WAIT timewait (40.87/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41532 TIME_WAIT timewait (53.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41534 TIME_WAIT timewait (53.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41232 TIME_WAIT timewait (18.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41088 TIME_WAIT timewait (0.74/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41576 TIME_WAIT timewait (58.94/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41252 TIME_WAIT timewait (21.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41124 TIME_WAIT timewait (5.55/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41398 TIME_WAIT timewait (38.87/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41526 TIME_WAIT timewait (52.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41308 TIME_WAIT timewait (27.83/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41468 TIME_WAIT timewait (45.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41220 TIME_WAIT timewait (17.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41102 TIME_WAIT timewait (2.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41246 TIME_WAIT timewait (20.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41296 TIME_WAIT timewait (26.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41542 TIME_WAIT timewait (54.62/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41218 TIME_WAIT timewait (16.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41508 TIME_WAIT timewait (50.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41412 TIME_WAIT timewait (40.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41258 TIME_WAIT timewait (21.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41336 TIME_WAIT timewait (31.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41328 TIME_WAIT timewait (30.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41512 TIME_WAIT timewait (50.91/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41380 TIME_WAIT timewait (36.85/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41364 TIME_WAIT timewait (34.85/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41288 TIME_WAIT timewait (25.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41256 TIME_WAIT timewait (21.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41582 TIME_WAIT timewait (59.62/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41186 TIME_WAIT timewait (12.79/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41400 TIME_WAIT timewait (39.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41302 TIME_WAIT timewait (27.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41368 TIME_WAIT timewait (35.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41550 TIME_WAIT timewait (55.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41182 TIME_WAIT timewait (12.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41158 TIME_WAIT timewait (9.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41484 TIME_WAIT timewait (47.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41112 TIME_WAIT timewait (3.76/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41332 TIME_WAIT timewait (30.83/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41580 TIME_WAIT timewait (59.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41410 TIME_WAIT timewait (40.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41524 TIME_WAIT timewait (52.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41206 TIME_WAIT timewait (15.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41224 TIME_WAIT timewait (17.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41248 TIME_WAIT timewait (20.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41448 TIME_WAIT timewait (43.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41154 TIME_WAIT timewait (8.78/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41362 TIME_WAIT timewait (34.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41354 TIME_WAIT timewait (33.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41230 TIME_WAIT timewait (18.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41076 TIME_WAIT timewait (0.00/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41116 TIME_WAIT timewait (4.55/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41496 TIME_WAIT timewait (48.90/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41188 TIME_WAIT timewait (13.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41164 TIME_WAIT timewait (10.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41446 TIME_WAIT timewait (42.88/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41236 TIME_WAIT timewait (19.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41438 TIME_WAIT timewait (41.86/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41322 TIME_WAIT timewait (29.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41260 TIME_WAIT timewait (22.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41268 TIME_WAIT timewait (23.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41516 TIME_WAIT timewait (51.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41304 TIME_WAIT timewait (27.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41192 TIME_WAIT timewait (13.78/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41406 TIME_WAIT timewait (39.87/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41316 TIME_WAIT timewait (28.84/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41278 TIME_WAIT timewait (24.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41472 TIME_WAIT timewait (45.89/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41126 TIME_WAIT timewait (5.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41432 TIME_WAIT timewait (41.59/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41136 TIME_WAIT timewait (6.76/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41358 TIME_WAIT timewait (33.85/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41342 TIME_WAIT timewait (31.86/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41140 TIME_WAIT timewait (7.55/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41264 TIME_WAIT timewait (22.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41222 TIME_WAIT timewait (17.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41262 TIME_WAIT timewait (22.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41470 TIME_WAIT timewait (45.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41454 TIME_WAIT timewait (43.87/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41152 TIME_WAIT timewait (8.77/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41558 TIME_WAIT timewait (56.62/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41138 TIME_WAIT timewait (6.78/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41122 TIME_WAIT timewait (4.77/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41334 TIME_WAIT timewait (30.84/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41142 TIME_WAIT timewait (7.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41510 TIME_WAIT timewait (50.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41478 TIME_WAIT timewait (46.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41502 TIME_WAIT timewait (49.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41266 TIME_WAIT timewait (22.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41314 TIME_WAIT timewait (28.83/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41522 TIME_WAIT timewait (51.93/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41178 TIME_WAIT timewait (11.79/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41146 TIME_WAIT timewait (7.78/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41434 TIME_WAIT timewait (41.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41280 TIME_WAIT timewait (24.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41128 TIME_WAIT timewait (5.80/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41474 TIME_WAIT timewait (45.89/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41376 TIME_WAIT timewait (36.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41228 TIME_WAIT timewait (18.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41418 TIME_WAIT timewait (40.87/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41442 TIME_WAIT timewait (42.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41190 TIME_WAIT timewait (13.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41530 TIME_WAIT timewait (52.92/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41250 TIME_WAIT timewait (20.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41396 TIME_WAIT timewait (38.86/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41372 TIME_WAIT timewait (35.87/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41546 TIME_WAIT timewait (54.93/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41528 TIME_WAIT timewait (52.91/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41500 TIME_WAIT timewait (49.60/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41180 TIME_WAIT timewait (12.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41184 TIME_WAIT timewait (12.78/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41506 TIME_WAIT timewait (49.91/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41166 TIME_WAIT timewait (10.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41518 TIME_WAIT timewait (51.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41494 TIME_WAIT timewait (48.61/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41214 TIME_WAIT timewait (16.58/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41094 TIME_WAIT timewait (1.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41086 TIME_WAIT timewait (0.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41148 TIME_WAIT timewait (8.56/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41290 TIME_WAIT timewait (25.82/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41174 TIME_WAIT timewait (11.57/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41100 TIME_WAIT timewait (2.55/0/0)
tcp 0 0 127.0.0.1:8787 127.0.0.1:41444 TIME_WAIT timewait (42.87/0/0)
这里发生了什么事?!为什么 localhost:8787 服务于 rstudio 应用程序,我该如何阻止它?
编辑:每条评论的输出dpkg -l | grep rstudio
和下方:systemctl list-units --type service | grep -i rstudio
dpkg -l | grep rstudio
ii rstudio 1.3.1093 amd64 RStudio
ii rstudio-server 1.3.1093 amd64 RStudio Server
和
systemctl list-units --type service | grep -i rstudio
rstudio-server.service loaded active running RStudio Server
我使用本教程安装 RStudio https://linuxhint.com/rstudio-for-ubuntu/
但是当我开始这个阶段时sudo gdebi -n rstudio-0.99.896-amd64.deb
它说
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
This package is uninstallable
Dependency is not satisfiable: libgstreamer0.10-0
我使用安装了 R 和 RStudio 的 Ubuntu MATE 18.04 LTS 来构建 bookdown 书籍和文档。
以前我在 16.04 LTS 中使用过这些应用程序。
通过在 LibreOffice Writer 中显示文档,构建/编织书或单个 RMarkdown 文档到 odt/docx 到此结束。
在 18.04 LTS 中,行为发生了变化。
将文档或书籍编入 odt/docx 不会在 LibreOffice 中显示文档。
如果我从终端启动 RStudio 并点击Knit或Build Book,它会显示以下输出:
/usr/lib/libreoffice/program/javaldx:加载共享库时出错:libreglo.so:无法打开共享对象文件:没有这样的文件或目录
警告:无法从 javaldx
/usr/lib/libreoffice/program/soffice读取路径.bin:加载共享库时出错:libreglo.so:无法打开共享对象文件:没有这样的文件或目录
我怎样才能解决这个问题?
libreglo.so
真的很到位:
$ dpkg -S libreglo.so
uno-libs3: /usr/lib/libreoffice/program/libreglo.so
Libreoffice Java 绑定到位
$ dpkg -l libreoffice-java-common | tail -n1
ii libreoffice-java-common 1:6.0.7-0ubuntu0.18.04.10 all office productivity suite -- arch-independent Java support files
$ update-java-alternatives -l
java-1.11.0-openjdk-amd64 1111 /usr/lib/jvm/java-1.11.0-openjdk-amd64
loffice
在,工具→选项, LibreOffice, Advanced , [ ]中启用/禁用 Java不会改变任何东西。
我有一台由 Ubuntu 18.04 操作的新机器。我安装了 RStudio v.3.4,但我基本上无法安装对我的工作至关重要的其他 R 包 Phyloseq,因为某些依赖项不适用于 V3.4。所以,我需要升级到 v3.5,但我不确定是否必须在继续之前删除 v3.4,或者这两个版本可以独立安装在同一台机器上。
还有一件事,我运行了这个命令
sudo add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/"
最后,我收到了这个错误信息
W: GPG error: https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 51716619E084DAB9
E: The repository 'https://cloud.r-project.org/bin/linux/ubuntu bionic-cran35/ InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
请问有什么建议吗?
打开后,RStudio 和 Steam 都遵循完全相同的模式。他们会在我的面板上花费一两秒钟,给人一种他们正在打开的印象,Steam 甚至会尝试更新一会儿,然后他们将开始占用大约 3GB 的 RAM,然后崩溃。Steam 没有给出错误,但 RStudio 给出了一个崩溃报告页面,其中包含“rsession 在 raise() 中使用 SIGABRT 崩溃”。
我确实尝试过清除并重新安装 Steam,我还删除了 /home/.steam 和 /home/steam/,这确实有效。事实上,它甚至设法更新了几次。但是,一旦这些更新完成,上述问题又回来了。
我在哪里可以调查这些问题?我的硬件/软件配置的哪些部分可能相关?我目前在联想 S340 Ideapad 上运行 Xubuntu 20.04。我之前运行的是 19.10。
根据要求,strace steam
在这里。在终端中打开 RStudio 会产生这种难以理解的输出并strace rstudio
返回完全疯狂,这超出了我在任何地方粘贴的能力(它是 12MB)。
安装 Solus 版本的 Steam 而不是官方 (.deb) 版本并没有解决这个问题,也没有安装任何有用的图形驱动程序或 32 位库。
更新:duckmayr的评论已修复 RStudio(请参阅此处的永久解决方案,临时解决方案对我不起作用)并且此修复表明这是一个图形问题。为了支持这一说法,我还发现 VLC 媒体播放器可以播放音频文件,但不能播放视频文件。如果有帮助,我的显卡是 Intel Corporation UHD Graphics 620 (Whiskey Lake)。我相信它是集成的。
几天前我已经将 R(从 3.6 升级到 4.0)和 RStudio(从 1.1 升级到 1.2.5),昨天将 Ubuntu 从 18.04 升级到 20.04。
从那时起,R有时在执行某些命令时永远不会终止:(ivreg
来自 package AER
)、summary
(来自 logit 回归)和logitmfx
(来自 package mfx
)。有时这些命令运行良好,但大多数时候我必须终止进程(killall rstudio
),因为 R 不会终止执行,即使按下 RStudio 中的红色停止按钮也是如此。
当我尝试example('AER')
时,它工作得很好。然后我重新安装了包AER
。In readLines(file, skipNul = TRUE) : cannot open compressed file '/usr/lib/R/site-library/[package]/DESCRIPTION', probable reason 'No such file or directory'
它抛出了 10 个where [package]
is abind
, colorspace
, ...类型的警告dichromat
(但不是AER
)。
此后example('AER')
引发警告:no help found for ‘AER’
.
我已经删除并重新安装了 R 4.0:它没有帮助。此外,apt purge r-base* r-recommended r-cran-*
抛出警告:dpkg: warning: while removing r-base-core, directory '/usr/lib/R/site-library' not empty so not removed
. 此外,还有一堆Package [package] is not installed, so not removed
,包括 for [package]
equal tor-cran-abind
和上面列出的另一个(这purge
也返回了一堆Note, selecting [package] for glob 'r-cran-*'
)。
我没有尝试在没有 RStudio 的情况下使用 R。在升级到 Ubuntu 20.04 期间,我可能正在使用 RStudio。另外,我不记得这个问题是在我升级 R 和 RStudio(这是我最好的猜测)之后还是在我升级 Ubuntu 之后(一两天后)开始的。
我希望有人能帮帮忙。