[SOLVED] Cannot update Gambas through GNU/Linux terminal

Post

Posted
Rating:
#1 (In Topic #1420)
Trainee
Scott Kidman is in the usergroup ‘unknown’
Today, when I tried to update Gambas through the GNU/Linux terminal, I get this (the output is lengthy, so I will put it on Pastebin):

Code

https://pastebin.com/KeVwuzsb

I am using Linux Mint 22.1.

The command I am using is:

Code

apt upgrade

I've encountered such problems before, and it's always with the OpenSUSE repository that houses new versions of Gambas. I forgot what I did the last time. The error message at the end of the output says to either, update the repository or type

Code

--fix-missing

but I did both without success.

Should I come back to it later?
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
cogier is in the usergroup ‘GambOS Contributor’
Have you tried this?

Code

echo 'deb http://download.opensuse.org/repositories/home:/gambas:/stable/xUbuntu_24.04/ /' | sudo tee /etc/apt/sources.list.d/home:gambas:stable.list
curl -fsSL https://download.opensuse.org/repositories/home:gambas:stable/xUbuntu_24.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_gambas_stable.gpg > /dev/null
sudo apt update
sudo apt install gambas3
Online now: No Back to the top

Post

Posted
Rating:
#3
Banned
ALL OBS master downloads seem to be broken.

somehow the security checks say the downloaded packages file sizes do not match.

errors like this for most packages…

Code

E: Failed to fetch http://ftp.gwdg.de/pub/opensuse/repositories/home%3A/gambas%3A/master/xUbuntu_22.04/amd64/gambas3-gb-form-htmlview_3.20.99%2Bgit.20250209.2c1cd58a-1_amd64.deb  File has unexpected size (376324 != 376334). Mirror sync in progress? [IP: 134.76.12.6 80]
   Hashes of expected file:
    - SHA25662f599da24968966d085cc2e7eada9cc417d15361402f38cacc7c6
    - SHA11fbfd8d6b657af43c729051387e1b1 [weak]
    - MD5Sum6fbd0670fb6ce7b35ea15f [weak]
    - Filesize:376334 [weak]

Benoit needs to rebuild the packages but i think he is away at present.

As Cogier suggests though the stable branches seem okay so changing the "master" to "stable" in the links may work,

PS.
Remove /etc/apt/sources.list.d/home:gambas:master.list if you added "stable" using the echo command code,
You do not want to have sources for both master and stable

alternatively edit /etc/apt/sources.list.d/home:gambas:master.list and change the word "master" for "stable" inside it.
deb /repositories/home:/gambas:/stable/xUbuntu_24.04 - openSUSE Download /
Online now: No Back to the top

Post

Posted
Rating:
#4
Trainee
Scott Kidman is in the usergroup ‘unknown’
 It works now!

Thanks guys!
Online now: No Back to the top

Post

Posted
Rating:
#5
Banned
 Yes, this issue seemed to sort itself out.
Our best guess is that there was an error from the OpenSuse build service.

gambas is set to automatically build at 6:00 daily and for some odd reason it messed up the links for a couple of days.

all seems okay again now and Benoit did not rebuild anything, it just fixed itself :-\
Online now: No Back to the top
1 guest and 0 members have just viewed this.