[Aptitude-devel] Bug#799918: Bug#799918: apt-get proves I am innocent
積丹尼 Dan Jacobson
jidanni at jidanni.org
Wed Sep 30 13:49:18 UTC 2015
Manuel, can we first attack why even apt or apt-get fails?
# apt update
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://ftp.tw.debian.org/debian experimental InRelease
Hit:3 http://dl.google.com/linux/earth/deb stable Release
Hit:4 http://ftp.tw.debian.org/debian unstable InRelease
Ign:6 http://mozilla.debian.net experimental InRelease
Hit:7 http://mozilla.debian.net experimental Release
Reading package lists... Done
Building dependency tree
Reading state information... Done
# apt install qgis
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:
qgis : Depends: libgdal.so.1-1.11.2
E: Unable to correct problems, you have held broken packages.
Package: aptitude
Version: 0.7.2-1
Severity: wishlist
-- Package-specific info:
Terminal: xterm
$DISPLAY is set.
which aptitude: /usr/bin/aptitude
aptitude version information:
aptitude 0.7.2 compiled at Sep 19 2015 16:50:44
Compiler: g++ 5.2.1 20150911
Compiled against:
apt version 4.16.0
NCurses version 6.0
libsigc++ version: 2.4.1
Gtk+ support disabled.
Qt support disabled.
Current library versions:
NCurses version: ncurses 6.0.20150810
cwidget version: 0.5.17
Apt version: 4.16.0
aptitude linkage:
linux-gate.so.1 (0xb77a7000)
libapt-pkg.so.4.16 => /usr/lib/i386-linux-gnu/libapt-pkg.so.4.16 (0xb7276000)
libncursesw.so.5 => /lib/i386-linux-gnu/libncursesw.so.5 (0xb7240000)
libtinfo.so.5 => /lib/i386-linux-gnu/libtinfo.so.5 (0xb721b000)
libsigc-2.0.so.0 => /usr/lib/i386-linux-gnu/libsigc-2.0.so.0 (0xb7214000)
libcwidget.so.3 => /usr/lib/i386-linux-gnu/libcwidget.so.3 (0xb7110000)
libsqlite3.so.0 => /usr/lib/i386-linux-gnu/libsqlite3.so.0 (0xb702f000)
libboost_iostreams.so.1.58.0 => /usr/lib/i386-linux-gnu/libboost_iostreams.so.1.58.0 (0xb7017000)
libxapian.so.22 => /usr/lib/sse2/libxapian.so.22 (0xb6e10000)
libpthread.so.0 => /lib/i386-linux-gnu/i686/cmov/libpthread.so.0 (0xb6df3000)
libstdc++.so.6 => /usr/lib/i386-linux-gnu/libstdc++.so.6 (0xb6c84000)
libm.so.6 => /lib/i386-linux-gnu/i686/cmov/libm.so.6 (0xb6c37000)
libgcc_s.so.1 => /lib/i386-linux-gnu/libgcc_s.so.1 (0xb6c1a000)
libc.so.6 => /lib/i386-linux-gnu/i686/cmov/libc.so.6 (0xb6a62000)
libutil.so.1 => /lib/i386-linux-gnu/i686/cmov/libutil.so.1 (0xb6a5e000)
libdl.so.2 => /lib/i386-linux-gnu/i686/cmov/libdl.so.2 (0xb6a59000)
libz.so.1 => /lib/i386-linux-gnu/libz.so.1 (0xb6a3c000)
libbz2.so.1.0 => /lib/i386-linux-gnu/libbz2.so.1.0 (0xb6a29000)
liblzma.so.5 => /lib/i386-linux-gnu/liblzma.so.5 (0xb69ff000)
librt.so.1 => /lib/i386-linux-gnu/i686/cmov/librt.so.1 (0xb69f6000)
libuuid.so.1 => /lib/i386-linux-gnu/libuuid.so.1 (0xb69f0000)
/lib/ld-linux.so.2 (0x800a9000)
-- System Information:
Debian Release: stretch/sid
APT prefers experimental
APT policy: (990, 'experimental'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 4.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=zh_TW.UTF-8, LC_CTYPE=zh_TW.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages aptitude depends on:
ii aptitude-common 0.7.2-1
ii libapt-pkg4.16 1.0.10.2
ii libboost-iostreams1.58.0 1.58.0+dfsg-3+b1
ii libc6 2.21-0experimental1
ii libcwidget3v5 0.5.17-4
ii libgcc1 1:5.2.1-18
ii libncursesw5 6.0+20150810-1
ii libsigc++-2.0-0v5 2.6.1-1
ii libsqlite3-0 3.8.11.1-1
ii libstdc++6 5.2.1-18
ii libtinfo5 6.0+20150810-1
ii libxapian22v5 1.2.21-1.2
Versions of packages aptitude recommends:
ii aptitude-doc-en [aptitude-doc] 0.7.2-1
pn libparse-debianchangelog-perl <none>
ii sensible-utils 0.0.9
Versions of packages aptitude suggests:
pn apt-xapian-index <none>
pn debtags <none>
pn tasksel <none>
-- no debconf information
P.S., also here is
# apt-config dump
APT "";
APT::Architecture "i386";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "false";
APT::Install-Suggests "0";
APT::Sandbox "";
APT::Sandbox::User "_apt";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^firmware-linux.*";
APT::NeverAutoRemove:: "^linux-firmware$";
APT::NeverAutoRemove:: "^linux-image-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^linux-image-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^linux-headers-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^linux-headers-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^linux-image-extra-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^linux-signed-image-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^kfreebsd-image-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^kfreebsd-headers-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^gnumach-image-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^gnumach-image-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^.*-modules-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^.*-modules-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^.*-kernel-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^.*-kernel-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^linux-backports-modules-.*-4\.2\.0-1-686-pae$";
APT::NeverAutoRemove:: "^linux-tools-4\.1\.0-2-686-pae$";
APT::NeverAutoRemove:: "^linux-tools-4\.2\.0-1-686-pae$";
APT::VersionedKernelPackages "";
APT::VersionedKernelPackages:: "linux-image";
APT::VersionedKernelPackages:: "linux-headers";
APT::VersionedKernelPackages:: "linux-image-extra";
APT::VersionedKernelPackages:: "linux-signed-image";
APT::VersionedKernelPackages:: "kfreebsd-image";
APT::VersionedKernelPackages:: "kfreebsd-headers";
APT::VersionedKernelPackages:: "gnumach-image";
APT::VersionedKernelPackages:: ".*-modules";
APT::VersionedKernelPackages:: ".*-kernel";
APT::VersionedKernelPackages:: "linux-backports-modules-.*";
APT::VersionedKernelPackages:: "linux-tools";
APT::Never-MarkAuto-Sections "";
APT::Never-MarkAuto-Sections:: "metapackages";
APT::Never-MarkAuto-Sections:: "contrib/metapackages";
APT::Never-MarkAuto-Sections:: "non-free/metapackages";
APT::Never-MarkAuto-Sections:: "restricted/metapackages";
APT::Never-MarkAuto-Sections:: "universe/metapackages";
APT::Never-MarkAuto-Sections:: "multiverse/metapackages";
APT::Move-Autobit-Sections "";
APT::Move-Autobit-Sections:: "oldlibs";
APT::Move-Autobit-Sections:: "contrib/oldlibs";
APT::Move-Autobit-Sections:: "non-free/oldlibs";
APT::Move-Autobit-Sections:: "restricted/oldlibs";
APT::Move-Autobit-Sections:: "universe/oldlibs";
APT::Move-Autobit-Sections:: "multiverse/oldlibs";
APT::Acquire "";
APT::Acquire::Max-Default-Age "";
APT::Acquire::Max-Default-Age::Debian-Security "7";
APT::Default-Release "experimental";
APT::Cache "";
APT::Cache::AllVersions "false";
APT::Clean-Installed "false";
APT::Get "";
APT::Get::Purge "true";
APT::Update "";
APT::Update::Post-Invoke-Success "";
APT::Update::Post-Invoke-Success:: "test -x /usr/bin/apt-show-versions || exit 0 ; apt-show-versions -i";
APT::Architectures "";
APT::Architectures:: "i386";
APT::Compressor "";
APT::Compressor::. "";
APT::Compressor::.::Name ".";
APT::Compressor::.::Extension "";
APT::Compressor::.::Binary "";
APT::Compressor::.::Cost "1";
APT::Compressor::gzip "";
APT::Compressor::gzip::Name "gzip";
APT::Compressor::gzip::Extension ".gz";
APT::Compressor::gzip::Binary "gzip";
APT::Compressor::gzip::Cost "2";
APT::Compressor::gzip::CompressArg "";
APT::Compressor::gzip::CompressArg:: "-9n";
APT::Compressor::gzip::UncompressArg "";
APT::Compressor::gzip::UncompressArg:: "-d";
APT::Compressor::xz "";
APT::Compressor::xz::Name "xz";
APT::Compressor::xz::Extension ".xz";
APT::Compressor::xz::Binary "xz";
APT::Compressor::xz::Cost "3";
APT::Compressor::xz::CompressArg "";
APT::Compressor::xz::CompressArg:: "-6";
APT::Compressor::xz::UncompressArg "";
APT::Compressor::xz::UncompressArg:: "-d";
APT::Compressor::bzip2 "";
APT::Compressor::bzip2::Name "bzip2";
APT::Compressor::bzip2::Extension ".bz2";
APT::Compressor::bzip2::Binary "bzip2";
APT::Compressor::bzip2::Cost "4";
APT::Compressor::bzip2::CompressArg "";
APT::Compressor::bzip2::CompressArg:: "-9";
APT::Compressor::bzip2::UncompressArg "";
APT::Compressor::bzip2::UncompressArg:: "-d";
APT::Compressor::lzma "";
APT::Compressor::lzma::Name "lzma";
APT::Compressor::lzma::Extension ".lzma";
APT::Compressor::lzma::Binary "xz";
APT::Compressor::lzma::Cost "5";
APT::Compressor::lzma::CompressArg "";
APT::Compressor::lzma::CompressArg:: "--format=lzma";
APT::Compressor::lzma::CompressArg:: "-9";
APT::Compressor::lzma::UncompressArg "";
APT::Compressor::lzma::UncompressArg:: "--format=lzma";
APT::Compressor::lzma::UncompressArg:: "-d";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::mirrors "mirrors/";
Dir::State::extended_states "extended_states";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::netrc "auth.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Etc::preferencesparts "preferences.d";
Dir::Etc::trusted "trusted.gpg";
Dir::Etc::trustedparts "trusted.gpg.d";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::solvers "";
Dir::Bin::solvers:: "/usr/lib/apt/solvers";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Bin::bzip2 "/bin/bzip2";
Dir::Bin::xz "/usr/bin/xz";
Dir::Bin::lzma "/usr/bin/xz";
Dir::Media "";
Dir::Media::MountPath "/media/apt";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
Dir::Log::History "history.log";
Dir::Ignore-Files-Silently "";
Dir::Ignore-Files-Silently:: "~$";
Dir::Ignore-Files-Silently:: "\.disabled$";
Dir::Ignore-Files-Silently:: "\.bak$";
Dir::Ignore-Files-Silently:: "\.dpkg-[a-z]+$";
Dir::Ignore-Files-Silently:: "\.save$";
Dir::Ignore-Files-Silently:: "\.orig$";
Dir::Ignore-Files-Silently:: "\.distUpgrade$";
Acquire "";
Acquire::AllowInsecureRepositories "1";
Acquire::AllowDowngradeToInsecureRepositories "0";
Acquire::cdrom "";
Acquire::cdrom::mount "/media/cdrom/";
Acquire::IndexTargets "";
Acquire::IndexTargets::deb "";
Acquire::IndexTargets::deb::Packages "";
Acquire::IndexTargets::deb::Packages::MetaKey "$(COMPONENT)/binary-$(ARCHITECTURE)/Packages";
Acquire::IndexTargets::deb::Packages::flatMetaKey "Packages";
Acquire::IndexTargets::deb::Packages::ShortDescription "Packages";
Acquire::IndexTargets::deb::Packages::Description "$(RELEASE)/$(COMPONENT) $(ARCHITECTURE) Packages";
Acquire::IndexTargets::deb::Packages::flatDescription "$(RELEASE) Packages";
Acquire::IndexTargets::deb::Packages::Optional "0";
Acquire::IndexTargets::deb::Translations "";
Acquire::IndexTargets::deb::Translations::MetaKey "$(COMPONENT)/i18n/Translation-$(LANGUAGE)";
Acquire::IndexTargets::deb::Translations::flatMetaKey "$(LANGUAGE)";
Acquire::IndexTargets::deb::Translations::ShortDescription "Translation-$(LANGUAGE)";
Acquire::IndexTargets::deb::Translations::Description "$(RELEASE)/$(COMPONENT) Translation-$(LANGUAGE)";
Acquire::IndexTargets::deb::Translations::flatDescription "$(RELEASE) Translation-$(LANGUAGE)";
Acquire::IndexTargets::deb-src "";
Acquire::IndexTargets::deb-src::Sources "";
Acquire::IndexTargets::deb-src::Sources::MetaKey "$(COMPONENT)/source/Sources";
Acquire::IndexTargets::deb-src::Sources::flatMetaKey "Sources";
Acquire::IndexTargets::deb-src::Sources::ShortDescription "Sources";
Acquire::IndexTargets::deb-src::Sources::Description "$(RELEASE)/$(COMPONENT) Sources";
Acquire::IndexTargets::deb-src::Sources::flatDescription "$(RELEASE) Sources";
Acquire::IndexTargets::deb-src::Sources::Optional "0";
Acquire::Changelogs "";
Acquire::Changelogs::URI "";
Acquire::Changelogs::URI::Origin "";
Acquire::Changelogs::URI::Origin::Debian "http://metadata.ftp-master.debian.org/changelogs/CHANGEPATH_changelog";
Acquire::Changelogs::URI::Origin::Tanglu "http://metadata.tanglu.org/changelogs/CHANGEPATH_changelog";
Acquire::Changelogs::URI::Origin::Ubuntu "http://changelogs.ubuntu.com/changelogs/pool/CHANGEPATH/changelog";
Acquire::Changelogs::URI::Origin::Ultimedia "http://packages.ultimediaos.com/changelogs/pool/CHANGEPATH/changelog.txt";
Acquire::http "";
Acquire::http::No-Cache "true";
Acquire::PDiffs "true";
Acquire::Languages "";
Acquire::Languages:: "en";
Acquire::Languages:: "none";
Aptitude "";
Aptitude::CmdLine "";
Aptitude::CmdLine::Always-Prompt "true";
Aptitude::CmdLine::Show-Why "true";
Aptitude::CmdLine::Show-Deps "true";
Aptitude::Purge-Unused "true";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true";
CommandLine "";
CommandLine::AsString "apt-config dump";
# ls -Rl /var/lib/apt/lists/
/var/lib/apt/lists/:
total 70402
-rw-r--r-- 1 root root 1338 2011-05-20 dl.google.com_linux_earth_deb_dists_stable_Release
-rw-r--r-- 1 root root 198 2011-05-20 dl.google.com_linux_earth_deb_dists_stable_Release.gpg
-rw-r--r-- 1 root root 619 2011-05-20 dl.google.com_linux_earth_deb_dists_stable_main_binary-i386_Packages
-rw-r--r-- 1 root root 170891 09-30 16:48 ftp.tw.debian.org_debian_dists_experimental_InRelease
-rw-r--r-- 1 root root 18539 09-29 04:41 ftp.tw.debian.org_debian_dists_experimental_contrib_binary-i386_Packages
-rw-r--r-- 1 root root 13922 08-15 05:01 ftp.tw.debian.org_debian_dists_experimental_contrib_i18n_Translation-en
-rw-r--r-- 1 root root 4539208 09-30 16:44 ftp.tw.debian.org_debian_dists_experimental_main_binary-i386_Packages
-rw-r--r-- 1 root root 2802419 09-30 16:44 ftp.tw.debian.org_debian_dists_experimental_main_i18n_Translation-en
-rw-r--r-- 1 root root 36445 08-22 10:17 ftp.tw.debian.org_debian_dists_experimental_non-free_binary-i386_Packages
-rw-r--r-- 1 root root 37091 09-08 22:38 ftp.tw.debian.org_debian_dists_experimental_non-free_i18n_Translation-en
-rw-r--r-- 1 root root 246502 09-30 16:52 ftp.tw.debian.org_debian_dists_unstable_InRelease
-rw-r--r-- 1 root root 233711 09-30 04:40 ftp.tw.debian.org_debian_dists_unstable_contrib_binary-i386_Packages
-rw-r--r-- 1 root root 172114 09-30 04:38 ftp.tw.debian.org_debian_dists_unstable_contrib_i18n_Translation-en
-rw-r--r-- 1 root root 37778435 09-30 16:42 ftp.tw.debian.org_debian_dists_unstable_main_binary-i386_Packages
-rw-r--r-- 1 root root 25136405 09-30 16:40 ftp.tw.debian.org_debian_dists_unstable_main_i18n_Translation-en
-rw-r--r-- 1 root root 386889 09-28 04:39 ftp.tw.debian.org_debian_dists_unstable_non-free_binary-i386_Packages
-rw-r--r-- 1 root root 375614 09-28 04:37 ftp.tw.debian.org_debian_dists_unstable_non-free_i18n_Translation-en
-rw-r----- 1 root root 0 2009-10-29 lock
drwx------ 2 root root 12288 2013-07-26 lost+found
-rw-r--r-- 1 root root 7151 09-30 12:19 mozilla.debian.net_dists_experimental_Release
-rw-r--r-- 1 root root 819 09-30 12:20 mozilla.debian.net_dists_experimental_Release.gpg
-rw-r--r-- 1 root root 91239 09-30 12:18 mozilla.debian.net_dists_experimental_iceweasel-aurora_binary-i386_Packages
drwx------ 2 _apt root 16384 09-30 20:01 partial
/var/lib/apt/lists/lost+found:
total 0
/var/lib/apt/lists/partial:
total 0
P.S., tell me if
drwx------ _apt root partial
is wrong. Should I change the owner or group or permissions?
>>>>> "AB" == Axel Beckert <abe at debian.org> writes:
AB> Hi again,
AB> Axel Beckert wrote:
>> 積丹尼 Dan Jacobson wrote:
>> > Subject: Bug#799918: apt-get proves I am innocent
AB> Depends. ;-)
>> > # apt-get install qgis
>> > Some packages could not be installed.
>>
>> Well, for me that means, it's no bug in aptitude either, just broken
>> packages in Debian Unstable as it may happen from time to time.
>>
>> IMHO we can just close this bug report.
AB> JFTR: Aptitude 0.7.2 on my system can satisfy the mentioned dependency
AB> of qgis on Debian Sid amd64 without any issues, independent of the
AB> fact that libgdal1i is already installed or not.
AB> So for me it looks like a not uptodate or complete local package list,
AB> because that error message usually appears if a package is mentioned
AB> as a dependency, but not available in the package lists (including
AB> provided, i.e. virtual packages).
AB> So please run "aptitude update" or "apt update". If that doesn't help,
AB> please delete everything from /var/lib/apt/lists/partial and again run
AB> "aptitude update" or "apt update". This should solve the issue.
AB> Oh, and please use either reportbug or M-x debian-bug in Emacs for bug
AB> reports so we get information about the distributions you have in your
AB> sources.list and other meta-information. Without that, such bug
AB> reports are a lot of unnecessary guess-work.
AB> Regards, Axel
AB> --
AB> ,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
AB> : :' : | Debian Developer, ftp.ch.debian.org Admin
AB> `. `' | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
AB> `- | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
More information about the Aptitude-devel
mailing list