Updating retropie always reinstalls every package
-
@retro81 Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first
Please provide details of your setup. Binaries were all recently updated so they would have updated - are you installing packages from binary or source ? Please provide a log from RetroPie-Setup/logs.
-
@buzz I realized the same moment I posted the question and edited with my system details. Where can I upload the logs to? Regarding the binaries or source question, probably binaries, I just use the retropie setup script. The thing is no matter how many times over the past month I do an update, it always reinstalls many packages that were already on latest version.
-
@retro81 If you have installed from source, it will always update. Binaries update when a new binary is available, but it doesn't mean the version is newer. eg - currently some packages are still rebuild, even though it's essentially the same version. This is a limitation in the packaging system and the way binaries are currently built.
However, if you can show me you updating now, then doing another update right away and it installing everything again, that could point to an issue.
You can unzip the log and upload to a pastebin site
-
@buzz excuse my lack of knowledge but not sure about installing from source - I always used the retropie-script to install or update anything. I just relaunched the update process (without kernel packages) and it's rebuilding skyscraper again (which is the longest update by far) - I will upload the logs to pastebin and provide a link soon. Thanks!
-
@retro81 If it's rebuilding it means you have installed from source or are using an older RetroPie that no longer is supported. Do you get any messages when running RetroPie-Setup ? What does RetroPie-Setup say at the top of the menu after "System:" ?
source packages are always updated if you update as we cannot tell currently if there are "updates" or not.
You can go to manage packages and see how things are installed.
-
@buzz I installed the official retropie distro just back in November, I think it was 4.7.1 - this is what the setup script says after System: rpi3 (armv7l) - running on Raspbian GNU/Linux 10 (buster)
Logs below
update-1: https://pastebin.com/dgSitngd
update-2: https://pastebin.com/vzrGs9Eq -
@retro81 In the second log advmame and other binaries that were updated in the first log weren't updated so this looks correct. Skyscraper will be updated everytime unless you switch it to a binary install (via manage packages)
-
...just a thought: could it be that I used the Update feature inside the skyscraper script a few weeks ago?
-
@retro81 Yes - that will install the latest version from source which will mean you have a source install then.
-
@buzz ok great, should we maybe remove the Update feature inside the skyscraper script?
-
@retro81 I think it's ok to leave it as is - the author put it there as it checks specifically if there is a new version out which could be useful for some people. In the future we may be able to improve the update mechanism for source installs in RetroPie-Setup itself. Just switch your install to binary from Manage packages and don't use the Skyscraper update mechanism and you will be fine.
-
@buzz got it.
Today I learned how to identify packages installed from source or precompiled binary, thanks for your superfast help! :) -
@retro81 Actually I may make it ask the user to update from RetroPie-Setup, to keep updating handled in one place.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.