Ошибка при обновлении python-minimal [duplicate]

На этот вопрос уже есть ответ здесь:

Когда я запускаю обновление на Ubuntu 18.04, оно показывает, что пакеты ниже можно обновить. Но когда я запускаю sudo apt upgrade , он не обновляет его. Он обновляет все остальные пакеты, если их нет, кроме 5 пакетов ниже. Я пробовал обновиться индивидуально, но, похоже, в системе произошел сбой.

libpython-dev/bionic 2.7.15-3~oibaf~b amd64 [upgradable from: 2.7.15~rc1-1]
libpython-stdlib/bionic 2.7.15-3~oibaf~b amd64 [upgradable from: 2.7.15~rc1-1]
python/bionic 2.7.15-3~oibaf~b amd64 [upgradable from: 2.7.15~rc1-1]
python-dev/bionic 2.7.15-3~oibaf~b amd64 [upgradable from: 2.7.15~rc1-1]
python-minimal/bionic 2.7.15-3~oibaf~b amd64 [upgradable from: 2.7.15~rc1-1]

Можно ли как-нибудь обновить эти пакеты? Когда я запускаю sudo apt upgrade libpython-dev , например, я получаю

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libpython-dev : Depends: libpython2.7-dev (>= 2.7.15-1~) but 2.7.15~rc1-1ubuntu0.1 is to be installed
                 Depends: libpython2-dev (= 2.7.15-3~oibaf~b) but it is not going to be installed
 python-dev : Depends: libpython-dev (= 2.7.15~rc1-1) but 2.7.15-3~oibaf~b is to be installed
E: Broken packages

Пожалуйста, помогите.

Когда я запускаю dpkg -l | grep oibaf , я получаю

ii  libdrm-amdgpu1:amd64                       2.4.99+git1908090630.149225~oibaf~b                 amd64        Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii  libdrm-common                              2.4.99+git1908090630.149225~oibaf~b                 all          Userspace interface to kernel DRM services -- common files
ii  libdrm-intel1:amd64                        2.4.99+git1908090630.149225~oibaf~b                 amd64        Userspace interface to intel-specific kernel DRM services -- runtime
ii  libdrm-nouveau2:amd64                      2.4.99+git1908090630.149225~oibaf~b                 amd64        Userspace interface to nouveau-specific kernel DRM services -- runtime
ii  libdrm-radeon1:amd64                       2.4.99+git1908090630.149225~oibaf~b                 amd64        Userspace interface to radeon-specific kernel DRM services -- runtime
ii  libdrm2:amd64                              2.4.99+git1908090630.149225~oibaf~b                 amd64        Userspace interface to kernel DRM services -- runtime
ii  libegl-mesa0:amd64                         19.2~git1908100730.9c5975~oibaf~b                   amd64        free implementation of the EGL API -- Mesa vendor library
ii  libegl1-mesa:amd64                         19.2~git1908100730.9c5975~oibaf~b                   amd64        transitional dummy package
ii  libgbm1:amd64                              19.2~git1908100730.9c5975~oibaf~b                   amd64        generic buffer management API -- runtime
ii  libgl1-mesa-dri:amd64                      19.2~git1908100730.9c5975~oibaf~b                   amd64        free implementation of the OpenGL API -- DRI modules
ii  libgl1-mesa-glx:amd64                      19.2~git1908100730.9c5975~oibaf~b                   amd64        transitional dummy package
ii  libglapi-mesa:amd64                        19.2~git1908100730.9c5975~oibaf~b                   amd64        free implementation of the GL API -- shared library
ii  libglx-mesa0:amd64                         19.2~git1908100730.9c5975~oibaf~b                   amd64        free implementation of the OpenGL API -- GLX vendor library
ii  libllvm9:amd64                             1:9~+rc1-1~exp1~oibaf~b                             amd64        Modular compiler and toolchain technologies, runtime library
ii  libwayland-client0:amd64                   1.16.0-1ubuntu1~oibaf~b                             amd64        wayland compositor infrastructure - client library
ii  libwayland-cursor0:amd64                   1.16.0-1ubuntu1~oibaf~b                             amd64        wayland compositor infrastructure - cursor library
ii  libwayland-egl1:amd64                      1.16.0-1ubuntu1~oibaf~b                             amd64        wayland compositor infrastructure - EGL library
ii  libwayland-egl1-mesa:amd64                 19.2~git1908100730.9c5975~oibaf~b                   amd64        transitional dummy package
ii  libwayland-server0:amd64                   1.16.0-1ubuntu1~oibaf~b                             amd64        wayland compositor infrastructure - server library
ii  libxatracker2:amd64                        19.2~git1908100730.9c5975~oibaf~b                   amd64        X acceleration library -- runtime
ii  mesa-va-drivers:amd64                      19.2~git1908100730.9c5975~oibaf~b                   amd64        Mesa VA-API video acceleration drivers
ii  mesa-vdpau-drivers:amd64                   19.2~git1908100730.9c5975~oibaf~b                   amd64        Mesa VDPAU video acceleration drivers
ii  xserver-xorg-video-amdgpu                  19.0.1+git1908071930.e6fce5~oibaf~b                 amd64        X.Org X server -- AMDGPU display driver
ii  xserver-xorg-video-ati                     1:19.0.1+git1907231930.c7ed12~oibaf~b               amd64        X.Org X server -- AMD/ATI display driver wrapper
ii  xserver-xorg-video-intel                   2:2.99.917+git1907241930.6f4972~oibaf~b             amd64        X.Org X server -- Intel i8xx, i9xx display driver
ii  xserver-xorg-video-nouveau                 1:1.0.16+git1906080730.ec2b45~oibaf~b               amd64        X.Org X server -- Nouveau display driver
ii  xserver-xorg-video-radeon                  1:19.0.1+git1907231930.c7ed12~oibaf~b               amd64        X.Org X server -- AMD/ATI Radeon display driver

grep -ir oibaf / etc / apt --include = "*. list" дает мне

/etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-bionic.list:deb http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic main
/etc/apt/sources.list.d/oibaf-ubuntu-graphics-drivers-bionic.list:deb-src http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic main

Наконец, политика apt-cache libpython-dev приводит к

libpython-dev:
  Installed: 2.7.15~rc1-1
  Candidate: 2.7.15-3~oibaf~b
  Version table:
     2.7.15-3~oibaf~b 500
        500 http://ppa.launchpad.net/oibaf/graphics-drivers/ubuntu bionic/main amd64 Packages
 *** 2.7.15~rc1-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        500 http://cz.archive.ubuntu.com/ubuntu bionic/main amd64 Packages
        100 /var/lib/dpkg/status
2
задан 10 August 2019 в 13:32

2 ответа

Для получения самого ясного результата, я рекомендую произвести чистку проблематичного PPA и пакетов использования из официальных репозиториев:

sudo apt-get install ppa-purge
sudo ppa-purge ppa:oibaf/graphics-drivers

и затем оставление установки обновляет с

sudo apt-get upgrade
0
ответ дан 3 December 2019 в 06:12

у Вас есть 2 опции, которые я предполагаю

опция 1

Вы используете склонный - получают для фиксации это

sudo apt-get update --fix-missing

sudo apt-get install -f

опция 2

использование dpkg

sudo dpkg --configure -a

sudo apt-get clean

sudo apt-get update

и наконец: sudo rm /var/lib/apt/lists/lock

надежда это помогает

-1
ответ дан 3 December 2019 в 06:12

Другие вопросы по тегам:

Похожие вопросы: