Page: Previous  1, 2

perolozac
Status: Interested
Joined: 20 Aug 2011
Posts: 21
Reply Quote
:: techAdmin wrote ::
APT::Install-Recommends "0";

is the proper syntax for permanently turning off recommend auto install in your apt config files.

I've always used

APT::Install-Recommends "false";
APT::Install-Suggests "false";

Which would be better in your opinion, "false" or "0"?
Back to top
perolozac
Status: Interested
Joined: 20 Aug 2011
Posts: 21
Reply Quote
Speaking of problems with wine... I have some too.

I currently have wine 1.3 installed and I can't upgrade to the version 1.5 offered by damentz because that version depends on libmpg123 version 1.13.7 which is just too new. Now, it's true I'm running a somewhat outdated version of Mint (based on Ubuntu 11.04) with no plans to upgrade anytime soon and am therefore stuck with an older libmpg123 (version 1.12.1), but I checked - even the latest Ubuntu (version 12.04) only has the same exact version (1.12.1), nothing newer is available. So what are my options here? Should I reach for a Debian package of libmpg123 which will hopefully be new enough, or is there a way to recompile wine 1.5 to use older libraries?
Back to top
techAdmin
Status: Site Admin
Joined: 26 Sep 2003
Posts: 4128
Location: East Coast, West Coast? I know it's one of them.
Reply Quote
:: Code ::
apt-cache policy libmpg123-0
libmpg123-0:
  Installed: (none)
  Candidate: 1.14.2+svn20120622-1
  Version table:
     1.14.2+svn20120622-1 0
        500 http://mirror.peer1.net/debian/ unstable/main i386 Packages
        200 http://mirror.peer1.net/debian/ testing/main i386 Packages


Damentz runs debian, and debian testing/sid both have 1.14 as you can see here above.
Back to top
perolozac
Status: Interested
Joined: 20 Aug 2011
Posts: 21
Reply Quote
Yeah, I figured Debian has it, but I'm not on Debian...
Oh well. I guess I'll try installing libmpg123 from Debian repos then. Hope it'll work.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
I would recommend against installing packages from the Debian repository. Instead, see if you can find someone that can rebuild the liquorix and wine packages for Ubuntu and store them in their own PPA. I could do this, but I don't run Ubuntu, so I don't want to throw out a package I can't test myself.

It would be a good learning experience if you're bored, and it's also fun to share. Giving things to people for free is like showing someone how to skate on ice, it's fun. Do it.
Back to top
ColOfNature
Status: Curious
Joined: 21 Jul 2012
Posts: 6
Reply Quote
:: damentz wrote ::
To answer your question, yes, some of the recommends are wrong, but at the same time, recommends are not dependencies and it's wrong for apt to auto-install them.


Still wrong. The recommends, that is.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
This is a straight port from Ubuntu. If you want to use debian correctly, try doing this:

:: Code ::

$ su
# echo -e "APT::Install-Recommends "0";\nAPT::Install-Suggests "0";" > /etc/apt/apt.conf.d/99disablerecommends


And no, the configuration is wrong, not recommends. I recommend all those 650mb packages, but you don't like them. Do you see what the problem is? Auto installing recommends is wrong, they're there for browsing and you deciding what to get.
Back to top
ColOfNature
Status: Curious
Joined: 21 Jul 2012
Posts: 6
Reply Quote
I have already taken steps to prevent the unnecessary recommendations from being installed. I take your point regarding automatically installing such packages, although I happen to disagree - you're effectively doing away with the whole "recommended" category by treating it exactly like "suggested". I feel that a package maintainer should curate the recommendations such that they are sufficient and not excessive. But that's the kind of holy war that can go on and on, and whatever you decide on the matter is fine.

