On Mon, 7 Mar 2016 17:47:20 -0700
Daniel Fussell <[email protected]> wrote:

> On 03/05/2016 09:50 AM, Charles Curley wrote:
> > I have an old program that uses WxWidgets 2.8, and compiles fine on
> > a Debian Wheezy 8.3 with WxWidgets 2.8. However, 2.8 is no longer

Sorry, that should have been Jessie, not Wheezy.

<rant>What's wrong with pain old version numbers instead of obscure
cultural references?</rant>


> > available in the Wheezy repos. The replacement, 3.0, breaks this old
> > program.
> >
> > So: how do I downgrade WxWidgets to 2.8?
> >
> > I don't think it is a matter of pinning the version in my apt
> > configuration. The packages are libwxgtk2.8-dev and libwxgtk3.0-dev.
> > But I don't see 2.8 when I run "apt-cache search".
> >
> 
> With just wheezy and wheezy/updates, here's what aptitude says is in
> the repositories.  I'm working from the xmission mirror.
> 
> aptitude versions libwxgtk2.8-dev libwxgtk3.0-dev
> Package libwxgtk2.8-dev:                       
> p   2.8.12.1-12                                                    
> oldstable                                    500
> 
> Package libwxgtk3.0-dev:
> p   3.0.2-1~bpo70+1                                                
> wheezy-backports                             100

OK, I got:

root@hawk:~# aptitude versions libwxgtk2.8-dev libwxgtk3.0-dev
Package libwxgtk3.0-dev:                        
p   3.0.2-1~bpo70+1                          wheezy-backports     100 
p   3.0.2-1+b1                               stable               500 

Package libwxgtk3.0-dev:i386:
p   3.0.2-1~bpo70+1                          wheezy-backports     100 
p   3.0.2-1+b1                               stable               500 
root@hawk:~# 

So I added two lines to my sources.list:

# old stable, jessie https://wiki.debian.org/DebianOldStable
deb http://mirror.steadfast.net/debian/ oldstable main contrib

and ran apt-get update.

I then dug into /var/log/apt/history.log, and purged everything I had
installed with 3.0. I then installed 2.8.

And that got me 2.8.

Thank you.



-- 

The right of the people to be secure in their persons, houses, papers,
and effects, against unreasonable searches and seizures, shall not be
violated, and no Warrants shall issue, but upon probable cause,
supported by Oath or affirmation, and particularly describing the
place to be searched, and the persons or things to be seized.
-- U.S. Const. Amendment IV

Key fingerprint = CE5C 6645 A45A 64E4 94C0  809C FFF6 4C48 4ECD DFDB

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to