wajig installrs broken

5 views
Skip to first unread message

Karl Schmidt

unread,
Mar 28, 2013, 10:36:16 PM3/28/13
to wa...@googlegroups.com

$ wajig installs pkgname #works
$ wajig installr pkgname #fails
$ wajig installrs pkgname #fails
$ wajig installsr pkgname #fails


--
--------------------------------------------------------------------------------
Karl Schmidt EMail Ka...@xtronics.com
Transtronics, Inc. WEB http://secure.transtronics.com
3209 West 9th Street Ph (785) 841-3089
Lawrence, KS 66049 FAX (785) 841-0434

Truth is mighty and will prevail.
There is nothing wrong with this,
except that it ain't so.
--Mark Twain

--------------------------------------------------------------------------------

Tshepang Lekhonkhobe

unread,
Mar 29, 2013, 4:04:53 AM3/29/13
to wa...@googlegroups.com
On Fri, Mar 29, 2013 at 4:36 AM, Karl Schmidt <ka...@xtronics.com> wrote:
>
>
> $ wajig installs pkgname #works
> $ wajig installr pkgname #fails
> $ wajig installrs pkgname #fails
> $ wajig installsr pkgname #fails

Only the first should work, right? The others aren't even valid commands.

PS: include the error messages next time.

Karl Schmidt

unread,
Mar 29, 2013, 6:26:25 PM3/29/13
to wa...@googlegroups.com
On 03/29/2013 03:04 AM, Tshepang Lekhonkhobe wrote:
> On Fri, Mar 29, 2013 at 4:36 AM, Karl Schmidt <ka...@xtronics.com <mailto:ka...@xtronics.com>> wrote:
> >
> >
> > $ wajig installs pkgname #works
> > $ wajig installr pkgname #fails
> > $ wajig installrs pkgname #fails
> > $ wajig installsr pkgname #fails
>
> Only the first should work, right? The others aren't even valid commands.
Used to work - here is the output from a lenny system:

$ wajig commands |grep installr
installr Install package and associated recommended packages
installrs Install package and recommended and suggested packages
$ wajig commands |grep installs
installs Install package and associated suggested packages


And as used:

wajig show installrs gimp
Package: gimp
Version: 2.6.10-1+squeeze3
Installed-Size: 12156
Maintainer: Ari Pollak <a...@debian.org>
Architecture: i386
Replaces: gimp-data (<< 2.3.17-2), gimp-gnomevfs (<< 2.6.0), gimp-helpbrowser, gimp-libcurl (<<
2.6.0), gimp-print (<= 5.0.1-3), gimp-python (<< 2.6.0), gimp-svg, gimp-wget (<< 2.3.12-1),
libgimp-perl (<= 2.0.dfsg+2.2pre1.dfsg-2)
Provides: gimp-helpbrowser, gimp-python
Depends: libgimp2.0 (>= 2.6.10), libgimp2.0 (<= 2.6.10-z), gimp-data (>= 2.6.10), gimp-data (<=
2.6.10-z), python-gtk2 (>= 2.8.0), libaa1 (>= 1.4p5), libatk1.0-0 (>= 1.29.3), libbabl-0.0-0, libc6
(>= 2.7), libcairo2 (>= 1.2.4), libdbus-1-3 (>= 1.0.2), libdbus-glib-1-2 (>= 0.88), libexif12,
libfontconfig1 (>= 2.8.0), libfreetype6 (>= 2.2.1), libgegl-0.0-0 (>= 0.0.22), libglib2.0-0 (>=
2.24.0), libgtk2.0-0 (>= 2.20.0), libhal1 (>= 0.5.8.1), libjpeg62 (>= 6b1), liblcms1 (>= 1.15-1),
libmng1 (>= 1.0.10), libpango1.0-0 (>= 1.18.0), libpng12-0 (>= 1.2.13-4), libpoppler-glib4 (>=
0.12), librsvg2-2 (>= 2.26.0), libtiff4, libwebkit-1.0-2 (>= 1.1.1), libwmf0.2-7 (>= 0.2.8.4),
libx11-6, libxext6, libxfixes3 (>= 1:4.0.1), libxmu6, libxpm4, zlib1g (>= 1:1.1.4), python (<< 2.7),
python (>= 2.6), python-support (>= 0.90.0)
Suggests: gimp-help-en | gimp-help, gimp-data-extras, gvfs-backends, libasound2, ghostscript
Conflicts: gimp-data (<< 2.3.17-2), gimp-gnomevfs (<< 2.6.0), gimp-help (<< 2+0.13-1),
gimp-helpbrowser, gimp-libcurl (<< 2.6.0), gimp-print (<= 5.0.1-3), gimp-python (<< 2.6.0),
gimp-svg, gimp-wget (<< 2.3.12-1), libgimp-perl (<= 2.0.dfsg+2.2pre1.dfsg-2)
Description: The GNU Image Manipulation Program
GIMP lets you draw, paint, edit images, and much more! GIMP
includes the functionality and plug-ins of other famous image
editing and processing programs.
.
If you'd like to be able to open files remotely (like over HTTP or FTP),
install the gvfs-backends package.
.
If you'd like to use a MIDI device as an input controller in GIMP,
install libasound2 and read the how-to at /usr/share/doc/gimp/README.MIDI
.
If you'd like to be able to read and write PostScript files from GIMP,
install the ghostscript package.
Homepage: http://www.gimp.org
Section: graphics
Priority: optional
Filename: pool/updates/main/g/gimp/gimp_2.6.10-1+squeeze3_i386.deb
Size: 4533184
MD5sum: 9f223f183b97009e68a6b627c99dd8d2
SHA1: 736f9eaea5a43fb813a9b8462d9d5ac6ada95479
SHA256: bbbc9793cf95f6c9762e4c9ff15759d26c77fda23da03ad463e6d602b57cb24b

