apt жалуется на задержанные пакеты, но нет задержанных пакетов

Я увидел во время загрузки ошибку с чем-то из selinux. Поэтому я искал соответствующие пакеты в моей Системе и обнаружил

libselinux1

, что я запускаю симуляцию с помощью apt.

apt --dry-run purge libselinux1
NOTE: This is only a simulation!
      apt needs root privileges for real execution.
      Keep also in mind that locking is deactivated,
      so don't depend on the relevance to the real current situation!
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:
 libxft2 : Depends: libfontconfig1 (>= 2.9.0) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Реально подходит?

 apt-cache policy libfontconfig1 
libfontconfig1:
  Installed: 2.12.6-0ubuntu2
  Candidate: 2.12.6-0ubuntu2
  Version table:
 *** 2.12.6-0ubuntu2 500
        500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status

И

 apt-cache policy libxft2
libxft2:
  Installed: 2.3.2-1
  Candidate: 2.3.2-1
  Version table:
 *** 2.3.2-1 500
        500 http://archive.ubuntu.com/ubuntu bionic/main i386 Packages
        100 /var/lib/dpkg/status

Попробуйте обновить.

 sudo apt update
[sudo] password for alex: 
Hit:1 http://ppa.launchpad.net/teejee2008/ppa/ubuntu bionic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu bionic InRelease                                                                           
Hit:3 http://archive.canonical.com/ubuntu bionic InRelease                                                                        
Get:4 http://archive.ubuntu.com/ubuntu bionic-updates InRelease [88.7 kB]                                                         
Hit:5 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                                            
Get:6 http://archive.ubuntu.com/ubuntu bionic-security InRelease [88.7 kB]                                 
Get:7 http://archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB]     
Get:8 http://archive.ubuntu.com/ubuntu bionic-updates/main i386 Packages [597 kB]
Get:9 http://archive.ubuntu.com/ubuntu bionic-updates i386 Contents (deb) [34.1 MB]
Get:10 http://archive.ubuntu.com/ubuntu bionic-updates/universe i386 Packages [984 kB]                                            
Fetched 36.0 MB in 24s (1506 kB/s)                                                                                                
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up to date.

Обратите внимание, что в моей системе нет пакетов от winehq и teejee2008, только uuku.

Я наблюдал за чем-то важным?

Нет пакета в нечистом состоянии.

dpkg -l | egrep -v '^ii'
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                                  Version                                     Architecture Description
+++-=====================================-===========================================-============-===============================================================================

Эта ошибка вводит в заблуждение. Некоторым пакетам требуется libselinux1, например coreutils или smartmontools.

2
задан 25 October 2019 в 13:11

0 ответов

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

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