Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #181517

Re: Unable to install custom package using defined dependency version

From Sijis Aviles <sijis.aviles@gmail.com>
Newsgroups linux.debian.user
Subject Re: Unable to install custom package using defined dependency version
Date 2017-05-27 21:10 +0200
Message-ID <tLPg5-85Z-5@gated-at.bofh.it> (permalink)
References (3 earlier) <tLofT-6X0-7@gated-at.bofh.it> <tLpbX-7xI-7@gated-at.bofh.it> <tLrx8-r5-3@gated-at.bofh.it> <tLstb-115-9@gated-at.bofh.it> <tLxsR-4eT-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On May 26, 2017 7:09 PM, "David Wright"


No, you will type:

$ apt-get install my-app-1.0.5 and it will install app-configs-1.0.5,

$ apt-get install my-app-1.0.6 and it will install app-configs-1.0.6.

Yes, you reported that. That's because you've made it depend on
"package app-configs version 1.0-5~aaa" and not "package app-configs-1.0.5".

> I want to make sure a speciflc my-app version installs only a specific
> app-configs version.

I don't know how to write it any clearer, so perhaps I should just
tell you to examine how your system deals with, eg,

cpp-4.8 and gcc-4.8,
python2.7-minimal and python2.7,
python3-minimal and python3,
etc.

Examine your /var/lib/dpkg/status file's "Package:" and "Depends:" lines.

Cheers,
David.

 Ahh, I didn't realize you suggested to make the package name include the
version (eg my-app-1.0.5).

That's an interesting approach I didn't think about.

Related, but how do other places do "nightly" build of their packages. Do
they also include the version as part of the package name itself.

Thanks for all the advice. This has made me rethink a few things.

Sijis

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Unable to install custom package using defined dependency version Sijis Aviles <SAviles@gogoair.com> - 2017-05-26 02:30 +0200
  Re: Unable to install custom package using defined dependency version Frank <zuiderduin@gmx.com> - 2017-05-26 14:00 +0200
    Re: Unable to install custom package using defined dependency version Sijis Aviles <sijis.aviles@gmail.com> - 2017-05-26 15:10 +0200
      Re: Unable to install custom package using defined dependency version Frank <zuiderduin@gmx.com> - 2017-05-26 16:20 +0200
        Re: Unable to install custom package using defined dependency version Sijis Aviles <sijis.aviles@gmail.com> - 2017-05-26 17:20 +0200
          Re: Unable to install custom package using defined dependency version David Wright <deblis@lionunicorn.co.uk> - 2017-05-26 19:50 +0200
            Re: Unable to install custom package using defined dependency version Sijis Aviles <sijis.aviles@gmail.com> - 2017-05-26 20:50 +0200
              Re: Unable to install custom package using defined dependency version David Wright <deblis@lionunicorn.co.uk> - 2017-05-27 02:10 +0200
                Re: Unable to install custom package using defined dependency version Sijis Aviles <sijis.aviles@gmail.com> - 2017-05-27 21:10 +0200
                Re: Unable to install custom package using defined dependency version David Wright <deblis@lionunicorn.co.uk> - 2017-05-27 22:50 +0200
                Re: Unable to install custom package using defined dependency version Sijis Aviles <sijis.aviles@gmail.com> - 2017-05-28 17:20 +0200

csiph-web