ra3xdh / qucs_s

Qucs-S is a circuit simulation program with Qt-based GUI
https://ra3xdh.github.io/
GNU General Public License v2.0
853 stars 109 forks source link

Ubuntu 22.04 updater fail due to file size mismatch #872

Closed PaulKrinsky closed 2 months ago

PaulKrinsky commented 2 months ago

Вывод "sudo apt-get upgrade" Get:1 http://ftp.lysator.liu.se/pub/opensuse/repositories/home%3A/ra3xdh/xUbuntu_22.04 qucs-s 24.3.0-1 [4 042 kB] Err:1 http://ftp.lysator.liu.se/pub/opensuse/repositories/home%3A/ra3xdh/xUbuntu_22.04 qucs-s 24.3.0-1 File has unexpected size (4042510 != 4042452). Mirror sync in progress? [IP: 130.236.254.251 80] Hashes of expected file:

Размер реального файла не совпадает с размером из "Packages", в итоге обновление обламывается и вообще ничего не ставится уже несколько дней.

ra3xdh commented 2 months ago

Удалил репозитории и создал заново, но ошибка осталась. Почему так происходит непонятно. Этот размер файлов нигде вручную не прописывается, и OBS должен проставлять его автоматически. Если не получается подключить репозиторий, то следует воспользоваться ссылков "Grab binary package" и установить DEB пакет через dpkg. Здесь нужна помощь от специалистов по OBS почему так происходит.

ra3xdh commented 2 months ago

I have removed the DEB repositories and created it again, but the error still present. I didn't understand what is wrong with OBS. OBS doesn't provide any mean to specify the DEB file size. It should be calculated automatically. The workaround is to install DEB package with dpkg. The help from OBS experts is highly welcome.

ra3xdh commented 2 months ago

Репозиторий для Дебиана починил. Помогла ручная установка версии -2. Видимо старая версия где-то закешировалась на серверах OBS. Сейчас установка на чистой виртуалке работает.

I have fixed the Debian repository. I suppose the old package version was cached somewhere in the OBS servers. The manual setting extraversion -2 helped to fix this. The installation in the fresh VM works as expected.