Can't update repositories error

    • Can't update repositories error

      Hi since first install I do not getting update as I have error that repos are configured multiple times"

      Target Contents-deb (contrib/Contents-all) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list.d/openmediavault-kernel-backports.list:1

      my source list looks like that:

      Source Code

      1. deb http://httpredir.debian.org/debian stretch main contrib non-free
      2. # deb-src http://httpredir.debian.org/debian stretch main contrib non-free
      3. deb http://httpredir.debian.org/debian stretch-updates main contrib non-free
      4. # deb-src http://httpredir.debian.org/debian stretch-updates main contrib non-free
      5. deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
      6. # deb-src http://httpredir.debian.org/debian stretch-backports main contrib non-free
      7. deb http://security.debian.org/ stretch/updates main contrib non-free
      8. # deb-src http://security.debian.org/ stretch/updates main contrib non-free
      Display All



      that backport.list:

      Source Code

      1. deb http://httpredir.debian.org/debian stretch-backports main contrib non-free
      So yeah line 7 in first list looks like line 1 in second why?
      I downloaded OMV as per instruction, I check sdcard 4 times with tow programs (this is brand new Samsung Evoplus), what is wrong with that installation?

      Another error when I get OMV-extras repos update:


      Source Code

      1. W: GPG error: http://ppa.launchpad.net/kyle1117/ppa/ubuntu cosmic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 3028C3C96AD57103
      2. W: The repository 'http://ppa.launchpad.net/kyle1117/ppa/ubuntu cosmic InRelease' is not signed
      Any suggestion please?
    • Remove the backports line from /etc/apt/sources.list. It was improperly added to the arm images.

      Not much we can do about the kyle1117 repo since it provides the cloudshell packages for the xu4. You can remove it if you don't have a cloudshell.
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Thx, I did it finally I made small update/upgrade but only 2 packages, I still think that is something wrong with my installation. Please have a look at my syslog attached, log from armbianmonitor:
      ix.io/1qGf.

      I reckon my flashmemory plugin is not activated still but I did upadates. Tkaiser wrote that my install is a bit outdated. I di update and nothing.


      My fstab:

      Source Code

      1. UUID=d0da7bbe-e3af-4588-8715-aa5c4478eb88 / btrfs defaults,noatime,nodiratime,commit=600,compress=lzo 0 1
      2. UUID=5bab0a55-56f1-4443-8cac-297e1181425c /boot ext4 defaults,commit=600,errors=remount-ro 0 2
      3. tmpfs /tmp tmpfs defaults 0 0
      4. # >>> [openmediavault]
      5. /dev/disk/by-label/HDD1 /srv/dev-disk-by-label-HDD1 ext4 defaults,nofail,user_xattr,noexec,usrjquota=aquota.user,grpjquota=aquota.group,jqfmt=vfsv0,acl 0 2
      6. /dev/disk/by-id/mmc-EB1QT_0xc39255db-part3 /srv/dev-disk-by-id-mmc-EB1QT_0xc39255db-part3 btrfs defaults,nofail,discard,ssd 0 2
      7. /srv/dev-disk-by-label-HDD1/web /export/web none bind,nofail 0 0
      8. /srv/dev-disk-by-label-HDD1/family /export/family none bind,nofail 0 0
      9. /srv/dev-disk-by-label-HDD1/video /export/video none bind,nofail 0 0
      10. /srv/dev-disk-by-label-HDD1/music /export/music none bind,nofail 0 0
      11. /srv/dev-disk-by-label-HDD1/photo /export/photo none bind,nofail 0 0
      12. # <<< [openmediavault]
      Display All
      Moreover I set up disk to not to go to sleep, but I can hear like disk woke up about every 2hrs is not use for a few minutes and goes to sleep again.


      Help please.
      Files
      • syslog.txt

        (123.46 kB, downloaded 18 times, last: )

      The post was edited 1 time, last by eskimos2000 ().

    • eskimos2000 wrote:

      Thx, I did it finally I made small update/upgrade but only 2 packages, I still think that is something wrong with my installation.
      Not having updates doesn't mean something is wrong. Neither of the two "errors" you had would prevent your system from working.

      eskimos2000 wrote:

      Please have a look at my syslog attached,
      Syslog won't have anything showing repo problems.

      eskimos2000 wrote:

      I reckon my flashmemory plugin is not activated
      If it is installed, it is activated.

      eskimos2000 wrote:

      Tkaiser wrote that my install is a bit outdated.
      Why two threads? That is just going to confuse things.

      eskimos2000 wrote:

      My fstab:
      The flashmemory plugin doesn't put anything in fstab.

      Post the output of:
      apt-get update
      dpkg -l | grep openm
      omv 4.1.14 arrakis | 64 bit | 4.15 proxmox kernel | omvextrasorg 4.1.13
      omv-extras.org plugins source code and issue tracker - github

      Please read this before posting a question and this and this for docker questions.
      Please don't PM for support... Too many PMs!
    • Sorry for misleading, I am just confuse, but:

      apt update

      Source Code

      1. Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0xb625b300>
      2. Traceback (most recent call last):
      3. File "/usr/lib/python3.5/weakref.py", line 117, in remove
      4. TypeError: 'NoneType' object is not callable
      5. Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0xb625b300>
      6. Traceback (most recent call last):
      7. File "/usr/lib/python3.5/weakref.py", line 117, in remove
      8. TypeError: 'NoneType' object is not callable
      9. Reading package lists... Done

      That python error is very stubborn but it is harmless as I read somewhere.


      Source Code

      1. ii openmediavault 4.1.12 all openmediavault - The open network attached storage solution
      2. ii openmediavault-docker-gui 4.0.1 all OpenMediaVault plugin for Docker
      3. ii openmediavault-flashmemory 4.1 all folder2ram plugin for OpenMediaVault
      4. ii openmediavault-keyring 1.0 all GnuPG archive keys of the OpenMediaVault archive
      5. ii openmediavault-netatalk 4.0.7-1 all OpenMediaVault netatalk (AppleTalk Protocol Suite) plugin
      6. ii openmediavault-omvextrasorg 4.1.12 all OMV-Extras.org Package Repositories for OpenMediaVault
      7. ii openmediavault-transmissionbt 4.0 all OpenMediaVault Transmission (BitTorrent client) plugin.
      Looks alright to me, so maybe I am just overeating.


      However one more thing is worrying that hard drive is going to sleep (even that I left disable spin down in physical disk edit). How to prevent disk to go to sleep, this is NAS disk and I do not need it to stop every 15 minutes or so?

      The post was edited 1 time, last by eskimos2000 ().

    • eskimos2000 wrote:

      That python error is very stubborn but it is harmless as I read somewhere.
      To get rid of it:
      wget -O /usr/lib/python3.5/weakref.py https://raw.githubusercontent.com/python/cpython/9cd7e17640a49635d1c1f8c2989578a8fc2c1de6/Lib/weakref.py


      eskimos2000 wrote:

      However one more thing is worrying that hard drive is going to sleep (even that I left disable spin down in physical disk edit). How to prevent disk to go to sleep, this is NAS disk and I do not need it to stop every 15 minutes or so?
      I assume you have not set any spin down time in the GUI of OMV:

      Which hardware are you using? On my HC2 the USB to SATA controller is spinning the drive down. Using the firmware of the controller the time can be adjusted or the spin down can be disabled.
      Odroid HC2 - armbian - Seagate ST4000DM004 - OMV4.x
      Asrock Q1900DC-ITX - 16GB - 2x Seagate ST3000VN000 - Intenso SSD 120GB - OMV4.x
      :!: Backup - Solutions to common problems - OMV setup videos - OMV4 Documentation - user guide :!:

      The post was edited 1 time, last by macom ().

    • Thx, it is a bit scary but I will make it, do you have idea what is max time in minutes to set in -t? I think to set it 720 minutes so if we go for holidays server will spin down. But I have also notice that there is some anacron job going every hour (it saves clock in case of power failure but I have my connected too ups so pretty safe, and it woke disk up, is this job necessary?