[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to tell WHY apt wants to install so many packages





Dave Ewart <davee@sungate.co.uk> wrote on 18/01/2005 06:12:44 PM:

> On Tuesday, 18.01.2005 at 17:39 +0100, Christian Schnobrich wrote:
>
> > On Tue, 2005-01-18 at 09:31 -0500, Marc Shapiro wrote:
> > > Is there any package, or command, that will go through the "depends'
> > > for a packages and tell me exactly why apt-get wants to install over
> > > 30MB of packages when all I am trying to do is remove ONE package.
> >
> > I have not gone through your list and tried to figure it out. This is
> > just the first thought that crossed my mind:
> >
> > apt will by default try to update packages where a newer version is
> > available. So even if all you type ist "apt-get install something", it
> > will not only get the the package something, but also fetch newer
> > versions of already-installed packages as if you typed "apt-get
> > upgrade".
> >
> > I don't know if this can be turned off somewhere. My personal
> > workaround is not to update the package lists until I want to upgrade.
> > So in the meantime apt-get won't even know that there is a newer
> > version and hence won't upgrade.
>
> But 'apt-get upgrade' isn't supposed to add or remove any packages,
> simply replace newer versions of older versions of already-installed
> packages.
>
> 'apt-get dist-upgrade' will play with dependencies.
>
> I also don't understand why an 'apt-get install' or 'apt-get remove'
> seems to pick up the behaviour of 'apt-get dist-upgrade' in this
> context.

Maybe some packages have not be installed correctly in the past. Try apt-get -f install to see, if any packages are missing. After that try apt-get remove yourunwantedpackage and only this one should be removed...

hth,
Andy
 

> Dave.
> --
> Dave Ewart - davee@sungate.co.uk - jabber: davee@jabber.org
> All email from me is now digitally signed, key from http://www.sungate.co.uk/
> Fingerprint: AEC5 9360 0A35 7F66 66E9 82E4 9E10 6769 CD28 DA92
>
> [attachment "signature.asc" deleted by Andreas Sumper/nimbus-development]


----------------------------------------------------------------------------
| Andreas Sumper
| Project Management / Security / Administration
|
| nimbus Development IT Consulting GmbH
| we unleash the power of domino
|
| Annenstrasse 30/1
| 8020 Graz
| Tel.: +43 (0) 316 714 255 -> DW 18
| Fax: +43 (0) 316 714 255 -> DW 4
| http://www.nimbus.at/
----------------------------------------------------------------------------
| sent through Lotus Notes 6.5.1
| using wine on a linux box


Reply to: