problems with OBS repository after apt modernize-sources

Post

Posted
Rating:
#1 (In Topic #1518)
Guru
BruceSteers is in the usergroup ‘Guru’
A problem has been identified with ubuntu25 with users using the OBS binary sources.
Install package home:gambas:master / gambas3
Install package home:gambas:stable / gambas3

after running the command
sudo apt modernize-sources

The problem was the gpg signature for the repository was not added to the now used .sources file.

So it looked like this..  (master version)

cat /etc/apt/sources.list.d/home:gambas:master.sources

Code

Types: deb
URIs: http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04/
Suites: /
Components:
Signed-By:

The issue is the Signed-By: field is blank and needs to point to the gpg signature file.

If you followed the instructions on the OBS site then the signature file will be in /etc/apt/trusted.gpg.d/

so your file should be more like this.. (replace the words master for stable if you install the stable version)

Code

Types: deb
URIs: http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04/
Suites: /
Components:
Signed-By: /etc/apt/trusted.gpg.d/home_gambas_master.gpg

With the Signed-By field pointing to the correct file "apt update" and "apt install gambas3" will then work correctly.
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’

BruceSteers said

after running the command
sudo apt modernize-sources

The problem was the gpg signature for the repository was not added to the now used .sources file.
That is because OSB uses this weird syntax that is not according to Debian standards, and thus the modernize-sources partly fails.
OSB is weird when it comes to their implementation of debian repositories. I think their mindset and approach is based on openSuSe repository logic, not Debian repository logic.

And it should actually look like this IMHO and understanding of the matter:

Code

Types: deb
URIs: http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04/
Suites: plucky
Components: main
Signed-By: /etc/apt/trusted.gpg.d/home_gambas_master.gpg

gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#3
Guru
BruceSteers is in the usergroup ‘Guru’

gbWilly said


And it should actually look like this IMHO and understanding of the matter:

Code

Types: deb
URIs: http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04/
Suites: plucky
Components: main
Signed-By: /etc/apt/trusted.gpg.d/home_gambas_master.gpg

But that fails so don't do that…

Code

Err:6 http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04 plucky Release
  404  Not Found [IP: 195.135.223.226 80]
Error: The repository 'http://download.opensuse.org/repositories/home:/gambas:/master/xUbuntu_25.04 plucky Release' does not have a Release file.
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Administrator
gbWilly is in the usergroup ‘unknown’

BruceSteers said

But that fails so don't do that…
I wrote should and that OSB is a weird implementation using / for suites and leaving components empty. But that's the way and the info they provide for modernizing, no wonder it fails. So, not providing a different solution, just pointing out weirdness from a debian perspective and the possible reason why modernize fails.

It's a very unique approach. If you look at old ubuntu ppa and their sources files, they did it as it should be and they would probably modernize without any issues

gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories


… there is always a Catch if things go wrong!
Online now: No Back to the top

Post

Posted
Rating:
#5
Guru
BruceSteers is in the usergroup ‘Guru’

gbWilly said

BruceSteers said

But that fails so don't do that…
I wrote should and that OSB is a weird implementation using / for suites and leaving components empty. But that's the way and the info they provide for modernizing, no wonder it fails. So, not providing a different solution, just pointing out weirdness from a debian perspective and the possible reason why modernize fails.

It's a very unique approach. If you look at old ubuntu ppa and their sources files, they did it as it should be and they would probably modernize without any issues

hehe, yeah it's cool m8, i just thought i better add that so nobody tried it :)

I guess there's bound to be some translation differences with how OpenSuse packaging system works and other systems do it.

Thank heavens there's experts like us on the case eh ;)
Online now: No Back to the top
1 guest and 0 members have just viewed this.