Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #175202 > unrolled thread
| Started by | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| First post | 2016-11-28 22:50 +0100 |
| Last post | 2016-11-30 09:50 +0100 |
| Articles | 20 on this page of 44 — 15 participants |
Back to article view | Back to linux.debian.user
Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-28 22:50 +0100
Re: Uninstalling Gnome Joe <joe@jretrading.com> - 2016-11-28 23:30 +0100
Re: Uninstalling Gnome Brian <ad44@cityscape.co.uk> - 2016-11-28 23:40 +0100
Re: Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-29 10:20 +0100
Re: Uninstalling Gnome rhkramer@gmail.com - 2016-11-29 14:10 +0100
Re: Uninstalling Gnome rhkramer@gmail.com - 2016-11-29 14:10 +0100
Re: Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-29 14:40 +0100
Re: Uninstalling Gnome Patrick Bartek <nemommxiv@gmail.com> - 2016-11-29 17:00 +0100
Re: Uninstalling Gnome Greg Wooledge <wooledg@eeg.ccf.org> - 2016-11-29 17:10 +0100
Re: Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-29 17:20 +0100
Re: Uninstalling Gnome Darac Marjal <mailinglist@darac.org.uk> - 2016-11-29 18:10 +0100
Re: Uninstalling Gnome Joe <joe@jretrading.com> - 2016-11-29 18:50 +0100
Re: Uninstalling Gnome Brian <ad44@cityscape.co.uk> - 2016-11-29 20:00 +0100
Re: Uninstalling Gnome Seeker <seeker5528@comcast.net> - 2016-11-30 05:20 +0100
Re: Uninstalling Gnome Brian <ad44@cityscape.co.uk> - 2016-11-29 19:00 +0100
Re: Uninstalling Gnome Liam O'Toole <liam.p.otoole@gmail.com> - 2016-11-28 23:40 +0100
Re: Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-29 12:50 +0100
Re: Uninstalling Gnome Curt <curty@free.fr> - 2016-11-29 13:30 +0100
Re: Uninstalling Gnome Curt <curty@free.fr> - 2016-11-29 14:00 +0100
Re: Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-29 14:10 +0100
Re: Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-29 14:30 +0100
Re: Uninstalling Gnome Liam O'Toole <liam.p.otoole@gmail.com> - 2016-11-29 18:10 +0100
Re: Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-29 18:30 +0100
Re: Uninstalling Gnome Liam O'Toole <liam.p.otoole@gmail.com> - 2016-11-29 20:50 +0100
Re: Uninstalling Gnome Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-29 14:40 +0100
Manually installed packages (was: Uninstalling Gnome) Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-11-30 00:50 +0100
Re: Manually installed packages (was: Uninstalling Gnome) David Wright <deblis@lionunicorn.co.uk> - 2016-11-30 01:30 +0100
Re: Manually installed packages (was: Uninstalling Gnome) Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-11-30 05:30 +0100
Re: Manually installed packages Stefan Monnier <monnier@iro.umontreal.ca> - 2016-11-30 14:50 +0100
Re: Manually installed packages David Wright <deblis@lionunicorn.co.uk> - 2016-12-01 17:10 +0100
Re: Manually installed packages Curt <curty@free.fr> - 2016-12-01 18:10 +0100
Re: Manually installed packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-12-01 19:40 +0100
Re: Manually installed packages Greg Wooledge <wooledg@eeg.ccf.org> - 2016-12-01 20:10 +0100
Re: Manually installed packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-12-03 14:40 +0100
Re: Manually installed packages kamaraju kusumanchi <raju.mailinglists@gmail.com> - 2016-12-03 19:00 +0100
Re: Manually installed packages Jörg-Volker Peetz <jvpeetz@web.de> - 2016-12-04 10:50 +0100
Re: Manually installed packages Jörg-Volker Peetz <jvpeetz@web.de> - 2016-12-04 11:00 +0100
Re: Manually installed packages Rodolfo Medina <rodolfo.medina@gmail.com> - 2016-12-04 13:00 +0100
Re: Manually installed packages Jörg-Volker Peetz <jvpeetz@web.de> - 2016-12-04 13:10 +0100
Re: Manually installed packages Jörg-Volker Peetz <jvpeetz@web.de> - 2016-12-01 20:50 +0100
Re: Manually installed packages Brian <ad44@cityscape.co.uk> - 2016-12-01 22:00 +0100
Re: Manually installed packages Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-12-02 19:20 +0100
Re: Manually installed packages Cindy-Sue Causey <butterflybytes@gmail.com> - 2016-12-02 18:30 +0100
Re: Manually installed packages Jörg-Volker Peetz <jvpeetz@web.de> - 2016-11-30 09:50 +0100
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2016-11-29 14:30 +0100 |
| Message-ID | <sIQDT-yf-3@gated-at.bofh.it> |
| In reply to | #175223 |
Rodolfo Medina <rodolfo.medina@gmail.com> writes: > Curt <curty@free.fr> writes: > >> On 2016-11-29, Curt <curty@free.fr> wrote: >>> On 2016-11-29, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>>>> >>>>> See the deborphan package. It is useful for trimming unwanted (and >>>>> unneeded) packages from your system. >>>> >>>> I ran `deborphan --guess-all' but it seems to me that it wants to remove >>>> some packages that I use a lot, like, e.g., musixtex and pmx. So it >>>> doesn't seem to be very reliable... >>> >>> Well, it was a guess. >>> >>> I think you're going to be obliged to cherry pick the software you want >>> to hold on to, e.g. 'apt-mark manuel pmx'. >>> >>> Or I believe you can perform an 'apt-get install pmx musixtex' etc for a >>> similar if not identical result. >> >> Maybe an identical result actually. > > > Both show that the package is already installed. What do you mean? Mmmm... I begin to understand... Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Liam O'Toole <liam.p.otoole@gmail.com> |
|---|---|
| Date | 2016-11-29 18:10 +0100 |
| Message-ID | <sIU4N-2TK-7@gated-at.bofh.it> |
| In reply to | #175214 |
On 2016-11-29, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: > Liam O'Toole <liam.p.otoole@gmail.com> writes: > >> On 2016-11-28, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>> Hi all Debian users. >>> >>> When I freshly installed Debian on my present system, I chose Gnome >>> as my Desktop manager, then I switched to Openbox. To free space, >>> now I want to remove all those Gnome packages that I haven't used >>> any more but am not sure what of them I may delete without >>> perturbing the system. How can I know? More in general, is there a >>> way to know what packages one is not using and so can be removed? >>> >>> Thanks for any help, >>> >>> Rodolfo >>> >>> >> >> See the deborphan package. It is useful for trimming unwanted (and >> unneeded) packages from your system. > > > I ran `deborphan --guess-all' but it seems to me that it wants to > remove some packages that I use a lot, like, e.g., musixtex and pmx. > So it doesn't seem to be very reliable... > > Rodolfo The deborphan command identifies those packages which other packages do not require. It doesn't "know" which packages you use. The identification of unwanted packages among those listed by deborphan is done by you. -- Liam
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2016-11-29 18:30 +0100 |
| Message-ID | <sIUob-311-57@gated-at.bofh.it> |
| In reply to | #175237 |
Liam O'Toole <liam.p.otoole@gmail.com> writes: > On 2016-11-29, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >> Liam O'Toole <liam.p.otoole@gmail.com> writes: >> >>> On 2016-11-28, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>>> Hi all Debian users. >>>> >>>> When I freshly installed Debian on my present system, I chose Gnome >>>> as my Desktop manager, then I switched to Openbox. To free space, >>>> now I want to remove all those Gnome packages that I haven't used >>>> any more but am not sure what of them I may delete without >>>> perturbing the system. How can I know? More in general, is there a >>>> way to know what packages one is not using and so can be removed? >>>> >>>> Thanks for any help, >>>> >>>> Rodolfo >>>> >>>> >>> >>> See the deborphan package. It is useful for trimming unwanted (and >>> unneeded) packages from your system. >> >> >> I ran `deborphan --guess-all' but it seems to me that it wants to >> remove some packages that I use a lot, like, e.g., musixtex and pmx. >> So it doesn't seem to be very reliable... >> >> Rodolfo > > The deborphan command identifies those packages which other packages do > not require. It doesn't "know" which packages you use. The > identification of unwanted packages among those listed by deborphan is > done by you. Then deborphan can't be of help for my problem... Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Liam O'Toole <liam.p.otoole@gmail.com> |
|---|---|
| Date | 2016-11-29 20:50 +0100 |
| Message-ID | <sIWzD-4hH-9@gated-at.bofh.it> |
| In reply to | #175239 |
On 2016-11-29, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: > Liam O'Toole <liam.p.otoole@gmail.com> writes: > >> On 2016-11-29, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>> Liam O'Toole <liam.p.otoole@gmail.com> writes: >>> >>>> On 2016-11-28, Rodolfo Medina <rodolfo.medina@gmail.com> wrote: >>>>> Hi all Debian users. >>>>> >>>>> When I freshly installed Debian on my present system, I chose Gnome >>>>> as my Desktop manager, then I switched to Openbox. To free space, >>>>> now I want to remove all those Gnome packages that I haven't used >>>>> any more but am not sure what of them I may delete without >>>>> perturbing the system. How can I know? More in general, is there a >>>>> way to know what packages one is not using and so can be removed? >>>>> >>>>> Thanks for any help, >>>>> >>>>> Rodolfo >>>>> >>>>> >>>> >>>> See the deborphan package. It is useful for trimming unwanted (and >>>> unneeded) packages from your system. >>> >>> >>> I ran `deborphan --guess-all' but it seems to me that it wants to >>> remove some packages that I use a lot, like, e.g., musixtex and pmx. >>> So it doesn't seem to be very reliable... >>> >>> Rodolfo >> >> The deborphan command identifies those packages which other packages do >> not require. It doesn't "know" which packages you use. The >> identification of unwanted packages among those listed by deborphan is >> done by you. > > > Then deborphan can't be of help for my problem... > > Rodolfo You can use it to identify those GNOME packages which can be safely removed, which I thought was the point of your original post. Running deborphan again will reveal another layer of GNOME packages which have become candidates for removal. You can do the whole thing interactively by running 'orphaner -a' as root. -- Liam
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2016-11-29 14:40 +0100 |
| Message-ID | <sIQNA-Bo-31@gated-at.bofh.it> |
| In reply to | #175202 |
Rodolfo Medina <rodolfo.medina@gmail.com> writes: > When I freshly installed Debian on my present system, I chose Gnome as my > Desktop manager, then I switched to Openbox. To free space, now I want to > remove all those Gnome packages that I haven't used any more but am not sure > what of them I may delete without perturbing the system. How can I know? > More in general, is there a way to know what packages one is not using and so > can be removed? As far as I understand up to now, from you listers' kind replies, I could safely remove all those packages that are at the same time marked as automatically installed *and* orphans. Is that the case? If so, what tool can give me those information? Thanks, cheers, Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2016-11-30 00:50 +0100 |
| Subject | Manually installed packages (was: Uninstalling Gnome) |
| Message-ID | <sJ0jT-6Gr-5@gated-at.bofh.it> |
| In reply to | #175202 |
Rodolfo Medina <rodolfo.medina@gmail.com> writes: > When I freshly installed Debian on my present system, I chose Gnome as my > Desktop manager, then I switched to Openbox. To free space, now I want to > remove all those Gnome packages that I haven't used any more but am not sure > what of them I may delete without perturbing the system. How can I know? > More in general, is there a way to know what packages one is not using and so > can be removed? If I run `apt-mark showmanual', a list of packages is ouput that are supposed to have been manually installed on my system but that actually I don't at all remember ever installing neither do I believe they truly have been nay I'm sure they haven't... Any people could explain that? Thanks, Cheers Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2016-11-30 01:30 +0100 |
| Subject | Re: Manually installed packages (was: Uninstalling Gnome) |
| Message-ID | <sJ0WB-7cy-1@gated-at.bofh.it> |
| In reply to | #175253 |
On Tue 29 Nov 2016 at 23:45:51 (+0000), Rodolfo Medina wrote: > Rodolfo Medina <rodolfo.medina@gmail.com> writes: > > > When I freshly installed Debian on my present system, I chose Gnome as my > > Desktop manager, then I switched to Openbox. To free space, now I want to > > remove all those Gnome packages that I haven't used any more but am not sure > > what of them I may delete without perturbing the system. How can I know? > > More in general, is there a way to know what packages one is not using and so > > can be removed? > > > If I run `apt-mark showmanual', a list of packages is ouput that are supposed > to have been manually installed on my system but that actually I don't at all > remember ever installing neither do I believe they truly have been nay I'm sure > they haven't... Any people could explain that? apt-mark showmanual gives you the complement of apt-mark showauto. The second paragraph of apt-mark's description explains what's meant by "auto". So "manual" doesn't mean what you appear to assume it does, that you were involved in manually selecting it for installation. It just means "not auto". Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Cindy-Sue Causey <butterflybytes@gmail.com> |
|---|---|
| Date | 2016-11-30 05:30 +0100 |
| Subject | Re: Manually installed packages (was: Uninstalling Gnome) |
| Message-ID | <sJ4GR-1aC-11@gated-at.bofh.it> |
| In reply to | #175255 |
On 11/29/16, David Wright <deblis@lionunicorn.co.uk> wrote: > On Tue 29 Nov 2016 at 23:45:51 (+0000), Rodolfo Medina wrote: >> >> If I run `apt-mark showmanual', a list of packages is ouput that are >> supposed >> to have been manually installed on my system but that actually I don't at >> all >> remember ever installing neither do I believe they truly have been nay I'm >> sure >> they haven't... Any people could explain that? > > apt-mark showmanual gives you the complement of apt-mark showauto. > The second paragraph of apt-mark's description explains what's meant > by "auto". So "manual" doesn't mean what you appear to assume it does, > that you were involved in manually selecting it for installation. It > just means "not auto". I just played along here by running apt-mark. I received back a LONG list that is "fine by me", i.e. nothing to sweat over on my end, because of how upgrading has been going lately. That "no sweat" reaction is because David's response brought back to mind that I see the following sometimes after running "apt-get install" for an already up-to-date package:: +++++ libilmbase12 is already the newest version (2.2.0-11). libilmbase12 set to manually installed. +++++ I had to work hard to find something that wasn't on the list apt-mark had just given me. /var/log/apt/history.log.1 was my friend there. Everything else that I tried turned out to already be on the apt-mark generated list. Attempts at "accidentally" installing packages already on the apt-mark list all simply responded back with the "is already the newest version" line. It's tied in. libilmbase12 was NOT in my initial apt-mark showmanual query response. It IS on that list now. Cindy :) -- Cindy-Sue Causey Talking Rock, Pickens County, Georgia, USA * runs with plastic sporks *
[toc] | [prev] | [next] | [standalone]
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Date | 2016-11-30 14:50 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sJdqO-6Jj-1@gated-at.bofh.it> |
| In reply to | #175255 |
> apt-mark showmanual gives you the complement of apt-mark showauto.
> The second paragraph of apt-mark's description explains what's meant
> by "auto". So "manual" doesn't mean what you appear to assume it does,
> that you were involved in manually selecting it for installation. It
> just means "not auto".
To me "auto" means "not manually", so I'm just as confused as Rodolfo
and I think for good reasons. There might be technical reasons behind
the way it currently works, but I think this qualifies as a bug (maybe
a UI bug, maybe a coding bug, maybe a doc bug).
Stefan
[toc] | [prev] | [next] | [standalone]
| From | David Wright <deblis@lionunicorn.co.uk> |
|---|---|
| Date | 2016-12-01 17:10 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sJC5Q-6gw-37@gated-at.bofh.it> |
| In reply to | #175274 |
On Wed 30 Nov 2016 at 08:47:21 (-0500), Stefan Monnier wrote: > > apt-mark showmanual gives you the complement of apt-mark showauto. > > The second paragraph of apt-mark's description explains what's meant > > by "auto". So "manual" doesn't mean what you appear to assume it does, > > that you were involved in manually selecting it for installation. It > > just means "not auto". > > To me "auto" means "not manually", Yes, auto and manual are anotnyms. > so I'm just as confused as Rodolfo > and I think for good reasons. I don't know whether Rodolfo is still confused after the explanation I gave. AFAICT once you realise that manual means "not marked as auto" rather than "I installed this by typing apt* <packagename>", then it's fairly obvious that "manual" is a bucket term that includes, for example, packages installed by the debian-installer because they're essential, with Priority: required. I can't remember installing bash or grep, but they're certainly not auto, so they're going to be "unmarked auto", or "marked non-auto", or "marked manual". I think I'll stick to the last. What would you prefer? > There might be technical reasons behind > the way it currently works, but I think this qualifies as a bug (maybe > a UI bug, maybe a coding bug, maybe a doc bug). *What* qualifies as a bug...that you're confused? Cheers, David.
[toc] | [prev] | [next] | [standalone]
| From | Curt <curty@free.fr> |
|---|---|
| Date | 2016-12-01 18:10 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sJD1V-70r-39@gated-at.bofh.it> |
| In reply to | #175305 |
On 2016-12-01, David Wright <deblis@lionunicorn.co.uk> wrote: > On Wed 30 Nov 2016 at 08:47:21 (-0500), Stefan Monnier wrote: >> > apt-mark showmanual gives you the complement of apt-mark showauto. >> > The second paragraph of apt-mark's description explains what's meant >> > by "auto". So "manual" doesn't mean what you appear to assume it does, >> > that you were involved in manually selecting it for installation. It >> > just means "not auto". >> >> To me "auto" means "not manually", > > Yes, auto and manual are anotnyms. > >> so I'm just as confused as Rodolfo >> and I think for good reasons. > > I don't know whether Rodolfo is still confused after the explanation > I gave. AFAICT once you realise that manual means "not marked as auto" > rather than "I installed this by typing apt* <packagename>", then it's > fairly obvious that "manual" is a bucket term that includes, for > example, packages installed by the debian-installer because they're > essential, with Priority: required. I think in the OP's case having asked for the whole Gnome kit and caboodle upon installation he's got lots of stuff he might not even be aware of necessarily that doesn't fall into the auto category (or the high priority required category either), but that he didn't expressly install. I guess I'm just repeating what you already said though. I suppose the confusion derives from the fact that the word manual connotes "requiring human effort," and certain manual packages appear on our systems effortlessly. > I can't remember installing bash or grep, but they're certainly not > auto, so they're going to be "unmarked auto", or "marked non-auto", > or "marked manual". I think I'll stick to the last. What would > you prefer? >> There might be technical reasons behind >> the way it currently works, but I think this qualifies as a bug (maybe >> a UI bug, maybe a coding bug, maybe a doc bug). > > *What* qualifies as a bug...that you're confused? > > Cheers, > David. > > -- “It is enough that the arrows fit exactly in the wounds that they have made.” Franz Kafka
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2016-12-01 19:40 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sJEr0-8du-25@gated-at.bofh.it> |
| In reply to | #175307 |
Curt <curty@free.fr> writes: > I think in the OP's case having asked for the whole Gnome kit and > caboodle upon installation he's got lots of stuff he might not even be > aware of necessarily that doesn't fall into the auto category (or the > high priority required category either), but that he didn't expressly > install. I guess I'm just repeating what you already said though. I > suppose the confusion derives from the fact that the word manual > connotes "requiring human effort," and certain manual packages appear > on our systems effortlessly. The present thread has collected many replies whose I thank all that kindly contributed. But I unfortunately see no real solution to the general problem I put to myself of which the uninstallation of Gnome is only an example. Suppose that, during months and years, you have installed many packages in your Debian system that you no more want and no more use, and that you want to free some space on disk because your machine is old with a small hard disk. The problem is what packages you can be really sure and safe to remove. First, you need knowing what actually you have installed with your hands because you don't remember them all. This information is not provided by apt-mark because its meaning of `manual' is not yours. That information is stored here and there, in pieces and chunks, within /var/log inside apt-get, aptitude an dpkg log files that is not so simple to grep. Besides, those files seem to go back in the past not further 12 months or so. So the best way is to take note, in future, with pencil and paper, of what you installed during time; and, for the present, erase the disk and reinstall everything. Now, suppose you know - thanks to pencil and paper - what packages you've been installed on your system since its creation. And suppose that you decide to remove, say, package1 bcause you don't need it any more. You do: `aptitude purge package1' or equivalent command but here comes another problem: only package1 is removed but not all those packages that were installed at its time along with package1. Then you use for this purpose deborphans. But this morning I did a little experiment (see thread `deborphan') and it came out that neither deborphan seems to actually remove those orphans packages. The solution seems so to be that pencil and paper should take note *also* of those children or configuration files and not only of the main packages - in future. In the present, erase and reinstall. It seems to me not very enthusiastical all this. To you? Thanks, Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Greg Wooledge <wooledg@eeg.ccf.org> |
|---|---|
| Date | 2016-12-01 20:10 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sJEU2-cg-11@gated-at.bofh.it> |
| In reply to | #175311 |
On Thu, Dec 01, 2016 at 06:38:45PM +0000, Rodolfo Medina wrote: > Suppose that, during months and years, you have installed many packages in your > Debian system that you no more want and no more use, and that you want to free > some space on disk because your machine is old with a small hard disk. The > problem is what packages you can be really sure and safe to remove. At some point you actually have to *know* what a package does. Go through the list sorted by size and skip everything you know is useful. When you get to one that you think is not useful, or which you don't recognize *at all*, dig into it and find out what it does. Then consider removing it, but be prepared to put it back if you break something. This is how you learn. P.S. http://wooledge.org/~greg/ds will sort the installed packages by size for you. As you can see, many of us have been there, done that. P.P.S. do this learning on your desktop box, not a server.
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2016-12-03 14:40 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sKiHL-1UG-1@gated-at.bofh.it> |
| In reply to | #175312 |
Greg Wooledge <wooledg@eeg.ccf.org> writes: > On Thu, Dec 01, 2016 at 06:38:45PM +0000, Rodolfo Medina wrote: >> Suppose that, during months and years, you have installed many packages in >> your Debian system that you no more want and no more use, and that you want >> to free some space on disk because your machine is old with a small hard >> disk. The problem is what packages you can be really sure and safe to >> remove. > > At some point you actually have to *know* what a package does. Go through > the list sorted by size and skip everything you know is useful. When you > get to one that you think is not useful, or which you don't recognize > *at all*, dig into it and find out what it does. Then consider removing > it, but be prepared to put it back if you break something. > > This is how you learn. > > P.S. http://wooledge.org/~greg/ds will sort the installed packages by > size for you. As you can see, many of us have been there, done that. Very useful. Thanks. Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | kamaraju kusumanchi <raju.mailinglists@gmail.com> |
|---|---|
| Date | 2016-12-03 19:00 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sKmLo-4ob-15@gated-at.bofh.it> |
| In reply to | #175312 |
On Thu, Dec 1, 2016 at 2:06 PM, Greg Wooledge <wooledg@eeg.ccf.org> wrote: > > P.S. http://wooledge.org/~greg/ds will sort the installed packages by > size for you. As you can see, many of us have been there, done that. > I would like to mention couple of things 1) You can do this by running dpigs in the debian-goodies package. For example % dpigs -H -n 5 284.0M rstudio 228.2M valgrind-dbg 180.7M google-chrome-stable 164.0M gcompris-data 155.9M linux-image-3.16.0-4-amd64 where -H lists the size in human readable format, -n specifies the number of packages to be listed. BTW there is nothing wrong with having your own script. I do it all the time:). But I thought it might help users who are not aware of this functionality in Debian itself. 2) The results from your script and dpigs are not consistent. The dpigs utility shows valgrind-dbg but your script does not show it. % perl ds | head -n 5 rstudio 290867 google-chrome-stable 184994 gcompris-data 167973 linux-image-3.16.0-4-amd64 159681 chromium 158398 % dpigs -n 5 290867 rstudio 233675 valgrind-dbg 184994 google-chrome-stable 167973 gcompris-data 159681 linux-image-3.16.0-4-amd64 3) Please consider putting these type of scripts in a public repository hosting services such as gitlab or github? They make it easier for others to collaborate by reducing the barrier to report bugs, suggest features, provide patches etc., thanks raju -- Kamaraju S Kusumanchi | http://raju.shoutwiki.com/wiki/Blog
[toc] | [prev] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2016-12-04 10:50 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sKBAJ-5q8-15@gated-at.bofh.it> |
| In reply to | #175312 |
Greg Wooledge wrote on 12/01/16 20:06: > On Thu, Dec 01, 2016 at 06:38:45PM +0000, Rodolfo Medina wrote: <snip> > > P.S. http://wooledge.org/~greg/ds will sort the installed packages by > size for you. As you can see, many of us have been there, done that. > <snip> Yes, e.g., aptitude can do this sorting (and sorting by other criteria): aptitude -F '%p %D %d' --sort installsize search '~i' Regards, jvp.
[toc] | [prev] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2016-12-04 11:00 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sKBKp-5td-11@gated-at.bofh.it> |
| In reply to | #175392 |
Jörg-Volker Peetz wrote on 12/04/16 10:40: > Greg Wooledge wrote on 12/01/16 20:06: >> On Thu, Dec 01, 2016 at 06:38:45PM +0000, Rodolfo Medina wrote: > <snip> >> >> P.S. http://wooledge.org/~greg/ds will sort the installed packages by >> size for you. As you can see, many of us have been there, done that. >> > <snip> > > Yes, e.g., aptitude can do this sorting (and sorting by other criteria): > > aptitude -F '%p %D %d' --sort installsize search '~i' > Correction: to display the installed size this should be aptitude -F '%p %I %d' --sort installsize search '~i' Regards, jvp.
[toc] | [prev] | [next] | [standalone]
| From | Rodolfo Medina <rodolfo.medina@gmail.com> |
|---|---|
| Date | 2016-12-04 13:00 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sKDCx-6Fx-9@gated-at.bofh.it> |
| In reply to | #175393 |
Jörg-Volker Peetz <jvpeetz@web.de> writes: > Jörg-Volker Peetz wrote on 12/04/16 10:40: >> Greg Wooledge wrote on 12/01/16 20:06: >>> On Thu, Dec 01, 2016 at 06:38:45PM +0000, Rodolfo Medina wrote: >> <snip> >>> >>> P.S. http://wooledge.org/~greg/ds will sort the installed packages by >>> size for you. As you can see, many of us have been there, done that. >>> >> <snip> >> >> Yes, e.g., aptitude can do this sorting (and sorting by other criteria): >> >> aptitude -F '%p %D %d' --sort installsize search '~i' >> > Correction: to display the installed size this should be > > aptitude -F '%p %I %d' --sort installsize search '~i' What about reverse (descending) installsize order? Thanks, Rodolfo
[toc] | [prev] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2016-12-04 13:10 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sKDMd-6ZJ-3@gated-at.bofh.it> |
| In reply to | #175397 |
Rodolfo Medina wrote on 12/04/16 12:54: > Jörg-Volker Peetz <jvpeetz@web.de> writes: <snip> >> aptitude -F '%p %I %d' --sort installsize search '~i' > > > What about reverse (descending) installsize order? > > Thanks, > > Rodolfo > For that purpose, the unix command "tac" comes handy aptitude -F '%p %I %d' --sort installsize search '~i' | tac Regards, jvp.
[toc] | [prev] | [next] | [standalone]
| From | Jörg-Volker Peetz <jvpeetz@web.de> |
|---|---|
| Date | 2016-12-01 20:50 +0100 |
| Subject | Re: Manually installed packages |
| Message-ID | <sJFwJ-LR-1@gated-at.bofh.it> |
| In reply to | #175311 |
Speaking of aptitude, it does remove automatically installed package if no other package depends on it, or recommends it. This behavior can be changed by configuration entries in /etc/apt/apt.conf, /etc/apt/apt.conf.d/*, etc. To show any installed packages that aren't "auto" and which are dependencies or recommendations of other packages, in short, packages that aren't marked "auto" but could (should?) be, order aptitude search '~i!~M(~R~i|~Rrecommends:~i)' Go through this list and, as root, mark the ones you don't need with aptitude markauto PACKAGE When done, aptitude search '~g' shows what can be purged from the system. Regards, jvp.
[toc] | [prev] | [next] | [standalone]
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
Back to top | Article view | linux.debian.user
csiph-web