Coder Social home page Coder Social logo

DietPi update about dietpi HOT 4 CLOSED

macraj avatar macraj commented on May 20, 2024
DietPi update

from dietpi.

Comments (4)

Joulinar avatar Joulinar commented on May 20, 2024 1

Guys this is a development branch. Not even in Beta status. But thx for reporting.

from dietpi.

MichaIng avatar MichaIng commented on May 20, 2024 1

Fixed with: 7badaa5

In your cases, if you fixed it manually via touch or alike, no need to do anything else, as this is precisely what the pre-patch does as well. However, I suggest to switch back to master branch, unless you want to test something specific from the development branch.

from dietpi.

Trimble-tech avatar Trimble-tech commented on May 20, 2024

I had the same issue on a RPi4B; opening a sub-shell in the /tmp directory shows the pre-patch_file, server_version-6, and the dev.tar.gz not being present. Also, when running DietPi-BugReport the process was unable to finish after extended wait.

Below is the details output by the update error:

  • Date | Thu Jan 11 11:29:39 EST 2024
  • DietPi version | v9.-1.0 (MichaIng/dev)
  • Image creator |
  • Pre-image |
  • Hardware | RPi 4 Model B (aarch64) (ID=4)
  • Kernel version | Linux Piper2 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
  • Distro | bookworm (ID=7,RASPBIAN=0)
  • Command | rm dev.tar.gz DietPi-dev/dietpi/pre-patch_file DietPi-dev/dietpi/server_version-6
  • Exit code | 1
  • Software title | DietPi-Update
    Based on the details I see here and in the original post, I believe the issue is due to the test images getting upgraded to Bookworm earlier; the updater is looking for files that don't exist due to it. In particular, they are the following in my case:
  • /tmp/DietPi-Update/DietPi-dev/dietpi/pre-patch_file
  • /tmp/DietPi-Update/DietPi-dev/dietpi/server_version-6
  • /tmp/Dietpi-Update/dev.tar.gz

I opened a sub-shell and touched all of these files (touch filename) to create them, then the update proceeded as normal. So far my system works and reports version 9.0.0 (dev) but I am unsure if this is a reasonable fix for the problem.

from dietpi.

MichaIng avatar MichaIng commented on May 20, 2024

Generally, if you are not aware that you were on a (naturally unstable) development branch:

G_CONFIG_INJECT 'DEV_GITBRANCH=' 'DEV_GITBRANCH=master' /boot/dietpi.txt

I was tinkering with removing the obsolete DietPi v6 files from the repo last night. I thought I had fixed it, worked on my VM finally, but seems it was too late and I was too tired.

DietPi version | v9.-1.0 (MichaIng/dev)

Hmm, that alone is strange already, it should be v9.0.-1 🤔.
EDIT: Ah nope all right if you were on v9.0.-1 before. Then v9.-1.0 would be an intermediate step to v9.0.0, to have the v9.0 patches applied again on the patch version increment.

EDIT: Ah, and now I know what the issue is: When the system was on v9.0 already but did this just as patch version update, the intended pre-patch is not applied.

from dietpi.

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.