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 libreoffice-emailmerge
libreoffice-filter-binfilter libreoffice-java-common libreoffice-math
libtextcat-data-utf8 vlc-plugin-notify vlc-plugin-pulse xfonts-mathml
52 packages upgraded, 1 newly installed, 0 to remove and 24 not upgraded.
Need to get 147 MB of archives. After unpacking 11.5 MB will be used.
Do you want to continue? [Y/n/?]
=====
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)
File "/usr/lib/python2.6/dist-packages/apt/deprecation.py", line 98,
in deprecated_function
return func(*args, **kwds)
File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 210, in upgrade
self._depcache.upgrade(dist_upgrade)
=====
Or even more simple:
=====
# debdelta-upgrade -v apt-file
debdelta-upgrade : E:Error, pkgProblemResolver::Resolve generated
breaks, this may be caused by held packages.
=====
What can I do to help in debugging this, please?
Thank you!
Best regards,
Nelson
-- System Information:
Debian Release: 6.0
APT prefers unstable
APT policy: (500, 'unstable'), (100, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.37.naoliv2 (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages debdelta depends on:
ii binutils 2.20.1-16 The GNU assembler, linker and bina
ii bzip2 1.0.5-6 high-quality block-sorting file co
ii libbz2-1.0 1.0.5-6 high-quality block-sorting file co
ii libc6 2.11.2-11 Embedded GNU C Library: Shared lib
ii python 2.6.6-3+squeeze5 interactive high-level object-orie
ii zlib1g 1:1.2.3.4.dfsg-3 compression library - runtime
Versions of packages debdelta recommends:
ii bsdiff 4.3-10 generate/apply a patch between two
pn gnupg-agent <none> (no description available)
pn gnupg2 <none> (no description available)
ii lzma 4.43-14 Compression method of 7z format in
ii python-apt 0.7.100.1 Python interface to libapt-pkg
ii xdelta 1.1.3-9 A diff utility which works with bi
ii xdelta3 0y.dfsg-1 A diff utility which works with bi
debdelta suggests no packages.
-- no debconf information
--
To UNSUBSCRIBE, email to debian-bugs-...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listm...@lists.debian.org
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.