I run в “outdated” command that май have harmed Ubuntu!

I run в possibly dangerous and unpredictable command, please I need help in reverting wichever changes it в мае have подарил. Without reinstalling Ubuntu if possible. I need to make sure I haven't made bad compatibility issues installing old программное обеспечение. Because if that's the вступил в брак, в I мае have many вирусы and problems in the future, and this will be the вызовите.

The situation: I was trying to fix MIDI problems. So I found this page, found this command and run it:

sudo aptitude --purge reinstall linux-sound-base alsa-base alsa-utils linux-image-`uname -r` linux-ubuntu-modules-`uname -r` libasound2

I gave root permission after asked. And the dangerous part is that even if the command is suggested on в Ubuntu help page, the page itself says it's outdated at the top and should not be used various укради.

This is the official prompt (and starts with the command typed). Хан you tell я if it существуешь damaged my machine? гm thinking that it май hve installed very old программное обеспечение, because the instruction was in the руководитель wich was not recomended. How хан I get back to before? Or simply there is not в problem?

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 to remove and 6 not upgraded.
Need to get 1.427 kB/18,2 MB of archives. After unpacking 0 B will be used.
Get: 1 http://ar.archive.ubuntu.com/ubuntu/ trusty/main libasound2 amd64 1.0.27.2-3ubuntu7 [327 kB]
Get: 2 http://ar.archive.ubuntu.com/ubuntu/ trusty/main alsa-base all 1.0.25+dfsg-0ubuntu4 [151 kB]
Get: 3 http://ar.archive.ubuntu.com/ubuntu/ trusty/main alsa-utils amd64 1.0.27.2-1ubuntu2 [933 kB]
Get: 4 http://ar.archive.ubuntu.com/ubuntu/ trusty/main linux-sound-base all 1.0.25+dfsg-0ubuntu4 [14,5 kB]
Fetched 1.427 kB in 6s (215 kB/s)                                               
Preconfiguring packages ...
(Reading database ... 198306 files and directories currently installed.)
Preparing to unpack .../libasound2_1.0.27.2-3ubuntu7_amd64.deb ...
Unpacking libasound2:amd64 (1.0.27.2-3ubuntu7) over (1.0.27.2-3ubuntu7) ...
Preparing to unpack .../linux-image-3.19.0-42-generic_3.19.0-42.48~14.04.1_amd64.deb ...
Done.
Unpacking linux-image-3.19.0-42-generic (3.19.0-42.48~14.04.1) over (3.19.0-42.48~14.04.1) ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
run-parts: executing /etc/kernel/postrm.d/zz-extlinux 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.19.0-42-generic.efi.signed...
P: Writing config for /boot/vmlinuz-3.19.0-42-generic...
P: Writing config for /boot/vmlinuz-3.19.0-25-generic...
P: Writing config for Windows 7 (loader) on /dev/sda1...
P: Writing config for Windows Recovery Environment (loader) on /dev/sda4...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
Preparing to unpack .../alsa-base_1.0.25+dfsg-0ubuntu4_all.deb ...
Unpacking alsa-base (1.0.25+dfsg-0ubuntu4) over (1.0.25+dfsg-0ubuntu4) ...
Preparing to unpack .../alsa-utils_1.0.27.2-1ubuntu2_amd64.deb ...
Unpacking alsa-utils (1.0.27.2-1ubuntu2) over (1.0.27.2-1ubuntu2) ...
Preparing to unpack .../linux-sound-base_1.0.25+dfsg-0ubuntu4_all.deb ...
Unpacking linux-sound-base (1.0.25+dfsg-0ubuntu4) over (1.0.25+dfsg-0ubuntu4) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libasound2:amd64 (1.0.27.2-3ubuntu7) ...
Setting up linux-image-3.19.0-42-generic (3.19.0-42.48~14.04.1) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
Not updating initrd symbolic links since we are being updated/reinstalled 
(3.19.0-42.48~14.04.1 was configured last, according to dpkg)
Not updating image symbolic links since we are being updated/reinstalled 
(3.19.0-42.48~14.04.1 was configured last, according to dpkg)
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
run-parts: executing /etc/kernel/postinst.d/dkms 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
update-initramfs: Generating /boot/initrd.img-3.19.0-42-generic
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
run-parts: executing /etc/kernel/postinst.d/update-notifier 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
run-parts: executing /etc/kernel/postinst.d/zz-extlinux 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
P: Checking for EXTLINUX directory... found.
P: Writing config for /boot/vmlinuz-3.19.0-42-generic.efi.signed...
P: Writing config for /boot/vmlinuz-3.19.0-42-generic...
P: Writing config for /boot/vmlinuz-3.19.0-25-generic...
P: Writing config for Windows 7 (loader) on /dev/sda1...
P: Writing config for Windows Recovery Environment (loader) on /dev/sda4...
P: Installing debian theme... done.
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.19.0-42-generic /boot/vmlinuz-3.19.0-42-generic
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-3.19.0-42-generic
Found initrd image: /boot/initrd.img-3.19.0-42-generic
Found linux image: /boot/vmlinuz-3.19.0-25-generic
Found initrd image: /boot/initrd.img-3.19.0-25-generic
Found memtest86+ image: /boot/memtest86+.elf
Found memtest86+ image: /boot/memtest86+.bin
Found Windows 7 (loader) on /dev/sda1
Found Windows Recovery Environment (loader) on /dev/sda4
Found Debian GNU/Linux (8.2) on /dev/sda5
done
Setting up linux-sound-base (1.0.25+dfsg-0ubuntu4) ...
Setting up alsa-base (1.0.25+dfsg-0ubuntu4) ...
Setting up alsa-utils (1.0.27.2-1ubuntu2) ...
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
1
задан 31 December 2015 в 06:16

1 ответ

Согласно aptitude --help

чистка - Удаляют пакеты и их конфигурационные файлы.

переустанавливают - Загрузка и (возможно) переустанавливают в настоящее время устанавливаемый пакет.

Так, то, что Вы сделали, - то, что, Вы произвели чистку пакетов, которые находятся в Вашей команде и переустановили их. Так, далеко настолько хороший, но была всего одна часть в Вашей команде, которая, возможно, вызвала некоторые проблемы. Часть команды, где это сказало:

linux-image-`uname -r`

удалил Ваше активное ядро и затем переустановил его. Хотя его самое неожиданное для случая, но в крайних случаях это могло бы вызвать Вас некоторые проблемы. Кроме этого все в порядке.

От Вашего вывода кажется, что не было никаких ошибок, и все - как это должно было быть.

, Если Вы все еще не уверены - проверяют версии и все остальное очищенных пакетов, с помощью следующей команды:

apt-cache policy linux-sound-base alsa-base alsa-utils linux-image-`uname -r` libasound2
6
ответ дан 3 December 2019 в 06:31

Другие вопросы по тегам:

Похожие вопросы: