LINUX.ORG.RU

python3.10, mysql-client

 , ,


0

2

Ничего не могу установить на своей системе. Посоветуйте, что делать. Например:

$ sudo apt install python3.10
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libegl-dev : Depends: libegl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
 libgl-dev : Depends: libgl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
             Depends: libglx-dev but it is not going to be installed
 libgl1 : Depends: libglx0 (= 1.3.2-1~ubuntu0.20.04.2) but 1.3.1-1 is to be installed
 libglx0 : Depends: libglvnd0 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 python3.10 : Depends: python3.10-minimal (= 3.10.10-1+focal1) but it is not going to be installed
              Depends: libpython3.10-stdlib (= 3.10.10-1+focal1) but it is not going to be installed
 zoom : Depends: libegl1-mesa but it is not going to be installed
        Depends: libxcb-xtest0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

$ sudo apt-get install mysql-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libegl-dev : Depends: libegl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
 libgl-dev : Depends: libgl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
             Depends: libglx-dev but it is not going to be installed
 libgl1 : Depends: libglx0 (= 1.3.2-1~ubuntu0.20.04.2) but 1.3.1-1 is to be installed
 libglx0 : Depends: libglvnd0 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 mysql-client : Depends: mysql-client-8.0 but it is not going to be installed
 zoom : Depends: libegl1-mesa but it is not going to be installed
        Depends: libxcb-xtest0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


Набрать команду, которую он рекомендует, пробовал?

 zoom : Depends: libegl1-mesa but it is not going to be installed
        Depends: libxcb-xtest0 but it is not going to be installed

Подозреваю что ты недавно пытался безуспешно установить это поделие по каким-то левым инструкциям с инета, и с тех пор всё сломалось. Можно попробовать dpkg -r zoom перед той командой ещё сделать.

firkax ★★★★★
()
Последнее исправление: firkax (всего исправлений: 2)
Ответ на: комментарий от firkax

Все перепробавал, добрался до какой-то библиотеки libaio. Скачал libaio-libaio-0.3.111.tar.gz хрен знает откуда… (https://noknow.info/it/os/install_libaio_from_source), сделал make install, но ничего не дало. Например:

~$ sudo apt-get install libegl1-mesa

Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libegl-dev : Depends: libegl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
 libgl-dev : Depends: libgl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
             Depends: libglx-dev but it is not going to be installed
 libgl1 : Depends: libglx0 (= 1.3.2-1~ubuntu0.20.04.2) but 1.3.1-1 is to be installed
 libglx0 : Depends: libglvnd0 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 zoom : Depends: libxcb-xtest0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Тут скорее проверить систему целиком:)

mkaro@asus:~$ uname -a
Linux asus 5.8.0-43-generic #49~20.04.1-Ubuntu SMP Fri Feb 5 09:57:56 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
mkaro@asus:~$ lsb_release -a
Traceback (most recent call last):
  File "/usr/bin/lsb_release", line 25, in <module>
    import lsb_release
ModuleNotFoundError: No module named 'lsb_release'
mkaro
() автор топика
Ответ на: комментарий от firkax

Это подойдет?

mkaro@asus:~$ sudo apt-get --fix-broken install libegl1-mesa
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libegl-dev : Depends: libegl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
 libgl-dev : Depends: libgl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
             Depends: libglx-dev but it is not going to be installed
 libgl1 : Depends: libglx0 (= 1.3.2-1~ubuntu0.20.04.2) but 1.3.1-1 is to be installed
 libglx0 : Depends: libglvnd0 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 zoom : Depends: libxcb-xtest0 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
mkaro
() автор топика
Ответ на: комментарий от firkax
mkaro@asus:~$ sudo apt-get --fix-broken install libxcb-xtest0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libegl-dev : Depends: libegl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
 libgl-dev : Depends: libgl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
             Depends: libglx-dev but it is not going to be installed
 libgl1 : Depends: libglx0 (= 1.3.2-1~ubuntu0.20.04.2) but 1.3.1-1 is to be installed
 libglx0 : Depends: libglvnd0 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 zoom : Depends: libegl1-mesa but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
mkaro
() автор топика
Ответ на: комментарий от mkaro

Что ты несёшь? Вот тебе ссылка на моё первое сообщение: python3.10, mysql-client (комментарий)

Внимательно его прочитай и полностью.

firkax ★★★★★
()
Последнее исправление: firkax (всего исправлений: 1)
Ответ на: комментарий от firkax
mkaro@asus:~$ sudo dpkg -r zoom
(Reading database ... 286225 files and directories currently installed.)
Removing zoom (5.12.9.367) ...
run post uninstall script, action is remove ...
Processing triggers for shared-mime-info (1.15-1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu3) ...
Processing triggers for mime-support (3.64ubuntu1) ...
mkaro@asus:~$ sudo apt-get --fix-broken install libxcb-xtest0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libegl-dev : Depends: libegl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
 libgl-dev : Depends: libgl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
             Depends: libglx-dev but it is not going to be installed
 libgl1 : Depends: libglx0 (= 1.3.2-1~ubuntu0.20.04.2) but 1.3.1-1 is to be installed
 libglx0 : Depends: libglvnd0 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
mkaro
() автор топика
Ответ на: комментарий от firkax

Есть, шеф! Прошу прощения:)

mkaro@asus:~$ apt policy libegl-dev
libegl-dev:
  Installed: 1.3.1-1
  Candidate: 1.3.2-1~ubuntu0.20.04.2
  Version table:
     1.3.2-1~ubuntu0.20.04.2 500
        500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
 *** 1.3.1-1 500
        500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
mkaro
() автор топика
Ответ на: комментарий от mkaro

Теперь так же, как zoom, удали *-dev пакеты, которые присутствуют в твоём сообщении об ошибке. Понадобятся – поставишь позже. Какие ошибки остаются после удаления?

TeopeTuK ★★★★★
()
Ответ на: комментарий от firkax
mkaro@asus:~$ sudo apt-get --fix-broken install libegl-dev libgl-dev libglx0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libegl-dev : Breaks: libegl1-mesa-dev (< 20.0.8-0ubuntu1~20.04) but 20.0.4-2ubuntu1 is to be installed
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
 libgl-dev : Depends: libglx-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
mkaro
() автор топика
Ответ на: комментарий от firkax
mkaro@asus:~$ sudo apt-get --fix-broken install libglx0
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libegl-dev : Depends: libegl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
 libegl1-mesa-dev : Depends: libglvnd-dev but it is not going to be installed
 libgl-dev : Depends: libgl1 (= 1.3.1-1) but 1.3.2-1~ubuntu0.20.04.2 is to be installed
             Depends: libglx-dev but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Нет у меня ноутбук. Ubuntu 20.04 (focal) 64, вроде кинул

mkaro
() автор топика
Ответ на: комментарий от firkax
mkaro@asus:~$ sudo dpkg -r libegl-dev libgl-dev
dpkg: dependency problems prevent removal of libegl-dev:amd64:
 libegl1-mesa-dev:amd64 depends on libegl-dev.

dpkg: error processing package libegl-dev:amd64 (--remove):
 dependency problems - not removing
dpkg: dependency problems prevent removal of libgl-dev:amd64:
 libegl-dev:amd64 depends on libgl-dev; however:
  Package libgl-dev:amd64 is to be removed.

dpkg: error processing package libgl-dev:amd64 (--remove):
 dependency problems - not removing
Errors were encountered while processing:
 libegl-dev:amd64
 libgl-dev:amd64
mkaro@asus:~$ apt policy libegl1-mesa-dev
libegl1-mesa-dev:
  Installed: 20.0.4-2ubuntu1
  Candidate: 21.2.6-0ubuntu0.1~20.04.2
  Version table:
     21.2.6-0ubuntu0.1~20.04.2 500
        500 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages
        500 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages
 *** 20.0.4-2ubuntu1 500
        500 http://ru.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status
mkaro
() автор топика
Ответ на: комментарий от TeopeTuK

zoom устроил битые версии по кругу, а пакетный менеджер после первой поломки испугался и сам больше не чинит их, только одиночные пакеты донастраивает, видно же что если ему явно указывать установить какой-то пакет то он перестаёт цепляться за его старую версию

firkax ★★★★★
()
Последнее исправление: firkax (всего исправлений: 2)
Ответ на: комментарий от firkax
mkaro@asus:~$ sudo apt-get --fix-broken install libegl-dev libgl-dev libglx0 libegl1-mesa-dev libglx-dev libglvnd-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libglvnd-dev : Depends: libgles-dev (>= 1.3.0-1) but it is not going to be installed
                Depends: libopengl-dev (>= 1.3.0-1) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Вроде покороче становится. Уже ближе, GL какой-нибудь или build-essential

mkaro
() автор топика
Ответ на: комментарий от TeopeTuK

Может быть он начал обновлять не -dev (их тоже планировал), в середине из-за чего-то упал, и -dev остались непоставленными. После такой штуки продолжать с того же места apt не умеет.

