Error processing package initramfs tools

Вовремя одно из обновлений, у меня поломался initramfs-tools При установке любого пакета появляется следующее сообщение. dpkg: error processing initramfs-tools (--configure) Подскажите как вылечить данную ошибку.
  • Печать

Страницы: [1] 2  Все   Вниз

Тема: dpkg error initramfs-tools.  (Прочитано 8151 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
galats

Вовремя одно из обновлений, у меня поломался initramfs-tools
При установке любого пакета появляется следующее сообщение.

dpkg: error processing initramfs-tools (—configure)

Подскажите как вылечить данную ошибку.

« Последнее редактирование: 21 Февраля 2013, 17:08:21 от galats »


chemtech

galats,
Переименуйте название темы. Добавьте в название темы: dpkg error

apt-get install -f

dpkg --configure -a


Оффлайн
galats

apt-get install -f

dpkg —configure -a

Конфигурировать ничего не хочет.

« Последнее редактирование: 21 Февраля 2013, 17:35:05 от galats »


chemtech

galats,
У вас 

dependency problems - leaving unconfiguredКакой дистрибутив? Что-то наделали!


Оффлайн
galats

Возможно из-за того что поставил ядро 3,5
Но после установки нового ядра это было пару месяцев назад проблем с обновлением не возникало.


chemtech

galats,
Попробуйте загрузить ядро 3.2, удалить ядро 3.5 и обновиться.


Оффлайн
galats

Завтра заеду на объект и попробую реализовать данный совет.
По результату отпишусь.


Оффлайн
AnrDaemon

1. Перед install -f надо бы сделать update.
2. А у вас, так, случайно, свободное место на / и /var не того?

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
galats

Место на винте достаточно.


Пользователь решил продолжить мысль 06 Марта 2013, 16:26:55:


galats,
Попробуйте загрузить ядро 3.2, удалить ядро 3.5 и обновиться.

Загрузился под ядро 3,2,35 та же история.

Вот хочу попробовать загрузить ядро 3,0,19. По результату отпишусь.

« Последнее редактирование: 06 Марта 2013, 16:26:55 от galats »


Оффлайн
AnrDaemon

Перед install -f делать update в обязательном порядке.

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
galats

Сделал
apt-get install update
потом
apt-get install -f
Ниже в сполер засунул текст из терминала.


Оффлайн
AnrDaemon

У меня растёт ЧУЙСТВО, что вам этот пакет не нужен. Т.е. вообще.
Сейчас VM прогрузится — скажу точнее.


Пользователь решил продолжить мысль 06 Марта 2013, 17:14:37:


А покажите пожалуйста

aptitude show initramfs-tools

« Последнее редактирование: 06 Марта 2013, 17:14:37 от AnrDaemon »

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
galats

Пожалуйста показываю
aptitude show initramfs-tools


Оффлайн
AnrDaemon

Угу-угу.
У вас должна быть доступна новая версия этого пакета.
Запускайте aptitude и ищите это чудо по названию. Устанавливайте последнюю версию.

i A  — initramfs-tools / 0.99ubuntu13.1 / 0.99ubuntu13.1
  Описание: tools for generating an initramfs
    This package contains tools to create and boot an initramfs for packaged 2.6 Linux kernel. The initramfs is a gzipped cpio archive. At boot time, the kernel unpacks that archive into RAM, mounts and uses it as initial root file system. The mounting of the real root file system occurs in early user space. klibc provides utilities to setup root. Having the root on MD, LVM2, LUKS or NFS is also supported. Any boot loader with initrd support is able to load an initramfs archive.
  Multi-Arch: foreign
  Приоритет: необходимый
  Раздел: utils
  Сопровождающий: Ubuntu Kernel Team <kernel-team@lists.ubuntu.com>
  Архитектура: all
  Размер в сжатом виде: 49,0 k
  Размер в распакованном виде: 372 k
  Исходный пакет: initramfs-tools
  — Зависит (9)
  — Предлагает (1)
  — Конфликтует (1)
  — Ломает (5)
  — Названия пакетов, предоставляемые initramfs-tools (1)
  — Пакеты, которые зависят от initramfs-tools (114)
  — Версии initramfs-tools (2)
p A  0.99ubuntu13
i A  0.99ubuntu13.1

Хотите получить помощь? Потрудитесь представить запрошенную информацию в полном объёме.

Прежде чем [Отправить], нажми [Просмотр] и прочти собственное сообщение. Сам-то понял, что написал?…


Оффлайн
galats

нашел но новая версия не ставится
Нашел еще ,что initramfs-tools надо обновить до версии 0,99ubuntu13.1


  • Печать

Страницы: [1] 2  Все   Вверх

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

Jadesword

error while updating initramfs-tools

I am new to Mint. My searches for a solution show that initramfs-tools is very important, but did not yield an understandable solution to the update and reinstall problems.

I am using synaptic on Mint Cinnamon 17.3. During the most recent update, a pop-up window displayed an error message: «E: initramfs-tools: subprocess installed post-installation script returned error exit status 1«

The following are the installation error messages:
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up initramfs-tools (0.103ubuntu4.4) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) …
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (—configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) …
Errors were encountered while processing:
initramfs-tools

