Your message dated Wed, 28 Aug 2013 18:56:11 +0200 with message-id <caaz6_fbbznc_kcntr6ewj79yxekaebehjvgj2rbuuqjfp6u...@mail.gmail.com> and subject line Re: Bug#721158: /usr/bin/apt-get: linux-image-3.10-2-amd64 : Depends: linux-base (>= 3~) but it is not installed has caused the Debian Bug report #721158, regarding /usr/bin/apt-get: linux-image-3.10-2-amd64 : Depends: linux-base (>= 3~) but it is not installed to be marked as done.
This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact [email protected] immediately.) -- 721158: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=721158 Debian Bug Tracking System Contact [email protected] with problems
--- Begin Message ---Package: apt Version: 0.9.11.1 Severity: important File: /usr/bin/apt-get Dear Maintainer, *** Please consider answering these questions, where appropriate *** * What led up to the situation? apt-get update * What exactly did you do (or not do) that was effective (or ineffective)? nothing * What was the outcome of this action? root@nigelhorne:/home/njh# apt-get -f install Reading package lists... Done Building dependency tree Reading state information... Done Correcting dependencies... Done The following package was automatically installed and is no longer required: libio-socket-ip-perl Use 'apt-get autoremove' to remove it. The following packages will be REMOVED: linux-image-3.10-2-amd64 0 upgraded, 0 newly installed, 1 to remove and 15 not upgraded. After this operation, 116 MB disk space will be freed. Do you want to continue? [Y/n] * What outcome did you expect instead? update to work *** End of the template - remove these lines *** Apt-get update is stuck and telling me to run apt-get -f install. But that tries to remove the current kernel and (thankfully) fails. Also: root@nigelhorne:/home/njh# dpkg -l linux-base Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Name Version Architecture Description +++-==============-============-============-================================= rc linux-base 3.5 all Linux image base package root@nigelhorne:/home/njh# apt-get install linux-base 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: linux-base : Depends: libuuid-perl but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). root@nigelhorne:/home/njh# root@nigelhorne:/home/njh# apt-get install libuuid-perl 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: libuuid-perl : Depends: perlapi-5.14.2 linux-image-3.10-2-amd64 : Depends: linux-base (>= 3~) but it is not going to be installed E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). root@nigelhorne:/home/njh# root@nigelhorne:/home/njh# apt-get install perlapi-5.14.2 Reading package lists... Done Building dependency tree Reading state information... Done Package perlapi-5.14.2 is a virtual package provided by: perl-base 5.14.2-21 [Not candidate version] E: Package 'perlapi-5.14.2' has no installation candidate root@nigelhorne:/home/njh# -- Package-specific info: -- apt-config dump -- APT ""; APT::Architecture "amd64"; APT::Build-Essential ""; APT::Build-Essential:: "build-essential"; APT::Install-Recommends "1"; APT::Install-Suggests "0"; APT::Authentication ""; APT::Authentication::TrustCDROM "true"; APT::NeverAutoRemove ""; APT::NeverAutoRemove:: "^firmware-linux.*"; APT::NeverAutoRemove:: "^linux-firmware$"; APT::NeverAutoRemove:: "^kfreebsd-image.*"; APT::NeverAutoRemove:: "^gnumach$"; APT::NeverAutoRemove:: "^gnumach-image.*"; APT::NeverAutoRemove:: "^linux-image-3.10-2-amd64$"; APT::NeverAutoRemove:: "^linux-image-extra-3.10-2-amd64$"; APT::NeverAutoRemove:: "^linux-signed-image-3.10-2-amd64$"; APT::NeverAutoRemove:: "^linux-backports-modules-.*-3.10-2-amd64$"; APT::NeverAutoRemove:: "^linux-headers-3.10-2-amd64$"; APT::NeverAutoRemove:: "^linux-image-3.9-1-amd64$"; APT::NeverAutoRemove:: "^linux-image-extra-3.9-1-amd64$"; APT::NeverAutoRemove:: "^linux-signed-image-3.9-1-amd64$"; APT::NeverAutoRemove:: "^linux-backports-modules-.*-3.9-1-amd64$"; APT::NeverAutoRemove:: "^linux-headers-3.9-1-amd64$"; APT::Never-MarkAuto-Sections ""; APT::Never-MarkAuto-Sections:: "metapackages"; APT::Never-MarkAuto-Sections:: "restricted/metapackages"; APT::Never-MarkAuto-Sections:: "universe/metapackages"; APT::Never-MarkAuto-Sections:: "multiverse/metapackages"; APT::Never-MarkAuto-Sections:: "oldlibs"; APT::Never-MarkAuto-Sections:: "restricted/oldlibs"; APT::Never-MarkAuto-Sections:: "universe/oldlibs"; APT::Never-MarkAuto-Sections:: "multiverse/oldlibs"; APT::Architectures ""; APT::Architectures:: "amd64"; 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::bzip2 ""; APT::Compressor::bzip2::Name "bzip2"; APT::Compressor::bzip2::Extension ".bz2"; APT::Compressor::bzip2::Binary "bzip2"; APT::Compressor::bzip2::Cost "3"; APT::Compressor::bzip2::CompressArg ""; APT::Compressor::bzip2::CompressArg:: "-9"; APT::Compressor::bzip2::UncompressArg ""; APT::Compressor::bzip2::UncompressArg:: "-d"; APT::Compressor::xz ""; APT::Compressor::xz::Name "xz"; APT::Compressor::xz::Extension ".xz"; APT::Compressor::xz::Binary "xz"; APT::Compressor::xz::Cost "4"; APT::Compressor::xz::CompressArg ""; APT::Compressor::xz::CompressArg:: "-6"; APT::Compressor::xz::UncompressArg ""; APT::Compressor::xz::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"; APT::Compressor::::Name ""; APT::Compressor::::Extension "."; APT::Compressor::::Binary ""; APT::Compressor::::Cost "100"; APT::Compressor::::CompressArg ""; APT::Compressor::::CompressArg:: "-9"; APT::Compressor::::UncompressArg ""; APT::Compressor::::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::vendorlist "vendors.list"; Dir::Etc::vendorparts "vendors.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::Media ""; Dir::Media::MountPath "/media/cdrom"; 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$"; Acquire ""; Acquire::cdrom ""; Acquire::cdrom::mount "/media/cdrom"; Acquire::http ""; Acquire::http::Proxy "http://127.0.0.1:3128"; Acquire::Languages ""; Acquire::Languages:: "en"; Acquire::Languages:: "none"; DPkg ""; DPkg::Pre-Invoke ""; DPkg::Pre-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi"; DPkg::Post-Invoke ""; DPkg::Post-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; DPkg::Post-Invoke:: "if [ -x /usr/sbin/localepurge ] && [ $(ps w -p $PPID | egrep -c '(remove|purge)') != 1 ]; then /usr/sbin/localepurge; else exit 0; fi"; DPkg::Pre-Install-Pkgs ""; DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt || test $? -ne 10"; DPkg::Pre-Install-Pkgs:: "/usr/sbin/dpkg-preconfigure --apt || true"; DPkg::Tools ""; DPkg::Tools::Options ""; DPkg::Tools::Options::/usr/bin/apt-listchanges ""; DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2"; RPM ""; RPM::Pre-Invoke ""; RPM::Pre-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper pre-install; fi"; RPM::Post-Invoke ""; RPM::Post-Invoke:: "if [ -x /usr/bin/etckeeper ]; then etckeeper post-install; fi"; CommandLine ""; CommandLine::AsString "apt-config dump"; -- (no /etc/apt/preferences present) -- -- /etc/apt/sources.list -- # # deb cdrom:[Debian GNU/Linux 6.0.3 _Squeeze_ - Official amd64 DVD Binary-1 20111008-14:36]/ squeeze contrib main # official Debian archives deb http://security.debian.org/ stable/updates main contrib non-free deb http://http.us.debian.org/debian/ stable main contrib non-free deb http://http.us.debian.org/debian/ testing main contrib non-free deb http://http.us.debian.org/debian/ unstable main contrib non-free deb-src http://http.us.debian.org/debian/ unstable main contrib non-free -- System Information: Debian Release: jessie/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable') Architecture: amd64 (x86_64) Kernel: Linux 3.10-2-amd64 (SMP w/8 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages apt depends on: ii debian-archive-keyring 2012.4 ii gnupg 1.4.14-1 ii libapt-pkg4.12 0.9.11.1 ii libc6 2.17-92 ii libgcc1 1:4.8.1-9 ii libstdc++6 4.8.1-9 apt recommends no packages. Versions of packages apt suggests: pn apt-doc <none> ii aptitude 0.6.8.2-1.2 ii dpkg-dev 1.17.1 ii python-apt 0.8.9.1+b1 ii xz-utils 5.1.1alpha+20120614-2 -- no debconf information
--- End Message ---
--- Begin Message ---On Wed, Aug 28, 2013 at 5:40 PM, Nigel Horne <[email protected]> wrote: > * What led up to the situation? > apt-get update That is unlikely as it just updates metadata and doesn't change your system at all. You probably mean 'apt-get dist-upgrade'. > * What was the outcome of this action? > root@nigelhorne:/home/njh# apt-get -f install > Reading package lists... Done > Building dependency tree > Reading state information... Done > Correcting dependencies... Done > The following package was automatically installed and is no longer > required: > libio-socket-ip-perl > Use 'apt-get autoremove' to remove it. > The following packages will be REMOVED: > linux-image-3.10-2-amd64 > 0 upgraded, 0 newly installed, 1 to remove and 15 not upgraded. > After this operation, 116 MB disk space will be freed. > Do you want to continue? [Y/n] This is not the error you got initially – this is APT trying to get back to a system state which isn't broken. To get into a broken state a previous APT (or dpkg) call needs to fail. The output of that call would be interesting, but in this case I can imagine what is going on: You blindly accepted the solution APT proposed which included removing a bunch of packages like the currently running kernel because of the unfinished perl transition. Removing the running kernel fails by design, but it looks like a good solution so APT will propose this as long as linux-base is not installable to recover the broken system. That is not a bug. This is how "Debian unstable" works, which in terms of APT usage means that you can just blindly say 'yes' as you can in stable. I am therefore closing this bugreport with the serious hope that you have a recent backup to restore from as this perl transition will be going on for a while and recovery could take a while otherwise I presume. (probably more broken/removed than what APT can see) Best regards David Kalnischkies
--- End Message ---