firkax ★★★★★
()
Ответ на: комментарий от firkax
mkaro@asus:~$ sudo apt-get --fix-broken install libegl-dev libgl-dev libglx0 libegl1-mesa-dev libglx-dev libglvnd-dev libgles-dev libopengl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 libgles-dev : Depends: libgles1 (= 1.3.2-1~ubuntu0.20.04.2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
mkaro
() автор топика
Последнее исправление: mkaro (всего исправлений: 1)
Ответ на: комментарий от TeopeTuK
mkaro@asus:~$ sudo apt-get --fix-broken install libgles1 libegl-dev libgl-dev libglx0 libegl1-mesa-dev libglx-dev libglvnd-dev libgles-dev libopengl-dev
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libgles-dev libgles1 libglvnd-dev libglx-dev libopengl-dev
The following packages will be upgraded:
  libegl-dev libegl1-mesa-dev libgl-dev libglx0
4 upgraded, 5 newly installed, 0 to remove and 403 not upgraded.
4 not fully installed or removed.
Need to get 243 kB of archives.
After this operation, 968 kB of additional disk space will be used.
Get:1 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libglx0 amd64 1.3.2-1~ubuntu0.20.04.2 [32.5 kB]
Get:2 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libglx-dev amd64 1.3.2-1~ubuntu0.20.04.2 [14.0 kB]
Get:3 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgl-dev amd64 1.3.2-1~ubuntu0.20.04.2 [97.8 kB]
Get:4 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgles1 amd64 1.3.2-1~ubuntu0.20.04.2 [10.3 kB]
Get:5 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libgles-dev amd64 1.3.2-1~ubuntu0.20.04.2 [47.9 kB]
Get:6 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libopengl-dev amd64 1.3.2-1~ubuntu0.20.04.2 [3,584 B]
Get:7 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libegl1-mesa-dev amd64 21.2.6-0ubuntu0.1~20.04.2 [7,760 B]
Get:8 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libegl-dev amd64 1.3.2-1~ubuntu0.20.04.2 [17.2 kB]
Get:9 http://ru.archive.ubuntu.com/ubuntu focal-updates/main amd64 libglvnd-dev amd64 1.3.2-1~ubuntu0.20.04.2 [11.6 kB]
Fetched 243 kB in 1s (227 kB/s)      
(Reading database ... 284855 files and directories currently installed.)
Preparing to unpack .../0-libglx0_1.3.2-1~ubuntu0.20.04.2_amd64.deb ...
Unpacking libglx0:amd64 (1.3.2-1~ubuntu0.20.04.2) over (1.3.1-1) ...
Selecting previously unselected package libglx-dev:amd64.
Preparing to unpack .../1-libglx-dev_1.3.2-1~ubuntu0.20.04.2_amd64.deb ...
Unpacking libglx-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Preparing to unpack .../2-libgl-dev_1.3.2-1~ubuntu0.20.04.2_amd64.deb ...
Unpacking libgl-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) over (1.3.1-1) ...
Selecting previously unselected package libgles1:amd64.
Preparing to unpack .../3-libgles1_1.3.2-1~ubuntu0.20.04.2_amd64.deb ...
Unpacking libgles1:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Selecting previously unselected package libgles-dev:amd64.
Preparing to unpack .../4-libgles-dev_1.3.2-1~ubuntu0.20.04.2_amd64.deb ...
Unpacking libgles-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Selecting previously unselected package libopengl-dev:amd64.
Preparing to unpack .../5-libopengl-dev_1.3.2-1~ubuntu0.20.04.2_amd64.deb ...
Unpacking libopengl-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Preparing to unpack .../6-libegl1-mesa-dev_21.2.6-0ubuntu0.1~20.04.2_amd64.deb ...
Unpacking libegl1-mesa-dev:amd64 (21.2.6-0ubuntu0.1~20.04.2) over (20.0.4-2ubuntu1) ...
Preparing to unpack .../7-libegl-dev_1.3.2-1~ubuntu0.20.04.2_amd64.deb ...
Unpacking libegl-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) over (1.3.1-1) ...
Selecting previously unselected package libglvnd-dev:amd64.
Preparing to unpack .../8-libglvnd-dev_1.3.2-1~ubuntu0.20.04.2_amd64.deb ...
Unpacking libglvnd-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libglx0:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libgles1:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libglx-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libopengl-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libgl-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libegl-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libgles-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libglvnd-dev:amd64 (1.3.2-1~ubuntu0.20.04.2) ...
Setting up libegl1-mesa-dev:amd64 (21.2.6-0ubuntu0.1~20.04.2) ...
Processing triggers for libc-bin (2.31-0ubuntu9.7) ...
mkaro
() автор топика
Ответ на: комментарий от firkax

Если с зависимостями уже установленных пакетов порядок и левые репозитории не используются, то установка девелоперские пакетов буде успешной, полагаю.

TeopeTuK ★★★★★
()