[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: I have instaledl too many packages



On Friday 04 May 2001 19:14, Ben Collins wrote:
> On Tue, May 08, 2001 at 12:47:39AM +0800, fg007@mail1.sjtu.edu.cn wrote:
> > hi,all
> >   I am a debian newbie.I have installed too may packages.
> >   I  want to use 'dselect' to delete some,but show many errors
> >   I want to use 'apt-get remove filename' but not know exactly the
> >   filename,and there are so many package to remove.
> >   How can I  reinstall but keep the smallest base system  so that I
> >   not need to reboot and can use apt-get,deselect,netconfig etc.
>
> I regularly do this:
>
> 1. dpkg -l > package.list
>
> 2. less package.list (find packages you want to remove)
>
> 3. apt-get remove <pkgs>
>
> 4. Repeat steps 2 and 3 as needed (I usually just remove 4 or 5 packages
>    at a time)

a slightly crude but quicker way to do it:

apt-get remove nameofapp*

which will list everything containing "nameofapp" and ask if you want it 
removed. this way you'll also get the package name.



Reply to: