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

Re: debian reinstallation



Vivek G. Bharathan wrote:

So I installed Debian in February and I've just discovered that my /usr partition is much too small. I'd like to somehow set apt and dselect to reload the packages I already have - is there any way to do this without plugging through all the millions of Debian packages that show up on dselect?

Thanks,
Vivek


Do you have a large amount of free space elsewhere on your system? If so, you might can shuffle the data around and save yourself a re-install. For example, if /usr is 1GB, and you want it to be 2GB, and you've got a /var partition that is 2GB and it only needs to be 1GB, you can swap the two partitions with a little work.

Of course, without the needed space elsewhere, you probably would do best to do a re-install (or a backup/restore to tape, etc). In such a case, there's some options you can feed to dpkg (--get-selections or --set-selections; see "man dpkg") which I believe will create a database of the names of installed packages; you'll still have to re-download/install those packages, but it'll be much more automatic than manually selecting packages via dselect.

Kent





--
To UNSUBSCRIBE, email to debian-user-request@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: