On Mon, 2011-05-09 at 12:54 +0100, Reuben Thomas wrote: > On 9 May 2011 07:30, Tshepang Lekhonkhobe <tshep...@gmail.com> wrote: > > > > Just to confirm, you are aware that you can run "wajig install > > {python-}reportbug_5.1.1_all.deb", and it installs both? That's the > > reason I didn't use gdebi instead. > > Sorry, I hadn't realised that.
I actually mentioned this already in this thread. > In conclusion, I personally don't mind the behaviour when there are > missing deps, but given that wajig is supposed to be a friendly tool, > I'd rather it did extract the deps and tell me there was likely to be > a problem. > > I am probably missing something, but how does gdebi manage to do this, > but wajig can't? Compare these: $ sudo gdebi temp/reportbug_5.1.1_all.deb Reading package lists... Done Building dependency tree Reading state information... Done Building data structures... Done Building data structures... Done This package is uninstallable Dependency is not satisfiable: python-reportbug (= 5.1.1) $ wajig install temp/reportbug_5.1.1_all.deb Selecting previously deselected package reportbug. (Reading database ... 172674 files and directories currently installed.) Unpacking reportbug (from temp/reportbug_5.1.1_all.deb) ... dpkg: dependency problems prevent configuration of reportbug: reportbug depends on python-reportbug (= 5.1.1); however: Package python-reportbug is not installed. dpkg: error processing reportbug (--install): dependency problems - leaving unconfigured Processing triggers for man-db ... Processing triggers for menu ... Processing triggers for gnome-menus ... Processing triggers for desktop-file-utils ... Errors were encountered while processing: reportbug dpkg: dependency problems prevent configuration of reportbug: reportbug depends on python-reportbug (= 5.1.1); however: Package python-reportbug is not installed. dpkg: error processing reportbug (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: reportbug wajig output is uglier, but at least it tells you which dependency is missing. It's not hard to extract the output from dpkg and only choose to display it in a more friendly manner, but I would then be relying on a non-API, meaning it would break if any change to the dpkg message happens. Also, I think that dpkg message, although verbose, is actually very clear: dpkg: dependency problems prevent configuration of reportbug: reportbug depends on python-reportbug (= 5.1.1); however: Package python-reportbug is not installed. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org