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
  •  


1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray picture

1U IBM x3550 M5 4 Bay SFF SAS3 Server 2x E5-2683 V3 28 Core 128GB DDR4 2x Tray

$318.00



ibm server z series picture

ibm server z series

$16000.00



IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD picture

IBM Power S822 12-Bay Server System Power8 Core 3.42Ghz DVD-Rom Drive 64GB No HD

$399.99



IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server  picture

IBM Power 720 POWER7 00E6516 3.6GHz CPU 64GB RAM Server

$209.98



IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES picture

IBM 7944AC1 System x3550 M3 Server 1*Intel Xeon X5650 2.67GHz 4GB SEE NOTES

$26.97



IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server picture

IBM Power 740 8205-E6C Express 8-SFF Power7 3.55GHz CPU 64GB RAM *No HDD* Server

$191.99



IBM System x3500 m3 Server picture

IBM System x3500 m3 Server

$100.00



Lenovo IBM x3500 M5 Tower Server E5-2670 V3 2.30GHz picture

Lenovo IBM x3500 M5 Tower Server E5-2670 V3 2.30GHz

$999.99



IBM X3650 M5 8871-AC1, 2 X E5-2620V4 2.1 GHZ,20M, 32 GB, DUAL 750W, 2 X 1TB HDD picture

IBM X3650 M5 8871-AC1, 2 X E5-2620V4 2.1 GHZ,20M, 32 GB, DUAL 750W, 2 X 1TB HDD

$369.99



IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W picture

IBM Lenovo X3650 M5 2U 8x 2.5” CTO Rack Server – 2x HS, 2x 750W

$199.00