Results 1 to 3 of 3

Thread: HELP with apt-get

  1. #1
    Junior Member registered user
    Join Date
    Jun 2004
    Posts
    16

    HELP with apt-get

    How come when I tried to use apt-get to remove a package to regain disk space, it starts to install extra packages that take up more space than before?

    See output below... (and another question is: when I'm thru with apt-get can I remove all the files under /var/cache/apt? this is to make room for a knoppix liveCD remaster)

    Code:
    # apt-get remove emacs21
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
      gettext-el libcompfaceg1 libdb3 libtiff4 xemacs21 xemacs21-basesupport
      xemacs21-bin xemacs21-nomule xemacs21-support
    Suggested packages:
      xemacs21-supportel
    The following packages will be REMOVED:
      emacs21
    The following NEW packages will be installed:
      libcompfaceg1 libtiff4 xemacs21 xemacs21-basesupport xemacs21-bin xemacs21-nomule xemacs21-support
    The following packages will be upgraded:
      gettext-el libdb3
    2 upgraded, 7 newly installed, 1 to remove and 569 not upgraded.
    Need to get 26.3MB of archives.
    After unpacking 73.9MB of additional disk space will be used.
    Do you want to continue? [Y/n] y

  2. #2
    Senior Member registered user
    Join Date
    May 2003
    Location
    Utrecht, The Netherlands
    Posts
    298

    Re: HELP with apt-get

    Quote Originally Posted by drews
    How come when I tried to use apt-get to remove a package to regain disk space, it starts to install extra packages that take up more space than before?

    See output below... (and another question is: when I'm thru with apt-get can I remove all the files under /var/cache/apt? this is to make room for a knoppix liveCD remaster)

    Code:
    # apt-get remove emacs21
    Reading Package Lists... Done
    Building Dependency Tree... Done
    The following extra packages will be installed:
      gettext-el libcompfaceg1 libdb3 libtiff4 xemacs21 xemacs21-basesupport
      xemacs21-bin xemacs21-nomule xemacs21-support
    Suggested packages:
      xemacs21-supportel
    The following packages will be REMOVED:
      emacs21
    The following NEW packages will be installed:
      libcompfaceg1 libtiff4 xemacs21 xemacs21-basesupport xemacs21-bin xemacs21-nomule xemacs21-support
    The following packages will be upgraded:
      gettext-el libdb3
    2 upgraded, 7 newly installed, 1 to remove and 569 not upgraded.
    Need to get 26.3MB of archives.
    After unpacking 73.9MB of additional disk space will be used.
    Do you want to continue? [Y/n] y
    I guess you can't remove emacs, some functionallity it offers is needed - so if you remove it, a substitute has to be installed.

  3. #3
    Senior Member registered user
    Join Date
    Mar 2003
    Posts
    555

    Re: HELP with apt-get

    Weird indeed ! Maybe you should use the '-s' flag (simulate) first so you see what apt would do. Try 'apt-get -s remove xemacs21' Deborphan is also useful to spot unneeded libraries which are safe to remove.

    Quote Originally Posted by drews
    and another question is: when I'm thru with apt-get can I remove all the files under /var/cache/apt?
    Yes, you can purge the local package cache. just type 'apt-get clean'

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  


DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45 picture

DELL PowerEdge R630 8SFF Server 2x E5-2680v4 2.4GHz =28 Cores 128GB H730 4xRJ45

$346.00



Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD picture

Dell PowerEdge R630 Server 2x E5-2680 V4 = 28 Cores S130 32GB RAM NEW 480GB SSD

$256.99



Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330 picture

Dell PowerEdge R630 Server 2x E5-2640v3 2.60Ghz 16-Core 64GB H330

$182.65



Dell Poweredge R730xd 3.5 2x E5-2666 v3 2.9ghz  128gb  H730  14x Trays  2x 1100w picture

Dell Poweredge R730xd 3.5 2x E5-2666 v3 2.9ghz 128gb H730 14x Trays 2x 1100w

$519.99



Dell PowerEdge R420 2 2.5 6C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU picture

Dell PowerEdge R420 2 2.5 6C,16GB,8TB,RAID5,IDRAC7 ENT,2PSU

$150.00



DELL POWEREDGE R630 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU picture

DELL POWEREDGE R630 8 x 2.5'' 2X E5-2680V4 32GB RAM IDRAC ENT & NDC 2X 495W PSU

$179.95



Dell PowerEdge R720xd 26HDD 300gb  2.5-inch E5-2697  X 2CPU 384RAM 7.2 Tb HDD  picture

Dell PowerEdge R720xd 26HDD 300gb 2.5-inch E5-2697 X 2CPU 384RAM 7.2 Tb HDD 

$180.00



Dell R630 Server 2x E5-2620 V4 2.1GHz = 16 Cores 64GB DDR4 2x 1Gb 2x 10Gb RJ45 picture

Dell R630 Server 2x E5-2620 V4 2.1GHz = 16 Cores 64GB DDR4 2x 1Gb 2x 10Gb RJ45

$275.00



DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R430 8SFF 2x E5-2680v4 2.4GHz =28 Cores 32GB H730 4xRJ45

$296.00



DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45 picture

DELL PowerEdge R730 Server 2x E5-2680v3 2.5GHz =24 Cores 32GB H730 4xRJ45

$249.00