Solved Unable to find a source package for freeorion

Solved issue

CaffeineAddict

Well-Known Member
Joined
Jan 21, 2024
Messages
1,708
Reaction score
1,221
Credits
14,168
I'm trying to build a package from unstable branch called freeorion.
The instructions which I'm following are here: https://wiki.debian.org/SimpleBackportCreation

Bash:
rmadison freeorion --architecture amd64
freeorion  | 0.4.8-1+deb10u1      | oldoldstable | amd64
freeorion  | 0.4.10.1-1+b2        | oldstable    | amd64
freeorion  | 0.4.10.2-1+b7        | stable       | amd64
freeorion  | 0.5+git20230820-4+b3 | testing      | amd64
freeorion  | 0.5+git20230820-4+b3 | unstable     | amd64

My sources.list have these entries:
Bash:
# Debian testing package sources
deb-src http://deb.debian.org/debian/ testing main

# Debian unstable package sources
deb-src http://deb.debian.org/debian/ unstable main

Then I do:
Bash:
sudo apt update
apt source freeorion/testing

And get this error:
Bash:
Reading package lists... Done
E: Can not find version '0.4.10.2-1' of package 'freeorion'
E: Unable to find a source package for freeorion

Taking a look online the package is there:

I also tried pulling the sources from unstable with:
Bash:
apt source freeorion/unstable
And get the same error.

Any suggestions on how to get around this?
And why can't I download sources if they are reported to be there?
 


@CaffeineAddict
Code:
[root@min ~]# apt-get -s --download-only source freeorion
Reading package lists... Done
NOTICE: 'freeorion' packaging is maintained in the 'Git' version control system at:
https://salsa.debian.org/games-team/freeorion.git
Please use:
git clone https://salsa.debian.org/games-team/freeorion.git
to retrieve the latest (possibly unreleased) updates to the package.
Need to get 151 MB of source archives.
Fetch source freeorion
 
Is this the Game?? if so have you tried the snaps version

Thank you but I prefer to build it the Debian way because I'm not fan of snaps or flatpaks.

Btw. in the mean time I figured out how to get around this problem, on the link here https://packages.debian.org/trixie/freeorion
on the right side there are 3 archives which can be downloaded from browser.

I downloaded these, extracted them and moved contents from freeorion_0.5+git20230820-4.debian.tar.xz into freeorion_0.5+git20230820.orig.tar.xz then the procedure from SimpleBackportCreation worked just fine.

@osprey
Thanks, I have looked at repository here: https://salsa.debian.org/games-team/freeorion/-/tree/debian/0.5+git20230820-4/debian?ref_type=tags
However directory structure is not the same as in those downloaded archives, so I'm not sure if the source tree would let me create a backport package, it would probably be normal way of compiling it. (not sure)
But your command is useful, didn't know it.

Thank you both for help!
 

Members online


Latest posts

Top