John Karr on 7 Feb 2010 11:40:17 -0800


[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: [PLUG] Ubuntu -- selectively updating from unstable


I was successful with pinning.

To /etc/apt/preferences I added
Package: perl*
Pin: version 5.10.1
Pin_Priority 701 # in my case 1 more than the next highest

To  /etc/apt/sources
deb http://cz.archive.ubuntu.com/ubuntu lucid main

ran synaptic had the right upgrades proposed for perl, upgraded without
synaptic trying to uninstall half of my system, and then commented the lines
out in my files so that I'm no longer looking at unstable, but should I need
it I can use the same technique to grab something else.

-----Original Message-----
From: plug-bounces@lists.phillylinux.org
[mailto:plug-bounces@lists.phillylinux.org] On Behalf Of Art Alexion
Sent: Sunday, February 07, 2010 9:48 AM
To: Alan D. Salewski; Philadelphia Linux User's Group Discussion List
Subject: Re: [PLUG] Ubuntu -- selectively updating from unstable

On Sat, Feb 6, 2010 at 10:27 AM, Alan D. Salewski
<salewski@worldnet.att.net> wrote:
> On Sat, Feb 06, 2010 at 01:50:31AM -0500, John Karr spake thus:
>> Is there a clean and simple way to make apt take just certain packages
>> from unstable? (in this case anything PERL).
>
>
> You basically want to use pinning. The comments in the files below
> explain how this works; they basically "pin" your system to stable, but
> allow you to easily pull in packages from testing and unstable.

Just make sure you understand what you are doing with pinning.  Apt
sees those dependencies for a reason.  There is a good chance pinning
will break something.  If that something is something you use, that
would be a bad thing.

I'm not sure what you mean by "stable, unstable and testing" with
Ubuntu, as those are Debian concepts that aren't implemented the same
way in Ubuntu.  If you mean using the repositories for 10.04, you
might be safer just installing the whole release in a vm, thereby
protecting your current system.  I've been really happy with
VirtualBox's seamless mode for running stuff outside my current
distro/release, seamlessly.



-- 
artAlexion
sent unsigned from webmail interface
___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug

___________________________________________________________________________
Philadelphia Linux Users Group         --        http://www.phillylinux.org
Announcements - http://lists.phillylinux.org/mailman/listinfo/plug-announce
General Discussion  --   http://lists.phillylinux.org/mailman/listinfo/plug