apt-get purge

Alex Katebi alex.katebi at gmail.com
Tue Jan 6 15:05:20 UTC 2009

On Tue, Jan 6, 2009 at 9:16 AM, Derek Broughton <derek at pointerstop.ca>wrote:

> Alex Katebi wrote:
> Please stop top-posting.  It's impossible to have a conversation.

Sorry for top posting. I have this bad habit

> > This is what happend. I tried it on a new ubuntu install. I had done a
> > remove libreadline5 not libreadline5-dev. Since libreadline5 is used by
> > many other packages it removed them too. (it did prompt me for Y/N). So
> > the moral of the story is that if you try to remove a base package like
> > the readline5 you endup removing and damaging your system. I think the
> > designers of apt-get made the wrong choice.
> You're kidding?  First, you tried to remove the wrong package.  Then, you
> ignored the warnings it gave you.  And now you're upset that Linux lets you
> do bad things.

  Well I did try to remove the wrong package. But when it asked me about
removing all other packages I thought that it is trying to clean uneeded
packages not vital ones.

> > They should refuse to remove a
> > building block until all the top blocks are removed by the user first.
> Sorry, but those of us who actually understand our packaging system
> actually
> want to be able to do anything we want with it.  We can't have Linux
> holding
> our hand so tight that we can't explore.

> I would go so far as to accept that perhaps libreadline5 should be marked

I think this would have saved me.

> "essential" - for instance, if you try:
>   $ sudo apt-get remove mount
> You get this:
>  WARNING: The following essential packages will be removed.
>  This should NOT be done unless you know exactly what you are doing!
>    mount
>  ...
>  You are about to do something potentially harmful.
>  To continue type in the phrase 'Yes, do as I say!'
> Unfortunately, libreadline5 only seems to be a dependency of GUI programs,
> and so I can't see how you could make it "essential" for Kubuntu/Ubuntu,
> etc, but not for Ubuntu Server.

  gdm was borken because of readline5. I could not open a terminal. I would
say that it is essential.

> > On
> > the other hand if you really know what you are doing it is more powerful
> > the way it works.
> Precisely.

Anyways I think ubuntu and apt are much better than Fedora and yum. Thanks
all for responding.

> --
>  ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20090106/d7dbcd0b/attachment.html>

More information about the ubuntu-users mailing list