I tried to reinstall and got the pop-up error message: «E: Internal Error, No file name for initramfs-tools:amd64«

I considered uninstall, but too many important packages would also be uninstalled.

What must I do to eliminate the error messages?

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 3 times in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

Jadesword

Re: error while updating initramfs-tools

Post

by Jadesword » Sun Oct 02, 2016 4:30 am

Kiitän teitä apua.

I seem to be getting similar error messages. I hope going through the entire sequence of commands after seeing the error messages did not make things worse.

Code: Select all

j@j ~ $ sudo apt-get autoremove
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  libtomcrypt0 libtommath0 timelimit
0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 971 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 315523 files and directories currently installed.)
Removing libtomcrypt0:amd64 (1.17-5) ...
Removing libtommath0 (0.42.0-1build1) ...
Removing timelimit (1.8-1) ...
Processing triggers for libc-bin (2.19-0ubuntu6.9) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

j@j ~ $ sudo apt-get --purge remove && sudo apt-get autoclean
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

j@j ~ $ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

Code: Select all

j@j ~ $ sudo apt-get update
Ign http://packages.linuxmint.com rosa InRelease
Ign http://extra.linuxmint.com rosa InRelease                                  
Get:1 http://security.ubuntu.com trusty-security InRelease [65.9 kB]           
Hit http://extra.linuxmint.com rosa Release.gpg                                
Hit http://packages.linuxmint.com rosa Release.gpg                             
Ign http://archive.canonical.com trusty InRelease                              
Ign http://archive.ubuntu.com trusty InRelease                                 
Hit http://packages.linuxmint.com rosa Release                                 
Hit http://extra.linuxmint.com rosa Release                                    
Get:2 http://security.ubuntu.com trusty-security/main Sources [120 kB]         
Hit http://archive.canonical.com trusty Release.gpg                            
Get:3 http://archive.ubuntu.com trusty-updates InRelease [65.9 kB]             
Hit http://packages.linuxmint.com rosa/main Sources                            
Hit http://extra.linuxmint.com rosa/main Sources                               
Get:4 http://security.ubuntu.com trusty-security/restricted Sources [4,064 B]  
Hit http://archive.canonical.com trusty Release                                
Get:5 http://security.ubuntu.com trusty-security/universe Sources [43.6 kB]    
Hit http://extra.linuxmint.com rosa/main amd64 Packages                        
Hit http://packages.linuxmint.com rosa/upstream Sources                        
Get:6 http://security.ubuntu.com trusty-security/multiverse Sources [3,190 B]  
Hit http://archive.canonical.com trusty/partner Sources                        
Get:7 http://security.ubuntu.com trusty-security/main amd64 Packages [531 kB]  
Hit http://extra.linuxmint.com rosa/main i386 Packages                         
Hit http://packages.linuxmint.com rosa/import Sources                          
Hit http://archive.canonical.com trusty/partner amd64 Packages                 
Hit http://archive.ubuntu.com trusty Release.gpg                               
Hit http://packages.linuxmint.com rosa/main amd64 Packages                     
Get:8 http://security.ubuntu.com trusty-security/restricted amd64 Packages [13.0 kB]
Hit http://archive.canonical.com trusty/partner i386 Packages                  
Get:9 http://archive.ubuntu.com trusty-updates/main Sources [383 kB]           
Get:10 http://security.ubuntu.com trusty-security/universe amd64 Packages [138 kB]
Hit http://packages.linuxmint.com rosa/upstream amd64 Packages                 
Hit https://deb.opera.com stable InRelease                                     
Hit http://archive.canonical.com trusty/partner Translation-en                 
Get:11 http://security.ubuntu.com trusty-security/multiverse amd64 Packages [5,198 B]
Get:12 http://security.ubuntu.com trusty-security/main i386 Packages [493 kB]  
Hit http://packages.linuxmint.com rosa/import amd64 Packages                   
Hit http://archive.removed trusty-removed InRelease                          
Hit https://deb.opera.com stable/non-free amd64 Packages                       
Hit http://packages.linuxmint.com rosa/main i386 Packages                      
Get:13 http://archive.ubuntu.com trusty-updates/restricted Sources [5,360 B]   
Hit https://deb.opera.com stable/non-free i386 Packages                        
Hit http://packages.linuxmint.com rosa/upstream i386 Packages                  
Hit http://archive.removed trusty-removed/apps amd64 Packages                
Get:14 http://archive.ubuntu.com trusty-updates/universe Sources [166 kB]      
Ign http://extra.linuxmint.com rosa/main Translation-en_US                     
Get:15 http://security.ubuntu.com trusty-security/restricted i386 Packages [12.7 kB]
Hit http://packages.linuxmint.com rosa/import i386 Packages                    
Ign http://extra.linuxmint.com rosa/main Translation-en                        
Get:16 http://security.ubuntu.com trusty-security/universe i386 Packages [138 kB]
Hit http://archive.removed trusty-removed/apps i386 Packages                 
Get:17 http://archive.ubuntu.com trusty-updates/multiverse Sources [7,520 B]   
Get:18 http://security.ubuntu.com trusty-security/multiverse i386 Packages [5,339 B]
Hit http://security.ubuntu.com trusty-security/main Translation-en             
Get:19 http://archive.ubuntu.com trusty-updates/main amd64 Packages [901 kB]   
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Hit http://security.ubuntu.com trusty-security/universe Translation-en         
Get:20 http://archive.ubuntu.com trusty-updates/restricted amd64 Packages [15.9 kB]
Get:21 http://archive.ubuntu.com trusty-updates/universe amd64 Packages [376 kB]
Get:22 http://archive.ubuntu.com trusty-updates/multiverse amd64 Packages [15.0 kB]
Get:23 http://archive.ubuntu.com trusty-updates/main i386 Packages [861 kB]    
Ign https://deb.opera.com stable/non-free Translation-en_US                    
Ign https://deb.opera.com stable/non-free Translation-en                       
Ign http://archive.removed trusty-removed/apps Translation-en_US             
Get:24 http://archive.ubuntu.com trusty-updates/restricted i386 Packages [15.6 kB]
Ign http://archive.removed trusty-removed/apps Translation-en                
Get:25 http://archive.ubuntu.com trusty-updates/universe i386 Packages [377 kB]
Get:26 http://archive.ubuntu.com trusty-updates/multiverse i386 Packages [15.5 kB]
Hit http://archive.ubuntu.com trusty-updates/main Translation-en        
Hit http://archive.ubuntu.com trusty-updates/multiverse Translation-en         
Ign http://packages.linuxmint.com rosa/import Translation-en_US                
Hit http://archive.ubuntu.com trusty-updates/restricted Translation-en         
Ign http://packages.linuxmint.com rosa/import Translation-en             
Ign http://packages.linuxmint.com rosa/main Translation-en_US
Ign http://packages.linuxmint.com rosa/main Translation-en
Ign http://packages.linuxmint.com rosa/upstream Translation-en_US
Ign http://packages.linuxmint.com rosa/upstream Translation-en
Hit http://archive.ubuntu.com trusty-updates/universe Translation-en
Hit http://archive.ubuntu.com trusty Release        
Hit http://archive.ubuntu.com trusty/main Sources
Hit http://archive.ubuntu.com trusty/restricted Sources
Hit http://archive.ubuntu.com trusty/universe Sources
Hit http://archive.ubuntu.com trusty/multiverse Sources
Hit http://archive.ubuntu.com trusty/main amd64 Packages
Hit http://archive.ubuntu.com trusty/restricted amd64 Packages
Hit http://archive.ubuntu.com trusty/universe amd64 Packages
Hit http://archive.ubuntu.com trusty/multiverse amd64 Packages
Hit http://archive.ubuntu.com trusty/main i386 Packages                        
Hit http://archive.ubuntu.com trusty/restricted i386 Packages                  
Hit http://archive.ubuntu.com trusty/universe i386 Packages                    
Hit http://archive.ubuntu.com trusty/multiverse i386 Packages                  
Hit http://archive.ubuntu.com trusty/main Translation-en                       
Hit http://archive.ubuntu.com trusty/multiverse Translation-en                 
Hit http://archive.ubuntu.com trusty/restricted Translation-en                 
Hit http://archive.ubuntu.com trusty/universe Translation-en                   
Ign http://archive.ubuntu.com trusty/main Translation-en_US                    
Ign http://archive.ubuntu.com trusty/multiverse Translation-en_US              
Ign http://archive.ubuntu.com trusty/restricted Translation-en_US              
Ign http://archive.ubuntu.com trusty/universe Translation-en_US                
Fetched 4,777 kB in 10s (449 kB/s)                                             
Reading package lists... Done

