I know this is as old thread, but I encountered this problem recently during an upgrade of 12.04 LTS. None of the solutions here fully fixed my problem. After diving into it further, I found that it had something to do with the upgrade of libc6 i386 during an upgrade:
$> dpkg -i /var/cache/apt/archives/libc6_2.15-0ubuntu10.6_i386.deb
(Reading database ... 259895 files and directories currently
installed.) Preparing to replace libc6:i386 2.15-0ubuntu10.5 (using
.../libc6_2.15-0ubuntu10.6_i386.deb) ... dpkg: error processing
/var/cache/apt/archives/libc6_2.15-0ubuntu10.6_i386.deb (--install):
subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
After much tinkering, this seemed to work for. The goal is to remove the offensive libc6 package that fails to upgrade, and incrementally get the rest of the upgrade to work, which eventually also upgrades the libc6 package.
-
Run the upgrade (which will fail):
sudo apt-get upgrade
-
Then install the files we can from the cache (will succeed for some, but fail for others):
sudo dpkg -i /var/cache/apt/archives/*.deb
-
Remove the offensive libc6 (do not purge). It will cause a lot of dependencies to break, don’t worry we’ll fix them soon.
sudo dpkg -r --force-depends libc6:i386
-
Reconfigure it and other packages (will mostly succeed):
sudo dpkg --configure -a
-
Make a bit more more progress from cache (succeed for some, fail for others):
sudo dpkg -i /var/cache/apt/archives/*.deb
-
Now run another upgrade which will download needed packages (will fail on install):
sudo apt-get upgrade
If you’re lucky, it might start working from here, but if not, one more round of cache installs will do it.
-
Install again from cache (will succeed!)
sudo dpkg -i /var/cache/apt/archives/*.deb
Now you can check that further installs/upgrades will succeed.
Решил проблему!
Прежде всего, в вики астры алгоритм действий из https://wiki.astralinux.ru/pages/viewpage.action?pageId=44892738 , по которому делал изначально, вводит в заблуждение. В топку это руководство.
Правильная страничка эта: https://wiki.astralinux.ru/x/OwAy. Это мне подсказали в саппорте. Дальше делал сам, не дождался ответа саппорта
команды вводил такие последовательно:
sudo su
mount -o loop /opt/20190222se16.iso /opt/repo
vi /etc/apt/sources.list
вписал строку deb file:///opt/repo smolensk contrib main non-free
сохранил.
запустил далее:
apt update
Тут все хорошо.
apt dist-upgrade
Тут сыплет ошибками. Все ошибки связаны с тем, что нет необходимых файлов и каталогов!
То есть смотрите вывод ошибок dpkg
типа такое dpkg: ошибка: не удалось создать новый файл «/var/lib/….»: Нет такого файла или каталога.
На каждую такую ошибку вручную нужно создавать каталоги и файлы, которые не может найти dpkg!
Далее, снова запускать apt dist-upgrade, опять смотреть, что не может найти dpkg, и т.д.
В итоге, обновления устанавливаются!
Буква З в слове РусБиТех — означает «забота о пользователях»
Спасибо, что не даете скучать при использовании сертифицированного средства защиты!
Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
timbol
- Level 2
- Posts: 92
- Joined: Tue Sep 05, 2017 2:27 pm
[SOLVED] E: Internal Error, No file name for linux-firmware:amd64
Hello
Update Manager updated 2 packages this morning, Firefox (no problem) and linux-firmware (error)
linux-firmware updated from 1.187.19 to 1.187.20
Tried a Synaptic reinstall… E: Internal Error, No file name for linux-firmware:amd64
Ran sudo dpkg —configure -a in a terminal and the similar sudo dpkg —configure —pending and got the following output from both
Code: Select all
Setting up linux-firmware (1.187.20) ...
update-initramfs: Generating /boot/initrd.img-5.8.0-63-generic
I: The initramfs will attempt to resume from /dev/dm-2
I: (/dev/mapper/vgmint-swap_1)
I: Set the RESUME variable to override this.
Error 24 : Write error : cannot write compressed block
E: mkinitramfs failure cpio 141 lz4 -9 -l 24
update-initramfs: failed for /boot/initrd.img-5.8.0-63-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:
linux-firmware
The system seems to work ok and Update Manager reports that the system is up to date. I’ve rebooted into a 5.4 kernel and tried the update there but no difference, any ideas?
Thanks
Tim
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
- Forum
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- Installation & Upgrades
- [ubuntu] E: Internal Error, No file name for procps:amd64
-
E: Internal Error, No file name for procps:amd64
i have a lot of error message concerning procps not installed.
i have try to clean and force and every things
i am stuck…
help please
-
Re: E: Internal Error, No file name for procps:amd64
sudo service procps stop
sudo dpkg —configure procpsi do not know why but it has worked
-
Re: E: Internal Error, No file name for procps:amd64
pascal-carrie; Outstanding;
Thanks for sharing the solution. An option I was not aware of.
Please mark this thread solved;
aides others seeking the solution,
helps keep the forum clean and
precludes others miss-directing efforts to aid.
https://wiki.ubuntu.com/UnansweredPo…/SolvedThreadsopen source,
we are all in this together
Tags for this Thread
Bookmarks
Bookmarks

Posting Permissions
I just did an upgrade on my Debian install.
After updating my sources.list from Jessie to Stretch I did an apt-get update
, apt-get upgrade
and apt-get dist-upgrade
.
While some packages failed to update the machine is still in a usable state. However 33 have failed to install properly starting with xserver-xorg-core
.
It fails with the following message:
Setting up keyboard-configuration (1.164) …
/var/lib/dpkg/info/keyboard-configuration.config: 5:
/etc/default/keyboard: Syntax error: Unterminated quoted string
dpkg: error processing package keyboard-configuration (—configure):
subprocess installed post-installation script returned error exit
status 2 dpkg: dependency problems prevent configuration of
xserver-xorg-core: xserver-xorg-core depends on
keyboard-configuration; however: Package keyboard-configuration is not
configured yet.
Doing a apt-get install --reinstall keyboard-configuration
returns the following message:
E: Internal Error, No file name for keyboard-configuration:amd64
Here is the output of uname -a
:
Linux debian 4.9.0-6-amd64 #1 SMP Debian 4.9.82-1+deb9u3 (2018-03-02) x86_64 GNU/Linux
EDIT:
Here is the content of /etc/default/keyboard
:
XKBLAYOUT=us,ca XKBVARIANT=, BACKSPACE=guess XKBOPTIONS=caps:escape»
1
2
Имеется 64 битный Debian. Ставил через apt-get :i386-пакеты для компилирования 32-битных проектов. Что-то пошло не так, пакет gir1.2-ibus-1.0:i386 поломался. Теперь при каждом удобном случае apt-get мне пишет вот это:
$ sudo apt-get autoremove
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
обновлено 0, установлено 0 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
не установлено до конца или удалено 1 пакетов.
После данной операции, объём занятого дискового пространства возрастёт на 0 B.
Настраивается пакет gir1.2-ibus-1.0:i386 (1.5.14-3) …
dpkg-query: ошибка: --listfiles требует корректное имя пакета, «gir1.2-ibus-1.0» таковым не является: неоднозначное имя пакета «gir1.2-ibus-1.0» с более чем одним установленным экземпляром
Используйте параметр --help для вывода справки по запросам пакетов.
Traceback (most recent call last):
File "/usr/bin/py3compile", line 290, in <module>
main()
File "/usr/bin/py3compile", line 270, in main
options.force, options.optimize, e_patterns)
File "/usr/bin/py3compile", line 154, in compile
for fn, versions_to_compile in filter_files(files, e_patterns, versions):
File "/usr/bin/py3compile", line 106, in filter_files
for fn in files:
File "/usr/share/python3/debpython/files.py", line 71, in filter_public
for fn in files:
File "/usr/share/python3/debpython/files.py", line 53, in from_package
raise Exception("cannot get content of %s" % package_name)
Exception: cannot get content of gir1.2-ibus-1.0
dpkg: ошибка при обработке пакета gir1.2-ibus-1.0:i386 (--configure):
подпроцесс установлен сценарий post-installation возвратил код ошибки 1
При обработке следующих пакетов произошли ошибки:
gir1.2-ibus-1.0:i386
E: Sub-process /usr/bin/dpkg returned an error code (1)
Как от того избавиться? Фиг с ними с :i386, мне это на один раз, соберу в виртуальной машине.
Пробовал -f remove, —force-yes remove, dpkg —purge —force-all. Безрезультатно.
— — — —
Решение:
Проблему решил.
Вот это (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=770265#10) нарыл еще до обращения сюда, но не догадался, что с этим делать.
Суть проблемы — баг в пакете gir1.2-ibus-1.0 (в обоих i386 и amd64 версиях).
Решение:
Распаковываем .deb, в файлах DEBIAN/postinst
и DEBIAN/prerm
дописываем ко всем упоминаниям пакета архитектуру (чтобы вместо gir1.2-ibus-1.0 и получилось gir1.2-ibus-1.0:i386), запаковываем в .deb обратно, устанавливаем исправленный пакет через dpkg -i fixed.deb. Повторить то же самое и для amd64.
Готово.
- Печать
Страницы: [1] Вниз
Тема: linux-image-5.4.0-59-generic Пакет ядра блокирует установку. удалить не могу. (Прочитано 1269 раз)
0 Пользователей и 1 Гость просматривают эту тему.

janxxx7
Здравствуйте.
Визуально выглядит так.
обнаружил проблему при попытке поставить программу playonlinux. концовка та же — ошибки при обработке пакетов
linux-image-5.4.0-59-generic.
перечислю все что пытался сделать:
sudo apt-get autoclean sudo apt-get autoremove sudo apt-get clean apt-get -f install
пробовал удалить пакет.
нашел на сайте такую команду: Для удаления старых ядер, кроме последнего и предпоследнего
sudo apt-get purge $(dpkg -l 'linux-*' | sed '/^ii/!d;/'"$(uname -r | sed "s/(.*)-([^0-9]+)/1/")"'/d;s/^[^ ]* [^ ]* ([^ ]*).*/1/;/[0-9]/!d' | head -n -1)
периодически вылетает сообщение об ошибке обновлений.
ничего не помогло. установить какую либо программу не могу.
Спасибо.

