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


Groups > linux.debian.user > #175259

Re: Uninstalling Gnome

From Seeker <seeker5528@comcast.net>
Newsgroups linux.debian.user
Subject Re: Uninstalling Gnome
Date 2016-11-30 05:20 +0100
Message-ID <sJ4xb-17i-5@gated-at.bofh.it> (permalink)
References <sIBYf-7z9-65@gated-at.bofh.it> <sICKB-89o-1@gated-at.bofh.it> <sIMJX-6yn-11@gated-at.bofh.it> <sISZ4-1UF-29@gated-at.bofh.it> <sITip-2kT-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 11/29/2016 8:12 AM, Rodolfo Medina wrote:

>
> I wonder if it's possible to provide Debian a set A of packages and say:
> `please install these and only these and remove all the other packages present
> on the disk except the ones from which some of A depends.'  This would be
> equivalent of reinstalling everything as reported by Patrick.  Do you think it
> would be possible?
>
> Rodolfo
>

That's a good way to get into trouble. ;)

The list would typically be created on a computer that is set up the way
you want already using....

dpkg --get-selections > package.txt

You can set the install state of all non-essential packages to
'deinstall' with...

dpkg --clear-selections

That's the part that could be trouble if you don't have a good list of
packages to feed back in. What is essential is not necessarily
everything you need to be able to connect to the internet and begin
re-installing things.

If you have your list of packages you can set the install state with

dpkg --set-selections < packages.txt

Synaptic has a way of creating these lists and installing from them,
don't think it cares about the install state of anything not on the
list, also never tried using Synaptic to install from a list that had
package install states other than 'install'.

The list would be in the form of....

package package-state

so for example....

package1 install
package2 deinstall
package3 hold
etc....

Once the install states are set then you would do...

apt-get dselect-upgrade

to perform the installations and removals.

What kind of havoc that would create for aptitude if you try to use it
after doing these things, I don't know. I don't use aptitude.

You could create the list of selections on your current machine and load
it in a text editor and start deleting stuff, after saving an extra copy
somewhere so you can set the selection back the way they were if needed.

Personally I would use Synaptic to remove the stuff you don't want, then
if you still want to use aptitude later, deal with it's issues after the
fact.

Later, Seeker

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


Thread

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

csiph-web