LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Apt-get - developer question (https://www.linuxquestions.org/questions/debian-26/apt-get-developer-question-492604/)

d3viCe 10-15-2006 11:06 AM

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 :)

BigVig 10-15-2006 11:19 AM

translation
 
Um, all of the message you included in your text would appear to be in Polish or Czech.

I won't be able to help, but I believe others will if it is posted in English since most of the people on the site speak it.

d3viCe 10-15-2006 11:26 AM

Reading package lists...
Building dependency tree...
You might want to run `apt-get -f install' to correct these.
The following packages have unmet dependencies:
foo1: PreDepends: foo2 (>= 1.2.3) but it is not installable


All times are GMT -5. The time now is 04:54 AM.