You are not logged in.
trying to upgrade packages with yay, idk what your support or not, I'll ask anyway.
aur/flutter 3.0.1-1 -> 3.0.3-1
I did flutter doctor and flutter upgrade and the result is now 3.0.3 is installed
However running yay 3.0.1-1 is still installed.
So I need a way to mark a package with a specific version as already installed.
How?
Offline
I did flutter doctor and flutter upgrade and the result is now 3.0.3 is installed
I'm not sure what any of that means. Please post the complete commands and output. But I gather you did some manual update of flutter, and now flutter itself is reporting the 3.03 version, is that right? Did you run this manual update as root? You shouldn't!
However running yay 3.0.1-1 is still installed.
That means only a 3.0.1-1 package was installed. There is no way for your package manager to track what you do manually. This is one of several reasons why you should not install software in these ways: use your package manager properly.
So I need a way to mark a package with a specific version as already installed.
You need to upgrade / install the package. Use makepkg and pacman to do this and stop using Yay until you understand how package management works on your system.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
This is not a System Administration topic.
As this seems focused on yay, moving to AUR Issues
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way
Offline
It means flutter was upgraded outside of AUR and now I need a way to mark a different version as installed.
But I think it's better to just remove flutter, it's currently marked out of date, and a manual "flutter upgrade" is quicker than waiting for the package to be in sync with the current update.
So I have another question:
Instead of marking a higher version package as installed, is it possible to mark a package as uninstalled without actually uninstalling any files?
pacman -R --dbonly is the answer to that
Last edited by dalu (2022-07-04 09:00:23)
Offline
Your post #4 is a recipe for disaster / making a mess of your system.
Use pacman to manage flutter on your system (best solution) or manage it manually yourself outside of pacman .
Don't mix those 2 methods.
Incase aur maintainers are slower then you'd like with updating the flutter package, you can try updating the flutter pkgbuild to latest version yourself.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline