添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
Пытался обновить ОС до 16  выходила ошибка  этаже  и щас ввожу команду  ниже выходит ошибка , можете помочь в чем причина
Код: [Выделить]
sudo ua status
Traceback (most recent call last):
File "/usr/bin/ua", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 93, in <module>
raise RuntimeError("Python 3.5 or later is required")
RuntimeError: Python 3.5 or later is required
Ввожу команду
python3 --version
Python 3.6.12
версия пишет 3.6.12


Пользователь добавил сообщение 21 Мая 2024, 05:40:33:
Пытался обновить ОС до 16
Какую ОС? Почему именно до 16(.04)? Что мешает произвести чистую установку актуальной версии?
если установить чистую файлы пропадут все?

Пользователь добавил сообщение 21 Мая 2024, 06:23:24:
вот еще пытаюсь выполнить команду
sudo apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 28, in <module>
import apt_pkg
ImportError: No module named 'apt_pkg'
Setting up python-pip (1.5.4-1ubuntu4) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ImportError: No module named 'ConfigParser'
dpkg: error processing package python-pip (--configure):
subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
python-pip
E: Sub-process /usr/bin/dpkg returned an error code (1)

Пользователь добавил сообщение 21 Мая 2024, 10:53:23:
вощбщем делал пытался обновить удалить и щас вот что вообще выходит можете подсказать куда копать что делать
/var/lib/dpkg/info$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
17 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Traceback (most recent call last):
File "/usr/bin/apt-listchanges", line 28, in <module>
import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
Setting up python-apt (0.9.3.5ubuntu3) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
dpkg: error processing package python-apt (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of update-notifier-common:
update-notifier-common depends on python-apt (>= 0.6.12); however:
Package python-apt is not configured yet.

dpkg: error processing package update-notifier-common (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt-listchanges:
apt-listchanges depends on python-apt (>= 0.7.93); however:
Package python-apt is not configured yet.

dpkg: error processing package apt-listchanges (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of apt-xapian-index:
apt-xapian-index depends on python-apt (>= 0.7.93.2); however:
Package python-apt is not configured yet.

dpkg: error processing package apt-xapian-index (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-commandnotfound:
python-commandnotfound depends on python-apt; however:
PackaNo 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
No apport report written because MaxReports is reached already
ge python-apt is not configured yet.

dpkg: error processing package python-commandnotfound (--configure):
dependency problems - leaving unconfigured
Setting up python-pip (1.5.4-1ubuntu4) ...
Traceback (most recent call last):
File "/usr/bin/pycompile", line 35, in <module>
from debpython.version import SUPPORTED, debsorted, vrepr, \
File "/usr/share/python/debpython/version.py", line 24, in <module>
from ConfigParser import SafeConfigParser
ModuleNotFoundError: No module named 'ConfigParser'
dpkg: error processing package python-pip (--configure):
subprocess installed post-installation script returned error exit status 1
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-aptdaemon:
python-aptdaemon depends on python-apt (>= 0.8.5~ubuntu1); however:
Package python-apt is not configured yet.

dpkg: error processing package python-aptdaemon (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python-aptdaemon.gtk3widgets:
python-aptdaemon.gtk3widgets depends on python-aptdaemon (= 1.1.1-1ubuntu5.2); however:
Package python-aptdaemon is not configured yet.

dpkg: error processing package python-aptdaemon.gtk3widgets (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of oneconf-common:
oneconf-common depends on python-apt; however:
Package python-apt is not configured yet.

dpkg: error processing package oneconf-common (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of python3-oneconf:
python3-oneconf depends on oneconf-common; however:
Package oneconf-common is not configured yet.

dpkg: error processing package python3-oneconf (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of oneconf:
oneconf depends on oneconf-common; however:
Package oneconf-common is not configured yet.
oneconf depends on python3-oneconf; however:
Package python3-oneconf is not configured yet.

dpkg: error processing package oneconf (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of python-oneconf:
python-oneconf depends on oneconf-common; however:
Package oneconf-common is not configured yet.
python-oneconf depends on python-apt; however:No apport report written because MaxReports is reached already

Package python-apt is not configured yet.

dpkg: error processing package python-oneconf (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of software-center:
software-center depends on python-apt (>= 0.8.3ubuntu4); however:
Package python-apt is not configured yet.
software-center depends on python-aptdaemon (>= 0.40); however:
Package python-aptdaemon is not configured yet.
software-center depends on python-aptdaemon.gtk3widgets; however:
Package python-aptdaemon.gtk3widgets is not configured yet.
software-center depends on oneconf (>= 0.2.6); however:
Package oneconf is not configured yet.
software-center depends on python-oneconf (>= 0.3) | oneconf (<< 0.3); however:
Package python-oneconf is not configured yet.
Version of oneconf on system is 0.3.7.14.04.1.

dpkg: error processing package software-center (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of update-notifier:
update-notifier depends on update-notifier-common (= 0.154.1ubuntu8); however:
Package update-notifier-common is not configured yet.
update-notifier depends on python-apt; however:
Package python-apt is not configured yet.

dpkg: error processing package update-notifier (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of update-manager:
update-manager depends on update-notifier; however:
Package update-notifier is not configured yet.

dpkg: error processing package update-manager (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of ubuntu-release-upgrader-gtk:
ubuntu-release-upgrader-gtk depends on update-manager; however:
Package update-manager is not configured yet.

dpkg: error processing package ubuntu-release-upgrader-gtk (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
dpkg: dependency problems prevent configuration of sessioninstaller:
sessioninstaller depends on python-aptdaemon.gtk3widgets; however:
Package python-aptdaemon.gtk3widgets is not configured yet.
sessioninstaller depends on python-commandnotfound; however:
Package python-commandnotfound is not configured yet.

dpkg: error processing package sessioninstaller (--configure):
dependency problems - leaving unconfigured
No apport report written because MaxReports is reached already
Errors were encountered while processing:
python-apt
update-notifier-common
apt-listchanges
apt-xapian-index
python-commandnotfound
python-pip
python-aptdaemon
python-aptdaemon.gtk3widgets
oneconf-common
python3-oneconf
oneconf
python-oneconf
software-center
update-notifier
update-manager
ubuntu-release-upgrader-gtk
sessioninstaller
E: Sub-process /usr/bin/dpkg returned an error code (1)
А  репозитории можете стандартные дать список есть где ? с этими ошибками шас решил вроде ушли . а ушли после того когда по дефолту поставил Python 2.7 а стоял 3.7 щас прошла обновление пакетов норм все. можете подсказать репозитории список готовый официальных?

Пользователь добавил сообщение 22 Мая 2024, 07:17:17:
щас вот прошло
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

436 additional updates are available with UA Infrastructure ESM.
To see these additional updates run: apt list --upgradable
See https://ubuntu.com/advantage or run: sudo ua status
без ошибок


Пользователь добавил сообщение 22 Мая 2024, 07:40:27:
все спасибо репозиторий скачал нашел. осталось теперь только обновить до 16 версии хотя бы.

Пользователь добавил сообщение 22 Мая 2024, 11:21:06:
Щас при обновление выходит вот
/sbin/ldconfig.real: /usr/lib/libjpeg.so.62 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libjpeg.so.8 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libmysqlclient.so.18 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libkrb5.so.3 is not a symbolic link

/sbin/ldconfig.real: /usr/lib/libkrb5.so.26 is not a symbolic link
как исправить можете подсказать?

Пользователь добавил сообщение 22 Мая 2024, 11:44:03:
Вообщем все исправил осталось только одна проблема не знаю что делать
sudo ua status
Traceback (most recent call last):
File "/usr/bin/ua", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 93, in <module>
raise RuntimeError("Python 3.5 or later is required")
RuntimeError: Python 3.5 or later is required

Пользователь добавил сообщение 22 Мая 2024, 12:29:47:
и при обновление ОС пишет
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/xenial", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/DistUpgrade/DistUpgradeMain.py", line 228, in main
from .DistUpgradeController import DistUpgradeController
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/DistUpgrade/DistUpgradeController.py", line 58, in <module>
from .DistUpgradeQuirks import DistUpgradeQuirks
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/DistUpgrade/DistUpgradeQuirks.py", line 36, in <module>
from janitor.plugincore.manager import PluginManager
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/janitor/__init__.py", line 20, in <module>
import pkg_resources
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 93, in <module>
raise RuntimeError("Python 3.5 or later is required")
RuntimeError: Python 3.5 or later is required
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/problem_report.py", line 416, in add_to_existing
self.write(f)
File "/usr/lib/python3/dist-packages/problem_report.py", line 371, in write
crc = zlib.crc32(block, crc)
TypeError: 'str' does not support the buffer interface

Original exception was:
Traceback (most recent call last):
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/xenial", line 8, in <module>
sys.exit(main())
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/DistUpgrade/DistUpgradeMain.py", line 228, in main
from .DistUpgradeController import DistUpgradeController
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/DistUpgrade/DistUpgradeController.py", line 58, in <module>
from .DistUpgradeQuirks import DistUpgradeQuirks
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/DistUpgrade/DistUpgradeQuirks.py", line 36, in <module>
from janitor.plugincore.manager import PluginManager
File "/tmp/ubuntu-release-upgrader-ly8ycbnm/janitor/__init__.py", line 20, in <module>
import pkg_resources
File "/usr/local/lib/python3.4/dist-packages/pkg_resources/__init__.py", line 93, in <module>
raise RuntimeError("Python 3.5 or later is required")
RuntimeError: Python 3.5 or later is required
=== Command terminated with exit status 1 (Wed May 22 16:29:05 2024) ===