Specifying ia32-libs in control when on a 64 bit Debian/Ubuntu?

2009-06-23 Thread Ignacio Valdes
Hi all, I have a deb package that requires ia32-libs to run on a 64-bit Debian/Ubuntu, otherwise it works without it on i386. I have tried in the control file: Depends: ia32-libs [amd64] But that doesn't seem valid. How does one specify ia32-libs should be a dependency when on 64 bit? Thanks!

Re: Specifying ia32-libs in control when on a 64 bit Debian/Ubuntu?

2009-06-23 Thread Ignacio Valdes
I can do the dependencies with logic only. -- IV On Tue, Jun 23, 2009 at 10:25 AM, Eugene V. Lyubimkin < jackyf.de...@gmail.com> wrote: > Ignacio Valdes wrote: > > Hi all, > > > > I have a deb package that requires ia32-libs to run on a 64-bit > > Debian/Ubuntu,

Re: Specifying ia32-libs in control when on a 64 bit Debian/Ubuntu?

2009-06-24 Thread Ignacio Valdes
It would seem a simple solution but I've searched and searched and have not found one. Is there no resolution for this? -- IV On Tue, Jun 23, 2009 at 10:16 AM, Ignacio Valdes wrote: > Hi all, > > I have a deb package that requires ia32-libs to run on a 64-bit > Debian/Ubuntu, o

Re: Specifying ia32-libs in control when on a 64 bit Debian/Ubuntu?

2009-06-28 Thread Ignacio Valdes
On Sun, Jun 28, 2009 at 8:16 AM, Goswin von Brederlow wrote: > Russ Allbery writes: > >> Ignacio Valdes writes: >> >>> It would seem a simple solution but I've searched and searched and >>> have not found one. Is there no resolution for this? >> &

Installing server software in /opt not good?

2009-07-14 Thread Ignacio Valdes
Hi, I have a .deb that installs a reliable and well tested server that we want to eventually get into a apt-get repository. Right now it installs nearly everything into opt with a well-defined directory structure. Will that preclude it from being accepted into an apt-get repository? -- IV -- To

Specifying %{variable} in control file for use in post inst?

2010-04-24 Thread Ignacio Valdes
Hi, I want to define a variable such as package_initials in control file and be able to access %{package_initials} in postinst file. Do I define it in control file as: XC-package_initials: the_initials or some other way? -- IV -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.or

Re: Specifying %{variable} in control file for use in post inst?

2010-04-24 Thread Ignacio Valdes
Have to package two .deb flavors as well as two .rpm versions. Can do this with rpm using .rpmmacros but looking for the equivalent in .deb. Is this not possible? The manuals seem to indicate that it is but not exactly how. -- IV On Sat, Apr 24, 2010 at 10:37 PM, Paul Wise wrote: > Why do you wa

Re: Specifying %{variable} in control file for use in post inst?

2010-04-29 Thread Ignacio Valdes
done it but it does not. -- IV On Sun, Apr 25, 2010 at 4:37 AM, Goswin von Brederlow wrote: > Ignacio Valdes writes: > >> Hi, I want to define a variable such as package_initials in control >> file and be able to access %{package_initials} in postinst file. Do I >> defi

Re: Specifying %{variable} in control file for use in post inst?

2010-04-29 Thread Ignacio Valdes
On Thu, Apr 29, 2010 at 3:55 PM, Russ Allbery wrote: > Ignacio Valdes writes: > >> So what is the usual method of accessing control file values such as >> Package: in postinst? > > Generally, you don't, since generally there's no reason to do so.  I can't

Re: Specifying %{variable} in control file for use in post inst?

2010-04-29 Thread Ignacio Valdes
On Thu, Apr 29, 2010 at 5:11 PM, Russ Allbery wrote: > Ignacio Valdes writes: >> On Thu, Apr 29, 2010 at 3:55 PM, Russ Allbery wrote: >>> Ignacio Valdes writes: > >>>> So what is the usual method of accessing control file values such as >>>> Pac

Re: Specifying %{variable} in control file for use in post inst?

2010-04-29 Thread Ignacio Valdes
On Thu, Apr 29, 2010 at 9:03 PM, Thomas Goirand wrote: > Ignacio Valdes wrote: >> It is a very complex, large package. >> Does anyone know the mechanics of doing introspection in postinst for >> the control file defined variables? >> > Exactly why the postinst g