ALiEN175
ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE

janxxx7
« Последнее редактирование: 04 Февраля 2021, 23:40:44 от ALiEN175 »

ALiEN175
кавычки поставьте нормальные. Конкретно здесь:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” #неправильные
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" #правильные
« Последнее редактирование: 04 Февраля 2021, 23:46:44 от ALiEN175 »
ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE

ua9oas
И заодно и а откуда у Вас версия этой ветки ядра «59»? Ведь сейчас уже достаточно давно как «65» должна быть («5.4.0-65.73» https://packages.ubuntu.com/focal/kernel/ (на эту страницу информация об обновлениях версий ядра почему-то на несколько дней с запаздываниями приходят)). За это время в него были внесены сотни изменений (и + опять еще больше сотни- вот на следующий день «66» вышла- https://www.ubuntuupdates.org/package/core/focal/main/proposed/linux-signed И еще на следующий день- релиз «20.04.2» с ядром уже «5.8» релиз состоялся). И не могут ли в Вашем случае какие-либо проблемы возникнуть и из за того, что и версия ядра у Вас устаревшая и оно и что-то вместе с ним в Вашем экземпляре ОС или оказалось несовместимыми или что-то у Вас не сумело как надо обновиться и породило те вышеописанные проблемы? (И на kernel.org эта ветка ядра вообще уже версии «95»).
« Последнее редактирование: 05 Февраля 2021, 13:51:06 от ua9oas »

ALiEN175
ua9oas, это тут при чём вообще? У ТС ошибка в конфигурационном файле груб, следовательно, невозможность обновить ядро.
ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE

janxxx7
кавычки поставьте нормальные. Конкретно здесь:
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash” #неправильные
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" #правильные
сделал

ALiEN175
сделал
ну, теперь все ваши команды из первого поста должны отрабатывать корректно
ASUS P5K-C :: Intel Xeon E5450 @ 3.00GHz :: 8 GB DDR2 :: Radeon R7 260X :: XFCE
ACER 5750G :: Intel Core i5-2450M @ 2.50GHz :: 6 GB DDR3 :: GeForce GT 630M :: XFCE

janxxx7
сделал
ну, теперь все ваши команды из первого поста должны отрабатывать корректно
Работает!
Большое вам человеческое спасибо.
- Печать
Страницы: [1] Вверх