I get errors when i run a packages update

  • Everything is working fine but when i try to update the software i sistematically receive this kind of error messages:


    Processing system modifications ...

    dpkg: errore nell'elaborare il pacchetto openmediavault (--configure):

    il sottoprocesso installato pacchetto openmediavault script post-installation ha restituito lo stato di errore 1

    dpkg: problemi con le dipendenze impediscono la configurazione di openmediavault-omvextrasorg:

    openmediavault-omvextrasorg dipende da openmediavault (>= 5.0); tuttavia:

    Il pacchetto openmediavault non è ancora configurato.


    dpkg: errore nell'elaborare il pacchetto openmediavault-omvextrasorg (--configure):

    problemi con le dipendenze - lasciato non configurato

    Si sono verificati degli errori nell'elaborazione:

    openmediavault

    openmediavault-omvextrasorg

    E: Sub-process /usr/bin/dpkg returned an error code (1)


    What have i to do to fix this? I tryed following some previous posts but nothing helped... Thank you all in advance :)

  • I need more of the error message. If you can not get more from the GUI go to the cli and sudo apt-get update.

    post the result in a code box (</> button in the editor)

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Hi Zoki,

    Thanks for your help, this is the result, and these are the source lists.


    Code
    deb http://deb.debian.org/debian/ buster main
    deb-src http://deb.debian.org/debian/ buster main
    
    deb http://deb.debian.org/debian/ buster-updates main
    deb-src http://deb.debian.org/debian/ buster-updates main
    
    deb http://security.debian.org/debian-security buster/updates main
    deb-src http://security.debian.org/debian-security buster/updates main



  • if i try to install apt-transport-https package package i get this error




  • Do you still have the old bintry repo in your /etc/apt/sourcel.list.d/... ?


    and clean up /etc/apt/sources.list.d/openmediavault.list


    If you need help: ls -l /etc/apt/sources.list.dand cat /etc/apt/sources.list.d/openmediavault.list post output in code box.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Yes thanks,

    can you help me to correct the source list, with an editor do I have to remove the comments?


  • Yes thanks,

    can you help me to correct the source list, with an editor do I have to remove the comments?

    Code
    root@Jarvis:~# cat /etc/apt/sources.list.d/openmediavault.list
    
    deb https://packages.openmediavault.org/public usul main
    ...
    ...
    deb https://packages.openmediavault.org/public usul main

    You have the same line, repeated. Comment one of them with a front #.


    nano /etc/apt/sources.list.d/openmediavault.list and make one of those lines like this:

    Code
    # deb https://packages.openmediavault.org/public usul main
  • Thanks Soma for replying to my post.

    I corrected the source list, with this one

    i tried to update, and i get this error

    Code
    root @ Jarvis: ~ # apt-get update
    Found: 1 http://security.debian.org/debian-security buster / updates InRelease
    Found: 2 http://deb.debian.org/debian buster InRelease
    Found: 3 http://deb.debian.org/debian buster-updates InRelease
    Reading package list ... Done
    E: Could not find a driver for the / usr / lib / apt / methods / https method.
    N: Is the apt-transport-https package installed?
    E: Unable to retrieve https://packages.openmediavault.org/public/dists/usul/InRelease
    E: Unable to download some index files - they will be ignored or old ones will be used.
    root @ Jarvis: ~ #

    I tried to install the missing package and got this other error

    Code
    root @ Jarvis: ~ # apt-get install apt-transport-https ca-certificates
    Reading package list ... Done
    Dependency tree generation
    Read status information ... Done
    E: The openmediavault-omvextrasorg package needs to be reinstalled, but an archive of it cannot be found.
    root @ Jarvis: ~ #
  • Better wait for Zoki or other input.


    Can't ssh to my OMV, from where I'm now to check the sources.list

  • Code
    root @ Jarvis: ~ # dpkg -C
    The following packages have errors due to serious problems during
    installation. You need to reinstall them, along with any packages that
    depends on you, for them to work properly:
      openmediavault-omvextrasorg OMV-Extras.org Package Repositories for OpenMediaV
  • I am away of my omv too, but you do not have a repo for omv-extras in your sources.list.d.


    You could try if the install script


    Code
    sudo wget -O - https://github.com/OpenMediaVault-Plugin-Developers/installScript/raw/master/install | sudo bash

    fixes the error.


    Ore someone else posts the correct sources.list.d files. I can to in about 7 hours.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • I tried the install script but got this error


  • are you using the omv-extras at all? If not you could try to remove it, so the update does not hit the non existing repo definition.

    Otherwise you have to wait for someone who is close to his omv to provide the correct repo.

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • Unsupported version. Only Debian 10 (Buster) and 11 (Bullseye) are supported. Exiting...

    I don't understand this:


    what is the output of:

    cat /etc/*version

    cat /etc/*release

    lsb_release -d


    Zoki

    Does this makes any sense?

  • This is the required output


  • Soma the error message is a result of missing lsb_release command.

    But why is this missing (missing usrmege?)

    If you got help in the forum and want to give something back to the project click here (omv) or here (scroll down) (plugins) and write up your solution for others.

  • I have the problem with openmediavault-omvextrasorg


    Code
    root @ Jarvis: ~ # sudo apt install lsb-core
    Reading package list ... Done
    Dependency tree generation
    Read status information ... Done
    E: The openmediavault-omvextrasorg package needs to be reinstalled, but an archive of it cannot be found.
    root @ Jarvis: ~ # 

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!