Erro ao atualizar - xserver-xorg-core

0

Executando aqui a última versão do antiX 17.

Depois de fazer uma rodada de upgrades e depois de instalar pacotes de 32 bits para um cliente VPN proprietário, estou recebendo erros de dependências ao executar uma rotina apt upgrade .

O erro é:

The following packages have been kept back:
  xserver-xorg-core

Tentando fazer um apt-get install xserver-xorg-core , recebe a seguinte mensagem:

# apt-get install xserver-xorg-core
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:
 xserver-xorg-core : Depends: libeudev1 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Usando aptitude install xserver-xorg-core para depurar ainda mais o problema, chego a essas mensagens mais significativas:

....
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:

      Remove the following packages:                                                        
1)      libudev-dev [220:3.2-4.0nosystemd1 (now)]                                           
2)      libudev1 [220:3.2-4.0nosystemd1 (now)]                                              
3)      udev [220:3.2-4.0nosystemd1 (now)]                                                  

      Install the following packages:                                                       
4)      eudev:i386 [232:3.2.5.3 (stretch)]                                                  
5)      libblkid1:i386 [2.29.2-1+deb9u1 (stable)]                                           
6)      libeudev1 [232:3.2.5.3 (stretch)]                                                   
7)      libeudev1:i386 [232:3.2.5.3 (stretch)]                                              
8)      libkmod2:i386 [23-2 (stable)]                                                       
9)      libpcre3:i386 [2:8.39-3 (stable)]                                                   
10)     libselinux1:i386 [2.6-3+b3 (stable)]                                                

      Keep the following packages at their current version:                                 
11)     libxfont2 [1:2.0.1-3+deb9u1 (now, stable)]                                          

      Upgrade the following packages:                                                       
12)     xserver-xorg-core [2:1.19.2-1.0nosystemd1 (now) -> 2:1.19.2-1.0nosystemd2 (stretch)]

      Downgrade the following packages:                                                     
13)     libblkid1 [2.29.2-1.0nosystemd1 (now, stretch) -> 2.29.2-1+deb9u1 (stable)]       

O que fazer?

    
por Rui F Ribeiro 02.08.2018 / 02:35

1 resposta

0

Após o diagnóstico, comecei a investigar e, nas versões mais recentes do antiX, o padrão é eudev e não udev .

Então, aparentei substituí-lo como uma dependência de outra coisa que instalei sem perceber.

Depois de fazer um apt-get install eudev , consegui fazer um apt-get upgrade sem reter xserver-org-core :

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  xserver-xorg-core
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3,373 kB of archives.
After this operation, 4,096 B of additional disk space will be used.
Do you want to continue? [Y/n] 
Get:1 http://repo.antixlinux.com/stretch stretch/nosystemd amd64 xserver-xorg-core amd64 2:1.19.2-1.0nosystemd2 [3,373 kB]
Fetched 3,373 kB in 14s (228 kB/s)                                                                                
(Reading database ... 141831 files and directories currently installed.)
Preparing to unpack .../xserver-xorg-core_2%3a1.19.2-1.0nosystemd2_amd64.deb ...
Unpacking xserver-xorg-core (2:1.19.2-1.0nosystemd2) over (2:1.19.2-1.0nosystemd1) ...
Setting up xserver-xorg-core (2:1.19.2-1.0nosystemd2) ...
Processing triggers for man-db (2.7.6.1-2) ...
    
por 02.08.2018 / 02:35