[Resolved]dpkg error processing archive

  • First updated from OMV5 -> OMV6, no issues. Ran the fix5to6 script and went through some settings on the web GUI to see that everything seemed to work fine.


    Then decided to update to OMV7:

    omv-upgrade -> no issues.

    omv-release-upgrade gave this issue:


    Code
    Unpacking wireless-tools (30~pre9-14) over (30~pre9-13.1) ...
    Errors were encountered while processing:
     /tmp/apt-dpkg-install-FVkzV3/46-firmware-ath9k-htc_1.4.0-108-gd856466+dfsg1-1.3+deb12u1_all.deb
    E: Sub-process /usr/bin/dpkg returned an error code (1)


    Looked that the linux is now bookworm and I can still access the shares and ssh as well as all the docker containers, but when I try to access the omv webGUI, I get 502 bad gateway when I try to login.


    running dpkg --configure -a didn't help


    Any ideas on what to do?


    Edit:

    searched the forums a bit more and found a similar older issue where this helped:

    Code
    sudo dpkg -P firmware-ath9k-htc


    Helped for me too, now there are no errors, can run omv-upgrade without issues, but the 502 Bad gateway persists.

    from another thread, found that this fixed that issue:

    Code
    omv-salt stage run deploy

    Error now changed to 500 when I try to log in. (running that command gave no errors)


    Edit2:

    nginx error logs show this:

    Code
    [crit] 1066#1066: *9 connect() to unix:/run/php/php7.4-fpm-openmediavault-webgui.sock failed (2: No such file or directory) while connecting to upstream, client: 192.168.1.246, server: openmediavault-webgui, request: "POST /rpc.php HTTP/1.1", upstream: "fastcgi://unix:/run/php/php7.4-fpm-openmediavault-webgui.sock:", host: "192.168.1.91", referrer: "http://192.168.1.91/"
    • Official Post

    The error message says your system is still using php7.4 when it should be using php8.2. Did you run the fix6to7upgrade script?

    omv 7.7.3-1 sandworm | 64 bit | 6.11 proxmox kernel

    plugins :: omvextrasorg 7.0.2 | kvm 7.1.2 | compose 7.4.4 | cputemp 7.0.2 | mergerfs 7.0.5 | scripts 7.1


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

  • Well, that was stupid of me.


    Did not run the fix6to7 upgrade script, since I didn't want to run anything when I had the original error.

    Running it now fixed the issue.


    Thank you very much for the fast help!

  • charyouz

    Added the Label resolved
  • charyouz

    Changed the title of the thread from “dpkg error processing archive” to “[Resolved]dpkg error processing archive”.

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!