“sudo apt-get instala libstdc ++ 6-dbgsym” falha

0

Por que a seguinte operação falha?

$ sudo apt-get install libstdc++6-dbgsym
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:
 libstdc++6-dbgsym : Depends: libgcc1-dbg (= 6.2.0-5ubuntu12) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Em vez disso, devo abrir um bug (no launchpad )?

Informação da versão:

$ uname -a && gcc --version
Linux Zelos2 4.8.0-52-generic #55-Ubuntu SMP Fri Apr 28 13:28:50 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
gcc (Ubuntu 5.4.1-2ubuntu2) 5.4.1 20160929
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=16.10
DISTRIB_CODENAME=yakkety
DISTRIB_DESCRIPTION="Ubuntu 16.10"

Detalhes do pacote:

$ apt-cache show libstdc++6-dbgsym
Package: libstdc++6-dbgsym
Priority: extra
Section: libs
Installed-Size: 2
Maintainer: Ubuntu Core developers <[email protected]>
Original-Maintainer: Debian GCC Maintainers <[email protected]>
Architecture: amd64
Source: gcc-6
Version: 6.2.0-5ubuntu12
Depends: libgcc1-dbg (= 6.2.0-5ubuntu12)
Filename: pool/main/g/gcc-6/libstdc++6-dbgsym_6.2.0-5ubuntu12_amd64.ddeb
Size: 946
MD5sum: 3169e37d9c6d6d4bee5e7501fe1b9515
SHA1: 480221e83eebf46c591e74804176ee098ae9e778
SHA256: 6cf404f487febdda821deba2e62da42b2df289306b39118349fa55f052eabe26
SHA512: bf36a417d8a820a28d791eb65754acd02ded4b5b3d12628d7cd26288f9aca04f5dcf454b283a8533252e3a6a09e1ba34850a159c1c24eac9fecb5c1528ad3d73
Description: debug symbols for package libstdc++6
 This package contains an additional runtime library for C++ programs
 built with the GNU compiler.
 .
 libstdc++-v3 is a complete rewrite from the previous libstdc++-v2, which
 was included up to g++-2.95. The first version of libstdc++-v3 appeared
 in g++-3.0.
Description-md5: ae9ec5d004991b9a9df51f2ccfc136b1
Multi-Arch: same
Homepage: http://gcc.gnu.org/

Pacote conflitante:

$ apt-cache show libgcc1-dbg
Package: libgcc1-dbg
Priority: extra
Section: debug
Installed-Size: 630
Maintainer: Ubuntu Core developers <[email protected]>
Original-Maintainer: Debian GCC Maintainers <[email protected]>
Architecture: amd64
Source: gcc-6 (6.2.0-5ubuntu12)
Version: 1:6.2.0-5ubuntu12
Depends: gcc-6-base (= 6.2.0-5ubuntu12), libgcc1 (= 1:6.2.0-5ubuntu12)
Filename: pool/main/g/gcc-6/libgcc1-dbg_6.2.0-5ubuntu12_amd64.deb
Size: 89756
MD5sum: 28e87decf38a7b6e45b8d76562dbf03e
SHA1: cd66ca80da6bbf13f510ffced36dac0d65b11db7
SHA256: 9c62ab5cd880eb9a35d982378cc75cef32f7c60e9a99f8449dc602c3215d1bee
Description-en: GCC support library (debug symbols)
 Debug symbols for the GCC support library.
Description-md5: d2281f8d5a2b7dae7c362df43affcb03
Multi-Arch: same
Homepage: http://gcc.gnu.org/
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu
Supported: 9m

Lista de repositórios:

