Announcement

Collapse
No announcement yet.

New Version of Mono-project - Can't Update

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    New Version of Mono-project - Can't Update

    There is a new version of the Mono-project Version 6.6.0.161 (the open source .net software on the raspberry). Whenever i try and upgrade I get a timeout error. Has anyone been successful at upgrading? And I guess the other question is, is anyone else regularly updating the OS software on their Pi?

    Duane Timmons

    #2
    Have current version of Mono installed on an ARM CPU and Intel CPU. It's been a while since I have installed it.

    How are you installing the new version?

    I installed Mono via the guide on the Mono Website here ==> Mono Install

    Updates to this Mono version came from updating and installing upgrade.

    1 - sudo apt update *
    2 - sudo apt upgrade **

    * ==> sees the update to Mono
    **==> updates Mono

    TX9_HS3Lite:~# mono -V
    Mono JIT compiler version 6.6.0.161 (tarball Tue Dec 10 10:40:48 UTC 2019)

    BTPro_HS3Lite:~# mono -V
    Mono JIT compiler version 6.6.0.161 (tarball Tue Dec 10 10:36:32 UTC 2019)
    - Pete

    Auto mator
    Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
    Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
    HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

    HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
    HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

    X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

    Comment


      #3
      Pete, My original install came from the HS3PI install (it was in their image). I am now using sudo apt-get update then sudo apt-get upgrade. After update/upgrade says there are 165 packages to upgrade (new version of Mono .161) . The problem is every time I try and do the upgrade the system times out when trying to do the download then update.. This causes the failure. Here are the upgrade "results"

      165 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 50.9 MB/76.4 MB of archives. After this operation, 9998 kB of additional disk space will be used.
      Get:1 https://download.mono-project.com/repo/debian stable-raspbianstretch/main armhf mono-devel all 6.6.0.161-0xamarin7+raspbian9b1 [24.0 MB]
      Err:1 https://download.mono-project.com/repo/debian stable-raspbianstretch/main armhf mono-devel all 6.6.0.161-0xamarin7+raspbian9b1 Operation too slow. Less than 10 bytes/sec transferred the last 90 seconds
      Get:2 https://download.mono-project.com/repo/debian stable-raspbianstretch/main armhf mono-roslyn all 6.6.0.161-0xamarin7+raspbian9b1 [4075 kB]
      Err:2 https://download.mono-project.com/repo/debian stable-raspbianstretch/main armhf mono-roslyn all 6.6.0.161-0xamarin7+raspbian9b1 Operation too slow. Less than 10 bytes/sec transferred the last 90 seconds
      Get:3 https://download.mono-project.com/repo/debian stable-raspbianstretch/main armhf mono-utils armhf 6.6.0.161-0xamarin7+raspbian9b1 [4056 kB]
      Err:3 https://download.mono-project.com/repo/debian stable-raspbianstretch/main armhf mono-utils armhf 6.6.0.161-0xamarin7+raspbian9b1 Operation too slow. Less than 10 bytes/sec transferred the last 90 seconds
      Get:4 https://download.mono-project.com/repo/debian stable-raspbianstretch/main armhf monodoc-manual all 6.6.0.161-0xamarin7+raspbian9b1 [18.8 MB] Err:4 https://download.mono-project.com/repo/debian stable-raspbianstretch/main armhf monodoc-manual all 6.6.0.161-0xamarin7+raspbian9b1 Operation too slow. Less than 10 bytes/sec transferred the last 90 seconds
      E: Failed to fetch https://download.mono-project.com/re...ian9b1_all.deb Operation too slow. Less than 10 bytes/sec transferred the last 90 seconds
      E: Failed to fetch https://download.mono-project.com/re...ian9b1_all.deb Operation too slow. Less than 10 bytes/sec transferred the last 90 seconds
      E: Failed to fetch https://download.mono-project.com/re...n9b1_armhf.deb Operation too slow. Less than 10 bytes/sec transferred the last 90 seconds
      E: Failed to fetch https://download.mono-project.com/re...ian9b1_all.deb Operation too slow. Less than 10 bytes/sec transferred the last 90 seconds
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?


      I have tried the --fix-missing but nothing new happens. I also can't find a mirror for the Mono-project to try another source. Any ideas?

      Duane

      Comment


        #4
        The Zee's that have / had the built Mono have become an issue because you cannot update these. You have to remove the old mono first which is a PITA.

        After removal then try the install per the installation guide on the mono site.

        You can try the following:

        1 - sudo apt-get purge mono-runtime
        2 - sudo apt-get purge mono-complete
        3 - sudo apt-get purge libmono* libgdiplus cli-common libglitz-glx1 libglitz1
        4 - sudo rm -rf usr/lib/mono /usr/local/bin/mono /usr/local/etc/mono /usr/local/lib/mono
        5 - sudo apt-get purge libmono* cli-common mono-runtime
        6 - sudo apt-get autoremove Then test if you have mono installed by typing mono -V

        Or

        Download latest Zee image and write it to a new SD card then copy your Homeseer directory from the current SD card to the new image SD card. Time involved might be shorter to create a new image and restore Homeseer to it. Homeseer resides in the /usr/local/HomeSeer directory.

        The links above may be incorrect or your DNS is messing up.
        - Pete

        Auto mator
        Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
        Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
        HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

        HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
        HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

        X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

        Comment


          #5
          Strange as it sounds I figured out a solution. I'm not sure how or why it works but it did. All I did was change the repository from the named version to the ip address. Once I did that the update literally took 45 seconds to update. So it looks like my problem was a DNS resolver issue (or an IP6 vs IP4 issue), Here is what my /etc/apt/stable.list.d/mono-official-stable.list file now looks like


          # deb https://download.mono-project.com/repo/debian stable-raspbianstretch main
          deb https://72.21.81.200/repo/debian stable-raspbianstretch main

          I got the ip address by doing a nslookup on a windows machine to find the address.

          Thanks to all for helping with this.

          Duane

          Comment


            #6
            Good news Duane!!

            Merry Christmas to you and your family!
            - Pete

            Auto mator
            Homeseer 3 Pro - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e 64 bit Intel Haswell CPU 16Gb
            Homeseer Zee2 (Lite) - 3.0.0.548 (Linux) - Ubuntu 18.04/W7e - CherryTrail x5-Z8350 BeeLink 4Gb BT3 Pro
            HS4 Lite - Ubuntu 22.04 / Lenovo Tiny M900 / 32Gb Ram

            HS4 Pro - V4.1.18.1 - Ubuntu 22.04 / Lenova Tiny M900 / 32Gb Ram
            HSTouch on Intel tabletop tablets (Jogglers) - Asus AIO - Windows 11

            X10, UPB, Zigbee, ZWave and Wifi MQTT automation-Tasmota-Espurna. OmniPro 2, Russound zoned audio, Alexa, Cheaper RFID, W800 and Home Assistant

            Comment

            Working...
            X