manually fixing dependencies
Hi
I've actually just installed ubuntu 7.04 amd64, but I figured the Debian forum might be a better bet for a question about using apt-get flags and CLI. I would like to know how to use dpkg / apt-get with reference to manually clearing up dependencies. Firstly, how do I get apt-get to install a local deb and resolve its dependencies? On Fedora, I would have done: Quote:
Quote:
Trying (the only thing I could think of): Quote:
Quote:
Secondly, another question in regard to resolving dependencies. I was trying to compile a program, and one of the problems with ./configure for example was Quote:
Thanks |
first of all, you make life easier on yourself if you use aptitude, not apt-get.
Quote:
Quote:
http://www.debian.org/doc/manuals/re...ackage.en.html hope this helps |
Quote:
|
Thanks guys, that's great.
|
Hi
I have another question. I have been trying to use aptitude to install a package. However, whenever I try to do so, aptitude keeps on trying to install different packages in order to fix some broken dependencies for a certain couple of completely different packages. However, I want these two packages to remain broken (I'm using a compiled version of the missing dependency, instead of a .deb). Although I like the fact that aptitude tries to fix broken dependencies generally, I would like to have it stop bothering me about the dependency for these particular 2 packages whenever I try to install something! How can I do so? Thanks |
Quote:
Code:
apt-get build-dep <package> For getting dependencies of a .deb , there is an automatic tool but I can't find it.. otherwise, just do something like this Code:
cd /tmp |
I think for your dependency, you could use this.
Dirty way: Go in /var/cache/apt, modify the control file of the package to remove the unwanted dependencies. |
Quote:
|
I'd rather not have to bother creating a .deb out of this program I've compiled in order to meet the dependency.
Surely there must be some configuration file I can alter in order to ignore the dependency problem of the 2 packages aptitude insists on trying to fix? |
It's the "dirty way" in my previous post. Never tried it though..
Is it possible to put on hold an uninstall package? Hum.. Also in /etc/apt/preferences you could forbid the dependencies version. Now you have 4 or 5 methods, choose :) |
Quote:
manipulating the control file is probably justified in this situation... i wouldn't make a habit of it, though ;) btw, Code:
man -k dependenc Code:
dpkg-checkbuilddeps -B [control file] |
Not being too familiar with debian, equivs looked the most understandable, and it seems to have fixed the problem very nicely.
Thank you! ( for anyone else reading this, the howto is here: http://www.debian.org/doc/manuals/ap...elpers.en.html ) |
All times are GMT -5. The time now is 11:54 PM. |