$ grep -v "^#" /etc/apt/sources.list /etc/apt/sources.list.d/*
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety main restricted
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu yakkety main restricted universe multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety-updates main restricted
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu yakkety-updates main restricted universe multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety-updates universe
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety-updates multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety-backports main restricted universe multiverse
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu yakkety-backports main restricted universe multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety-security main restricted
/etc/apt/sources.list:deb-src http://archive.ubuntu.com/ubuntu yakkety-security main restricted universe multiverse
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety-security universe
/etc/apt/sources.list:deb http://archive.ubuntu.com/ubuntu yakkety-security multiverse
/etc/apt/sources.list:
/etc/apt/sources.list:deb https://apt.dockerproject.org/repo/ ubuntu-yakkety main
/etc/apt/sources.list.d/cuda-8-0-local.list.distUpgrade:deb file:///var/cuda-repo-8-0-local /
/etc/apt/sources.list.d/cuda-8-0-local.list.save:deb file:///var/cuda-repo-8-0-local /
/etc/apt/sources.list.d/ddebs.list:
/etc/apt/sources.list.d/ddebs.list:deb http://ddebs.ubuntu.com yakkety main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list:deb http://ddebs.ubuntu.com yakkety-updates main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list:deb http://ddebs.ubuntu.com yakkety-security main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list:deb http://ddebs.ubuntu.com yakkety-proposed main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list.distUpgrade:deb http://ddebs.ubuntu.com xenial main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list.distUpgrade:deb http://ddebs.ubuntu.com xenial-updates main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list.distUpgrade:deb http://ddebs.ubuntu.com xenial-security main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list.distUpgrade:deb http://ddebs.ubuntu.com xenial-proposed main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list.save:
/etc/apt/sources.list.d/ddebs.list.save:deb http://ddebs.ubuntu.com yakkety main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list.save:deb http://ddebs.ubuntu.com yakkety-updates main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list.save:deb http://ddebs.ubuntu.com yakkety-security main restricted universe multiverse
/etc/apt/sources.list.d/ddebs.list.save:deb http://ddebs.ubuntu.com yakkety-proposed main restricted universe multiverse
/etc/apt/sources.list.d/google-chrome.list:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.distUpgrade:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/google-chrome.list.save:deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
/etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-yakkety.list:deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu yakkety main
/etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-yakkety.list.save:deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu yakkety main
/etc/apt/sources.list.d/lttng-ubuntu-ppa-yakkety.list:deb http://ppa.launchpad.net/lttng/ppa/ubuntu yakkety main
/etc/apt/sources.list.d/lttng-ubuntu-stable-2_9-xenial.list.distUpgrade:deb http://ppa.launchpad.net/lttng/stable-2.9/ubuntu xenial main
/etc/apt/sources.list.d/scootersoftware.list.distUpgrade:deb http://www.scootersoftware.com/ bcompare4 non-free

Políticas:

$ apt policy libstdc++6-dbgsym libgcc1-dbg
libstdc++6-dbgsym:
  Installed: (none)
  Candidate: 6.2.0-5ubuntu12
  Version table:
     6.2.0-5ubuntu12 500
        500 http://ddebs.ubuntu.com yakkety/main amd64 Packages
libgcc1-dbg:
  Installed: (none)
  Candidate: 1:6.2.0-5ubuntu12
  Version table:
     1:6.2.0-5ubuntu12 500
        500 http://archive.ubuntu.com/ubuntu yakkety/main amd64 Packages

Instalando libgcc1-dbg:

$ sudo apt install libgcc1-dbg
[sudo] password for daniel: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  libgcc1-dbg
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/89.8 kB of archives.
After this operation, 645 kB of additional disk space will be used.
Selecting previously unselected package libgcc1-dbg:amd64.
(Reading database ... 557888 files and directories currently installed.)
Preparing to unpack .../libgcc1-dbg_1%3a6.2.0-5ubuntu12_amd64.deb ...
Unpacking libgcc1-dbg:amd64 (1:6.2.0-5ubuntu12) ...
Setting up libgcc1-dbg:amd64 (1:6.2.0-5ubuntu12) ...

Em seguida, uma nova tentativa de instalar o libstdc ++ 6-dbgsym faz exatamente a mesma coisa, exceto para esta linha ("mas deve ser instalado" em vez de "mas não será instalado"):

The following packages have unmet dependencies:
 libstdc++6-dbgsym : Depends: libgcc1-dbg (= 6.2.0-5ubuntu12) but 1:6.2.0-5ubuntu12 is to be installed
    
por Dan0 17.05.2017 / 00:33

0 respostas