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
  •  


SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT picture

SFP TO RJ45 TRANSCEIVER SFP MODULE COPPER SFP OPTICAL PORT TO RJ45 ETHERNET PORT

$7.99



Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter picture

Dell Intel X710-DA2 5N7Y5 Dual-Port 10GbE SFP+ PCIe 3.0 x8 Network Adapter

$27.50



NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping* picture

NEW Sealed Cisco SFP-10G-LR 10GBASE-LR SFP+ 1310nm 10km *US Shipping*

$24.00



HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001 picture

HPE 560SFP 2x 10Gb SFP+ PCIe Both Profile Network Card 669279-001 665247-001

$14.90



Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver picture

Lot of 500 Cisco 10-3145-02 QSFP-100G-CWDM4-S 100G CWDM4 QSFP28 Transceiver

$1500.00



Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver picture

Genuine Cisco SFP-10G-SR 0-2415-03 10 Gigabit Transceiver

$5.40



HP 560SFP+ 10GB 2-port  PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+ picture

HP 560SFP+ 10GB 2-port PCIe NIC Ethernet ADAPTER 669279-001 w/ (2) 10GB SFP+

$16.99



*Lot of 20* Cisco SFP-10G-SR Transceiver Modules picture

*Lot of 20* Cisco SFP-10G-SR Transceiver Modules

$89.99



Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP picture

Extreme Networks 10GE X440-G2-24P-10GE4 16533 24Plus-Ports POE+ Switch UP

$127.00



Trenz Electronic SFP to SMA Adapter Board PCB Module picture

Trenz Electronic SFP to SMA Adapter Board PCB Module

$105.00