[elbe-devel] How to specify which version of a package should be installed?
Holger Dengler
dengler at linutronix.de
Thu Apr 13 17:08:47 CEST 2017
Hello Lukasz,
On 04/13/2017 04:27 PM, Lukasz Walewski wrote:
> 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?
the elbe xsd defines the parameter "version" for the pkg node. This option can be used to install a certain version of a packge (as far as I know).
<target>
<pkg-list>
<pkg version="1.2.3-1">my-app</pkg>
</pkg-list>
</target>
The package list above should install the older version of the package.
>
> 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 !"
>
> _______________________________________________
> elbe-devel mailing list
> elbe-devel at linutronix.de
> https://lists.linutronix.de/mailman/listinfo/elbe-devel
>
--
Gruß,
Holger Dengler
--
phone: +49 7556 25 999 14; fax: +49 7556 25 999 99
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linutronix.de/pipermail/elbe-devel/attachments/20170413/4db1c35a/attachment.sig>
More information about the elbe-devel
mailing list