Walt Mankowski on 1 Mar 2006 04:46:19 -0000


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

Re: [PLUG] Forbidding a version of a package in debian


On Wed, Feb 22, 2006 at 10:09:05AM +0000, Stephen Gran wrote:
> On Tue, Feb 21, 2006 at 10:06:15PM -0500, Walt Mankowski said:
> > I'm running debian testing.  I ran "aptitude dist-upgrade" yesterday
> > and it wants to install buggy version of libfreetype6 that will break
> > my window manager.  I'd like to put that on hold until things get
> > sorted out.  I read through the aptitude man page and this looked like
> > the proper way to do it:
> > 
> >   aptitude forbid-version libfreetype6=2.1.10-1
> > 
> > When I run "aptitude show libfreetype6" it says that version is
> > forbidden:
> > 
> >   Forbidden version: 2.1.10-1
> > 
> > but dist-upgrade still wants to install it.
> > 
> > Does anyone know what I'm doing wrong?
> 
> I note that the manpage says that dist-upgrade is more likely to do
> unwanted things than upgrade.  Beyond that, I'm not sure.

Yeah, I saw that too.  I had the impression that dist-upgrade was
smarter with apt-get, but upgrade seems to be smarter with aptitude.
Anyway, I tried running "aptitude upgrade" instead of "aptitude
dist-upgrade" and that fixed the problem.

I've had other weird problems in the past with aptitude dist-upgrade
getting confused about dependencies and deleting packages it shouldn't
be.  I think I'm going to stick with upgrade from now on.

> That being said, what about 2.1.10 is going to break on you?  It is
> actually the right version for all apps but gnustep, as far as I know -
> gnustep will need a rebuild shortly, and freetype upstream will need to
> learn about proper soname handling some day, but I thought the situation
> was mostly under control?

It turned out there were other dependencies besides windowmaker.  I
had to restart firefox and all of a sudden it started crashing,
complaining about some sort of a problem with xft.  I decided to bite
the bullet and do release libfreetype6 from hold, along with all the
other packages that were also on hold waiting for it.  Fortunately
everything worked fine after that, including firefox.

Walt

Attachment: signature.asc
Description: Digital signature

___________________________________________________________________________
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