When I installing
.deb packages by hand I often encounter circular dependencies.
I, then, install it with
dpkg -i --force-depends ... and hope it works.
apt handle circular dependencies?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.Sign up to join this community
Circular dependencies happen in the repositories, but the ones left standing obey some specific rules.
Usually these are tightly bound packages (such as between
perl-modules), so the
Depends relationship between them specify the exact version number. For example,
g++-4.6 4.6.3-1ubuntu5 depends on
libstdc++6-4.6-dev (= 4.6.3-1ubuntu5), and
libstdc++6-4.6-dev 4.6.3-1ubuntu5 on
g++-4.6 (= 4.6.3-1ubuntu5). Such packages are always installed, upgraded or removed together. As to the algorithm that
apt-get uses, I don't know, but you can read up on the
aptitude algorithm on the
aptitude creator's page.