Re: Can one "fake" a Debian package?

1999-05-19 Thread Steve Lamb
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wed, 19 May 1999 10:18:27 -0600 (MDT), Bruce Sass wrote:

>There is no real advantage to doing it manually, unless you count
>gaining some understanding of how dpkg/dselect/apt go about their
>business as advantageous.

C'mon, this is Linux!  Pure geek factor *is* an advantage!  :)

- -- 
 Steve C. Lamb | I'm your priest, I'm your shrink, I'm your
 ICQ: 5107343  | main connection to the switchboard of souls.
- ---+-

-BEGIN PGP SIGNATURE-
Version: PGPsdk version 1.0 (C) 1997 Pretty Good Privacy, Inc

iQA/AwUBN0Lmunpf7K2LbpnFEQItOQCg3bfoeSlZ/in8WSrHJb6o8HV+C74AoPST
QUmCxBv69ktm7ozmyW4kAd5e
=rROs
-END PGP SIGNATURE-



Re: Can one "fake" a Debian package?

1999-05-19 Thread Bruce Sass
One can always manually update the dpkg DB...
ya know, take a text editor to /var/lib/dpkg/{available,status} and make
the appropriate entries, then create a package.list in the info
sub-dir... In fact, if you `fill in all the blanks' it will be just like
you installed a .deb; if you leave some spots blank then dpkg will be
limited with what it can do (pretty tough for dpkg -S to work if the
.list file is empty, eh).

There is no real advantage to doing it manually, unless you count
gaining some understanding of how dpkg/dselect/apt go about their
business as advantageous.


- Bruce

-- 
On Wed, 19 May 1999, Pollywog wrote:
> 
> On 18-May-99 [EMAIL PROTECTED] wrote:
> > Pollywog <[EMAIL PROTECTED]> writes:
> > 
> >> > I have QT 1.42 installed from the source tarball. Unfortunately, my KDE
> >> > installation was in the form of Debian packages, and now I get
> >> > "kde-whatever depends on qt-142" errors from dselect and apt-get. How can
> >> > I convince my system that QT is installed? Is there a file I can edit?
> >> > 
> >> > - thanks, Bill 
> >> 
> >> I had this problem too and got around it by installing the qt debs AND the
> >> source as well.
> >> 
> >> I don't know if that is a correct way to do things, but it worked for me.
> > 
> > I just created a local package that provides (in the dpkg sense)
> > whatever packages I do not want to install from deb files, for
> > whatever reason.
> 
> It is my belief that I am better off installing Qt and KDE from source,
> because some newer apps won't run from the deb installations.  Still, if I try
> to install a deb package for Debian, the package usually complains that it
> does not find debian packages for KDE installed and it quits.  I looked into
> the equivs package, but from what I read, it is not a good solution and can
> break a system.
> 
> --
> Andrew
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 


later,

Bruce


Re: Can one "fake" a Debian package?

1999-05-19 Thread Martin Bialasinski

>> "P" == Pollywog  <[EMAIL PROTECTED]> writes:

P> On 19-May-99 Martin Bialasinski wrote:
>> 
>> If you don't --force anything and think about what you place into the
>> metaheaders, it will be all right.
>> 

P> Thanks.  Since you are the package author, I feel relieved and will
P> try the package, noting the conditions you mentioned.

As long as you don't try something really stupid with the metaheaders, 
it is fine. Actually I will make some meta packages for gnome using
equivs as the base. 

For your case. You should do a controlfile with

Package: kde-local-deps
Provides: kde-libs

or whatever you have installed into /usr/local, and install the
generated package.

Ciao,
martin


Re: Can one "fake" a Debian package?

1999-05-19 Thread Pollywog

On 19-May-99 Martin Bialasinski wrote:
> 
> If you don't --force anything and think about what you place into the
> metaheaders, it will be all right.
> 

Thanks.  Since you are the package author, I feel relieved and will try the
package, noting the conditions you mentioned.

--
Andrew

btw, sorry about my "misfire" reply earlier.  Finger slippage caused it to go
out before I answered.


Re: Can one "fake" a Debian package?

1999-05-19 Thread Pollywog

On 19-May-99 Martin Bialasinski wrote:
> 
>>> "P" == Pollywog  <[EMAIL PROTECTED]> writes:
> 
> P> I looked into the equivs package, but from what I read, it is not a
> P> good solution and can break a system.
> 
> Use the one in unstable as I said in another mail. The only "problem"
> there could be is that you define Provides, dependancies or other meta
> information, that replace one of the core elements if you force it.
> 
> You could make a packages that Provides and Conflicts libc6 and (maybe
> with a little --force) install it. With the next boot, you won't be
> able to start because of missing libc6.
> 
> If you don't --force anything and think about what you place into the
> metaheaders, it will be all right.
> 
> Ciao,
>   Martin - author and maintainer of the new equivs package
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null
> 


Re: Can one "fake" a Debian package?

1999-05-19 Thread Martin Bialasinski

>> "P" == Pollywog  <[EMAIL PROTECTED]> writes:

P> I looked into the equivs package, but from what I read, it is not a
P> good solution and can break a system.

Use the one in unstable as I said in another mail. The only "problem"
there could be is that you define Provides, dependancies or other meta
information, that replace one of the core elements if you force it.

You could make a packages that Provides and Conflicts libc6 and (maybe
with a little --force) install it. With the next boot, you won't be
able to start because of missing libc6.

If you don't --force anything and think about what you place into the
metaheaders, it will be all right.

Ciao,
Martin - author and maintainer of the new equivs package


Re: Can one "fake" a Debian package?

1999-05-19 Thread William R Pentney
On Wed, 19 May 1999, Pollywog wrote:

> It is my belief that I am better off installing Qt and KDE from source,
> because some newer apps won't run from the deb installations.  Still, if I try
> to install a deb package for Debian, the package usually complains that it
> does not find debian packages for KDE installed and it quits.  I looked into
> the equivs package, but from what I read, it is not a good solution and can
> break a system.

Exactly. I _tried_ installing the debs. But either KDE would not work at
all or certain apps would not work. I could not find one that consistently
worked. I gave up and used the source tarballs instead.

- Bill


Re: Can one "fake" a Debian package?

1999-05-19 Thread Pollywog

On 18-May-99 [EMAIL PROTECTED] wrote:
> Pollywog <[EMAIL PROTECTED]> writes:
> 
>> > I have QT 1.42 installed from the source tarball. Unfortunately, my KDE
>> > installation was in the form of Debian packages, and now I get
>> > "kde-whatever depends on qt-142" errors from dselect and apt-get. How can
>> > I convince my system that QT is installed? Is there a file I can edit?
>> > 
>> > - thanks, Bill 
>> 
>> I had this problem too and got around it by installing the qt debs AND the
>> source as well.
>> 
>> I don't know if that is a correct way to do things, but it worked for me.
> 
> I just created a local package that provides (in the dpkg sense)
> whatever packages I do not want to install from deb files, for
> whatever reason.

It is my belief that I am better off installing Qt and KDE from source,
because some newer apps won't run from the deb installations.  Still, if I try
to install a deb package for Debian, the package usually complains that it
does not find debian packages for KDE installed and it quits.  I looked into
the equivs package, but from what I read, it is not a good solution and can
break a system.

--
Andrew


Re: Can one "fake" a Debian package?

1999-05-18 Thread Martin Bialasinski

>> "MB" == Mitch Blevins <[EMAIL PROTECTED]> writes:

MB> In foo.debian-user, you wrote:

>> How can I convince my system that QT is installed? Is there a file
>> I can edit?

MB> Look at the "equivs" package.

But please take the version available in potato, as equivs has been
completely rewritten. It will work on Debian slink.

Ciao,
Martin


Re: Can one "fake" a Debian package?

1999-05-18 Thread Jeff . Lessem+Debian
Pollywog <[EMAIL PROTECTED]> writes:

> > I have QT 1.42 installed from the source tarball. Unfortunately, my KDE
> > installation was in the form of Debian packages, and now I get
> > "kde-whatever depends on qt-142" errors from dselect and apt-get. How can
> > I convince my system that QT is installed? Is there a file I can edit?
> > 
> > - thanks, Bill 
> 
> I had this problem too and got around it by installing the qt debs AND the
> source as well.
> 
> I don't know if that is a correct way to do things, but it worked for me.

I just created a local package that provides (in the dpkg sense)
whatever packages I do not want to install from deb files, for
whatever reason.

I created a directory tree and file:
local/DEBIAN/control
where control is:

Package: local
Version: 1.00
Architecture: all
Essential: no
Provides: tex, latex, texinfo, dvips, dvipsk, xdvi, metafont
Maintainer: "Jeff Lessem" <[EMAIL PROTECTED]>
Description: Provides for packages that I prefer to maintain myself

This is just my example.  You probably want to look through
/var/lib/dpkg/available to see what packages qt Provides:.

Then from ../local, run "dpkg-deb -b local" and local.deb will be
created.  Then use "dpkg -i local.deb" to install your packages.  It
contains no files, it simply tells dpkg that whatever packages are listed 
on Provides: are installed.

-- 
Jeff Lessem.


RE: Can one "fake" a Debian package?

1999-05-18 Thread Pollywog

On 18-May-99 William R Pentney wrote:
> 
> I have QT 1.42 installed from the source tarball. Unfortunately, my KDE
> installation was in the form of Debian packages, and now I get
> "kde-whatever depends on qt-142" errors from dselect and apt-get. How can
> I convince my system that QT is installed? Is there a file I can edit?
> 
> - thanks, Bill 

I had this problem too and got around it by installing the qt debs AND the
source as well.

I don't know if that is a correct way to do things, but it worked for me.

--
Andrew


Re: Can one "fake" a Debian package?

1999-05-18 Thread Mitch Blevins
In foo.debian-user, you wrote:
> 
> I have QT 1.42 installed from the source tarball. Unfortunately, my KDE
> installation was in the form of Debian packages, and now I get
> "kde-whatever depends on qt-142" errors from dselect and apt-get. How can
> I convince my system that QT is installed? Is there a file I can edit?

Look at the "equivs" package.

-Mitch


Can one "fake" a Debian package?

1999-05-18 Thread William R Pentney

I have QT 1.42 installed from the source tarball. Unfortunately, my KDE
installation was in the form of Debian packages, and now I get
"kde-whatever depends on qt-142" errors from dselect and apt-get. How can
I convince my system that QT is installed? Is there a file I can edit?

- thanks, Bill