apt-get debian-cd installs openoffice.org!!

2004-02-24 Thread xucaen
Help!

Last week while trying to install openoffice my drive ran out of space and the
install failed. I tried to remove openoffice but it says I should try
reinstalling it.

==
whitestar:~# apt-get remove openoffice.org
Reading Package Lists... Done
Building Dependency Tree... Done
Package openoffice.org is not installed, so not removed
The following packages will be REMOVED:
  openoffice.org-bin
0 upgraded, 0 newly installed, 1 to remove and 14 not upgraded.
1 not fully installed or removed.
Need to get 0B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] y
dpkg: error processing openoffice.org-bin (--remove):
 Package is in a very bad inconsistent state - you should
 reinstall it before attempting a removal.
Errors were encountered while processing:
 openoffice.org-bin
E: Sub-process /usr/bin/dpkg returned an error code (1)

==

I added a new hard drive but I can't use the drive until I install debian on it.
to do that I think I need to create a custom install CD. I want to install debian-cd
and debootstrap but apt-get debian-cd is trying to install openoffice!

=
whitestar:~# apt-get install debian-cd
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
  debootstrap grep-dctrl openoffice.org openoffice.org-bin openoffice.org-debian-files
  openoffice.org-l10n-en sysutils
Suggested packages:
  palo openoffice.org-help ooqstart-gnome oooqs-kde cupsys-bsd ttf-bitstream-vera 
prelink
  openoffice.org-hyphenation-en openoffice.org-help-en
Recommended packages:
  hfsutils openoffice.org-mimelnk
The following NEW packages will be installed:
  debian-cd debootstrap grep-dctrl openoffice.org openoffice.org-debian-files
  openoffice.org-l10n-en sysutils
The following packages will be upgraded:
  openoffice.org-bin
1 upgraded, 7 newly installed, 0 to remove and 14 not upgraded.
1 not fully installed or removed.
Need to get 58.1MB of archives.
After unpacking 183MB of additional disk space will be used.
Do you want to continue? [Y/n]n


How do I stop apt-get from trying to install openoffice?

:(

jim




-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get debian-cd installs openoffice.org!!

2004-02-24 Thread Jan Minar
On Tue, Feb 24, 2004 at 08:03:37PM -0500, xucaen wrote:
 I added a new hard drive but I can't use the drive until I install debian on it.

Hi, xucaen.

You don't have to reinstall the whole system just to add some disk
capacity.  Use lvm, or simply tar c | tar x a whole tree, or copy around
- resize a partition, whatever.

 to do that I think I need to create a custom install CD.

I don't think you'd need a custom CD, anyway.

[...]
 How do I stop apt-get from trying to install openoffice?
 
Download the .debs, and use dpkg proper.  There might be a better way,
however.

HTH.

-- 
Jan Minar   Please don't CC me, I'm subscribed. x 9


pgp0.pgp
Description: PGP signature


Re: apt-get debian-cd installs openoffice.org!!

2004-02-24 Thread xucaen
On Wed, Feb 25, 2004 at 01:56:11AM +0100, Jan Minar wrote:
 On Tue, Feb 24, 2004 at 08:03:37PM -0500, xucaen wrote:
  I added a new hard drive but I can't use the drive until I install debian on it.
 
 Hi, xucaen.
 
 You don't have to reinstall the whole system just to add some disk
 capacity.  Use lvm, or simply tar c | tar x a whole tree, or copy around
 - resize a partition, whatever.
 

wha..wha..what? so you're saying I can simple copy my whole entire drive (the old one)
to the new drive if I wanted to? 



jim


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get debian-cd installs openoffice.org!!

2004-02-24 Thread Jan Minar
On Tue, Feb 24, 2004 at 09:09:30PM -0500, xucaen wrote:
 On Wed, Feb 25, 2004 at 01:56:11AM +0100, Jan Minar wrote:
  On Tue, Feb 24, 2004 at 08:03:37PM -0500, xucaen wrote:
   I added a new hard drive but I can't use the drive until I install debian on it.
  
  Hi, xucaen.
  
  You don't have to reinstall the whole system just to add some disk
  capacity.  Use lvm, or simply tar c | tar x a whole tree, or copy around
  - resize a partition, whatever.
  
 
 wha..wha..what? so you're saying I can simple copy my whole entire drive (the old 
 one)
 to the new drive if I wanted to? 

Yap.  You can even add the new drive capacity, to the old disk, so
you'll end up with one big logical disk (lvm).

HTH

-- 
Jan Minar   Please don't CC me, I'm subscribed. x 9


pgp0.pgp
Description: PGP signature


Re: apt-get debian-cd installs openoffice.org!!

2004-02-24 Thread xucaen
On Wed, Feb 25, 2004 at 03:38:30AM +0100, Jan Minar wrote:
 On Tue, Feb 24, 2004 at 09:09:30PM -0500, xucaen wrote:
  On Wed, Feb 25, 2004 at 01:56:11AM +0100, Jan Minar wrote:
   On Tue, Feb 24, 2004 at 08:03:37PM -0500, xucaen wrote:
I added a new hard drive but I can't use the drive until I install debian on 
it.
   
   Hi, xucaen.
   
   You don't have to reinstall the whole system just to add some disk
   capacity.  Use lvm, or simply tar c | tar x a whole tree, or copy around
   - resize a partition, whatever.
   
  
  wha..wha..what? so you're saying I can simple copy my whole entire drive (the old 
  one)
  to the new drive if I wanted to? 
 
 Yap.  You can even add the new drive capacity, to the old disk, so
 you'll end up with one big logical disk (lvm).
 

wow.. ok.. i hadn't thought of that.. so umm.. I could move all my stuff
over to the new drive and...  edit /etc/fstab to mount..?
is there anything else I would have to change?

jim



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: apt-get debian-cd installs openoffice.org!!

2004-02-24 Thread Jan Minar
On Tue, Feb 24, 2004 at 10:29:09PM -0500, xucaen wrote:
 On Wed, Feb 25, 2004 at 03:38:30AM +0100, Jan Minar wrote:
  On Tue, Feb 24, 2004 at 09:09:30PM -0500, xucaen wrote:
   On Wed, Feb 25, 2004 at 01:56:11AM +0100, Jan Minar wrote:
On Tue, Feb 24, 2004 at 08:03:37PM -0500, xucaen wrote:
 I added a new hard drive but I can't use the drive until I install debian on 
 it.

Hi, xucaen.

You don't have to reinstall the whole system just to add some disk
capacity.  Use lvm, or simply tar c | tar x a whole tree, or copy around
- resize a partition, whatever.

   
   wha..wha..what? so you're saying I can simple copy my whole entire drive (the 
   old one)
   to the new drive if I wanted to? 
  
  Yap.  You can even add the new drive capacity, to the old disk, so
  you'll end up with one big logical disk (lvm).
  
 
 wow.. ok.. i hadn't thought of that.. so umm.. I could move all my stuff
 over to the new drive and...  edit /etc/fstab to mount..?
 is there anything else I would have to change?

mount /dev/newdrive /mnt/foo
tar cC /bar/baz . | tar xC /mnt/foo
mv /bar/baz{,.BACKUP}
mkdir /bar/baz
umount /dev/newdrive
mount /dev/newdrive /bar/baz

AFA the apps are concerned, nothing has changed.

-- 
Jan Minar   Please don't CC me, I'm subscribed. x 9


pgp0.pgp
Description: PGP signature


Re: apt-get debian-cd installs openoffice.org!!

2004-02-24 Thread xucaen
On Wed, Feb 25, 2004 at 04:28:31AM +0100, Jan Minar wrote:
 On Tue, Feb 24, 2004 at 10:29:09PM -0500, xucaen wrote:
  
  wow.. ok.. i hadn't thought of that.. so umm.. I could move all my stuff
  over to the new drive and...  edit /etc/fstab to mount..?
  is there anything else I would have to change?
 
 mount /dev/newdrive /mnt/foo
 tar cC /bar/baz . | tar xC /mnt/foo
 mv /bar/baz{,.BACKUP}
 mkdir /bar/baz
 umount /dev/newdrive
 mount /dev/newdrive /bar/baz
 
 AFA the apps are concerned, nothing has changed.
 

sorry for all the questions...  if I were going to move lets say /usr and /home to the 
new drive
I would have to create two partitions and follow the steps above for each? 

here's a question for you..  what directories tend to take up the most space?
I know /var/cache/apt/archives tends to get pretty big, and probably /bin, 
/usr.. i'm thinking I would need a partition for each.. how do I know how much space to
allot to each? if I make it too little I could be faced with re-partitioning 
the drive..

oy!

jim






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]