LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-14-2019, 03:14 AM   #1
redbari
LQ Newbie
 
Registered: Jan 2019
Location: Ballarat
Distribution: Linux Mint
Posts: 2

Rep: Reputation: Disabled
Error Message "/usr/bin/duplicity", line 1532, in <module> with_tempdir(main)


Have installed Deja Dup to backup data before attempting to upgrade from Linux Mint 18.3 to 19.0
I am directing Backup to an external Seagate HDD but it is crashing with the following report:

File "/usr/bin/duplicity", line 1532, in <module>
with_tempdir(main)
File "/usr/bin/duplicity", line 1526, in with_tempdir
fn()
File "/usr/bin/duplicity", line 1380, in main
do_backup(action)
File "/usr/bin/duplicity", line 1508, in do_backup
incremental_backup(sig_chain)
File "/usr/bin/duplicity", line 653, in incremental_backup
bytes_written = dummy_backup(tarblock_iter)
File "/usr/bin/duplicity", line 232, in dummy_backup
while tarblock_iter.next():
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 523, in next
result = self.process(self.input_iter.next())
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 195, in get_delta_iter
for new_path, sig_path in collated:
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 280, in collate2iters
for relem2 in riter2:
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 354, in combine_path_iters
refresh_triple_list(triple_list)
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 341, in refresh_triple_list
new_triple = get_triple(old_triple[1])
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 327, in get_triple
path = path_iter_list[iter_index].next()
File "/usr/lib/python2.7/dist-packages/duplicity/diffdir.py", line 239, in sigtar2path_iter
for tarinfo in tf:
File "/usr/lib/python2.7/tarfile.py", line 2508, in next
tarinfo = self.tarfile.next()
File "/usr/lib/python2.7/tarfile.py", line 2350, in next
raise ReadError("unexpected end of data")
ReadError: unexpected end of data
 
Old 01-15-2019, 09:52 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 11,835

Rep: Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598Reputation: 3598
did you check if there was a disk full or something similar (during execution)?
 
Old 01-15-2019, 11:53 AM   #3
ehartman
Member
 
Registered: Jul 2007
Location: Delft, The Netherlands
Distribution: Slackware
Posts: 299

Rep: Reputation: 132Reputation: 132
Quote:
Originally Posted by pan64 View Post
did you check if there was a disk full or something similar (during execution)?
I don't know which tempdir this python script is using, but as the first error is about that tempdir [with_tempdir(main)] it may be using a tmpfs which runs out of RAM.
The "main" probably is a pointer to the previous set (or created) tmp directory.
 
Old 01-15-2019, 04:43 PM   #4
redbari
LQ Newbie
 
Registered: Jan 2019
Location: Ballarat
Distribution: Linux Mint
Posts: 2

Original Poster
Rep: Reputation: Disabled
'Error Message "/usr/bin/duplicity"

Thank you for your response.
I believe the disk was clear but will reformat to be absolutely certain and try again.
I had deliberately selected as "small" file as a test. Will see what happens.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Just Curious: why do "/usr/bin/test" and "/usr/bin/[" have different sizes? DaneM Programming 5 01-06-2014 04:33 AM
Error: Cannot find 'ssh-keygen' in '/sbin:/bin:/usr/sbin:/usr/bin:/usr/X11R6/bin' venu.navat Linux - Software 3 03-08-2012 05:00 AM
echo $PATH = /home/g3rc4n/bin:/usr/local/bin:/usr/bin:/bin:/usr/games ? i_heart_pandas Linux - Software 7 09-18-2009 09:33 AM
"bash: /usr/bin/git: No such file or directory " - why does bash look in /usr/bin babu198649 Linux - Newbie 7 07-16-2009 12:06 PM
Compromised? Files "/usr/lib.hwm", "/usr/lib.pwd", "/usr/lib.pwi" Klaus Pforte Linux - Security 4 09-29-2004 12:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:24 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration