Я использую Ubuntu 16.04 на живом USB под intel NUC. Я использовал YUMI для создания живого USB, и у меня есть другой SO's как жизни на USB.
Когда я загружаю USB, я получаю раскрывающуюся ошибку, которая говорит initramfs-tools 0.122ubuntu8.1 has problems
. Когда я пытаюсь обновить, я получаю следующую ошибку
Removing plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ...
update-initramfs: deferring update (trigger activated)
cp: cannot create regular file '/cdrom/casper/initrd.gz.new': No such file or directory
dpkg: error processing package plymouth-theme-ubuntu-text (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
plymouth-theme-ubuntu-text
E: Sub-process /usr/bin/dpkg returned an error code (1)
Таким образом, я пытаюсь apt-get -f install
:
root@ubuntu:/home/ubuntu# sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-rb-3.0 gir1.2-secret-1 gir1.2-udisks-2.0 gnome-video-effects
guile-2.0-libs libandroid-properties1 libdmapsharing-3.0-2 libevent-2.0-5
libgc1c2 libgpod-common libgpod4 libnatpmp1 liboxideqt-qmlplugin
liboxideqtcore0 liboxideqtquick0 libqqwing2v5 libqt5positioning5
librhythmbox-core9 libsgutils2-2 media-player-info oxideqt-codecs
python3-brlapi python3-louis python3-mako python3-pyatspi python3-speechd
qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings
qml-module-ubuntu-onlineaccounts qml-module-ubuntu-web
qtdeclarative5-accounts-plugin qtdeclarative5-qtquick2-plugin rhythmbox-data
signon-keyring-extension syslinux syslinux-common syslinux-legacy
transmission-common unity-webapps-qml usb-creator-common xbrlapi
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
plymouth-theme-ubuntu-text
0 upgraded, 0 newly installed, 1 to remove and 335 not upgraded.
12 not fully installed or removed.
After this operation, 53.2 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 218095 files and directories currently installed.)
Removing plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ...
update-initramfs: deferring update (trigger activated)
cp: cannot create regular file '/cdrom/casper/initrd.gz.new': No such file or directory
dpkg: error processing package plymouth-theme-ubuntu-text (--remove):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
plymouth-theme-ubuntu-text
E: Sub-process /usr/bin/dpkg returned an error code (1)
Autoremove
ничего не фиксирует также. Никакая проблема зависимостей, таким образом, весь askubuntu вопрос я нашел, не решает мою проблему. Я нашел эту ссылку на панель запуска https://bugs.launchpad.net/ubuntu / + источник/Плимут / + ошибка/1278330
Когда я пытаюсь удалить его
root@ubuntu:/home/ubuntu# apt-get remove --purge plymouth-theme-ubuntu-text
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
gir1.2-rb-3.0 gir1.2-secret-1 gir1.2-udisks-2.0 gnome-video-effects
guile-2.0-libs libandroid-properties1 libdmapsharing-3.0-2 libevent-2.0-5
libgc1c2 libgpod-common libgpod4 libnatpmp1 liboxideqt-qmlplugin
liboxideqtcore0 liboxideqtquick0 libqqwing2v5 libqt5positioning5
librhythmbox-core9 libsgutils2-2 media-player-info oxideqt-codecs
python3-brlapi python3-louis python3-mako python3-pyatspi python3-speechd
qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings
qml-module-ubuntu-onlineaccounts qml-module-ubuntu-web
qtdeclarative5-accounts-plugin qtdeclarative5-qtquick2-plugin rhythmbox-data
signon-keyring-extension syslinux syslinux-common syslinux-legacy
transmission-common unity-webapps-qml usb-creator-common xbrlapi
Use 'sudo apt autoremove' to remove them.
The following packages will be REMOVED:
plymouth-theme-ubuntu-text*
0 upgraded, 0 newly installed, 1 to remove and 335 not upgraded.
12 not fully installed or removed.
After this operation, 53.2 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 218100 files and directories currently installed.)
Removing plymouth-theme-ubuntu-text (0.9.2-3ubuntu13.1) ...
update-initramfs: deferring update (trigger activated)
cp: cannot create regular file '/cdrom/casper/initrd.gz.new': No such file or directory
dpkg: error processing package plymouth-theme-ubuntu-text (--purge):
subprocess installed post-removal script returned error exit status 1
Errors were encountered while processing:
plymouth-theme-ubuntu-text
E: Sub-process /usr/bin/dpkg returned an error code (1)
И переустановите
root@ubuntu:/home/ubuntu# sudo apt-get install plymouth-theme-ubuntu-text
Reading package lists... Done
Building dependency tree
Reading state information... Done
plymouth-theme-ubuntu-text is already the newest version (0.9.2-3ubuntu13.1).
The following packages were automatically installed and are no longer required:
gir1.2-rb-3.0 gir1.2-secret-1 gir1.2-udisks-2.0 gnome-video-effects
guile-2.0-libs libandroid-properties1 libdmapsharing-3.0-2 libevent-2.0-5
libgc1c2 libgpod-common libgpod4 libnatpmp1 liboxideqt-qmlplugin
liboxideqtcore0 liboxideqtquick0 libqqwing2v5 libqt5positioning5
librhythmbox-core9 libsgutils2-2 media-player-info oxideqt-codecs
python3-brlapi python3-louis python3-mako python3-pyatspi python3-speechd
qml-module-qt-labs-folderlistmodel qml-module-qt-labs-settings
qml-module-ubuntu-onlineaccounts qml-module-ubuntu-web
qtdeclarative5-accounts-plugin qtdeclarative5-qtquick2-plugin rhythmbox-data
signon-keyring-extension syslinux syslinux-common syslinux-legacy
transmission-common unity-webapps-qml usb-creator-common xbrlapi
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 335 not upgraded.
12 not fully installed or removed.
Need to get 0 B/9,078 B of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up initramfs-tools (0.122ubuntu8) ...
update-initramfs: deferring update (trigger activated)
cp: cannot create regular file '/cdrom/casper/initrd.gz.new': No such file or directory
dpkg: error processing package initramfs-tools (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of plymouth:
plymouth depends on initramfs-tools | dracut; however:
Package initramfs-tools is not configured yet.
Package dracut is not installed.
dpkg: error processing package plymouth (--configure):
dependency problems - leaving unconfigured
dpkg: error processing package plymouth-theme-ubuntu-text (--configure):
package plymouth-theme-ubuntu-text is not ready for configuration
cannot configure (current status 'half-installed')
No apport report written because the error message indicates its a followup error from a previous failure.`
` dpkg: dependency problems prevent configuration of linux-image-4.4.0-31-generic:
linux-image-4.4.0-31-generic depends on initramfs-tools | linux-initramfs-tool; however:
Package initramfs-tools is not configured yet.
Package linux-initramfs-tool is not installed.
Package initramfs-tools which provides linux-initramfs-tool is not configured yet.
dpkg: error processing package linux-image-4.4.0-31-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-extra-4.4.0-31-generic:
linux-image-extra-4.4.0-31-generic depends on linux-image-4.4.0-31-generic; however:
Package linux-image-4.4.0-31-generic is not configured yet.
dpkg: error processing package linux-image-extra-4.4.0-31-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-image-generic:
linux-image-generic depends on linux-image-4.4.0-31-generic; however:
Package linux-image-4.4.0-31No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
-generic is not configured yet.
linux-image-generic depends on linux-image-extra-4.4.0-31-generic; however:
Package linux-image-extra-4.4.0-31-generic is not configured yet.
dpkg: error processing package linux-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-generic:
linux-generic depends on linux-image-generic (= 4.4.0.31.33); however:
Package linux-image-generic is not configured yet.
dpkg: error processing package linux-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-signed-image-4.4.0-31-generic:
linux-signed-image-4.4.0-31-generic depends on linux-image-4.4.0-31-generic (= 4.4.0-31.50); however:
Package linux-image-4.4.0-31-generic is not configured yet.
dpkg: error processing package linux-signed-image-4.4.0-31-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configurNo apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
ation of linux-signed-image-generic:
linux-signed-image-generic depends on linux-signed-image-4.4.0-31-generic; however:
Package linux-signed-image-4.4.0-31-generic is not configured yet.
linux-signed-image-generic depends on linux-image-extra-4.4.0-31-generic; however:
Package linux-image-extra-4.4.0-31-generic is not configured yet.
dpkg: error processing package linux-signed-image-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of linux-signed-generic:
linux-signed-generic depends on linux-signed-image-generic (= 4.4.0.31.33); however:
Package linux-signed-image-generic is not configured yet.
dpkg: error processing package linux-signed-generic (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of plymouth-label:
plymouth-label depends on plymouth (= 0.9.2-3ubuntu13.1); however:
Package plymouth is not configured yet.
dpkg: error processing package plymoNo apport report written because MaxReports is reached already
No apport report written because MaxReports is reached already
uth-label (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of plymouth-theme-ubuntu-logo:
plymouth-theme-ubuntu-logo depends on plymouth (= 0.9.2-3ubuntu13.1); however:
Package plymouth is not configured yet.
plymouth-theme-ubuntu-logo depends on plymouth-label (= 0.9.2-3ubuntu13.1); however:
Package plymouth-label is not configured yet.
dpkg: error processing package plymouth-theme-ubuntu-logo (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
initramfs-tools
plymouth
plymouth-theme-ubuntu-text
linux-image-4.4.0-31-generic
linux-image-extra-4.4.0-31-generic
linux-image-generic
linux-generic
linux-signed-image-4.4.0-31-generic
linux-signed-image-generic
linux-signed-generic
plymouth-label
plymouth-theme-ubuntu-logo
E: Sub-process /usr/bin/dpkg returned an error code (1)
Кто-либо знает, что кто-либо фиксирует для этого?
Заранее спасибо
R.
После месяца исследования я нашел, почему я получил ошибки.
я запускал Ubuntu на Живом состоянии, где после выполнения apt-get upgrade
, мое ядро было обновлено с результатом вышеупомянутых ошибок. Чтобы зафиксировать ошибку и включить установку файлов снова, я сделал следующий , ЭТОТ CAN ДЕЛАЕТ СИСТЕМУ UNUNSABLE .
mkinitramfs - u
: это создаст initramps img. update-initramfs - u
: обновите imgwhich update-initramfs
для нахождения файла конфигурации, который дает нам, ошибка apt-get -f install
С небольшим количеством удачи давка привычки ядра и проблема будут зафиксированы. В противном случае Ваша система умерла, извините. Это не решение, мы только добавляем выход к сценарию так мы, привычка получает promped к ошибке и нам смочь установить пакеты.
Заключение : никогда не обновляйте живую систему, если Вы не знаете то, что является Вами выполнение. Ядро является настолько тонким.
Попытайтесь:
, Сообщенный мне, если оно работает на Вас, оно работало на меня в другом случае