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

Re: version mismatch between library and the -dev



On Mon, Jan 14, 2013 at 03:20:33AM -0500, brian wrote:
> On 01/14/2013 01:13 AM, Chris Bannister wrote:
> >On Mon, Jan 14, 2013 at 12:23:05AM -0500, brian wrote:
> >>
> >>The following packages have unmet dependencies:
> >>libgtkglext1-dev : Depends: libgtkglext1 (= 1.2.0-2) but 1.2.0-3 is
> >>to be installed
> >>E: Unable to correct problems, you have held broken packages.
> >                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
> >What packages have you got on hold?
> >
> 
> None that I'm aware of. That message disappears if I try to install
> anything else after I run an apt-get -f install
 
Ummmmmm, OK.


> >>Can anybody tell me how I can get compatible versions of these two files?
> >
> >Have you a 3rd party repository in your /etc/apt/sources.list file?
> >
> >I've got this:
> >root@tal:~# apt-cache policy libgtkglext1
> >libgtkglext1:
> >   Installed: (none)
> >   Candidate: 1.2.0-2
> >   Version table:
> >      1.2.0-2 0
> >         990 http://ftp.nz.debian.org/debian/ wheezy/main i386 Packages
> >
> >
> 
> I have three third party repositories - one for Lazarus, one for
> VirtualBox, and the unofficial Debian multimedia repository.
> 
> 
> (spaces removed from the following cut-and-paste to eliminate linewraps)
> 
> 
> brian@brian:~$ apt-cache policy libgtkglext1
> libgtkglext1:
>   Installed: 1.2.0-3
>   Candidate: 1.2.0-3
>   Version table:
>  *** 1.2.0-3 0
>         100 /var/lib/dpkg/status

So, this one is already installed, but it has not come from a known
repository.

>      1.2.0-2 0
>  500 http://http.us.debian.org/debian/ wheezy/main amd64 Packages

So this is the one you want.

I'd purge the current libgtkglext1 (1.2.0-3):
root@tal:~# dpkg --purge libgtkglext1

Then I'd:
root@tal:~# apt-cache policy libgtkglext1
again just to make sure the candidate version is 1.2.0-2

Then if so:
root@tal:~# apt-get install libgtkglext1

else, I'd want to see your "/etc/apt/sources.list" file.

Let us know how it goes.

-- 
"If you're not careful, the newspapers will have you hating the people
who are being oppressed, and loving the people who are doing the 
oppressing." --- Malcolm X


Reply to: