** Description changed:

  Binary package hint: packagekit-backend-apt
  
  While removing unwanted "xserver-xorg-video-vmware" package via
  KPackageKit I got this error (similar to the Bug #388536 reported by
  Jonathan Thomas) :
  
  ***Details***
  Error Type: Error Value: global name 'rescursive_text' is not defined File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1960, in main() File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1957, in main run(args, 
options.single) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 
1919, in run backend.dispatcher(args) File : 
/usr/lib/python2.6/dist-packages/packagekit/backend.py, line 632, in dispatcher 
self.dispatch_command(args[0], args[1:]) File : 
/usr/lib/python2.6/dist-packages/packagekit/backend.py, line 529, in 
dispatch_command self.get_requires(filters, package_ids, recursive) File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1298, in get_requires 
recursive = text_to_bool(rescursive_text)
  
  ProblemType: Bug
  DistroRelease: (K)ubuntu karmic-alpha-2 (development branch)
  Uname: 2.6.30-9-generic x86_64
  Package / Version: packagekit-backend-apt (0.4.8-0ubuntu1)
  
  packagekit-backend-apt:
    Installed: 0.4.8-0ubuntu1
    Candidate: 0.4.8-0ubuntu1
    Version table:
   *** 0.4.8-0ubuntu1 0
          500 http://archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status
  
  #I didn't attach a patch on purpose that this minor error might not be 
realized inside a whole patch file
  #There is a typo error in "/usr/share/PackageKit/helpers/apt/aptBackend.py"
  #"recursive = text_to_bool(rescursive_text)" (line 1298)
                               ^must be "recursive_text" as in the arguments of
-                                                                      
"get_requires"(line 1293)
-                                                                      "def 
get_requires(self, filter, ids, recursive_text):"
+                              "get_requires" (line 1293) => "def 
get_requires(self, filter, ids, recursive_text):"
  
  #I corrected the "NameError" in file 
"/usr/share/PackageKit/helpers/apt/aptBackend.py" as root
  #Then attempted to remove unwanted xserver-xorg-video-* packages via 
KPackageKit.
  #It did not repeat the error above and (advanced to the next stage this time) 
resolved dependencies as it should telling me it would remove 
"xserver-xorg-video-all" metapackage
  #It seemed fixed (for me) because uninstallation went smoothly
  #I could have removed it via apt-get autoremove command but I like the way 
KPackageKit integrates with the system now and want to see it working smoothly.

** Description changed:

  Binary package hint: packagekit-backend-apt
  
  While removing unwanted "xserver-xorg-video-vmware" package via
  KPackageKit I got this error (similar to the Bug #388536 reported by
  Jonathan Thomas) :
  
  ***Details***
  Error Type: Error Value: global name 'rescursive_text' is not defined File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1960, in main() File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1957, in main run(args, 
options.single) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 
1919, in run backend.dispatcher(args) File : 
/usr/lib/python2.6/dist-packages/packagekit/backend.py, line 632, in dispatcher 
self.dispatch_command(args[0], args[1:]) File : 
/usr/lib/python2.6/dist-packages/packagekit/backend.py, line 529, in 
dispatch_command self.get_requires(filters, package_ids, recursive) File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1298, in get_requires 
recursive = text_to_bool(rescursive_text)
  
  ProblemType: Bug
  DistroRelease: (K)ubuntu karmic-alpha-2 (development branch)
  Uname: 2.6.30-9-generic x86_64
  Package / Version: packagekit-backend-apt (0.4.8-0ubuntu1)
  
  packagekit-backend-apt:
    Installed: 0.4.8-0ubuntu1
    Candidate: 0.4.8-0ubuntu1
    Version table:
   *** 0.4.8-0ubuntu1 0
          500 http://archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status
  
  #I didn't attach a patch on purpose that this minor error might not be 
realized inside a whole patch file
  #There is a typo error in "/usr/share/PackageKit/helpers/apt/aptBackend.py"
  #"recursive = text_to_bool(rescursive_text)" (line 1298)
                               ^must be "recursive_text" as in the arguments of
-                              "get_requires" (line 1293) => "def 
get_requires(self, filter, ids, recursive_text):"
+                              "get_requires"(line 1293)=>"def 
get_requires(self, filter, ids, recursive_text):"
  
  #I corrected the "NameError" in file 
"/usr/share/PackageKit/helpers/apt/aptBackend.py" as root
  #Then attempted to remove unwanted xserver-xorg-video-* packages via 
KPackageKit.
  #It did not repeat the error above and (advanced to the next stage this time) 
resolved dependencies as it should telling me it would remove 
"xserver-xorg-video-all" metapackage
  #It seemed fixed (for me) because uninstallation went smoothly
  #I could have removed it via apt-get autoremove command but I like the way 
KPackageKit integrates with the system now and want to see it working smoothly.

** Description changed:

  Binary package hint: packagekit-backend-apt
  
  While removing unwanted "xserver-xorg-video-vmware" package via
  KPackageKit I got this error (similar to the Bug #388536 reported by
  Jonathan Thomas) :
  
  ***Details***
  Error Type: Error Value: global name 'rescursive_text' is not defined File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1960, in main() File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1957, in main run(args, 
options.single) File : /usr/share/PackageKit/helpers/apt/aptBackend.py, line 
1919, in run backend.dispatcher(args) File : 
/usr/lib/python2.6/dist-packages/packagekit/backend.py, line 632, in dispatcher 
self.dispatch_command(args[0], args[1:]) File : 
/usr/lib/python2.6/dist-packages/packagekit/backend.py, line 529, in 
dispatch_command self.get_requires(filters, package_ids, recursive) File : 
/usr/share/PackageKit/helpers/apt/aptBackend.py, line 1298, in get_requires 
recursive = text_to_bool(rescursive_text)
  
  ProblemType: Bug
  DistroRelease: (K)ubuntu karmic-alpha-2 (development branch)
  Uname: 2.6.30-9-generic x86_64
  Package / Version: packagekit-backend-apt (0.4.8-0ubuntu1)
  
  packagekit-backend-apt:
    Installed: 0.4.8-0ubuntu1
    Candidate: 0.4.8-0ubuntu1
    Version table:
   *** 0.4.8-0ubuntu1 0
          500 http://archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status
  
  #I didn't attach a patch on purpose that this minor error might not be 
realized inside a whole patch file
  #There is a typo error in "/usr/share/PackageKit/helpers/apt/aptBackend.py"
  #"recursive = text_to_bool(rescursive_text)" (line 1298)
                               ^must be "recursive_text" as in the arguments of
-                              "get_requires"(line 1293)=>"def 
get_requires(self, filter, ids, recursive_text):"
+    "get_requires" (line 1293) => "def get_requires(self, filter, ids, 
recursive_text):"
  
  #I corrected the "NameError" in file 
"/usr/share/PackageKit/helpers/apt/aptBackend.py" as root
  #Then attempted to remove unwanted xserver-xorg-video-* packages via 
KPackageKit.
  #It did not repeat the error above and (advanced to the next stage this time) 
resolved dependencies as it should telling me it would remove 
"xserver-xorg-video-all" metapackage
  #It seemed fixed (for me) because uninstallation went smoothly
  #I could have removed it via apt-get autoremove command but I like the way 
KPackageKit integrates with the system now and want to see it working smoothly.

-- 
A simple "NameError" in aptBackend.py (Karmic)
https://bugs.launchpad.net/bugs/393326
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to