N: Unable to locate package installrs
$ wajig installrs gimp
Reading package lists... Done
Building dependency tree
Reading state information... Done
gimp is already the newest version.
libasound2 is already the newest version.
libasound2 set to manually installed.
The following packages were automatically installed and are no longer required:
libmozjs12d libmozjs13d libmozjs14d libmozjs15d libavfilter1 xulrunner-12.0 libavdevice52
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
libgs8 libimobiledevice1 libplist1 libsoup-gnome2.4-1 libusbmuxd1 usbmuxd
Suggested packages:
obex-data-server
The following NEW packages will be installed:
gimp-data-extras gvfs-backends libimobiledevice1 libplist1 libsoup-gnome2.4-1 libusbmuxd1 usbmuxd
The following packages will be upgraded:
ghostscript libgs8
2 upgraded, 7 newly installed, 0 to remove and 81 not upgraded.
Need to get 11.4 MB of archives.
After this operation, 10.1 MB of additional disk space will be used.
Do you want to continue [Y/n]?





>
> PS: include the error messages next time.
>
> --
> You received this message because you are subscribed to the Google Groups "wajig" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
> wajig+un...@googlegroups.com.
> To post to this group, send email to wa...@googlegroups.com.
> Visit this group at http://groups.google.com/group/wajig?hl=en.
> For more options, visit https://groups.google.com/groups/opt_out.

Tshepang Lekhonkhobe

unread,
Mar 30, 2013, 5:49:28 PM3/30/13
to wa...@googlegroups.com
On Sat, Mar 30, 2013 at 12:26 AM, Karl Schmidt <ka...@xtronics.com> wrote:
>
> On 03/29/2013 03:04 AM, Tshepang Lekhonkhobe wrote:
>
>> On Fri, Mar 29, 2013 at 4:36 AM, Karl Schmidt <ka...@xtronics.com
>> <mailto:ka...@xtronics.com>> wrote:
>> >
>> >
>> > $ wajig installs pkgname #works
>> > $ wajig installr pkgname #fails
>> > $ wajig installrs pkgname #fails
>> > $ wajig installsr pkgname #fails
>>
>> Only the first should work, right? The others aren't even valid commands.
>
> Used to work - here is the output from a lenny system:

Since recommends are on by default, I got rid of the 2 options since
they were now redundant. This was back in 2011 April. If you have
disabled Recommends in your system default, you can still do what
those old commands used to:

ole: wajig installr <pkgs>
new: wajig install --recommends <pkgs>

ole: wajig installrs
new: wajig installs --recommends

Does this work for you?

Karl Schmidt

unread,
Mar 30, 2013, 6:59:42 PM3/30/13
to wa...@googlegroups.com
Sure would be nice to keep the old options. Here is why:

For server systems, it is a standard practice to turn off recommends - the best security policy is
to only install what is absolutely needed so as to not provide tools to the bad guys. There are
several packages who's recommends install potential security threats. wajig has it's most use with
supporting servers.

I suppose this brings up the idea of a command for installing only the package - turning off the
recommends. -- but after thinking about it - the old way seems best - set up the default operation
to be secure - you have to conscientiously decide to install the extra packages. (IMO Debian should
not turn on recommends without asking the user during install ).

For others lurking to learn: you can turn off the auto-installation of recommends by adding a line
to in /etc/apt/apt.conf.d/local

APT::Install-Recommends "0";

Just in case I also put :
APT::Install-Suggests "0";

Tshepang Lekhonkhobe

unread,
Mar 31, 2013, 4:24:21 AM3/31/13
to wa...@googlegroups.com
If you want the old behavior, you need just run:

$ wajig install --norecommends <pkgs>

Regarding making wajig use the --norecommends by default is not a good
idea. You do not want to surprise Debian users by not installing
Recommends by default; note that wajig will respect the global
settings you have for apt, so if you have global settings to not
install Recommends by default, it won't.

As for the 'security' issue, I think your claim about most server
installs disabling Recommends-by-default is too strong, but then I
haven't looked at the data. Regardless, it doesn't matter so much,
since wajig will respect that setting anyways (as mentioned above).
Reply all
Reply to author
Forward
0 new messages