Code: Select all

j@j ~ $ sudo dpkg --configure -a
Setting up initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.103ubuntu4.4) ...
update-initramfs: Generating /boot/initrd.img-3.19.0-32-generic
Warning: No support for locale: en_US.utf8
E: No boot partition found !
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 1
dpkg: error processing package initramfs-tools (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for initramfs-tools-ubuntu-touch (0.72) ...
Errors were encountered while processing:
 initramfs-tools
j@j ~ $

Last edited by karlchen on Sun Oct 02, 2016 4:20 pm, edited 1 time in total.

Reason: added [code] tags around each apt command and its screen output in order to make reading easier

Jadesword

Re: error while updating initramfs-tools

Post

by Jadesword » Sun Oct 02, 2016 7:04 pm

Merci pour votre aide. Votre suggestion est le plus apprécié.

Upon deleting initramfs-tools-ubuntu-touch and repeating the first group of commands, I found that the error messages no longer occurred with the minor exceptions of the pid>0 and locale not supported. Since the program is not running there should not be a pid and since it is a boot routine, locale will not have been loaded and does not require support. If I am wrong, you may let me know. In the mean time, I think the solution has passed the suggested tests. Now I need to figure out how to mark this as solved.

  • #1

I can’t get the upgrade to finish, it ends:

Setting up initramfs-tools (0.140) …
update-initramfs: deferring update (trigger activated)
Processing triggers for initramfs-tools (0.140) …
update-initramfs: Generating /boot/initrd.img-5.13.19-6-pve
/etc/initramfs/post-update.d//proxmox-boot-sync: 10: /usr/sbin/proxmox-boot-tool: not found
run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 127
dpkg: error processing package initramfs-tools (—configure):
installed initramfs-tools package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

This is not a proxmox image installation, it is a package installation running on a linode VM.

Can anyone help me? I have two other nodes but do not want to proceed until this is working.
Thanks
Bruce

OK additional information: My other two nodes both updated without error. The node that will not finish the upgrade command, we installed PMG from packages and so it is not exactly the same as the two on-site nodes, see below:

Installed from Proxmox image:
master node : Kernel Version Linux 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200)
slave node 1 : Kernel Version Linux 5.15.53-1-pve #1 SMP PVE 5.15.53-1 (Fri, 26 Aug 2022 16:53:52 +0200)

