Comments (9)
Related issue in rpm — rpm-software-management/rpm#2553
from libdnf.
If I do sqlite3 /var/lib/dnf/history.sqlite VACUUM\;
, I can run dnf at least once without segfaulting.
from libdnf.
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.
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.
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.
It's manually built. After I upgrade a package (history.sqlite is modified), segfaulting starts again.
from libdnf.
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.
# 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.
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)
- Usage in 3rd party projects HOT 3
- Verify repodata integrity HOT 3
- RFE: zstd metadata support HOT 2
- Make libdnf read environment variables HTTP_PROXY and HTTPS_PROXY for global proxy configuration HOT 4
- System repo opening issue with Packagekit (only) HOT 1
- gpgme does not install gpgme-config by default HOT 4
- Tests throw exception: "trailing backslash (\\)" HOT 2
- libdnf5 (python): `TransactionItem.get_reason_change_group_id()` is always empty? HOT 2
- Countme should report system age, not repository age HOT 14
- Weblate translation pulling HOT 3
- 0.71.0: test suite is failing in `test_libdnf_main` unit HOT 8
- Implement versionlock as a plugin for use in PackageKit HOT 2
- A pull request into rhel-8.10 branch executes CI tests on Fedora 38
- Difference in comment parsing HOT 1
- dnf-context: Do not modify global configuration when setting options HOT 1
- 0.73.0: test suite fails in assertion of the `test_libdnf_main` unit because use `g_assert ()` in test units HOT 1
- dnf history rollback cmd causes core dump HOT 1
- Reinstalling a packge warns "cannot find THE_PACKAGE in uninst-start" HOT 1
- Review OpenScanHub resuls for libdnf HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libdnf.