Re: apt-get unstable question

2003-11-13 Thread ScruLoose
On Thu, Nov 13, 2003 at 03:25:07PM -0600, Rick Weinbender wrote:

> I found a good beginners link to pinning.
> http://jaqque.sbih.org/kplug/apt-pinning.html

(please don't top-post.  It's bad for the readability of a thread, and
is considered bad manners)

I really think if it's a simple one-package situation, you'd be much
better off listening to Colin Watson and just downloading the deb
somewhere and installing it with dpkg -i
Or look for a backport of the package. I love backports myself.

Pinning is powerful and dangerous and if you use it wrong you can end up
with an incredible mess of dependency problems.

Cheers!
-- 
,-.
>   -ScruLoose-   |   If we do not believe in freedom of speech   <
>  Please do not  |  for those we despise <
> reply off-list. |we do not believe in it at all.<
> | - Noam Chomsky<
`-'


pgp0.pgp
Description: PGP signature


Re: apt-get unstable question

2003-11-13 Thread Kjetil Kjernsmo
On Thursday 13 November 2003 20:00, Rick Weinbender wrote:
> I'm running the current stable version
> and I need to install a package from
> an unstable source (tmda ver.0.86).
> (the unstable package does work with woody).

Not really an answer to your question, but have you checked for 
backports made by others? http://www.apt-get.org/ is a good place to 
start. 

Cheers,

Kjetil
-- 
Kjetil Kjernsmo
Astrophysicist/IT Consultant/Skeptic/Ski-orienteer/Orienteer/Mountaineer
[EMAIL PROTECTED]  [EMAIL PROTECTED]  [EMAIL PROTECTED]
Homepage: http://www.kjetil.kjernsmo.net/OpenPGP KeyID: 6A6A0BBC


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get unstable question

2003-11-13 Thread Rick Weinbender
I found a good beginners link to pinning.
http://jaqque.sbih.org/kplug/apt-pinning.html

Thanks,
-Rick

***
Greg Madden wrote:

> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
>
> On Thursday 13 November 2003 10:00 am, Rick Weinbender wrote:
> > I'm running the current stable version
> > and I need to install a package from
> > an unstable source (tmda ver.0.86).
> > (the unstable package does work with woody).
> > *
> > Is there a way to install an unstable package on
> > stable distro from the command line.
> > *
> > Someone suggested 'apt-get -t unstable install tmda'.
> > I tried this but it didn't work.
> > Does anyone know if this is possible and the proper syntax.
> >
> > Thanks,
> >
> > -Rick
>
> The method you are refering to is called 'pinning'. You need a
> '/etc/apt/preferences' file listing the versions of Debian you want to
> use. There is a man page for apt_preferences, though people have posted
> versions of that file to this list. If you install a package from
> unstable you will also have to upgrade the libc6 libraries and maybe
> other depends. I would try  to build the package for Woody using
> 'apt-get source -b '. You will need to have unstable
> sources in your '/etc/sources.list' file.
> - --
> Greg Madden
> Debian GNU/Linux
> -BEGIN PGP SIGNATURE-
> Version: GnuPG v1.2.2 (GNU/Linux)
>
> iD8DBQE/s9xek7rtxKWZzGsRAnnFAJ9FRS2mnlX+GcCPSvt3T4X3EsJKWACgn9Ib
> h7b5OzJNB5g8LK+FMGnoef4=
> =VtR0
> -END PGP SIGNATURE-
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get unstable question

2003-11-13 Thread Rick Weinbender
I did try editing my sources.list file,
(commenting out all stable sources, then adding 2 lines of unstable)
then running apt-get update.
This seems to work when I run 'apt-get install tmda'.
But,
When I put back my old stable sources.list the way it was and
run apt-get update, I get lots of error messages that scroll by.
Messages like,  'cannot stat source'
(should I be concerned about this?, can I somehow clean this up?)
*
I've got the following for an apt.conf like file:
/etc/apt/apt.conf.d/70debconf
which has one line that starts out.
"DPkg::Pre-Install-packages..."
*
Should I create the /etc/apt/apt.conf file manually?

Thanks,
-Rick

**
Gary Hennigan wrote:

> "Rick Weinbender" <[EMAIL PROTECTED]> writes:
> > I'm running the current stable version
> > and I need to install a package from
> > an unstable source (tmda ver.0.86).
> > (the unstable package does work with woody).
> > *
> > Is there a way to install an unstable package on
> > stable distro from the command line.
> > *
> > Someone suggested 'apt-get -t unstable install tmda'.
> > I tried this but it didn't work.
> > Does anyone know if this is possible and the proper syntax.
>
> Do you have a /etc/apt/sources.list file that contains pointers to the
> unstable distro?
>
> Here's a excerpt from mine:
>
>   deb http://ftp.debian.org/debian woody main contrib non-free
>   deb http://ftp.debian.org/debian sarge main contrib non-free
>   deb http://ftp.debian.org/debian sid main contrib non-free
>
> I list all 3 releases, by name (woody = stable, sarge = testing, sid =
> unstable).
>
> Once you have that you'll want to tell apt the main release you
> want. Do that by editing /etc/apt/apt.conf and putting a line like:
>
>   APT::Default-Release "stable";
>
> in it.
>
> Gary
>
> --
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get unstable question

2003-11-13 Thread Greg Madden
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 13 November 2003 10:00 am, Rick Weinbender wrote:
> I'm running the current stable version
> and I need to install a package from
> an unstable source (tmda ver.0.86).
> (the unstable package does work with woody).
> *
> Is there a way to install an unstable package on
> stable distro from the command line.
> *
> Someone suggested 'apt-get -t unstable install tmda'.
> I tried this but it didn't work.
> Does anyone know if this is possible and the proper syntax.
>
> Thanks,
>
> -Rick

The method you are refering to is called 'pinning'. You need a 
'/etc/apt/preferences' file listing the versions of Debian you want to 
use. There is a man page for apt_preferences, though people have posted 
versions of that file to this list. If you install a package from 
unstable you will also have to upgrade the libc6 libraries and maybe 
other depends. I would try  to build the package for Woody using 
'apt-get source -b '. You will need to have unstable 
sources in your '/etc/sources.list' file. 
- -- 
Greg Madden
Debian GNU/Linux
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.2 (GNU/Linux)

iD8DBQE/s9xek7rtxKWZzGsRAnnFAJ9FRS2mnlX+GcCPSvt3T4X3EsJKWACgn9Ib
h7b5OzJNB5g8LK+FMGnoef4=
=VtR0
-END PGP SIGNATURE-


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get unstable question

2003-11-13 Thread Roberto Sanchez
Rick Weinbender wrote:
I'm running the current stable version
and I need to install a package from
an unstable source (tmda ver.0.86).
(the unstable package does work with woody).
*
Is there a way to install an unstable package on
stable distro from the command line.
*
Someone suggested 'apt-get -t unstable install tmda'.
I tried this but it didn't work.
Does anyone know if this is possible and the proper syntax.
Do you have the unstable sources in your /etc/apt/sources.list?

-Roberto


pgp0.pgp
Description: PGP signature


Re: apt-get unstable question

2003-11-13 Thread Gary Hennigan
"Rick Weinbender" <[EMAIL PROTECTED]> writes:
> I'm running the current stable version
> and I need to install a package from
> an unstable source (tmda ver.0.86).
> (the unstable package does work with woody).
> *
> Is there a way to install an unstable package on
> stable distro from the command line.
> *
> Someone suggested 'apt-get -t unstable install tmda'.
> I tried this but it didn't work.
> Does anyone know if this is possible and the proper syntax.

Do you have a /etc/apt/sources.list file that contains pointers to the
unstable distro?

Here's a excerpt from mine:

  deb http://ftp.debian.org/debian woody main contrib non-free
  deb http://ftp.debian.org/debian sarge main contrib non-free
  deb http://ftp.debian.org/debian sid main contrib non-free

I list all 3 releases, by name (woody = stable, sarge = testing, sid =
unstable).
 
Once you have that you'll want to tell apt the main release you
want. Do that by editing /etc/apt/apt.conf and putting a line like:

  APT::Default-Release "stable";

in it.

Gary


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: apt-get unstable question

2003-11-13 Thread Colin Watson
On Thu, Nov 13, 2003 at 01:00:36PM -0600, Rick Weinbender wrote:
> I'm running the current stable version
> and I need to install a package from
> an unstable source (tmda ver.0.86).
> (the unstable package does work with woody).
> *
> Is there a way to install an unstable package on
> stable distro from the command line.
> *
> Someone suggested 'apt-get -t unstable install tmda'.
> I tried this but it didn't work.
> Does anyone know if this is possible and the proper syntax.

The safest way is to download the relevant packages by hand and use
'dpkg -i'. It is possible to set up apt such that 'apt-get -t unstable'
works, but I've seen many broken systems caused by injudicious use of
this feature so I don't recommend it.

Cheers,

-- 
Colin Watson  [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



apt-get unstable question

2003-11-13 Thread Rick Weinbender
I'm running the current stable version
and I need to install a package from
an unstable source (tmda ver.0.86).
(the unstable package does work with woody).
*
Is there a way to install an unstable package on
stable distro from the command line.
*
Someone suggested 'apt-get -t unstable install tmda'.
I tried this but it didn't work.
Does anyone know if this is possible and the proper syntax.

Thanks,

-Rick



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]