How to clean up apt-get

Al Byers byersa at
Fri Sep 16 11:22:01 MDT 2005

On Thu, 2005-09-15 at 23:59 -0600, Tyler Strickland wrote:
> On 09/15/2005 11:48 PM, Al Byers wrote:
> > I tried using apt-get to install some packages and ran into dependency
> > hell. I don't want to continue working with them. How do I get them to
> > go away? I have tried "clean" and "remove" options, but nothing is
> > in /var/cache/apt... anyway. Where do these packages come from? Why do
> > they keep showing up and how can I get rid of them?
> > 
> > byersa at ubuntu:/var/cache/apt/archives/partial$ sudo apt-get -f install
> > Reading package lists... Done
> > Building dependency tree... Done
> > Correcting dependencies... failed.
> > The following packages have unmet dependencies:
> >   libssl-dev: Depends: libssl0.9.7 (= 0.9.7e-3ubuntu0.1) but 0.9.7g-2 is
> > installed
> >   libssl0.9.7: Depends: libc6 (>= 2.3.2.ds1-21) but 2.3.2.ds1-20ubuntu13
> > is installed
> >   ymessenger: Depends: libssl0.9.6 but it is not installable
> > E: Error, pkgProblemResolver::Resolve generated breaks, this may be
> > caused by held packages.
> > E: Unable to correct dependencies
> > b

Thanks for your help. I noticed that the reason it fails the dependency
is not the version number, but the fact that the ubuntu packages have
"ubuntu" attached to them. So I guess ubuntu and debian archives are not
compatible? Seems like a waste.


> The tool to use for low-level package management is dpkg.  For example: 
> 'dpkg -r <packagename>' will remove a package.  The man page also 
> describes other options to force removal even with dependency issues.
> As for the libssl issues, I use debian, not Ubuntu, and I'm not sure how 
> exactly they differ in repository management.  My guess would be one of:
> 	a) There's some sort of transition going on in the repository
> 	b) You're hooked up to multiple repositories hosting the same
> 		files with different versioning schemes
> I'll let the Ubuntu guys on the list give you a better answer for that 
> question.
> --Tyler
> /*
> PLUG:, #utah on
> Unsubscribe:
> Don't fear the penguin.
> */

More information about the PLUG mailing list