Giter Club home page Giter Club logo

Comments (9)

andyone avatar andyone commented on July 18, 2024 2

Related issue in rpm — rpm-software-management/rpm#2553

from libdnf.

Safari77 avatar Safari77 commented on July 18, 2024

If I do sqlite3 /var/lib/dnf/history.sqlite VACUUM\; , I can run dnf at least once without segfaulting.

from libdnf.

achilleas-k avatar achilleas-k commented on July 18, 2024

I ran into this while running tests in osbuild-composer with up-to-date packages (with sqlite 3.42.0). Is this an issue in libdnf or sqlite? If it's in sqlite, is there a ticket I can follow for that?

from libdnf.

Safari77 avatar Safari77 commented on July 18, 2024

I am not sure is this libdnf, sqlite, or rpm (see frame #5) bug, as I spent only a couple of minutes troubleshooting this.

from libdnf.

jan-kolarik avatar jan-kolarik commented on July 18, 2024

I don't see any official sqlite 3.42 package for Fedora. Is it something manually built? I cannot reproduce it using the latest versions from Fedora 38: libdnf 0.70.1 rpm 4.18.1 dnf 4.15.1 sqlite 3.40.1.

from libdnf.

Safari77 avatar Safari77 commented on July 18, 2024

It's manually built. After I upgrade a package (history.sqlite is modified), segfaulting starts again.

from libdnf.

jan-kolarik avatar jan-kolarik commented on July 18, 2024

If it's working for you with the current official version of sqlite for Fedora, I would suggest to wait until the new version is released. It might be already fixed by then.

from libdnf.

Safari77 avatar Safari77 commented on July 18, 2024
# dnf upgrade
enabling rpmfusion-free-debuginfo repository
enabling rpmfusion-free-updates-debuginfo repository
Last metadata expiration check: 0:03:33 ago on Wed 24 May 2023 09:52:54 EEST.
warning: (null): notification message: recovered 213 frames from WAL file /var/lib/dnf/history.sqlite-wal
Dependencies resolved.
Nothing to do.
Complete!
# dnf upgrade
enabling rpmfusion-free-debuginfo repository
enabling rpmfusion-free-updates-debuginfo repository
Last metadata expiration check: 0:03:51 ago on Wed 24 May 2023 09:52:54 EEST.
Segmentation fault (core dumped)
#

from libdnf.

jan-kolarik avatar jan-kolarik commented on July 18, 2024

I guess if there has been already some operation involved using the manually built sqlite, the db could be broken. Could you check the dnf check output please?

from libdnf.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.