Re: Specifying %{variable} in control file for use in post inst?

2010-04-29 Thread Ignacio Valdes
So there is no cross-compatibility between debian control file and rpm spec file for introspecting their respective package variables? -- IV -- To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive:

Re: Specifying %{variable} in control file for use in post inst?

2010-04-30 Thread Ignacio Valdes
On Fri, Apr 30, 2010 at 6:45 AM, Thomas Goirand > To my experience, it's a lot more easy to be able to maintain BOTH the rpm > and the Debian package rather than just porting from one to another. If you > want to avoid redundancy and want to factor things a bit. Maybe you could > suggest some modi

Re: Specifying %{variable} in control file for use in post inst?

2010-04-30 Thread Ignacio Valdes
rpm doesn't. I am going through the joy of trying to reconcile the two systems so as to not have two divergent code bases as much as possible. -- IV On Fri, Apr 30, 2010 at 9:57 AM, Goswin von Brederlow wrote: >> >> echo "The package: %{Package}-%{Version} is now installed." >> >> How would one

Re: Specifying %{variable} in control file for use in postinst?

2010-04-30 Thread Ignacio Valdes
situation? I need to decide this soon and move on. -- IV On Fri, Apr 30, 2010 at 11:03 AM, Kris Deugau wrote: > Ignacio Valdes wrote: >> >> Required to produce versions for both rpm and deb.  No introspection >> means not easy to convert this from rpm to deb which is where this &g

Re: Specifying %{variable} in control file for use in postinst?

2010-04-30 Thread Ignacio Valdes
to get this information out. Is there any bash control file parsers out there? -- IV On Fri, Apr 30, 2010 at 12:58 PM, Boyd Stephen Smith Jr. wrote: > On Friday 30 April 2010 11:12:57 Ignacio Valdes wrote: >> So I am gathering that whereas it is repugnant to the dpkg design >>

Re: Specifying %{variable} in control file for use in postinst?

2010-05-01 Thread Ignacio Valdes
Moving on. As suggested I am simply going to have to hack/kludge rpm and deb with a bunch of sed pre-processing of the respective spec, control and postinst to make it work. These two divergent schemes put a large burden of effort on developers and documenters. Wish I could get deb and rpm folks

Re: Specifying %{variable} in control file for use in postinst?

2010-05-04 Thread Ignacio Valdes
mush it all together into one common subdirectory for both rpm and deb building then move it around without too much pain from one system to another with the less duplication. -- IV On Sat, May 1, 2010 at 12:07 PM, Ignacio Valdes wrote: > Moving on. > > As suggested I am simply going t

Which how to for apt-get repository on CentOS?

2010-05-04 Thread Ignacio Valdes
Hi all, Building an apt-get repository on CentOS. There seems to be many documents on apt-get repository building but they point to many different commands like apparently deprecated dpkg-scanfiles, reprepro and others. Which one is the correct one? -- IV -- To UNSUBSCRIBE, email to debian-mento

Re: Which how to for apt-get repository on CentOS?

2010-05-06 Thread Ignacio Valdes
Does reprepro run on rpm based systems? So far I am not finding that it does. I currently have to use a rpm based repository server for reasons of history... -- IV On Wed, May 5, 2010 at 4:04 AM, Goswin von Brederlow wrote: > Russ Allbery writes: > >> Ignacio Valdes writes: &

Re: Which how to for apt-get repository on CentOS?

2010-05-07 Thread Ignacio Valdes
On Fri, May 7, 2010 at 3:29 AM, Goswin von Brederlow wrote: > Ignacio Valdes writes: > >> Does reprepro run on rpm based systems? So far I am not finding that >> it does. I currently have to use a rpm based repository server for >> reasons of history... -- IV > &g

Re: Which how to for apt-get repository on CentOS?

2010-05-07 Thread Ignacio Valdes
/archives/pool/universe/r/reprepro/ -- IV On Fri, May 7, 2010 at 3:29 AM, Goswin von Brederlow wrote: > Ignacio Valdes writes: > >> Does reprepro run on rpm based systems? So far I am not finding that >> it does. I currently have to use a rpm based repository server for >

