Shammerism

2018-05-15 How to resolve package dependency errors after upgrade from whee

How to resolve package dependency errors after upgrade from wheezy to stretch?

I upgraded wheezy to stretch with apt-get like below.

  1. edit /etc/apt/sources.list, change distribution strings "wheezy" to "stable"
  2. apt-get upgrade
  3. apt-get dist-upgrade

New sources.list is below.

#deb http://ftp.jp.debian.org/debian/ wheezy main
deb http://ftp.jp.debian.org/debian/ stable main
#deb-src http://ftp.jp.debian.org/debian/ wheezy main
deb-src http://ftp.jp.debian.org/debian/ stable main

But, apt-get update always filed with the following messages after upgrade.

# apt-get update
ヒット http://ftp.jp.debian.org stable Release.gpg
ヒット http://ftp.jp.debian.org stable Release
ヒット http://ftp.jp.debian.org stable/main Sources
ヒット http://ftp.jp.debian.org stable/main amd64 Packages
ヒット http://ftp.jp.debian.org stable/main Translation-ja
ヒット http://ftp.jp.debian.org stable/main Translation-en
パッケージリストを読み込んでいます... 完了         
W: Ignoring Provides line with DepCompareOp for package libapt-inst
W: Ignoring Provides line with DepCompareOp for package libapt-pkg
W: Ignoring Provides line with DepCompareOp for package libespeak-dev
W: Ignoring Provides line with DepCompareOp for package libespeak1
W: Ignoring Provides line with DepCompareOp for package libgpgme11-dev
W: Ignoring Provides line with DepCompareOp for package kodi-api-guilib
W: Ignoring Provides line with DepCompareOp for package kodi-api-pvr
W: Ignoring Provides line with DepCompareOp for package libparse-cpan-meta-perl
W: Ignoring Provides line with DepCompareOp for package libjpeg62
W: Ignoring Provides line with DepCompareOp for package lsb
W: Ignoring Provides line with DepCompareOp for package lsb-core
W: Ignoring Provides line with DepCompareOp for package php-psr-log-implementation
W: Ignoring Provides line with DepCompareOp for package php-seclib
W: Ignoring Provides line with DepCompareOp for package php-sabre-http
W: Ignoring Provides line with DepCompareOp for package php-math-biginteger
W: Ignoring Provides line with DepCompareOp for package pkg-config
W: Ignoring Provides line with DepCompareOp for package pypy-cffi
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package pypy-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-max
W: Ignoring Provides line with DepCompareOp for package python3-cffi-backend-api-min
W: Ignoring Provides line with DepCompareOp for package sagenb-export
W: Ignoring Provides line with DepCompareOp for package sagenb-export
W: これらの問題を解決するためには apt-get update を実行する必要があるかもしれません

Tried apt-get -f install, but I couldn't get out this loop and couldn't find the way to resolve with apt-get.
At last, I resolved this with doing "aptitude safe-upgrade" repeatedly. The time might come to migrate aptitude from apt-get.

はてなユーザーのみコメントできます。はてなへログインもしくは新規登録をおこなってください。

トラックバック - http://d.hatena.ne.jp/shammer/20180515/p1