LINUX.ORG.RU

Сообщения EvgenijjinegvE

 

apt-get перестал работать. Нельзя установить ниодну программу даже через сторонний установщик gui

Форум — General

Всем привет. Система Ubuntu 20.04.6 Собственно сабж. Гугл не помогает. При попытке что то поставить:

evgenij@kotbook:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 linux-image-generic-hwe-20.04 : Depends: linux-image-5.15.0-124-generic but it is not installed
 linux-modules-extra-5.15.0-119-generic : Depends: linux-image-5.15.0-119-generic but it is not installed or
                                                   linux-image-unsigned-5.15.0-119-generic but it is not installed
 linux-modules-extra-5.15.0-124-generic : Depends: linux-image-5.15.0-124-generic but it is not installed or
                                                   linux-image-unsigned-5.15.0-124-generic but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Используем совет с фикс брокен:

evgenij@kotbook:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-goa-1.0 libatk-bridge2.0-0:i386 libatspi2.0-0:i386 libcolord2:i386 libepoxy0:i386
  libfwupdplugin1 libgtk-3-0:i386 libjson-glib-1.0-0:i386 libllvm11:i386 librest-0.7-0:i386
  libsoup-gnome2.4-1:i386 libxmlb1 linux-headers-5.15.0-119-generic
  linux-hwe-5.15-headers-5.15.0-119 linux-image-5.15.0-119-generic
  linux-modules-5.15.0-119-generic linux-modules-extra-5.15.0-119-generic wine-staging
  wine-staging-amd64 wine-staging-i386:i386
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  linux-image-5.15.0-119-generic linux-image-5.15.0-124-generic linux-modules-5.15.0-119-generic
  linux-modules-5.15.0-124-generic
Suggested packages:
  fdutils linux-doc | linux-hwe-5.15-source-5.15.0 linux-hwe-5.15-tools
The following NEW packages will be installed:
  linux-image-5.15.0-119-generic linux-image-5.15.0-124-generic linux-modules-5.15.0-119-generic
  linux-modules-5.15.0-124-generic
