, возможно, случайно удалил Python из моего Ubuntu, и похоже, что я не могу установить другие пакеты, потому что ему нужен Python, но когда я пытаюсь установить Python, он говорит, что мне нужен установлен Python для его установки? Все эти команды возвращают одно и то же < /p>
sudo apt ulestall ubuntu-drivers-common < /strong> < /p>
sudo apt remove -purge python3.12
sudo apt Установить Python3.12
sudo apt Установить python3
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.12.3-0ubuntu2).
The following packages were automatically installed and are no longer required:
gir1.2-javascriptcoregtk-4.1 gir1.2-snapd-2 gir1.2-webkit2-4.1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python3.12 (3.12.3-1ubuntu0.4) ...
/var/lib/dpkg/info/python3.12.postinst: 9: /usr/bin/python3.12: not found
dpkg: error processing package python3.12 (--configure):
installed python3.12 package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of python3:
python3 depends on python3.12 (>= 3.12.3-0~); however:
Package python3.12 is not configured yet.
dpkg: error processing package python3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-drivers-common:
ubuntu-drivers-common depends on python3:any (>= 3.2~); however:
Package python3 is not configured yet.
dpkg: error processing package ubuntu-drivers-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent processing triggers for gnome-menus:
gnome-menus depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package gnome-menus (--configure):
dependency problems - leaving triggers unprocessed
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python3.12
python3
ubuntu-drivers-common
update-notifier-common
gnome-menus
E: Sub-process /usr/bin/dpkg returned an error code (1)
sudo dpkg -configure -a
Setting up python3.12 (3.12.3-1ubuntu0.4) ...
/var/lib/dpkg/info/python3.12.postinst: 9: /usr/bin/python3.12: not found
dpkg: error processing package python3.12 (--configure):
installed python3.12 package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of python3:
python3 depends on python3.12 (>= 3.12.3-0~); however:
Package python3.12 is not configured yet.
dpkg: error processing package python3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-drivers-common:
ubuntu-drivers-common depends on python3:any (>= 3.2~); however:
Package python3 is not configured yet.
dpkg: error processing package ubuntu-drivers-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for gnome-menus:
gnome-menus depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package gnome-menus (--configure):
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
python3.12
python3
ubuntu-drivers-common
update-notifier-common
gnome-menus
Подробнее здесь: https://stackoverflow.com/questions/794 ... untu-24-04
Проблема с несколькими пакетами из -за отсутствия Python в Ubuntu 24.04 ⇐ Linux
1739549406
Anonymous
, возможно, случайно удалил Python из моего Ubuntu, и похоже, что я не могу установить другие пакеты, потому что ему нужен Python, но когда я пытаюсь установить Python, он говорит, что мне нужен установлен Python для его установки? Все эти команды возвращают одно и то же < /p>
[b] sudo apt ulestall ubuntu-drivers-common < /strong> < /p>
sudo apt remove -purge python3.12 [/b]
[b] sudo apt Установить Python3.12 [/b]
[b] sudo apt Установить python3 [/b]
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.12.3-0ubuntu2).
The following packages were automatically installed and are no longer required:
gir1.2-javascriptcoregtk-4.1 gir1.2-snapd-2 gir1.2-webkit2-4.1
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
4 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up python3.12 (3.12.3-1ubuntu0.4) ...
/var/lib/dpkg/info/python3.12.postinst: 9: /usr/bin/python3.12: not found
dpkg: error processing package python3.12 (--configure):
installed python3.12 package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of python3:
python3 depends on python3.12 (>= 3.12.3-0~); however:
Package python3.12 is not configured yet.
dpkg: error processing package python3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-drivers-common:
ubuntu-drivers-common depends on python3:any (>= 3.2~); however:
Package python3 is not configured yet.
dpkg: error processing package ubuntu-drivers-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent processing triggers for gnome-menus:
gnome-menus depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package gnome-menus (--configure):
dependency problems - leaving triggers unprocessed
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python3.12
python3
ubuntu-drivers-common
update-notifier-common
gnome-menus
E: Sub-process /usr/bin/dpkg returned an error code (1)
[b] sudo dpkg -configure -a [/b]
Setting up python3.12 (3.12.3-1ubuntu0.4) ...
/var/lib/dpkg/info/python3.12.postinst: 9: /usr/bin/python3.12: not found
dpkg: error processing package python3.12 (--configure):
installed python3.12 package post-installation script subprocess returned error exit status 127
dpkg: dependency problems prevent configuration of python3:
python3 depends on python3.12 (>= 3.12.3-0~); however:
Package python3.12 is not configured yet.
dpkg: error processing package python3 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-drivers-common:
ubuntu-drivers-common depends on python3:any (>= 3.2~); however:
Package python3 is not configured yet.
dpkg: error processing package ubuntu-drivers-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent processing triggers for gnome-menus:
gnome-menus depends on python3:any; however:
Package python3 is not configured yet.
dpkg: error processing package gnome-menus (--configure):
dependency problems - leaving triggers unprocessed
Errors were encountered while processing:
python3.12
python3
ubuntu-drivers-common
update-notifier-common
gnome-menus
Подробнее здесь: [url]https://stackoverflow.com/questions/79439948/problem-with-multiple-packages-because-of-missing-python-in-ubuntu-24-04[/url]
Ответить
1 сообщение
• Страница 1 из 1
Перейти
- Кемерово-IT
- ↳ Javascript
- ↳ C#
- ↳ JAVA
- ↳ Elasticsearch aggregation
- ↳ Python
- ↳ Php
- ↳ Android
- ↳ Html
- ↳ Jquery
- ↳ C++
- ↳ IOS
- ↳ CSS
- ↳ Excel
- ↳ Linux
- ↳ Apache
- ↳ MySql
- Детский мир
- Для души
- ↳ Музыкальные инструменты даром
- ↳ Печатная продукция даром
- Внешняя красота и здоровье
- ↳ Одежда и обувь для взрослых даром
- ↳ Товары для здоровья
- ↳ Физкультура и спорт
- Техника - даром!
- ↳ Автомобилистам
- ↳ Компьютерная техника
- ↳ Плиты: газовые и электрические
- ↳ Холодильники
- ↳ Стиральные машины
- ↳ Телевизоры
- ↳ Телефоны, смартфоны, плашеты
- ↳ Швейные машинки
- ↳ Прочая электроника и техника
- ↳ Фототехника
- Ремонт и интерьер
- ↳ Стройматериалы, инструмент
- ↳ Мебель и предметы интерьера даром
- ↳ Cантехника
- Другие темы
- ↳ Разное даром
- ↳ Давай меняться!
- ↳ Отдам\возьму за копеечку
- ↳ Работа и подработка в Кемерове
- ↳ Давай с тобой поговорим...
Мобильная версия