Установите python2.7 невстреченные проблемы зависимостей - Ubuntu 18.04

Я недавно убираю, переустановил Ubuntu 18.04 и теперь хотел установить python2.7 для различных других зависимостей, однако не может сделать так. Выполнение sudo apt install python и sudo apt install python-minimal у обоих есть очень похожие ошибки:

Python:

Building dependency tree       
Reading state information... 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.
 python : PreDepends: python-minimal (= 2.7.15~rc1-1) but it is not going to be installed
          Depends: python2.7 (>= 2.7.15~rc1-1~) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

минимальный Python:

Building dependency tree       
Reading state information... 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.
 python-minimal : Depends: python2.7-minimal (>= 2.7.15~rc1-1~) but it is not going to be installed
                  Recommends: python but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Установка python2.7-минимального затем выводы:

Reading package lists... Done
Building dependency tree       
Reading state information... 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.
 python2.7-minimal : Depends: libpython2.7-minimal (= 2.7.15-4ubuntu4~18.04.1) but 2.7.15-4ubuntu4~18.04.2 is to be installed
                     Recommends: python2.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Установка python2.7 сталкивается с той же самой ошибкой как прежде, и libpython2.7 уже установлен с тех пор apt-cache policy libpython2.7 возвраты:

libpython2.7:
  Installed: 2.7.15-4ubuntu4~18.04.2
  Candidate: 2.7.15-4ubuntu4~18.04.2
  Version table:
 *** 2.7.15-4ubuntu4~18.04.2 100
        100 /var/lib/dpkg/status
     2.7.15-4ubuntu4~18.04.1 500
        500 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu bionic-updates/main amd64 Packages
        500 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu bionic-security/main amd64 Packages
     2.7.15~rc1-1 500
        500 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu bionic/main amd64 Packages

Да я имею, работал sudo apt update и upgrade, и я искал ответы в течение нескольких дней теперь без успеха. Любая справка значительно ценилась бы, потому что я думаю, что неспособность установить python2.7 могла бы быть связана с Ubuntu, не бывшей способной распознать аппаратные порты (такие как HDMI) и не бывший способный изменять яркость.

Информация об аппаратных средствах: Название продукта: процессор Acer Aspire A715-72G: Intel(R) Core(TM) i5-8300H CPU Дополнительная Видеокарта на 2.30 ГГц: GP107M [GeForce GTX 1050, Мобильный]

Я очень плохо знаком с Ubuntu и Unix в целом, таким образом, я надеюсь, что это - ошибка новичка и это является легко закрепляемым. Это - первый вопрос, который я задал поэтому, если существует что-нибудь больше, что я должен добавить, скажите мне так.

Вся справка значительно ценилась бы, большое спасибо!

Править: Добавьте вывод sudo apt update

Hit:1 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu bionic InRelease
Hit:2 http://ppa.launchpad.net/apandada1/brightness-controller/ubuntu bionic InRelease              
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease                                          
Hit:4 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu bionic-updates InRelease                    
Ign:5 http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu bionic InRelease                            
Hit:6 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu bionic-backports InRelease                  
Hit:7 http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu bionic InRelease                         
Hit:8 http://ftp.ticklers.org/archive.ubuntu.org/ubuntu bionic-security InRelease                   
Err:9 http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu bionic Release                              
  404  Not Found [IP: 91.189.95.83 80]
Reading package lists... Done                                                 
E: The repository 'http://ppa.launchpad.net/fkrull/deadsnakes/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
0
задан 13 October 2019 в 01:00

1 ответ

Возможно, Вы знали бы это, и это не решение Вашего вопроса, но

Python 2.7 не будет сохраняться в прошлом 2020. Первоначально, не было никакой официальной даты. Недавно, та дата была обновлена до 1 января 2020.

Избегайте использования Python 2.7

0
ответ дан 22 December 2019 в 00:21

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

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