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.

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to