lsb_release -a
retorna 16.04. 3 :
# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
considerando que uname -a
retorna 16.04. 2
# uname -a
Linux u1b 4.10.0-28-generic #32~16.04.2-Ubuntu SMP Thu Jul 20 10:19:48 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Qual deles está correto?
Eu acredito que isso pode estar indicando um problema no meu sistema, como quando eu faço apt-get -f install
, eu recebo erros que dizem que o efeito de "você tem uma versão superior instalada, mas eu preciso de uma versão inferior", e vice-versa :
# apt -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... failed.
The following packages have unmet dependencies:
ghostscript:i386 : Depends: gsfonts:i386 (>= 6.0-1) but it is not installable
ghostscript-dbg : Depends: libgs9 (= 9.18~dfsg~0-0ubuntu2.6) but 9.18~dfsg~0-0ubuntu2.7 is installed or
ghostscript (= 9.18~dfsg~0-0ubuntu2.6) or
ghostcript-cups (= 9.18~dfsg~0-0ubuntu2.6) but it is not installable or
ghostcript-x (= 9.18~dfsg~0-0ubuntu2.6) but it is not installable
libaudit1 : Breaks: libaudit1:i386 (!= 1:2.4.5-1ubuntu2.1) but 1:2.4.5-1ubuntu2 is installed
libaudit1:i386 : Breaks: libaudit1 (!= 1:2.4.5-1ubuntu2) but 1:2.4.5-1ubuntu2.1 is installed
libblkid1 : Breaks: libblkid1:i386 (!= 2.27.1-6ubuntu3.4) but 2.27.1-6ubuntu3.3 is installed
libblkid1:i386 : Breaks: libblkid1 (!= 2.27.1-6ubuntu3.3) but 2.27.1-6ubuntu3.4 is installed
libcupsfilters1 : Breaks: libcupsfilters1:i386 (!= 1.8.3-2ubuntu3.3) but 1.8.3-2ubuntu3.1 is installed
libcupsfilters1:i386 : Breaks: libcupsfilters1 (!= 1.8.3-2ubuntu3.1) but 1.8.3-2ubuntu3.3 is installed
libgs9 : Depends: libjbig2dec0 (>= 0.11) but it is not installed
libgs9:i386 : Depends: libgs9-common:i386 (>= 9.18~dfsg~0) but it is not installable
libmount1 : Breaks: libmount1:i386 (!= 2.27.1-6ubuntu3.4) but 2.27.1-6ubuntu3.3 is installed
libmount1:i386 : Breaks: libmount1 (!= 2.27.1-6ubuntu3.3) but 2.27.1-6ubuntu3.4 is installed
libseccomp2 : Breaks: libseccomp2:i386 (!= 2.3.1-2.1ubuntu2~16.04.1) but 2.2.3-3ubuntu3 is installed
libseccomp2:i386 : Breaks: libseccomp2 (!= 2.2.3-3ubuntu3) but 2.3.1-2.1ubuntu2~16.04.1 is installed
libuuid1 : Breaks: libuuid1:i386 (!= 2.27.1-6ubuntu3.4) but 2.27.1-6ubuntu3.3 is installed
libuuid1:i386 : Breaks: libuuid1 (!= 2.27.1-6ubuntu3.3) but 2.27.1-6ubuntu3.4 is installed
python : PreDepends: python-minimal (= 2.7.11-1) but 2.7.12-1~16.04 is installed
Depends: libpython-stdlib (= 2.7.11-1) but 2.7.12-1~16.04 is installed
systemd-shim:i386 : Depends: cgmanager:i386 (>= 0.32) but it is not installable
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.
E: Unable to correct dependencies
E se isso for realmente um problema, como posso corrigi-lo?
EDIT: A saída de apt-cache policy ghostscript-dbg
é:
ghostscript-dbg:
Installed: 9.18~dfsg~0-0ubuntu2.6
Candidate: 9.18~dfsg~0-0ubuntu2.7
Version table:
9.18~dfsg~0-0ubuntu2.7 500
500 http://192.168.12.61/ubuntu xenial-security/main amd64 Packages
*** 9.18~dfsg~0-0ubuntu2.6 100
100 /var/lib/dpkg/status
9.18~dfsg~0-0ubuntu2 500
500 http://192.168.12.61/ubuntu xenial/main amd64 Packages
A fonte é um espelho do ubuntu que eu configurei. O /etc/apt/sources.list
contém o seguinte:
deb [arch=amd64] http://192.168.12.61/ubuntu/ xenial main restricted multiverse universe
deb [arch=amd64] http://192.168.12.61/ubuntu/ xenial-security main restricted multiverse universe
deb [arch=amd64] http://192.168.12.61/ubuntu/ xenial-updates main restricted multiverse universe
deb [arch=amd64] http://192.168.12.61/ubuntu/ xenial-proposed main restricted multiverse universe
deb [arch=amd64] http://192.168.12.61/ubuntu/ xenial-backports main restricted multiverse universe
EDIT 2: A saída de sudo apt install ghostscript-dbg=9.18~dfsg~0-0ubuntu2.7
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
ghostscript:i386 : Depends: gsfonts:i386 (>= 6.0-1) but it is not installable
libaudit1 : Breaks: libaudit1:i386 (!= 1:2.4.5-1ubuntu2.1) but 1:2.4.5-1ubuntu2 is to be installed
libaudit1:i386 : Breaks: libaudit1 (!= 1:2.4.5-1ubuntu2) but 1:2.4.5-1ubuntu2.1 is to be installed
libblkid1 : Breaks: libblkid1:i386 (!= 2.27.1-6ubuntu3.4) but 2.27.1-6ubuntu3.3 is to be installed
libblkid1:i386 : Breaks: libblkid1 (!= 2.27.1-6ubuntu3.3) but 2.27.1-6ubuntu3.4 is to be installed
libcupsfilters1 : Breaks: libcupsfilters1:i386 (!= 1.8.3-2ubuntu3.3) but 1.8.3-2ubuntu3.1 is to be installed
libcupsfilters1:i386 : Breaks: libcupsfilters1 (!= 1.8.3-2ubuntu3.1) but 1.8.3-2ubuntu3.3 is to be installed
libgs9 : Depends: libjbig2dec0 (>= 0.11) but it is not going to be installed
libgs9:i386 : Depends: libgs9-common:i386 (>= 9.18~dfsg~0) but it is not installable
libmount1 : Breaks: libmount1:i386 (!= 2.27.1-6ubuntu3.4) but 2.27.1-6ubuntu3.3 is to be installed
libmount1:i386 : Breaks: libmount1 (!= 2.27.1-6ubuntu3.3) but 2.27.1-6ubuntu3.4 is to be installed
libseccomp2 : Breaks: libseccomp2:i386 (!= 2.3.1-2.1ubuntu2~16.04.1) but 2.2.3-3ubuntu3 is to be installed
libseccomp2:i386 : Breaks: libseccomp2 (!= 2.2.3-3ubuntu3) but 2.3.1-2.1ubuntu2~16.04.1 is to be installed
libuuid1 : Breaks: libuuid1:i386 (!= 2.27.1-6ubuntu3.4) but 2.27.1-6ubuntu3.3 is to be installed
libuuid1:i386 : Breaks: libuuid1 (!= 2.27.1-6ubuntu3.3) but 2.27.1-6ubuntu3.4 is to be installed
python : PreDepends: python-minimal (= 2.7.11-1) but 2.7.12-1~16.04 is to be installed
Depends: libpython-stdlib (= 2.7.11-1) but 2.7.12-1~16.04 is to be installed
systemd-shim:i386 : Depends: cgmanager:i386 (>= 0.32) but it is not installable
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).