1
0
mirror of https://github.com/openSUSE/libsolv.git synced 2026-02-05 12:45:46 +01:00
Michael Schroeder 8780860b34 solver_addbestrules: recalculate pointer to current rule after adding a new rule
The code adds new rules in a FOR_RULELITERALS loop. The iterator needs
to access elements of the rule it iterates over, so if we add a new
rule in the loop body, we have to make sure that the pointer to the
current rule stays valid.

Fixes issue #594
2025-07-25 11:10:33 +02:00
2025-04-15 13:13:27 +02:00
2024-03-27 14:05:11 +01:00
2025-07-24 13:43:26 +08:00
2025-04-15 12:53:25 +02:00
2021-03-18 08:22:44 -05:00
2013-05-17 16:39:06 +02:00
2019-04-12 13:54:37 +02:00
2011-05-24 17:05:41 +02:00
2019-03-30 18:08:22 +01:00
2019-03-30 18:08:22 +01:00
2007-11-08 11:37:00 +00:00
2025-07-07 13:51:03 +02:00
2025-03-19 15:26:20 +01:00
2019-08-02 11:43:28 +02:00

Libsolv
=======

This is libsolv, a free package dependency solver using a satisfiability
algorithm.

The code is based on two major, but independent, blocks:

 1. Using a dictionary approach to store and retrieve package and
    dependency information in a fast and space efficient manner.

 2. Using satisfiability, a well known and researched topic, for
    resolving package dependencies.

The sat-solver code has been written to aim for the newest packages,
record the decision tree to provide introspection, and also provides
the user with suggestions on how to deal with unsolvable
problems. It also takes advantage of repository storage to
minimize memory usage.

Supported package formats:

  - rpm/rpm5
  - deb
  - arch linux
  - haiku
  - apk 

Supported repository formats:

  - rpmmd (primary, filelists, comps, deltainfo/presto, updateinfo)
  - susetags, suse product formats
  - mandriva/mageia (synthesis, info, files)
  - arch linux
  - red carpet helix format
  - haiku
  - apk 

Build instructions
==================

Requires: cmake 3.5 or later

    mkdir build
    cd build
    cmake ..
    make

////
vim: syntax=asciidoc
////
Description
Library for solving packages and reading repositories
http://en.opensuse.org/openSUSE:Libzypp_satsolver
Readme 31 MiB
Languages
C 86%
SWIG 5.3%
Perl 4.3%
CMake 3.2%
Raku 0.9%
Other 0.3%