Apt-get - developer question
I'm migrating my distribution from IPKG to DPKG and I came across a problem.
I've installed a deb via dpkg (on the old IPKG system) forcing no dependency checks and then I tried to run apt-get check to attempt to fix the dependency problem.
Here is what I got:
root@roadwarrior:/ :) apt-get check
Czytanie list pakietów... Gotowe (reading package list.. done)
Budowanie drzewa zależności... Gotowe
Należy uruchomić `apt-get -f install', aby je naprawić.
Następujące pakiety mają niespełnione zależności:
foo1: PreWymaga: foo2 (>= 1.2.3) ale nie da się go zainstalować (but I cannot install it)
E: Niespełnione zależności. Spróbuj użyć -f.
I guess I'm missing the list of all packages that my disto provides. And now the question how to generate such a list? I'm not familiar with debian. I think that the list should go into /usr/lib/apt or /usr/share/apt, but I'm not shure. The apt sources don't provide an example documentation, nor the apt debian .deb provides such a list of packages (is it dynamically generated by the installer?).
All my packages are located on an installation DVD in a similar (but not identical) file structure to the one in Slackware (packages/{group1,group2,etc.}). The user installs the packages forcing no deps, and then in the end apt-get check would be called, automatically installing the missing deps. I'm no good programmer and this is the only way I could think of :)
Last edited by d3viCe; 10-15-2006 at 11:07 AM.
|