Installed from Packages:
Kernel Version Linux 5.13.19-6-pve #1 SMP PVE 5.13.19-15 (Tue, 29 Mar 2022 15:59:50 +0200)

The PVE 5.13.19-15 Version is installed on a Linode VM out on the internet, but I don’t think that is the problem. The problems seems to be proxmox-boot-tool: not found or run-parts: /etc/initramfs/post-update.d//proxmox-boot-sync exited with return code 127. The nodes are all upgraded now, and they are all showing synched and running. I am afraid that this version will not be able to upgrade further until I get this failure corrected. I don’t really know where to look.

Thanks
Bruce

Last edited: Oct 3, 2022

fiona

fiona

Proxmox Staff Member


  • #2

Hi,
the pve-kernel-helper package contains the proxmox-boot-tool binary. Please ensure that it is installed correctly. It is a dependency of the proxmox-mailgateway package. You might want to install that to make sure all dependencies for Proxmox Mail Gateway are pulled in automatically.

  • #3

Hi,
the pve-kernel-helper package contains the proxmox-boot-tool binary. Please ensure that it is installed correctly. It is a dependency of the proxmox-mailgateway package. You might want to install that to make sure all dependencies for Proxmox Mail Gateway are pulled in automatically.

Problem resolved. Installed pve-kernel-helper and upgrade completed cleanly. Many thanks.

Sincerely
Bruce

Всякий раз, когда я запускаю

sudo dpkg --configure -a

, я получаю эту ошибку

> Processing triggers for initramfs-tools (0.130ubuntu3.7) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-46-generic
Warning: /sbin/fsck.ext4 doesn't exist, can't install to initramfs, ignoring.
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-46-generic with 1.
dpkg: error processing package initramfs-tools (--configure):
 installed initramfs-tools package post-installation script subprocess returned error exit status 1
Setting up linux-firmware (1.173) ...
update-initramfs: Generating /boot/initrd.img-4.15.0-46-generic
Warning: /sbin/fsck.ext4 doesn't exist, can't install to initramfs, ignoring.
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.
update-initramfs: failed for /boot/initrd.img-4.15.0-46-generic with 1.
dpkg: error processing package linux-firmware (--configure):
 installed linux-firmware package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 initramfs-tools
 linux-firmware

после некоторого поиска в Google, я обнаружил, что это как-то связано с заполнением /boot раздела, но, видимо, это не так вот результат dh -f:

Filesystem      Size  Used Avail Use% Mounted on
udev            7.8G     0  7.8G   0% /dev
tmpfs           1.6G  1.9M  1.6G   1% /run
/dev/sda9        83G   17G   62G  22% /
tmpfs           7.8G  105M  7.7G   2% /dev/shm
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           7.8G     0  7.8G   0% /sys/fs/cgroup
/dev/loop2       90M   90M     0 100% /snap/core/6673
/dev/loop3      196M  196M     0 100% /snap/vlc/555
/dev/loop0       54M   54M     0 100% /snap/core18/970
/dev/loop1       18M   18M     0 100% /snap/chromium-ffmpeg/9
/dev/loop5       54M   54M     0 100% /snap/core18/941
/dev/loop6      141M  141M     0 100% /snap/gnome-3-26-1604/78
/dev/loop27      89M   89M     0 100% /snap/core/6964
/dev/loop29     239M  239M     0 100% /snap/kde-frameworks-5-core18/26
/dev/loop26     203M  203M     0 100% /snap/vlc/768
/dev/sda1       256M   35M  222M  14% /boot/efi
tmpfs           1.6G   64K  1.6G   1% /run/user/1000

я также не могу установить / обновить / обновить какой-либо пакет или использовать dpkg и apt-get. Также я удалил старые ядра. это похоже на бесконечный цикл ошибок, и все они возвращают меня к этой ошибке

Errors were encountered while processing:  
initramfs-tools  
linux-firmware

Вывод apt policy e2fsprogs libext2fs2

e2fsprogs:
  Installed: (none)
  Candidate: 1.44.1-1
  Version table:
     1.44.1-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://za.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
     1.42.13-1ubuntu1 -1
        100 /var/lib/dpkg/status
libext2fs2:
  Installed: 1.44.1-1ubuntu1.1
  Candidate: 1.44.1-1ubuntu1.1
  Version table:
 *** 1.44.1-1ubuntu1.1 100
        100 /var/lib/dpkg/status
     1.44.1-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://za.archive.ubuntu.com/ubuntu bionic/main amd64 Packages

задан
6 June 2019 в 02:05

поделиться

1 ответ

Из этих двух строк вашего вывода я заключаю, что пакет e2fsprogs отсутствует или поврежден:

Warning: /sbin/fsck.ext4 doesn't exist, can't install to initramfs, ignoring.
E: /usr/share/initramfs-tools/hooks/fixrtc failed with return 1.

В первой строке прямо указано, что /sbin/fsck.ext4 отсутствует, это файл, предоставленный тот пакет, который я упомянул. Изучая неисправный скрипт, упомянутый во второй строке, выясняется, что для этого требуется /sbin/dumpe2fs, который также предоставляется тем же пакетом.

Чтобы решить эту проблему, вы должны (пере?) Установить e2fsprogs, выполнив:

sudo apt install --reinstall e2fsprogs

Тот факт, что пакет, содержащий сбойный крючок fixrtc initramfs (initramfs-tools-core), не зависит от, казалось бы, требуемого пакета e2fsprogs, хотя, вероятно, следует рассматривать его как ошибку. Я сообщил об этом на Launchpad здесь.


Обновление:

Поскольку e2fsprogs отказывается от установки, поскольку конфликтует с несовместимой версией libext2fs2, которую вы установили из неизвестного и более недоступного источника в этом процессе мы должны понизить этот другой пакет до поддерживаемой версии:

sudo apt install --reinstall e2fsprogs libext2fs2=1.44.1-1

ответ дан Byte Commander
6 June 2019 в 02:05

поделиться

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

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

Понравилась статья? Поделить с друзьями:
  • Error reading file maps workshop 152508932 thumb152508932 jpg
  • Error processing of loader sin finished with errors
  • Error reading file ia 1027
  • Error reading end tag перевод
  • Error reading dosdevices information error 122