Почему apt не может игнорировать суффиксы распространения пакетов?

У меня этот конфликт:

The following packages have unmet dependencies:
 libncursesw5-dev : Depends: libtinfo5 (= 6.1-1ubuntu1) but 6.1-1ubuntu1.18.04 is installed
                    Depends: libncursesw5 (= 6.1-1ubuntu1) but 6.1-1ubuntu1.18.04 is installed
                    Depends: libtinfo-dev (= 6.1-1ubuntu1) but 6.1-1ubuntu1.18.04 is installed

И я сбит с толку, что apt не понимает, что это точно такая же версия, за исключением суффикса распределения. Я попробовал aptitude и dpkg, все они сообщают об этой проблеме.

Кстати, если кому-то интересно, я решил конфликт, загрузив deb и запустив:

sudo dpkg --ignore-depends=libncursesw5,libtinfo-dev,libtinfo5:amd64 -i ./libncursesw5-dev_6.1-1ubuntu1_amd64.deb
0
задан 10 August 2020 в 19:59

1 ответ

The package versions are not exactly the same

The first is the initial 18.04 packaged version, the second has subsequent bug fixes (inc. CVE-2018-10754 fix) that wasn't in the original bionic packaged version

see:

https://packages.ubuntu.com/bionic-updates/libtinfo5

https://changelogs.ubuntu.com/changelogs/pool/main/n/ncurses/ncurses_6.1-1ubuntu1.18.04/changelog

ncurses (6.1-1ubuntu1.18.04) bionic-proposed; urgency=medium

  * SRU: LP: #1772872: Backport changes from 6.1+20180210-4:   * Move screen.xterm-256color and rxvt-unicode-256color terminfo entries
    from ncurses-term to ncurses-base (Closes: #898666, #898948).   * Cherry-pick a fix from the 20180414 patchlevel: add a null-pointer
    check in _nc_parse_entry to handle an error when a use-name is invalid
    syntax (report by Chung-Yi Lin, CVE-2018-10754).

 -- Matthias Klose <doko@ubuntu.com>  Wed, 23 May 2018 10:08:27 +0200

I only looked up the first of your listed packages, I suspect you'll find the same for the others too

2
ответ дан 11 August 2020 в 20:06

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

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