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
  •  


A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G picture

A-Tech 8GB DDR3 1600 PC3-12800 Laptop SODIMM 204-Pin Memory RAM PC3L DDR3L 1x 8G

$13.99



Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory picture

Samsung 16GB 2Rx4 PC4-2133P DDR4-17000 1.2V RDIMM ECC Registered Server Memory

$16.29



HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin picture

HyperX FURY DDR3 8GB 16GB 32GB 1600 MHz PC3-12800 Desktop RAM Memory DIMM 240pin

$12.90



Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS picture

Corsair Vengeance LPX 32GB PC4-25600 (DDR4-3200) Memory NEVER USED LOOSE STICKS

$40.00



A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G picture

A-Tech 8GB PC3-12800 Desktop DDR3 1600 MHz Non ECC 240-Pin DIMM Memory RAM 1x 8G

$13.99



Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM picture

Kingston HyperX FURY DDR3 8GB 16GB 32G 1600 1866 1333 Desktop Memory RAM DIMM

$13.25



A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L picture

A-Tech 16GB 2 x 8GB PC3-12800 Laptop SODIMM DDR3 1600 Memory RAM PC3L 16G DDR3L

$27.98



A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G picture

A-Tech 16GB 2x 8GB PC3-12800 Desktop DDR3 1600 MHz 240pin DIMM Memory RAM 16G 8G

$27.98



A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM picture

A-Tech 256GB 4x 64GB 4Rx4 PC4-19200 ECC Load Reduced LRDIMM Server Memory RAM

$287.96



A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM picture

A-Tech 64GB 4x 16GB 2Rx4 PC4-17000R DDR4 2133MHz ECC REG RDIMM Server Memory RAM

$87.96