Nonetheless, you previously said that some of the recommendations were wrong and I figured you intended to change them, so when I found they were still in place I thought maybe you'd forgotten. If you consider that wine should recommend all this:
:: Code ::
The following NEW packages will be installed:
  autopoint{a} binfmt-support{a} cryptsetup-bin{a} docbook-xml{a}
  docbook-xsl{a} fonts-horai-umefont fonts-unfonts-core gettext{a}
  kate-data{a} katepart{a} kde-runtime{a} kde-runtime-data{a}
  kdelibs-bin{a} kdelibs5-data{a} kdelibs5-plugins{a} kdoctools{a}
  libatasmart4{a} libattica0{a} libavc1394-0{a} libcapi20-3{a}
  libclucene0ldbl{a} libcryptsetup4{a} libdbusmenu-qt2{a}
  libdevmapper-event1.02.1{a} libdlrestrictions1{a} libdvbpsi7{a}
  libebml3{a} libfam0{a} libgettextpo0{a} libimobiledevice2{a} libiodbc2{a}
  libiso9660-8{a} libkate1{a} libkatepartinterfaces4{a} libkcmutils4{a}
  libkde3support4{a} libkdeclarative5{a} libkdecore5{a} libkdesu5{a}
  libkdeui5{a} libkdewebkit5{a} libkdnssd4{a} libkemoticons4{a}
  libkfile4{a} libkhtml5{a} libkidletime4{a} libkio5{a} libkjsapi4{a}
  libkjsembed4{a} libkmediaplayer4{a} libknewstuff3-4{a}
  libknotifyconfig4{a} libkntlm4{a} libkparts4{a} libkpty4{a}
  libkrosscore4{a} libktexteditor4{a} liblvm2app2.2{a} libmatroska5{a}
  libmodplug1{a} libmpcdec6{a} libmpeg2-4{a} libmtp-common{a}
  libmtp-runtime{a} libmtp9{a} libnepomuk4{a} libnepomukquery4a{a}
  libnepomukutils4{a} libnl-route-3-200{a} libntrack-qt4-1{a} libntrack0{a}
  libosmesa6{a} libparted0debian1{a} libphonon4{a} libplasma3{a}
  libplist1{a} libpolkit-qt-1-1{a} libpulse-mainloop-glib0{a} libqca2{a}
  libqt4-opengl{a} libqt4-qt3support{a} libresid-builder0c2a{a}
  libsgutils2-2{a} libshout3{a} libsidplay2{a} libsolid4{a} libsoprano4{a}
  libstreamanalyzer0{a} libstreams0{a} libtag1-vanilla{a} libtag1c2a{a}
  libtar0{a} libthreadweaver4{a} libunistring0{a} libupnp6{a}
  libupower-glib1{a} libusbmuxd1{a} libva-x11-1{a} libvcdinfo0{a}
  libvirtodbc0{a} libvlc5{a} libvlccore5{a} libxcb-composite0{a}
  libxcb-keysyms1{a} libxcb-randr0{a} libxcb-xv0{a} libxml2-utils{a}
  libzvbi-common{a} libzvbi0{a} ntfs-3g{a} ntrack-module-libnl-0{a}
  odbcinst{a} odbcinst1debian2{a} oxygen-icon-theme{a} phonon{a}
  phonon-backend-vlc{a} plasma-scriptengine-javascript{a} sgml-data{a}
  shared-desktop-ontologies{a} soprano-daemon{a} ttf-dejavu{a}
  ttf-umefont{a} ttf-unfonts-core{a} ttf-wqy-microhei{a} udisks{a}
  unixodbc{a} upower{a} usbmuxd{a} virtuoso-minimal{a}
  virtuoso-opensource-6.1-bin{a} virtuoso-opensource-6.1-common{a} vlc{a}
  vlc-data{a} vlc-nox{a} vlc-plugin-notify{a} vlc-plugin-pulse{a}
  wine1.5{ab} wine1.5-i386{a}

then fair enough.
Back to top
damentz
Status: Assistant
Joined: 09 Sep 2008
Posts: 1143
Reply Quote
I spoke with Scott about this package after finding out that you're installing kde-runtime. Apparently gnome-exe-thumbnailer is packaged by him and will be installed by default, otherwise the whole kde runtime is installed.

In the latest package, that recommendation is gone. I was actually thinking of just deleting all recommendations, and moving what's actually necessary to the dependencies, but there are some optional things that I don't really need and truly are optional, like the font packs.

This is probably as much as I'll do. This is a port, not a fork of Scott's work for Debian, so I won't be radically changing anything.
Back to top
Display posts from previous:   
Page: Previous  1, 2
All times are GMT - 8 Hours