Here is the fix:

=== modified file 'GDebi/GDebiCommon.py'
--- GDebi/GDebiCommon.py        2014-04-01 20:06:09 +0000
+++ GDebi/GDebiCommon.py        2014-04-22 07:26:49 +0000
@@ -91,7 +91,7 @@
         if file.endswith(".click"):
             klass = ClickPackage
         try:
-            self._deb = klass(file, Cache(), downloaded)
+            self._deb = klass(file, self._cache, downloaded)
         except (IOError, SystemError, ValueError) as e:
             logging.debug("open failed with %s" % e)
             mimetype=guess_type(file)


** Also affects: gdebi (Ubuntu Trusty)
   Importance: High
       Status: In Progress

** Description changed:

+ SRU verification:
+ 1. use trusty
+ 2. run "apt-get download 4g8"
+ 3. run "gdebi-gtk ./4g8*.deb"
+ 4. click on "install" in the gdebi UI
+ 5. verify that the package 4g8 fails to install because the libnet1 
dependency is not installed
+ 6. install gdebi from trusty-proposed
+ 7. repeat steps 3,4 and verify that the libnet1 dependency is installed this 
time.
+ 
+ 
  Gdebi is not installing required dependencies before installing the desired 
package.
  You need to run "sudo apt-get install -f" to fix the problem.
  The usual behaviour is to install the dependencies as part of the desired 
package installation.
  
  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: gdebi 0.9.5.3
  ProcVersionSignature: Ubuntu 3.13.0-24.46-generic 3.13.9
  Uname: Linux 3.13.0-24-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3
  Architecture: amd64
  CurrentDesktop: XFCE
  Date: Fri Apr 18 19:59:53 2014
  EcryptfsInUse: Yes
  InstallationDate: Installed on 2014-04-18 (0 days ago)
  InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140414)
  PackageArchitecture: all
  SourcePackage: gdebi
  UpgradeStatus: No upgrade log present (probably fresh install)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1309387

Title:
  Gdebi not installing required dependencies

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

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

Reply via email to