[Apt-offline-devel] [SCM] Offline APT Package Manager branch, master, updated. 0.9.6-41-g3adce9d

Ritesh Raj Sarraf rrs at researchut.com
Wed Mar 17 04:15:57 UTC 2010


The following commit has been merged in the master branch:
commit 3adce9de16d72444793f6cb72587594b982450d0
Author: Ritesh Raj Sarraf <rrs at researchut.com>
Date:   Wed Mar 17 09:36:58 2010 +0530

    pass full path when doing a copy
    
    Executing command 'install /tmp/apt-offline-tests-11545
    --skip-bug-reports --allow-unauthenticated'
    /tmp/apt-package-target-path-10192/libxi-dev_2%3a1.3-4_amd64.deb file
    synced.
    Traceback (most recent call last):
      File "./apt-offline", line 28, in <module>
        main()
      File
    "/home/rrs/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py",
    line 1728, in main
        args.func(args)
      File
    "/home/rrs/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py",
    line 1216, in installer
        DirInstallPackages(install_file_path)
      File
    "/home/rrs/devel/apt-offline/apt-offline/apt_offline_core/AptOfflineCoreLib.py",
    line 1143, in DirInstallPackages
        shutil.copy2(filename, Str_InstallSrcPath)
      File "/usr/lib/python2.5/shutil.py", line 96, in copy2
        copyfile(src, dst)
      File "/usr/lib/python2.5/shutil.py", line 51, in copyfile
        fsrc = open(src, 'rb')
    IOError: [Errno 2] No such file or directory: 'meta-gnome2_2.28+6.dsc'
    Executing command 'install /tmp/apt-offline-tests-11545.zip --verbose
    --skip-bug-reports'

diff --git a/apt_offline_core/AptOfflineCoreLib.py b/apt_offline_core/AptOfflineCoreLib.py
index 8a216e6..f4a69b7 100644
--- a/apt_offline_core/AptOfflineCoreLib.py
+++ b/apt_offline_core/AptOfflineCoreLib.py
@@ -1140,7 +1140,7 @@ def installer( args ):
                                                 found = True
                                                 break
                                 if found is True:
-                                        shutil.copy2(filename, Str_InstallSrcPath)
+                                        shutil.copy2(FullFileName, Str_InstallSrcPath)
                                         log.msg("Installing src package file %s to %s.\n" % (filename, Str_InstallSrcPath) )
                                         continue
                                 

-- 
Offline APT Package Manager



More information about the Apt-offline-devel mailing list