小编San*_*dro的帖子

我运行了一个可能损害了 Ubuntu 的“过时”命令!

我运行了一个可能危险且不可预测的命令,我需要帮助来恢复它可能所做的任何更改。如果可能,不重新安装 Ubuntu。我需要确保我没有在安装旧软件时出现严重的兼容性问题。因为如果是这样的话,我以后可能会有很多bug和问题,这就是原因。

情况:我试图解决 MIDI 问题。所以我找到了这个页面,找到了这个命令并运行它:

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
Run Code Online (Sandbox Code Playgroud)

我在询问后给予了 root 权限。危险的部分是,即使在 Ubuntu 帮助页面上建议了该命令,该页面本身也会在顶部说它已过时,不应多次使用。

这是官方提示(并以键入的命令开头)。你能告诉我它是否损坏了我的机器吗?我想它可能已经安装了非常旧的软件,因为教程中的说明没有被推荐。怎样才能回到以前?或者根本就没有问题?

qwerty@qwerty-RV420-RV520-RV720-E3530-S3530:~$ sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2
Couldn't find any package whose name or description matched "linux-ubuntu-modules-3.19.0-42-generic"
Couldn't find any package whose name or description matched "linux-ubuntu-modules-3.19.0-42-generic"
The following packages will be REINSTALLED:
  alsa-base alsa-utils libasound2 linux-image-3.19.0-42-generic 
  linux-sound-base 
0 packages upgraded, 0 newly installed, 5 reinstalled, 0 …
Run Code Online (Sandbox Code Playgroud)

command-line midi

1
推荐指数
1
解决办法
430
查看次数

标签 统计

command-line ×1

midi ×1