Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #242132

Re: why autoremove doesn't work

From David Wright <deblis@lionunicorn.co.uk>
Newsgroups linux.debian.user
Subject Re: why autoremove doesn't work
Date 2021-11-13 17:40 +0100
Message-ID <Dj4el-4my-5@gated-at.bofh.it> (permalink)
References (1 earlier) <DiQuJ-4l8-1@gated-at.bofh.it> <DiRTP-5ps-1@gated-at.bofh.it> <DiSwx-5RC-1@gated-at.bofh.it> <DiT9f-63T-1@gated-at.bofh.it> <DiUI1-7aE-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat 13 Nov 2021 at 06:18:53 (+0000), Long Wind wrote:
> Thanks again!
> here is my /var/log/apt/history.log, many packages are not auto removed
> do you think autoremove option work as promised in apt's manual?

AFAICT, but I haven't looked too deeply, it's Recommends by other
packages that usually cause a problem.

Anyway, here are two scripts. Save them to /tmp, and run with
$ bash why
$ bash remove
as a user. Both may produce a lot of output. The first will tell you
why each package is being kept. The second will pretend that it's
removing them all, and ought to "succeed" if there are no Depends
outside of each other, but only Recommends.

Cheers,
David.

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

why autoremove doesn't work Long Wind <longwind2@yahoo.com> - 2021-11-13 03:00 +0100
  Re: why autoremove doesn't work David Wright <deblis@lionunicorn.co.uk> - 2021-11-13 04:30 +0100
    Re: why autoremove doesn't work Long Wind <longwind2@yahoo.com> - 2021-11-13 05:10 +0100
      Re: why autoremove doesn't work David Wright <deblis@lionunicorn.co.uk> - 2021-11-13 05:50 +0100
        Re: why autoremove doesn't work Long Wind <longwind2@yahoo.com> - 2021-11-13 07:30 +0100
          Re: why autoremove doesn't work David Wright <deblis@lionunicorn.co.uk> - 2021-11-13 17:40 +0100
            Re: why autoremove doesn't work Long Wind <longwind2@yahoo.com> - 2021-11-14 01:10 +0100
              Re: why autoremove doesn't work David Wright <deblis@lionunicorn.co.uk> - 2021-11-14 18:00 +0100
                Re: why autoremove doesn't work Long Wind <longwind2@yahoo.com> - 2021-11-14 20:10 +0100
                Re: why autoremove doesn't work David Wright <deblis@lionunicorn.co.uk> - 2021-11-15 02:40 +0100
                Re: why autoremove doesn't work Long Wind <longwind2@yahoo.com> - 2021-11-15 02:50 +0100
          Re: why autoremove doesn't work David Wright <deblis@lionunicorn.co.uk> - 2021-11-13 17:50 +0100
  Re: why autoremove doesn't work Andrei POPESCU <andreimpopescu@gmail.com> - 2021-12-08 17:40 +0100
    Re: why autoremove doesn't work Long Wind <longwind2@yahoo.com> - 2021-12-10 01:30 +0100

csiph-web