No space left (after failed dpkg installation) - Debian Squeeze
I installed beautiful Debian Squeeze 6 (later few very small applications/drivers which took tons of time, that is why I am avoiding fresh installation). This is my first linux.
With boot manager made 3 huge partitions on 500GB disk (smallest 20GB).
Then I decided to install dpkg; had to download 0.5GB (despite of I had 8 DVDs with 30G files). Installation (and later removal) of dpkg failed due "no space left on device".
After this, computer boot also failed (without warning on low space) with no error message; tried to finish or remove dpkg installation in boot recovery mode but it failed for same reason. Can't run gpart in boot recovery mode as "no space left". I want to increase system partition or to remove mysterious single culprit (dpkg?) which occupies nearly 20GB..
I checked posts on "no space left" but unable to use any of them.
Many thanks for suggestions.
Welcome to LQ!
dpkg is a core part of Debian, it is the "apt-get" backend, if you removed it, you will have hard time saving your installation. Better start from scratch again. If you don't want, you can boot in rescue mode or using a live cd and install dpkg by hand again by unpacking the .deb with tar and copying files by hand. DPKG come by default, so I am not sure why you say "Then I decided to install dpkg;". The DVDs also have all the packages, you don't need to download anything else if your /etc/apt/sources.list had correct configuration to use the DVD repository.
If it is your first Linux, you should start with something a little bit higher level, like Ubuntu (quite "experiments proof") or OpenSUSE (a little more fragile) and work your way down. Debian is very good, but it is easy to "try" something and destroy the whole thing. It is even easier with Fedora, Arch and Gentoo. But "too" easy with Debian for new users. Debian is for people who know what they are doing and punish those who don't. I know that very well, I started with Debian and I destroyed my first ~15 installs trying "things"* back in the days. A good part of this is that you learn a lot in the process, but today, there is much better way to do this than 10 years ago (damn, I am getting old...).
*(like XFree86 to early cvs version of Xorg without knowing apt-get existed. Yes, by downloading every packages with wget and compiling them one after the other until it worked, only to find out that my graphic card was not yet supported) <-- off topic anecdotes
**No flame saying that "distro A" is more fragile than "distro B", this is my opinion, not a flame bait. As long as "rpm --force" exist, peoples will use it.
Many thanks for valuable suggestions. I managed to re-install in expert mode preserving whole home directory.
|All times are GMT -5. The time now is 03:44 PM.|