← Back to team overview

desktop-packages team mailing list archive

[Bug 1387930] Re: Broken update of duplicity 0.7 in Ubuntu 12.04

 

I think what's happening with you , Marcos, is that you have the correct
package installed, but you additionally have an older (0.6.22)
"duplicity" module in your python library path.  /usr/bin/duplicity is
finding that instead of the system (0.7.0) one.

Did you manually install 0.6.22 some time?  Maybe in /usr/local or in
$HOME somewhere?

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to duplicity in Ubuntu.
https://bugs.launchpad.net/bugs/1387930

Title:
  Broken update of duplicity 0.7 in Ubuntu 12.04

Status in “duplicity” package in Ubuntu:
  Fix Released

Bug description:
  Ubuntu 12.04.5 LTS

  Expected: correct update
  Happened: weird errors about gdocs backend

  
  When i do the update:
  ==================
  Configuring duplicity (0.7.0-0ubuntu0ppa1012~ubuntu12.04.1) ...
  SyntaxError: ('invalid syntax', ('/usr/lib/python2.7/dist-packages/duplicity/backends/gdocsbackend.py', 51, 197, "        self.client = gdata.docs.client.DocsClient(source='duplicity Usage: dpkg  Options:                     parser options:                                      output formats, defaults to 'dpkg'                                 for compatibility with dpkg                                                                          than version                                                         <number> is lower than 0)     ')\n"))

  dpkg: error processing duplicity (--configure):

   duplicity
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  And afterwards:
  ==================
  marcos@copias:~$ duplicity -V
  duplicity 0.6.22
  Traceback (most recent call last):
    File "/usr/bin/duplicity", line 1509, in <module>
      util.release_lockfile()
  AttributeError: 'module' object has no attribute 'release_lockfile'

  
  APT:
  ==================
  marcos@copias:~$ cat /etc/apt/sources.list.d/duplicity-team-ppa-precise.list
  deb http://ppa.launchpad.net/duplicity-team/ppa/ubuntu precise main
  deb-src http://ppa.launchpad.net/duplicity-team/ppa/ubuntu precise main

  marcos@copias:~$ apt-cache policy duplicity
  duplicity:
    Instalados: 0.7.0-0ubuntu0ppa1012~ubuntu12.04.1
    Candidato:  0.7.0-0ubuntu0ppa1012~ubuntu12.04.1
    Tabla de versión:
   *** 0.7.0-0ubuntu0ppa1012~ubuntu12.04.1 0
          500 http://ppa.launchpad.net/duplicity-team/ppa/ubuntu/ precise/main i386 Packages
          100 /var/lib/dpkg/status
       0.6.18-0ubuntu3.5 0
          500 http://es.archive.ubuntu.com/ubuntu/ precise-updates/main i386 Packages
       0.6.18-0ubuntu3 0
          500 http://es.archive.ubuntu.com/ubuntu/ precise/main i386 Packages

  Thank you.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/duplicity/+bug/1387930/+subscriptions


References