[elbe-devel] How to specify which version of a package should be installed?

Lukasz Walewski lwalewski at s-can.at
Thu Apr 13 16:27:54 CEST 2017


Hi,

I have a local repository which serves Debian packages with the software we are developing. There are different versions of each package, say I have two versions of my-app:

my-app_1.2.3-1_i386.deb
my-app_1.5.0-1_i386.deb

I would like to select the particular version of my-app to be installed in the RFS, however, I could not find out how. I have the following section in my XML file:

<target>
<pkg-list>
<pkg>my-app</pkg>
</pkg-list>
</target>

How do I specify, which version (not necessarily the most recent one) should be installed?

Thanks & regards,
Lukasz

PS I am aware of the workaround: <command>apt-get install my-app=1.2.3</command> but such explicit apt calls are not really meant for installing packages I guess...


----------------------------------------

scan Messtechnik GmbH
Brigittagasse 22-24
A-1200 Wien/Vienna
tel. +43 1 219 73 93 - 0
fax +43 1 219 73 93 - 12
http://www.s-can.at
office at s-can.at

Geschaeftsfuehrer/President: DI Andreas Weingartner
Firmenbuchnummer/Incorporation No: FN178880i
Gerichtsstand/Court of Jurisdiction: Wien/Vienna

----------------------------------------

s::can - intelligent, optical, online

i::scan - compact, precise and affordable!
UV254::NTU::FTU::TOC::DOC::COD::BOD::Colour ...and many more to come!
http://www.i-scan.at
----------------------------------------
"YES WE SCAN !"




More information about the elbe-devel mailing list