0 upgraded, 4 newly installed, 0 to remove and 138 not upgraded.
8 not fully installed or removed.
Need to get 0 B/67,4 MB of archives.
After this operation, 349 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 293743 files and directories currently installed.)
Preparing to unpack .../linux-modules-5.15.0-124-generic_5.15.0-124.134~20.04.1_amd64.deb ...
Unpacking linux-modules-5.15.0-124-generic (5.15.0-124.134~20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-modules-5.15.0-124-generic_5.15.0-124.1
34~20.04.1_amd64.deb (--unpack):
 error setting ownership of './boot/System.map-5.15.0-124-generic': Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-image-5.15.0-124-generic_5.15.0-124.134~20.04.1_amd64.deb ...
Unpacking linux-image-5.15.0-124-generic (5.15.0-124.134~20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-5.15.0-124-generic_5.15.0-124.134
~20.04.1_amd64.deb (--unpack):
 error setting ownership of './boot/vmlinuz-5.15.0-124-generic': Operation not permitted
W: Last kernel image has been removed, so removing the default symlinks
Preparing to unpack .../linux-modules-5.15.0-119-generic_5.15.0-119.129~20.04.1_amd64.deb ...
Unpacking linux-modules-5.15.0-119-generic (5.15.0-119.129~20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-modules-5.15.0-119-generic_5.15.0-119.1
29~20.04.1_amd64.deb (--unpack):
 error setting ownership of './boot/System.map-5.15.0-119-generic': Operation not permitted
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe)
Preparing to unpack .../linux-image-5.15.0-119-generic_5.15.0-119.129~20.04.1_amd64.deb ...
Unpacking linux-image-5.15.0-119-generic (5.15.0-119.129~20.04.1) ...
dpkg: error processing archive /var/cache/apt/archives/linux-image-5.15.0-119-generic_5.15.0-119.129
~20.04.1_amd64.deb (--unpack):
 error setting ownership of './boot/vmlinuz-5.15.0-119-generic': Operation not permitted
No apport report written because MaxReports is reached already
                                                              W: Last kernel image has been removed,
 so removing the default symlinks
Errors were encountered while processing:
 /var/cache/apt/archives/linux-modules-5.15.0-124-generic_5.15.0-124.134~20.04.1_amd64.deb
 /var/cache/apt/archives/linux-image-5.15.0-124-generic_5.15.0-124.134~20.04.1_amd64.deb
 /var/cache/apt/archives/linux-modules-5.15.0-119-generic_5.15.0-119.129~20.04.1_amd64.deb
 /var/cache/apt/archives/linux-image-5.15.0-119-generic_5.15.0-119.129~20.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Не дает поменять разрешения на boot почему то, хотя я могу в папке создавать и изменять конфиги.

evgenij@kotbook:~$ sudo chown -R root:root /boot
chown: changing ownership of '/boot/EFI/BOOT/bootx64.efi': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/drivers_x64/ext4_x64.efi': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/drivers_x64': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/refind_local.cer': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/refind_local.crt': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/altlinux.cer': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/canonical-uefi-ca.der': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/centos.cer': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/fedora-ca.cer': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/microsoft-kekca-public.der': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/microsoft-pca-public.der': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/microsoft-uefica-public.der': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/openSUSE-UEFI-CA-Certificate-4096.cer': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/openSUSE-UEFI-CA-Certificate.cer': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/refind.cer': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys/SLES-UEFI-CA-Certificate.cer': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/keys': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/README': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/arrow_left.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/arrow_right.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/boot_linux.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/boot_win.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/func_about.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/func_csr_rotate.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/func_exit.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/func_firmware.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/func_hidden.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/func_reset.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/func_shutdown.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/mouse.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_arch.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_artful.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_bionic.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_centos.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_chakra.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_chrome.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_clover.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_crunchbang.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_debian.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_devuan.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_elementary.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_fedora.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_freebsd.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_frugalware.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_gentoo.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_gummiboot.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_haiku.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_hwtest.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_kubuntu.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_legacy.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_linux.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_linuxmint.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_lubuntu.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_mac.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_mageia.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_mandriva.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_netbsd.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_network.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_opensuse.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_redhat.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_refind.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_refit.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_slackware.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_suse.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_systemd.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_trusty.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_ubuntu.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_unknown.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_void.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_win.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_win8.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_xenial.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_xubuntu.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/os_zesty.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_apple_rescue.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_fwupdate.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_memtest.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_mok_tool.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_netboot.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_part.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_rescue.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_shell.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/tool_windows_rescue.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/transparent.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/vol_external.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/vol_internal.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/vol_net.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons/vol_optical.png': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/icons': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/refind.conf': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT/BOOT.CSV': Operation not permitted
chown: changing ownership of '/boot/EFI/BOOT': Operation not permitted
chown: changing ownership of '/boot/EFI/tools': Operation not permitted
chown: changing ownership of '/boot/EFI': Operation not permitted
chown: changing ownership of '/boot': Operation not permitted

Сломал весь мозг что с этим делать. Стоит загрузчик rEFind.

 

EvgenijjinegvE
()

Подключение раннее созданного рейд0 в debian 12

Форум — Admin

Добрый день господа. В Винде 7 был создан рейд 0 с двумя хардами. Семёрка устарела, была установлена 10ка. Но из-за какой-то несовместимости со старой материнской постоянно отключались юсб. Поставил mx linux, основанный на дебиан 12. Вопрос - как завести рейдовые харды на линуксе? Mdadm я так понял при создании массива уничтожит все данные. А мне необходимо добавить массив как в Винде. Собственно я поставил виртуал бокс, в ней запустил 10ку, сделал образы двух дисков, подключил их в виртуалке, два клика и рейд массив завелся. Как это провернуть в дебиане без уничтожения данных?

Перемещено hobbit из general

 ,

EvgenijjinegvE
()

RSS подписка на новые темы