Re: apt-get aptitude dependencies purge
On Fri, Nov 1, 2013 at 7:07 PM, Sven Joachim wrote: > On 2013-11-01 19:39 +0100, Tom H wrote: > >> So the "bad" variables are still documented in the aptitude docs and >> the "good" variables are undocumented except in the changelog. :( > > There seems to be a misunderstanding, the aptitude documentation clearly > states that Apt::AutoRemove::SuggestsImportant is the option you want. Thanks. I was looking at this http://algebraicthunk.net/~dburrows/projects/aptitude/doc/en/ch02s04s05.html which doesn't document that variable but I've just installed aptitude-doc-en and it has this file:///usr/share/doc/aptitude/html/en/ch02s05s05.html which does... Still, the "/usr/share/doc/apt/examples/configure-index.gz" purports to document all apt variables. It's probably just an omission by the maintainer(s), so I'll file a bug report. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=Swid5hu_Cdzx2vtAXTVPS1p=o3puf5owox__tmtmko...@mail.gmail.com
Re: apt-get aptitude dependencies purge
Le 31.10.2013 17:38, Sven Joachim a écrit : On 2013-10-31 13:42 +0100, berenger.mo...@neutralite.org wrote: Le 31.10.2013 13:12, Tom H a écrit : Set 'Aptitude::Keep-Suggests "false";' in "/etc/apt/apt.conf.d/" and check whether the behavior changes. Just did the change: I added a file name "/etc/apt/apt.conf.d/keep_suggests" which contains the line you gave. Nothing changes in behavior, if I make mpd automatically installed, it is not removed. In things depending on mpd, only mpc and ncmpcpp suggests it. It also says it enhances mpc. There are no installed packages which recommends or depends on mpd. I also tried with APT::Keep-Suggests, just in case, but still no changes. Are you sure that this option exists? I can not find any documentation about it, only random threads here and there, but no real documentation. I am probably not searching the good place, so could you give me a hint about where to search? I'm really interested by such kind of options. I found the right option in the apt changelog, it's called APT::AutoRemove::SuggestsImportant. , | apt (0.8.15.3) unstable; urgency=low | [...] | * apt-pkg/depcache.cc: | - change default of APT::AutoRemove::SuggestsImportant to true | | -- Michael Vogt Mon, 25 Jul 2011 15:04:43 +0200 ` So the default behavior has indeed changed in Wheezy. And for aptitude there is this in the Debian changelog: , | aptitude (0.5.9rc1-1) experimental; urgency=low | | * New upstream release. | [...] | - Document that the "standard" apt options | Apt::AutoRemove::SuggestsImportant and | Apt::AutoRemove::RecommendsImportant should be used instead of | Aptitude::Keep-Suggests and Aptitude::Keep-Recommends. | | -- Daniel Burrows Tue, 08 Sep 2009 21:23:11 -0700 ` I can confirm that setting Aptitude::Keep-Suggests has no effect, but setting APT::AutoRemove::SuggestsImportant does. Cheers, Sven Thanks a lot for that! -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/68977504d9b3e3597bf006164df42...@neutralite.org
Re: apt-get aptitude dependencies purge
On 2013-11-01 19:39 +0100, Tom H wrote: > So the "bad" variables are still documented in the aptitude docs and > the "good" variables are undocumented except in the changelog. :( There seems to be a misunderstanding, the aptitude documentation clearly states that Apt::AutoRemove::SuggestsImportant is the option you want. Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87wqksueiy@turtle.gmx.de
Re: apt-get aptitude dependencies purge
On Thu, Oct 31, 2013 at 4:38 PM, Sven Joachim wrote: > On 2013-10-31 13:42 +0100, berenger.mo...@neutralite.org wrote: > >> Le 31.10.2013 13:12, Tom H a écrit : >> >>> Set 'Aptitude::Keep-Suggests "false";' in "/etc/apt/apt.conf.d/" and >>> check whether the behavior changes. >> >> Just did the change: >> I added a file name "/etc/apt/apt.conf.d/keep_suggests" which contains >> the line you gave. Nothing changes in behavior, if I make mpd >> automatically installed, it is not removed. In things depending on >> mpd, only mpc and ncmpcpp suggests it. It also says it enhances >> mpc. There are no installed packages which recommends or depends on >> mpd. >> >> I also tried with APT::Keep-Suggests, just in case, but still no >> changes. Are you sure that this option exists? I can not find any >> documentation about it, only random threads here and there, but no >> real documentation. I am probably not searching the good place, so >> could you give me a hint about where to search? I'm really interested >> by such kind of options. > > I found the right option in the apt changelog, it's called > APT::AutoRemove::SuggestsImportant. > > , > | apt (0.8.15.3) unstable; urgency=low > | [...] > | * apt-pkg/depcache.cc: > | - change default of APT::AutoRemove::SuggestsImportant to true > | > | -- Michael Vogt Mon, 25 Jul 2011 15:04:43 +0200 > ` > > So the default behavior has indeed changed in Wheezy. > > And for aptitude there is this in the Debian changelog: > > , > | aptitude (0.5.9rc1-1) experimental; urgency=low > | > | * New upstream release. > | [...] > | - Document that the "standard" apt options > | Apt::AutoRemove::SuggestsImportant and > | Apt::AutoRemove::RecommendsImportant should be used instead of > | Aptitude::Keep-Suggests and Aptitude::Keep-Recommends. > | > | -- Daniel Burrows Tue, 08 Sep 2009 21:23:11 -0700 > ` > > I can confirm that setting Aptitude::Keep-Suggests has no effect, but > setting APT::AutoRemove::SuggestsImportant does. Thanks. So the "bad" variables are still documented in the aptitude docs and the "good" variables are undocumented except in the changelog. :( -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=SyM26C8FYSOjQt=pdyjlb6_32439etxbzgo71cq8ao...@mail.gmail.com
Re: apt-get aptitude dependencies purge
On Thu, Oct 31, 2013 at 12:42 PM, wrote: > Le 31.10.2013 13:12, Tom H a écrit : >> On Thu, Oct 31, 2013 at 11:16 AM, wrote: >>> Le 31.10.2013 12:12, Tom H a écrit : On Thu, Oct 31, 2013 at 10:44 AM, wrote: > > It seems that even suggested packages are not automatically removed (at > least with aptitude), which I think was not the same as when I started > using Debian. > > I just discovered this because I marked mpd as automatically installed, > and > it was kept, while I only have packages suggesting it. I then removed > it > and > took a look at recommended packages not installed (to double check), > and > it was definitely not here. > > I wonder if there is a way to fix that, if it is managed by > aptitude/apt-get or by dpkg itself... Check "apt-conf dump" for "Aptitude::Keep-Suggests". It's set to "false" by default. >>> >>> It seems the command is apt-config dump. >> >> Sorry. Should've proofed my previous mail. >>> >>> And there are no "Keep-Suggests" here: >>> >>> $ apt-config dump|grep -i suggest >>> APT::Install-Suggests "0"; >> >> The default is supposed to be "false." > > So it's quite strange, since this is a "new" (ok, maybe 1 month old, but I > restrained myself to tinker it. I also used the stable repo, because for > that computer I really wants it to be reliable) installation, and the only > thing I have changed about default behavior, is the "do not automatically > install recommended packages" in aptitude configuration menu. >> >> Set 'Aptitude::Keep-Suggests "false";' in "/etc/apt/apt.conf.d/" and >> check whether the behavior changes. > > Just did the change: > I added a file name "/etc/apt/apt.conf.d/keep_suggests" which contains the > line you gave. Nothing changes in behavior, if I make mpd automatically > installed, it is not removed. In things depending on mpd, only mpc and > ncmpcpp suggests it. It also says it enhances mpc. There are no installed > packages which recommends or depends on mpd. > > I also tried with APT::Keep-Suggests, just in case, but still no changes. > Are you sure that this option exists? I can not find any documentation about > it, only random threads here and there, but no real documentation. I am > probably not searching the good place, so could you give me a hint about > where to search? I'm really interested by such kind of options. If 'Aptitude::Keep-Suggests "false";' doesn't change the behavior it must be the default - unless it's some other aptitude variable that controls this. I got this variable from a file that I downloaded in the past from the net. I'll have to google to find it again but I think that it must be part of the aptitude docs. I can't find an appropriate apt variable in "/usr/share/doc/apt/examples/configure-index.gz" so don't know what else to suggest. Sorry. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=Sy73B-McBTNfqy-JwcqtCnN-9FkjSQw88UGAL8pkb==r...@mail.gmail.com
Re: apt-get aptitude dependencies purge
On 2013-10-31 13:42 +0100, berenger.mo...@neutralite.org wrote: > Le 31.10.2013 13:12, Tom H a écrit : > >> Set 'Aptitude::Keep-Suggests "false";' in "/etc/apt/apt.conf.d/" and >> check whether the behavior changes. > > Just did the change: > I added a file name "/etc/apt/apt.conf.d/keep_suggests" which contains > the line you gave. Nothing changes in behavior, if I make mpd > automatically installed, it is not removed. In things depending on > mpd, only mpc and ncmpcpp suggests it. It also says it enhances > mpc. There are no installed packages which recommends or depends on > mpd. > > I also tried with APT::Keep-Suggests, just in case, but still no > changes. Are you sure that this option exists? I can not find any > documentation about it, only random threads here and there, but no > real documentation. I am probably not searching the good place, so > could you give me a hint about where to search? I'm really interested > by such kind of options. I found the right option in the apt changelog, it's called APT::AutoRemove::SuggestsImportant. , | apt (0.8.15.3) unstable; urgency=low | [...] | * apt-pkg/depcache.cc: | - change default of APT::AutoRemove::SuggestsImportant to true | | -- Michael Vogt Mon, 25 Jul 2011 15:04:43 +0200 ` So the default behavior has indeed changed in Wheezy. And for aptitude there is this in the Debian changelog: , | aptitude (0.5.9rc1-1) experimental; urgency=low | | * New upstream release. | [...] | - Document that the "standard" apt options | Apt::AutoRemove::SuggestsImportant and | Apt::AutoRemove::RecommendsImportant should be used instead of | Aptitude::Keep-Suggests and Aptitude::Keep-Recommends. | | -- Daniel Burrows Tue, 08 Sep 2009 21:23:11 -0700 ` I can confirm that setting Aptitude::Keep-Suggests has no effect, but setting APT::AutoRemove::SuggestsImportant does. Cheers, Sven -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87iowdwg2s@turtle.gmx.de
Re: apt-get aptitude dependencies purge
Le 31.10.2013 13:12, Tom H a écrit : On Thu, Oct 31, 2013 at 11:16 AM, wrote: Le 31.10.2013 12:12, Tom H a écrit : On Thu, Oct 31, 2013 at 10:44 AM, wrote: It seems that even suggested packages are not automatically removed (at least with aptitude), which I think was not the same as when I started using Debian. I just discovered this because I marked mpd as automatically installed, and it was kept, while I only have packages suggesting it. I then removed it and took a look at recommended packages not installed (to double check), and it was definitely not here. I wonder if there is a way to fix that, if it is managed by aptitude/apt-get or by dpkg itself... Check "apt-conf dump" for "Aptitude::Keep-Suggests". It's set to "false" by default. It seems the command is apt-config dump. Sorry. Should've proofed my previous mail. And there are no "Keep-Suggests" here: $ apt-config dump|grep -i suggest APT::Install-Suggests "0"; The default is supposed to be "false." So it's quite strange, since this is a "new" (ok, maybe 1 month old, but I restrained myself to tinker it. I also used the stable repo, because for that computer I really wants it to be reliable) installation, and the only thing I have changed about default behavior, is the "do not automatically install recommended packages" in aptitude configuration menu. Set 'Aptitude::Keep-Suggests "false";' in "/etc/apt/apt.conf.d/" and check whether the behavior changes. Just did the change: I added a file name "/etc/apt/apt.conf.d/keep_suggests" which contains the line you gave. Nothing changes in behavior, if I make mpd automatically installed, it is not removed. In things depending on mpd, only mpc and ncmpcpp suggests it. It also says it enhances mpc. There are no installed packages which recommends or depends on mpd. I also tried with APT::Keep-Suggests, just in case, but still no changes. Are you sure that this option exists? I can not find any documentation about it, only random threads here and there, but no real documentation. I am probably not searching the good place, so could you give me a hint about where to search? I'm really interested by such kind of options. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/46e37ae7ecd982cbb481f3fa73683...@neutralite.org
Re: apt-get aptitude dependencies purge
On Thu, Oct 31, 2013 at 11:16 AM, wrote: > Le 31.10.2013 12:12, Tom H a écrit : >> On Thu, Oct 31, 2013 at 10:44 AM, wrote: >>> >>> It seems that even suggested packages are not automatically removed (at >>> least with aptitude), which I think was not the same as when I started >>> using Debian. >>> >>> I just discovered this because I marked mpd as automatically installed, >>> and >>> it was kept, while I only have packages suggesting it. I then removed it >>> and >>> took a look at recommended packages not installed (to double check), and >>> it was definitely not here. >>> >>> I wonder if there is a way to fix that, if it is managed by >>> aptitude/apt-get or by dpkg itself... >> >> Check "apt-conf dump" for "Aptitude::Keep-Suggests". It's set to >> "false" by default. > It seems the command is apt-config dump. Sorry. Should've proofed my previous mail. > And there are no "Keep-Suggests" here: > > $ apt-config dump|grep -i suggest > APT::Install-Suggests "0"; The default is supposed to be "false." Set 'Aptitude::Keep-Suggests "false";' in "/etc/apt/apt.conf.d/" and check whether the behavior changes. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sydq-_1v6rfqc06x8scq_qlu9-4_p9dcraaoavtwdk...@mail.gmail.com
Re: apt-get aptitude dependencies purge
Le 31.10.2013 12:12, Tom H a écrit : On Thu, Oct 31, 2013 at 10:44 AM, wrote: It seems that even suggested packages are not automatically removed (at least with aptitude), which I think was not the same as when I started using Debian. I just discovered this because I marked mpd as automatically installed, and it was kept, while I only have packages suggesting it. I then removed it and took a look at recommended packages not installed (to double check), and it was definitely not here. I wonder if there is a way to fix that, if it is managed by aptitude/apt-get or by dpkg itself... Check "apt-conf dump" for "Aptitude::Keep-Suggests". It's set to "false" by default. It seems the command is apt-config dump. And there are no "Keep-Suggests" here: $ apt-config dump|grep -i suggest APT::Install-Suggests "0"; -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/40ce53b4acb02686ea753385b3166...@neutralite.org
Re: apt-get aptitude dependencies purge
On Thu, Oct 31, 2013 at 10:44 AM, wrote: > > It seems that even suggested packages are not automatically removed (at > least with aptitude), which I think was not the same as when I started using > Debian. > > I just discovered this because I marked mpd as automatically installed, and > it was kept, while I only have packages suggesting it. I then removed it and > took a look at recommended packages not installed (to double check), and it > was definitely not here. > > I wonder if there is a way to fix that, if it is managed by aptitude/apt-get > or by dpkg itself... Check "apt-conf dump" for "Aptitude::Keep-Suggests". It's set to "false" by default. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAOdo=sxobhatwysdanuid_bugxtip_ukh+fqq5bnwzqq5qn...@mail.gmail.com
Re: apt-get aptitude dependencies purge
First, sorry for breaking the thread, I have removed the mails from my mailing box, so I can not use the "reply to" longer. So, about the subject, what I said was not complete: It seems that even suggested packages are not automatically removed (at least with aptitude), which I think was not the same as when I started using Debian. I just discovered this because I marked mpd as automatically installed, and it was kept, while I only have packages suggesting it. I then removed it and took a look at recommended packages not installed (to double check), and it was definitely not here. I wonder if there is a way to fix that, if it is managed by aptitude/apt-get or by dpkg itself... -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/2229bb9363692f084ad90d570ffac...@neutralite.org
Re: apt-get aptitude dependencies purge
Le 29.10.2013 03:51, ruckus rogue a écrit : On Mon, Oct 28, 2013 at 6:21 PM, wrote: They have been installed because zonecheck probably needs them ( required ) but if they are recommended by other packages then they will not be removed. I do not think there is any solution to fix that. If there is one, I would be happy to learn it. Still doesn't make sense to me. I install "zonecheck" only. And that brought in the dependencies. Then I uninstalled 'zonecheck' it should have taken back those dependencies with it. None of the packages were marked recommended. So how could other packages outside zonecheck need them? You have package A already installed. It recommends to install package C, but you did not installed it. Then, you ask the system to install package B, which depends on C. So, C is still installed. Finally, you remove B. B is uninstalled, but C stays on the system because A recommends it. The system simply have no clue that it was installed because of B and not A, so it keeps it. There is no way to remember the whole decision chain which led to install a package (system can not know that you did not installed it because it was recommended by A), and if those links would have been kept, it would be painful for users to handle every link by hand, when you manage lot of packages. I have also noticed that sometimes packages which were marked Automatically Installed becomes only Installed, often after a problem while downloading a package list, but this is a bug that I have no idea about how exactly to reproduce. What I suggest you when you just want to try a package and remove it after (which is something I do often enough to be bothered by the same issue as you), is to use the aptitude ncurse interface. Go on details of the target package, and purge all it's dependencies ( quite easy: go on "depend", and press "_". Same for recommends ). Then, you will have broken packages. Just fix them and go. My opinion is that for this usage, it is better to fix those breakages by hand rather than using the solver (I simply do not like the solver at all), but it is your choice. Anyway, I just don't remember this behaviour before. I thought it was new and was trying to find out why all packages that come dependent with a package don't leave when that package leaves. My first really used installation of Debian is something like 4-5 years. I never installed gnome or KDE because of their dependencies, and have always searched for minimal systems (because windows learn me that the more useless stuff installed on your computer, the more likely you will have troubles). The only change I think to have noticed was the recommended packages becoming automatically installed at some point, but I am not sure that it was not that I simply discovered that field. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/3265010e219e1abc05c3472896b38...@neutralite.org
Re: apt-get aptitude dependencies purge
On Mon, Oct 28, 2013 at 6:21 PM, wrote: > They have been installed because zonecheck probably needs them ( required ) > but if they are recommended by other packages then they will not be removed. > I do not think there is any solution to fix that. If there is one, I would > be happy to learn it. Still doesn't make sense to me. I install "zonecheck" only. And that brought in the dependencies. Then I uninstalled 'zonecheck' it should have taken back those dependencies with it. None of the packages were marked recommended. So how could other packages outside zonecheck need them? Anyway, I just don't remember this behaviour before. I thought it was new and was trying to find out why all packages that come dependent with a package don't leave when that package leaves. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAC2HDtMTcZ1j=8FsckboC=TY1x-ux9sY=EaFhubS4dbCZVMC=w...@mail.gmail.com
Re: apt-get aptitude dependencies purge
Le 28.10.2013 01:38, ruckus rogue a écrit : On Sun, Oct 27, 2013 at 8:00 AM, Slavko wrote: I am sorry, perhaps i forgot to mention, that this is my setting. Or, to be more precise, i have shortcut to run "aptitude -R". Thanks all for the replies so far, but still a bit confused. I've always had a 06norecommends in /etc/apt/apt.conf.d/ with APT::Install-Recommends "0"; APT::Install-Suggests "0"; APT::Install-Suggested "0"; So, I just did a: aptitude install zonecheck The following NEW packages will be installed: libdns-ruby{a} libreadline5{a} libruby{a} libruby1.8{a} ruby{a} ruby-dnsruby{a} ruby1.8{a} zonecheck Same results with with aptitude -R and apt-get --no-install-reccommends Then purge with: apt-get --autoremove purge zonecheck The following packages will be REMOVED: libdns-ruby* libruby* ruby-dnsruby* zonecheck* Same behavior with aptitude purge. So, is this correct behavior? They have been installed because zonecheck probably needs them ( required ) but if they are recommended by other packages then they will not be removed. I do not think there is any solution to fix that. If there is one, I would be happy to learn it. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/65d2209f30615f35c06dea8de324e...@neutralite.org
Re: apt-get aptitude dependencies purge
On Sun, Oct 27, 2013 at 8:00 AM, Slavko wrote: > I am sorry, perhaps i forgot to mention, that this is my setting. Or, > to be more precise, i have shortcut to run "aptitude -R". Thanks all for the replies so far, but still a bit confused. I've always had a 06norecommends in /etc/apt/apt.conf.d/ with APT::Install-Recommends "0"; APT::Install-Suggests "0"; APT::Install-Suggested "0"; So, I just did a: aptitude install zonecheck The following NEW packages will be installed: libdns-ruby{a} libreadline5{a} libruby{a} libruby1.8{a} ruby{a} ruby-dnsruby{a} ruby1.8{a} zonecheck Same results with with aptitude -R and apt-get --no-install-reccommends Then purge with: apt-get --autoremove purge zonecheck The following packages will be REMOVED: libdns-ruby* libruby* ruby-dnsruby* zonecheck* Same behavior with aptitude purge. So, is this correct behavior? -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/cac2hdtopx2avo7czkbzzh5kd0mu0vcx91lwymafmqmw49ml...@mail.gmail.com
Re: apt-get aptitude dependencies purge
Hi, Dňa Sun, 27 Oct 2013 22:47:00 +1300 Chris Bannister napísal: > > There are three types of dependencies: > > > > + depended = required > > + recommended = optional > > Unless you explicitly set recommended to optional, then they are > automatically installed. I am sorry, perhaps i forgot to mention, that this is my setting. Or, to be more precise, i have shortcut to run "aptitude -R". regards -- Slavko http://slavino.sk signature.asc Description: PGP signature
Re: apt-get aptitude dependencies purge
On Sunday 27 October 2013 03:17 PM, Chris Bannister wrote: > On Sun, Oct 27, 2013 at 08:42:18AM +0100, Slavko wrote: >> Ahoj, >> >> Dňa Sat, 26 Oct 2013 20:55:57 -0600 ruckusrogue >> napísal: >> >>> Anyone know the proper tool (shell) to best remove (purge) packages >>> and their dependencies after installing? >> >> There are three types of dependencies: >> >> + depended = required >> + recommended = optional > > Unless you explicitly set recommended to optional, then they are > automatically installed. > > e.g. > > # less /etc/apt/apt.conf.d/90local > APT::Default-Release "jessie"; > APT::Install-Recommends "false"; > APT::Acquire::Languages "en"; > > #Debug::Acquire::Ftp "true"; > #Debug::Acquire::Http "true"; > Can't comment as to behavior, but I've had some issues with my own experimental installation. I use deborphan to identify removable packages. K. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/526d0211.7040...@gmail.com
Re: apt-get aptitude dependencies purge
On Sun, Oct 27, 2013 at 08:42:18AM +0100, Slavko wrote: > Ahoj, > > Dňa Sat, 26 Oct 2013 20:55:57 -0600 ruckusrogue > napísal: > > > Anyone know the proper tool (shell) to best remove (purge) packages > > and their dependencies after installing? > > There are three types of dependencies: > > + depended = required > + recommended = optional Unless you explicitly set recommended to optional, then they are automatically installed. e.g. # less /etc/apt/apt.conf.d/90local APT::Default-Release "jessie"; APT::Install-Recommends "false"; APT::Acquire::Languages "en"; #Debug::Acquire::Ftp "true"; #Debug::Acquire::Http "true"; -- "If you're not careful, the newspapers will have you hating the people who are being oppressed, and loving the people who are doing the oppressing." --- Malcolm X -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20131027094700.GA29615@tal
Re: apt-get aptitude dependencies purge
Ahoj, Dňa Sat, 26 Oct 2013 20:55:57 -0600 ruckusrogue napísal: > Anyone know the proper tool (shell) to best remove (purge) packages > and their dependencies after installing? There are three types of dependencies: + depended = required + recommended = optional + suggested = optional While the required dependencies are pretty straightforward, the optional can lead to misunderstanding of the autoremove function, because some from these optional can be dependencies not only for eog, bot for another (previously installed) packages too, the they can be left in system after the autoremove usage. I am using aptitude mostly, there is /var/log/aptitude, which i am checking, when i am playing/trying with new packages, to manually remove all installed packages. And i am using the aptitude without auto installing recommended packages too. You can read apt-get manpage, if this is possible in apt-get too. And, uninstalling package in aptitude sometime take two (un)install steps, to remove unneeded dependencies, but because i am daily updating packages, they are removed at next day. regards -- Slavko http://slavino.sk signature.asc Description: PGP signature
Re: apt-get aptitude dependencies purge
ruckusrogue wrote: > Anyone know the proper tool (shell) to best remove (purge) packages > and their dependencies after installing? Yes. Autoremove. > For instance on a wheezy install when I added 'eog' (eye of > gnome) it added 15 other dependency packages. Then removing ego only > removed eog, literally. The dependencies remained. Is that the proper > behavior these days? It didn't used to be. > > same result using: > apt-get --purge autoremove eog > apt-get --purge remove eog > aptitude purge eog After removing eog run autoremove --purge. # apt-get autoremove --purge It will only offer packages that are marked as automatically installed. See the man page for apt-mark to for listing packages and changing the package status from manual to auto and back. man apt-mark Bob signature.asc Description: Digital signature