-
Notifications
You must be signed in to change notification settings - Fork 134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unsatisfied dependency for Brewtarget update in ubuntu 24.01 #840
Comments
Sorry you're hitting problems. I'll try to look at the dependencies in the packages at some point. In the meantime, you should be able to workaround by doing the following from the command line before installing Brewtarget:
But give me a shout if this doesn't work. |
Hi Matt, Sadly this workaround will not work, it returns the comment: libqt5core5t64 is selected instead off libqt5core5a |
Ah, hmm, OK. Maybe we just need to change the name of the dependency. Could you post the exact error message you get when you try to install Brewtarget? |
And if you want to install it through root, or synaptic: Package libqt5core5a is not available, but exists in the database. |
Thanks - that's helpful. Hopefully it's just a question of updating the dependency list in the package. I'll have a look. (In the near future, we'll be on Qt 6, but I'm still debugging the upgrade, so I will try to fix this Qt5 dependency in the meantime.) |
When you get a moment, try with the patched installers downloadable from https://github.com/Brewtarget/brewtarget/actions/runs/11132482035 (or tonight's nightly builds when they run) and see if that fixes the problem. I've replaced the |
FYI, I think the change in library name was because of efforts in Debian to fix the "year 2038 problem" -- see https://wiki.debian.org/ReleaseGoals/64bit-time. |
Hi Matt, The install went fine, although some decencies needed to be removed during installation. Problem is after is says database with new ingredients is successful loaded, it wont start but just close the application. So now I don't have any working version anymore. (24.01 version) |
Ah, no, how frustrating. Don't worry though. There will be a solution! Just have to work out what's causing it to shut down - most likely either an assert or a crash. Can you post the Brewtarget log file here? |
Hi Matt, hereby the log files, also have the crash report, but it's 21mb and the file is not supported. So if you want have to convert it to a plain text. |
Thanks for that. I don't need the crash report for this one, but would you be able to upload your |
From what I could tell in the log files, the program is encountering unexpected things in the database. It could be that your database has some unusual data in (that the code didn't account for), or it could be that it somehow got into a bad state (perhaps during one of the DB upgrades). I'm hoping the remaining work is either to fix your DB correctly or to make improvements to the DB upgrade process so that you can re-run it on your backup copy (which the upgrade process automatically makes before doing any modifications). |
Hi Matt, Indeed the problem lays in the data base. As I renamed the data base as old. It start. But every time I try to pull back the old database the program refuse to start. |
Many thanks for sending through your DB file. It did indeed give a clue to the remaining problem. In the old database schema, it's possible to create a salt addition for a recipe that has "never" as the value for "when to add". This doesn't make a huge amount of sense (unless there is something else you wanted to do with the salt whilst brewing 😃), so we omitted this possibility from the new schema. However, we didn't correctly handle such "never" values when upgrading the database. I've added a fix (and tested it on your database file) in #856, which should make its way through to the main code within the next week. |
Fix included in Brewtarget 4.0.7. |
Brewtarget -4.05_24-1 pending on libqt5core5a, which is not available in Ubuntu 24.01. Installation is not possible. Pendency is not available in synaptic.
The text was updated successfully, but these errors were encountered: