Ошибка установки Aptitude

Я запускаю apt-get install aptitude, но он дает мне эту ошибку:

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:
 aptitude : Depends: libcwidget3 but it is not going to be installed
            Depends: libstdc++6 (>= 4.9) but 4.8.4-2ubuntu1~14.04 is to be installed
            Depends: libxapian22 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Что не так?

Вот еще дополнительная информация:

[ f2]

Обновления

$ sudo apt-get install libstdc++6=4.9.2-10ubuntu13 :
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following extra packages will be installed:
  libstdc++6
0 upgraded, 0 newly installed, 0 to remove and 18 not upgraded.

и

$ apt-cache policy libstdc++6
libstdc++6:
  Installed: 4.8.4-2ubuntu1~14.04
  Candidate: 4.9.2-10ubuntu13
  Version table:
     4.9.2-10ubuntu13 0
        500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages
 *** 4.8.4-2ubuntu1~14.04 0
        100 /var/lib/dpkg/status

,

$ sudo dpkg -i libstdc++6_4.9.2-10ubuntu13_amd64.deb
(Reading database ... 103371 files and directories currently installed.)
Preparing to unpack libstdc++6_4.9.2-10ubuntu13_amd64.deb ...
Unpacking libstdc++6:amd64 (4.9.2-10ubuntu13) over (4.9.2-10ubuntu13) ...
dpkg: dependency problems prevent configuration of libstdc++6:amd64:
 libstdc++6:amd64 depends on gcc-4.9-base (= 4.9.2-10ubuntu13); however:
  Version of gcc-4.9-base:amd64 on system is 4.9.3-0ubuntu4.

dpkg: error processing package libstdc++6:amd64 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libstdc++6:amd64

,

$ sudo apt-get install gcc-4.9-base=4.9.2-10ubuntu13
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:
 gcc-4.9-base : Breaks: gcc-4.9-base:i386 (!= 4.9.2-10ubuntu13) but 4.9.3-0ubuntu4 is to be installed
 gcc-4.9-base:i386 : Breaks: gcc-4.9-base (!= 4.9.3-0ubuntu4) but 4.9.2-10ubuntu13 is to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

,

$ apt-cache policy gcc-4.9-base
gcc-4.9-base:
  Installed: 4.9.3-0ubuntu4
  Candidate: 4.9.3-0ubuntu4
  Version table:
 *** 4.9.3-0ubuntu4 0
        100 /var/lib/dpkg/status
     4.9.2-10ubuntu13 0
        500 http://archive.ubuntu.com/ubuntu/ vivid/main amd64 Packages

,

   $ sudo apt-get install gcc-4.9=4.9.2-10ubuntu13 gcc-4.9-base=4.9.2-10ubuntu13 gcc-4.9:i386=4.9.2-10ubuntu13 gcc-4.9-base:i386=4.9.2-10ubuntu13
    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:
     gcc-4.9 : Depends: cpp-4.9 (= 4.9.2-10ubuntu13) but it is not going to be installed
               Depends: libgcc-4.9-dev (= 4.9.2-10ubuntu13) but it is not going to be installed
               Conflicts: gcc-4.9:i386 but 4.9.2-10ubuntu13 is to be installed
     gcc-4.9:i386 : Depends: cpp-4.9:i386 (= 4.9.2-10ubuntu13) but it is not going to be installed
                    Depends: binutils:i386 (>= 2.25) but it is not going to be installed
                    Depends: libgcc-4.9-dev:i386 (= 4.9.2-10ubuntu13) but it is not going to be installed
                    Depends: libcloog-isl4:i386 (>= 0.17) but it is not going to be installed
                    Depends: libgmp10:i386 (>= 2:5.0.1~) but it is not going to be installed
                    Depends: libisl13:i386 (>= 0.10) but it is not going to be installed
                    Depends: libmpc3:i386 but it is not going to be installed
                    Depends: libmpfr4:i386 (>= 3.1.2) but it is not going to be installed
                    Recommends: libc6-dev:i386 (>= 2.13-0ubuntu6) but it is not going to be installed
                    Conflicts: gcc-4.9 but 4.9.2-10ubuntu13 is to be installed
    E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
1
задан 1 February 2016 в 22:52

0 ответов

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

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