Re: Which how to for apt-get repository on CentOS?

2010-05-09 Thread Ignacio Valdes
apt-cache search astronaut doesn't find anything. I may have misconfigured something but I am not sure what as it seems visible. -- IV On Tue, May 4, 2010 at 11:18 PM, Ignacio Valdes wrote: > Hi all, Building an apt-get repository on CentOS. There seems to be > many documents

Re: Which how to for apt-get repository on CentOS?

2010-05-10 Thread Ignacio Valdes
not be parsed or opened. Browsing to here though shows that the Packages file can be opened or read at least through http http://174.143.201.52/ubuntu/dists/karmic/main/binary-i386/Packages On Mon, May 10, 2010 at 3:00 AM, Bernhard R. Link wrote: > * Ignacio Valdes [100510 06:48]: >>

Re: Which how to for apt-get repository on CentOS?

2010-05-10 Thread Ignacio Valdes
/main/binary-i386/Packages.lzma On Mon, May 10, 2010 at 9:50 AM, Ignacio Valdes wrote: > That improved things, but I am now getting > > E: Problem parsing dependency Conflicts > E: Error occurred while processing astronaut-wv-server-beta (NewVersion1) > E: Problem with MergeList

Re: Which how to for apt-get repository on CentOS?

2010-05-10 Thread Ignacio Valdes
This is a vexing problem. The things that are supposed to fix all the below do not. -- IV On Mon, May 10, 2010 at 2:04 PM, Ignacio Valdes wrote: > Checked my server logs and found the following. Packages.gz exists but > that's not what the client is looking for: > > [Mon May

Re: Which how to for apt-get repository on CentOS?

2010-05-12 Thread Ignacio Valdes
all works now. Thanks to all for your patience and advice. -- IV On Mon, May 10, 2010 at 11:29 PM, Ignacio Valdes wrote: > This is a vexing problem. The things that are supposed to fix all the > below do not. -- IV > > On Mon, May 10, 2010 at 2:04 PM, Ignacio Valdes wrote: >>

karmic whois versus lucid mkpasswd

2010-07-02 Thread Ignacio Valdes
Hi, The Astronaut package has a dependency on the mkpasswd command which was in the whois package in Karmic and is now in the mkpasswd package in Lucid. How does one make this work for apt-get using reprepro pool? When I reprepro includedeb karmic astronaut-common.deb with the whois package depende

Re: karmic whois versus lucid mkpasswd

2010-07-02 Thread Ignacio Valdes
rors! On Fri, Jul 2, 2010 at 3:46 PM, Ignacio Valdes wrote: > Hi, The Astronaut package has a dependency on the mkpasswd command > which was in the whois package in Karmic and is now in the mkpasswd > package in Lucid. How does one make this work for apt-get using > reprepro pool? W

Re: karmic whois versus lucid mkpasswd

2010-07-04 Thread Ignacio Valdes
t for this purpose but is that how it works? -- IV On Fri, Jul 2, 2010 at 4:50 PM, Ignacio Valdes wrote: > I tried doing the adding ~karmic and ~lucid to the filename with the > control contents changed to whois and mkpasswd respectively but I am > getting this after adding the ~lucid as

Re: karmic whois versus lucid mkpasswd

2010-07-04 Thread Ignacio Valdes
Take that back, I thought I was changing the version number. It seems to work now. Thanks! -- IV On Sun, Jul 4, 2010 at 2:50 PM, Ignacio Valdes wrote: > So I changed the filename and the version number in the .deb itself > but I am still getting the same message as below. I read th

reprepro signing.

2010-09-14 Thread Ignacio Valdes
Hi all, I am trying to get repository signing going with reprepro. I have my key built with gpg, Signwith set to yes, Release.gpg gets generated. When I try to test it with apt-get update I receive: W: GPG error: http://software.astronautvista.com karmic Release: The following signatures couldn't

32 bit versus 64 apt-get/reprepro dependency switchover?

2010-12-02 Thread Ignacio Valdes
Hi, so where is the logical switchover specified for reprepro/apt-get on 32 bit versus 64 bit packages? In other words I have package x-32.deb and package x-64.deb, they need to be installed differentially based upon 32 vs 64 bit architecture. Does this specification occur in reprepro conf files? I