Bug#612423: /usr/bin/debdelta: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
hi, Il 08/02/2011 14:23, Nelson A. de Oliveira ha scritto: Today while trying to run debdelta-upgrade -v I saw this: debdelta-upgrade : E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. With a simple aptitude full-upgrade: [...] The following actions will resolve these dependencies: [...] Accept this solution? [Y/n/q/?] = So maybe this situation is somehow confusing debdelta? yes, debdelta-upgrade simply calls cache=apt.Cache() cache.upgrade(True) and that is similar to aptitude full-upgrade ; but it does not implement conflict resolution Testing with only packages that are known to be correctly installable: [...] But debdelta also complains: = # debdelta-upgrade -d -v apt-file base-files bti bzr chromium-browser chromium-browser-inspector debootstrap dictionaries-common iceweasel iproute libatasmart4 libavahi-client3 libavahi-common-data libavahi-common3 libavahi-glib1 libgnomevfs2-0 libgnomevfs2-common libgpg-error-dev libgpg-error0 libhal-dev libhal-storage1 libhal1 libhyphen0 libmozjs4d liboauth0 libpcre3 libpcrecpp0 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-l10n-pt-br libreoffice-style-tango libreoffice-writer libvlc5 libvlccore4 libx11-6 libx11-data libx11-dev libx11-xcb1 libxaw7 ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ttf-opensymbol uno-libs3 ure vlc vlc-data vlc-nox xulrunner-2.0 debdelta-upgrade : E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. File /usr/bin/debdelta-upgrade, line 4300, in module exitcode=delta_upgrade_(argv) File /usr/bin/debdelta-upgrade, line 3477, in delta_upgrade_ cache.upgrade(True) unfortunately this line ignores the list you give on command line... it should not... but I would need some help from APT people, so that debdelta-upgrade [files] would more precisely mimic what aptitude does What can I do to help in debugging this, please? if it ever happens again, there are two possible quick workarounds, 1) in /usr/bin/debdelta-upgrade, change temporarily the line cache.upgrade(True) to cache.upgrade(False) (if this solves the problem, I may add it as a command line option, or a try:except fallback) 2) use the 'cupt' package manager, that solves dependencies (similarly to aptitude) and then downloads deltas and uses 'debpatch' instead of 'debdelta-upgrade' a. signature.asc Description: OpenPGP digital signature
Bug#612423: /usr/bin/debdelta: E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages
Package: debdelta Version: 0.40exp Severity: important File: /usr/bin/debdelta Hi! Today while trying to run debdelta-upgrade -v I saw this: debdelta-upgrade : E:Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages. I have some packages on hold in aptitude (but not in dpkg) and it never caused any kind of problem (actually debdelta also downloads the deltas of the packages on hold in aptitude - #544582). With a simple aptitude full-upgrade: = # aptitude full-upgrade The following NEW packages will be installed: libopenal1{a} python-bzrlib{a} xorg-sgml-doctools{a} The following packages will be REMOVED: libdirac-decoder0{u} The following packages will be upgraded: apt-file base-files bti bzr chromium-browser chromium-browser-inspector debootstrap dictionaries-common iceweasel iproute libatasmart4 libavahi-client3 libavahi-common-data libavahi-common3 libavahi-glib1 libgnomevfs2-0 libgnomevfs2-common libgpg-error-dev libgpg-error0 libhal-dev libhal-storage1 libhal1 libhyphen0 libmozjs4d liboauth0 libpcre3 libpcrecpp0 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-l10n-pt-br libreoffice-style-tango libreoffice-writer libvlc5 libvlccore4 libx11-6 libx11-data libx11-dev libx11-xcb1 libxaw7 libxcb-dri2-0 libxcb-randr0 libxcb-render0 libxcb-render0-dev libxcb-shape0 libxcb-shm0 libxcb-shm0-dev libxcb-xinerama0 libxcb-xtest0 libxcb-xv0 libxcb1 libxcb1-dev libxext-dev libxext6 libxi-dev libxi6 mplayer ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ttf-opensymbol uno-libs3 ure vlc vlc-data vlc-nox xserver-xorg xserver-xorg-core{b} xulrunner-2.0 The following packages are RECOMMENDED but will NOT be installed: bzrtools libatm1 libgnomevfs2-extra libreoffice-emailmerge libreoffice-filter-binfilter libreoffice-java-common libreoffice-math libtextcat-data-utf8 vlc-plugin-notify vlc-plugin-pulse xfonts-mathml 72 packages upgraded, 3 newly installed, 1 to remove and 4 not upgraded. Need to get 152 MB of archives. After unpacking 3585 kB will be used. The following packages have unmet dependencies: xserver-xorg-input-evdev: Depends: xorg-input-abi-7.0 which is a virtual package. xserver-xorg-input-mouse: Depends: xorg-input-abi-7.0 which is a virtual package. xserver-xorg-core: Breaks: xserver-xorg-input-7 which is a virtual package. Breaks: xserver-xorg-video-6 which is a virtual package. xserver-xorg-input-kbd: Depends: xorg-input-abi-7.0 which is a virtual package. xserver-xorg-input-synaptics: Depends: xorg-input-abi-7.0 which is a virtual package. xserver-xorg-video-intel: Depends: xorg-video-abi-6.0 which is a virtual package. The following actions will resolve these dependencies: Remove the following packages: 1) xserver-xorg 2) xserver-xorg-core 3) xserver-xorg-input-evdev 4) xserver-xorg-input-kbd 5) xserver-xorg-input-mouse 6) xserver-xorg-input-synaptics 7) xserver-xorg-video-intel Accept this solution? [Y/n/q/?] = So maybe this situation is somehow confusing debdelta? Testing with only packages that are known to be correctly installable: = # aptitude install base-files bti bzr chromium-browser chromium-browser-inspector debootstrap dictionaries-common iceweasel iproute libatasmart4 libavahi-client3 libavahi-common-data libavahi-common3 libavahi-glib1 libgnomevfs2-0 libgnomevfs2-common libgpg-error-dev libgpg-error0 libhal-dev libhal-storage1 libhal1 libhyphen0 libmozjs4d liboauth0 libpcre3 libpcrecpp0 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-l10n-pt-br libreoffice-style-tango libreoffice-writer libvlc5 libvlccore4 libx11-6 libx11-data libx11-dev libx11-xcb1 libxaw7 ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ttf-opensymbol uno-libs3 ure vlc vlc-data vlc-nox xulrunner-2.0 The following NEW packages will be installed: python-bzrlib{a} The following packages will be upgraded: base-files bti bzr chromium-browser chromium-browser-inspector debootstrap dictionaries-common iceweasel iproute libatasmart4 libavahi-client3 libavahi-common-data libavahi-common3 libavahi-glib1 libgnomevfs2-0 libgnomevfs2-common libgpg-error-dev libgpg-error0 libhal-dev libhal-storage1 libhal1 libhyphen0 libmozjs4d liboauth0 libpcre3 libpcrecpp0 libreoffice-base-core libreoffice-calc libreoffice-common libreoffice-core libreoffice-draw libreoffice-impress libreoffice-l10n-pt-br libreoffice-style-tango libreoffice-writer libvlc5 libvlccore4 libx11-6 libx11-data libx11-dev libx11-xcb1 libxaw7 ttf-dejavu ttf-dejavu-core ttf-dejavu-extra ttf-opensymbol uno-libs3 ure vlc vlc-data vlc-nox xulrunner-2.0 The following packages are RECOMMENDED but will NOT be installed: bzrtools libatm1 libgnomevfs2-extra