Re: testing + some unstable packages

2002-03-31 Thread Matijs van Zuijlen
On Sun, Mar 31, 2002 at 12:38:28PM -0800, Alan Su wrote:
> i've got an installation of testing on my laptop, but i wanted to
> upgrade a few packages (notably galeon) to the unstable version.  i'd
> rather not just point apt to the unstable distribution, as i'm pretty
> happy with the way testing is working out for me.
> 
> in order to do this, i'm manually using dpkg to install packages that
> i download from the unstable distribution.  however, for this to work,
> i need to upgrade a bunch of other packages on which these few
> packages depend.  is there a way to determine the set of packages
> which must be installed (from the unstable distribution) before i go
> about installing the packages i want?  thanks for any ideas you might
> have!

Put both testing and unstable in sources.list, then tell apt-get to use
testing by default by putting this in /etc/apt/apt.conf:

Apt::Default-Release "testing";

Then, when you want to intall something from unstable (e.g., galeon),
say (after apt-get update'ing of course):

apt-get -t unstable install galeon

That's it. You may want to see what will be installed from unstable
first using the -s flag.

-- 
Note that I use Debian version 3.0
Linux mus 2.4.17mvz4 #1 Fri Mar 15 23:30:15 CET 2002 i686 unknown

Matijs


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



Re: testing + some unstable packages

2002-03-31 Thread Richard Cobbe
Lo, on Sunday, March 31, Alan Su did write:

> i've got an installation of testing on my laptop, but i wanted to
> upgrade a few packages (notably galeon) to the unstable version.  i'd
> rather not just point apt to the unstable distribution, as i'm pretty
> happy with the way testing is working out for me.
> 
> in order to do this, i'm manually using dpkg to install packages that
> i download from the unstable distribution.  however, for this to work,
> i need to upgrade a bunch of other packages on which these few
> packages depend.  is there a way to determine the set of packages
> which must be installed (from the unstable distribution) before i go
> about installing the packages i want?  thanks for any ideas you might
> have!

Just spent some time experimenting with this myself; here's what I did.

1) Add lines for unstable to sources.list.
2) Add the following two stanzas to /etc/apt/preferences:

Package: *
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release a=unstable
Pin-Priority: 200

3) apt-get update
4) apt-get -t unstable install galeon
(As documented in apt-get's manpage, the -t flag temporarily
raises the relevant packages from unstable to priority 990; as
long as this is higher than the priority assigned to testing,
you'll get what you want.)

Now, galeon and all of the packages on which it depends should track
unstable, while the rest of your system should track testing.

I've installed galeon and gnucash this way; everything seems to be
working just fine.

Richard


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



Re: testing + some unstable packages

2002-03-31 Thread Mathias Gygax
On Son, Mär 31, 2002 at 12:38:28 -0800, Alan Su wrote:
> in order to do this, i'm manually using dpkg to install packages that
> i download from the unstable distribution.  however, for this to work,
> i need to upgrade a bunch of other packages on which these few
> packages depend.  is there a way to determine the set of packages
> which must be installed (from the unstable distribution) before i go
> about installing the packages i want?  thanks for any ideas you might
> have!

the way i usaually do, to work with mixed debian systems:

1. point 'deb' to your "stable" branch and "deb-src" to your branch
   which you want to mix (in sources.list)

2. do apt-get update

3. apt-get -b source 
   it will fetch, patch, compile and build a debian package for your
   environment from the deb-src branch.
   if something fails (which is very usual in unstable), patch for yourself
   (and report bugs) and try building manually with 
   dpkg-buildpackage -b -uc

if everyhting goes well, you have a binary .deb which is suited for your
environment. i usually don't mess around with binary packages for
different branches. building up from source is the way i learned to
like. the aftermath with it is, you probably have to update some other
stuff like libs if they doesn't contain a requested feature.


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



testing + some unstable packages

2002-03-31 Thread Alan Su
i've got an installation of testing on my laptop, but i wanted to
upgrade a few packages (notably galeon) to the unstable version.  i'd
rather not just point apt to the unstable distribution, as i'm pretty
happy with the way testing is working out for me.

in order to do this, i'm manually using dpkg to install packages that
i download from the unstable distribution.  however, for this to work,
i need to upgrade a bunch of other packages on which these few
packages depend.  is there a way to determine the set of packages
which must be installed (from the unstable distribution) before i go
about installing the packages i want?  thanks for any ideas you might
have!

-alan


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