Linux Debian support - apt-get: how to block the upgrade of a package?

This is Interesting: Free IT Magazines  
Home > Archive > Linux Debian support > August 2006 > apt-get: how to block the upgrade of a package?





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author apt-get: how to block the upgrade of a package?
JD

2006-08-04, 1:16 am

Hello,

I run Debian Sarge, with some packages from backports.org.
One of the backport packages is inkscape 0.44, the latest stable
release. Version 0.44 has a serious bug, so I went back to 0.43.
The problem is that apt is very persistent in want to upgrade to
version 0.44. How do I avoid that? Setting Pin-Priority in
/etc/apt/preferences does not work.

Thanks
Bill Marcum

2006-08-04, 7:14 am

On Fri, 04 Aug 2006 05:39:21 -0000, JD
<jd@something.com> wrote:
> Hello,
>
> I run Debian Sarge, with some packages from backports.org.
> One of the backport packages is inkscape 0.44, the latest stable
> release. Version 0.44 has a serious bug, so I went back to 0.43.
> The problem is that apt is very persistent in want to upgrade to
> version 0.44. How do I avoid that? Setting Pin-Priority in
> /etc/apt/preferences does not work.
>
> Thanks


Use aptitude, select inkscape and press "=".

--
In a gathering of two or more people, when a lighted cigarette is
placed in an ashtray, the smoke will waft into the face of the non-smoker.
gregor herrmann

2006-08-04, 1:15 pm

On Fri, 4 Aug 2006 02:37:53 -0400, Bill Marcum wrote:

> Use aptitude, select inkscape and press "=".


JFTR: "=" ist the shortcut for setting a package on "hold"

The other possibility is the set 0.44 on "forbid this version";
shortcut: "F"


gregor
--
.''`. http://info.comodo.priv.at/ | gpg key ID: 0x00F3CFE4
: :' : debian: the universal operating system - http://www.debian.org/
`. `' member of https://www.vibe.at/ | how to reply: http://got.to/quote/
`- NP: Beatles
Chris Maaskant

2006-08-04, 1:15 pm

Op Fri, 04 Aug 2006 02:37:53 -0400, schreef Bill Marcum:

> Use aptitude, select inkscape and press "=".


Is this a aptitude only feature or will this also prevent synaptic from
upgrading inscape?

Chris Maaskant.

--
To reply via E-mail remove NOSPAMPLEASE


JD

2006-08-05, 7:14 am

On 2006-08-04, Bill Marcum <bmarcum@iglou.com> wrote:
> On Fri, 04 Aug 2006 05:39:21 -0000, JD
> <jd@something.com> wrote:
>
> Use aptitude, select inkscape and press "=".
>

Thank you for the reply. This works for aptitude, but not for
apt-get update && apt-get upgrade
Is there a system for the apt-get cycle?
Onno van Eijk

2006-08-05, 7:14 am

On Fri, 04 Aug 2006 02:37:53 -0400, Bill Marcum wrote:

> On Fri, 04 Aug 2006 05:39:21 -0000, JD
> <jd@something.com> wrote:
>
> Use aptitude, select inkscape and press "=".


You can also set the package on hold using dpkg (see
http://www.debian.org/doc/FAQ/ch-pkg_basics.en.html section 6.12)

Onno

JD

2006-08-06, 7:11 pm

On 2006-08-05, JD <jd@something.com> wrote:
> On 2006-08-04, Bill Marcum <bmarcum@iglou.com> wrote:
> Thank you for the reply. This works for aptitude, but not for
> apt-get update && apt-get upgrade
> Is there a system for the apt-get cycle?


Found it.

echo "inkscape hold"|dpkg --set-selections
and, to reverse,
echo "inkscape install"|dpkg --set-selecions
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com