Package: nautilus
Version: 2.30.1-2squeeze1
Severity: important
Tags: patch squeeze
User: debian...@lists.debian.org
Usertags: piuparts
Control: affects -1 + nautilus-share

Hi,

during a test with piuparts I noticed your package fails to upgrade from
'lenny'.
It installed fine in 'lenny', then the upgrade to 'squeeze' fails.

>From the attached log (scroll to the bottom...)
(with apt problemresolver debug output):

 ERROR: Command failed (status=100): ['chroot', '/tmp/piupartss/tmpNxfsMu', 
'apt-get', '-yf', 'dist-upgrade']
  Reading package lists...
  Building dependency tree...
  Reading state information...
  Starting
  Starting 2
  Investigating libxcb1
  Package libxcb1 has broken dep on libxcb-xlib0
    Considering libxcb-xlib0 -1 as a solution to libxcb1 90
    Added libxcb-xlib0 to the remove list
    Fixing libxcb1 via remove of libxcb-xlib0
  Investigating libthai0
  Package libthai0 has broken dep on libdatrie0
    Considering libdatrie0 -1 as a solution to libthai0 22
    Added libdatrie0 to the remove list
    Fixing libthai0 via remove of libdatrie0
  Investigating libgnomekbd2
  Package libgnomekbd2 has broken dep on libgnomekbd-common
    Considering libgnomekbd-common 3 as a solution to libgnomekbd2 1
    Removing libgnomekbd2 rather than change libgnomekbd-common
  Investigating nautilus-share
  Package nautilus-share has broken dep on samba-common-bin
    Considering samba-common-bin 1 as a solution to nautilus-share 0
    Holding Back nautilus-share rather than change samba-common-bin
  Package nautilus-share has broken dep on samba-common
    Considering samba-common 3 as a solution to nautilus-share 0
    Holding Back nautilus-share rather than change samba-common
    Or group keep for nautilus-share
  Investigating libslab0a
  Package libslab0a has broken dep on libslab0
    Considering libslab0 -1 as a solution to libslab0a 0
    Added libslab0 to the remove list
    Fixing libslab0a via remove of libslab0
  Investigating libmetacity-private0
  Package libmetacity-private0 has broken dep on libmetacity0
    Considering libmetacity0 -1 as a solution to libmetacity-private0 0
    Added libmetacity0 to the remove list
    Fixing libmetacity-private0 via remove of libmetacity0
  Investigating libgnomekbdui2
  Package libgnomekbdui2 has broken dep on libgnomekbd2
    Considering libgnomekbd2 1 as a solution to libgnomekbdui2 -1
    Removing libgnomekbdui2 rather than change libgnomekbd2
  Investigating python-numeric
  Package python-numeric has broken dep on python
    Considering python 58 as a solution to python-numeric -1
    Removing python-numeric rather than change python
  Investigating libnautilus-extension1
  Package libnautilus-extension1 has broken dep on nautilus-share
    Considering nautilus-share 0 as a solution to libnautilus-extension1 3
    Upgrading nautilus-share due to Breaks field in libnautilus-extension1
  Investigating nautilus-share
  Package nautilus-share has broken dep on samba-common-bin
    Considering samba-common-bin 1 as a solution to nautilus-share 0
    Holding Back nautilus-share rather than change samba-common-bin
  Package nautilus-share has broken dep on samba-common
    Considering samba-common 3 as a solution to nautilus-share 0
    Holding Back nautilus-share rather than change samba-common
    Or group keep for nautilus-share
  Investigating libnautilus-extension1
  Package libnautilus-extension1 has broken dep on nautilus-share
    Considering nautilus-share 0 as a solution to libnautilus-extension1 3
    Upgrading nautilus-share due to Breaks field in libnautilus-extension1
  Investigating nautilus-share
  Package nautilus-share has broken dep on samba-common-bin
    Considering samba-common-bin 1 as a solution to nautilus-share 0
    Holding Back nautilus-share rather than change samba-common-bin
  Package nautilus-share has broken dep on samba-common
    Considering samba-common 3 as a solution to nautilus-share 0
    Holding Back nautilus-share rather than change samba-common
    Or group keep for nautilus-share
...
  Investigating libnautilus-extension1
  Package libnautilus-extension1 has broken dep on nautilus-share
    Considering nautilus-share 0 as a solution to libnautilus-extension1 3
    Upgrading nautilus-share due to Breaks field in libnautilus-extension1
  Investigating nautilus-share
  Package nautilus-share has broken dep on samba-common-bin
    Considering samba-common-bin 1 as a solution to nautilus-share 0
    Holding Back nautilus-share rather than change samba-common-bin
  Package nautilus-share has broken dep on samba-common
    Considering samba-common 3 as a solution to nautilus-share 0
    Holding Back nautilus-share rather than change samba-common
    Or group keep for nautilus-share
  Done
  The following packages have unmet dependencies:
    libnautilus-extension1: Breaks: nautilus-share (< 0.7.2-4+b1) but 
0.7.1-2+b1 is to be installed
  E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by 
held packages.


A possible workaround for this bug (which is actually a bug in lenny's
apt) is to add
  Breaks: samba-common (<< 2:3.5)
to libnautilus-extension1. libnautilus-extension1 seems to have a
sufficiently high score so apt will honour the Breaks and won't consider
holding it back for some obscure reason, opening the way to upgrade
nautilus-share properly.


cheers,

Andreas
diff -u nautilus-2.30.1/debian/control nautilus-2.30.1/debian/control
--- nautilus-2.30.1/debian/control
+++ nautilus-2.30.1/debian/control
@@ -118,6 +118,7 @@
         nautilus-gksu (<< 2.0.2-2+b1),
         nautilus-actions (<< 1.4.1-1+b1),
         nautilus-share (<< 0.7.2-4+b1),
+        samba-common (<< 2:3.5),
         seahorse-plugins (<< 2.24.1-3+b1)
 Replaces: libnautilus2-2
 Description: libraries for nautilus components - runtime version
diff -u nautilus-2.30.1/debian/changelog nautilus-2.30.1/debian/changelog
--- nautilus-2.30.1/debian/changelog
+++ nautilus-2.30.1/debian/changelog
@@ -1,3 +1,12 @@
+nautilus (2.30.1-2squeeze1.1) stable; urgency=low
+
+  * Non-maintainer upload.
+  * libnautilus-extension1: Add Breaks: samba-common (<< 2:3.5) to fix an
+    upgrade path from lenny where nautilus-share would not be upgraded.
+    (Closes: #nnnnnn)
+
+ -- Andreas Beckmann <deb...@abeckmann.de>  Wed, 23 Jan 2013 13:56:09 +0100
+
 nautilus (2.30.1-2squeeze1) stable; urgency=low
 
   * 15_nautilus_file_peek_crash.patch: stolen from upstream git. Fix a 
diff -u nautilus-2.30.1/debian/control.in nautilus-2.30.1/debian/control.in
--- nautilus-2.30.1/debian/control.in
+++ nautilus-2.30.1/debian/control.in
@@ -113,6 +113,7 @@
         nautilus-gksu (<< 2.0.2-2+b1),
         nautilus-actions (<< 1.4.1-1+b1),
         nautilus-share (<< 0.7.2-4+b1),
+        samba-common (<< 2:3.5),
         seahorse-plugins (<< 2.24.1-3+b1)
 Replaces: libnautilus2-2
 Description: libraries for nautilus components - runtime version

Attachment: nautilus-share_distupgrade-lenny-squeeze_debug.log.gz
Description: GNU Zip compressed data

Reply via email to