On Sun, 2011-05-08 at 21:57 +0100, Reuben Thomas wrote: > On 7 May 2011 11:07, Tshepang Lekhonkhobe <tshep...@gmail.com> wrote: > > > > Anyways, please update and test again. Try harmer it again, and tell me > > how it was like (I fixed all your issues, except I think displaying > > changelog is overkill). > > First, I try installing a package without its dependencies: > > $ wajig install reportbug_5.1.1_all.deb > Selecting previously deselected package reportbug. > (Reading database ... 342599 files and directories currently installed.) > Unpacking reportbug (from 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 bamfdaemon ... > Rebuilding /usr/share/applications/bamf.index... > Processing triggers for desktop-file-utils ... > Processing triggers for python-gmenu ... > Rebuilding /usr/share/applications/desktop.en_GB.utf8.cache... > Processing triggers for python-support ... > 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 > > Same problem as before: it should probably just refuse, or at least > warn me that deps are missing and prompt me to continue.
Although the output is ugly, I prefer it this way. Note there is no damage done (afaik), and the package reportbug is not installed. It's unpacked and left in an unconfigured state. What's more, I could not figure out how to easily extract the missing deps from using python-apt, and dpkg does provide that for free (as the ugly output proves). If wajig refused to install it, the command below was not going to work (i.e. you were not going to have reportbug configured). > Now I try installing the dep: > > $ wajig install python-reportbug_5.1.1_all.deb > Selecting previously deselected package python-reportbug. > (Reading database ... 342622 files and directories currently installed.) > Unpacking python-reportbug (from python-reportbug_5.1.1_all.deb) ... > Setting up python-reportbug (5.1.1) ... > Processing triggers for python-support ... > Setting up reportbug (5.1.1) ... > Processing triggers for menu ... > > That's much better. 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. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org