Page 1 of 2 12 LastLast
Results 1 to 10 of 11

Thread: Can't install libqt4-dev

  1. #1
    Join Date
    Feb 2008
    Location
    Columbia, MD
    Beans
    Hidden!

    Can't install libqt4-dev

    Was attempting to install libqt4-dev so that I could use openscad, but keep running into inane dependency issues:

    First I tried:

    Code:
    $ apt-get install -f libqt4-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      libqt4-dev: Depends: libxft-dev but it is not going to be installed
    Which meant that I then had to walk the dependency tree manually to determine the problem:

    Code:
    $ apt-get install libxft-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      libxft-dev: Depends: libfontconfig1-dev but it is not going to be installed
    And then

    Code:
    $ apt-get install libfontconfig1-dev
    Reading package lists... Done
    Building dependency tree       
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      libfontconfig1-dev: Depends: libfontconfig1 (= 2.6.0-1ubuntu12) but 2.8.0-0ubuntu1 is to be installed
    Ah, finally some useful information! So what's the deal here? My /etc/apt/sources.list is:

    Code:
    deb http://ppa.launchpad.net/ubuntu-mozilla-daily/ppa/ubuntu karmic main
    deb http://archive.ubuntu.com/ubuntu/ karmic main universe restricted multiverse
    deb http://security.ubuntu.com/ubuntu/ karmic-security universe main multiverse restricted
    deb http://archive.ubuntu.com/ubuntu/ karmic-updates universe main multiverse restricted
    If I look at the properties of libfontconfig1 in synaptic, the versions tab lists:

    Code:
    2.8.0-0ubuntu1 (now)
    2.6.0-1ubuntu12 (karmic)
    Sooo.. what does that mean,exactly? Is the libqt4-dev package out of date? Am I somehow ahead of where I should be? What do I need to do?
    "In matters of aggression we have given them absolute power over us."

  2. #2
    Join Date
    Oct 2009
    Location
    UK
    Beans
    85

    Re: Can't install libqt4-dev

    This tedious process does end. I have done it. The Packages do genuinely need the dependencies. Just keep at it.
    #!Crunchbang

  3. #3
    Join Date
    Feb 2008
    Location
    Columbia, MD
    Beans
    Hidden!

    Re: Can't install libqt4-dev

    Quote Originally Posted by guriinii View Post
    This tedious process does end. I have done it. The Packages do genuinely need the dependencies. Just keep at it.
    What? What does that even mean? I can't 'just keep at it'. I kept at it, but I couldn't figure it out, now I'm asking here for the answer to my problem.
    "In matters of aggression we have given them absolute power over us."

  4. #4
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Can't install libqt4-dev

    You should file a bug report about the "missing" dependencies on launchpad.

    I would file a bug against libfontconfig1-dev
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  5. #5
    Join Date
    Feb 2008
    Location
    Columbia, MD
    Beans
    Hidden!

    Re: Can't install libqt4-dev

    Well I'm not sure if they're "missing", they just seem to be unresolved somehow. The main reason I came here was to determine if it is or is not a bug or if it's just something I myself need to do. Does it look like a bug?
    "In matters of aggression we have given them absolute power over us."

  6. #6
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Can't install libqt4-dev

    Don't believe this is a bug - the current version of libfontconfig1 in karmic is 2.6.0-1ubuntu12

    You got 2.8.0-0ubuntu1 from somewhere, you'll need to get a matching libfontconfig1-dev from the same source (if even possible

    Otherwise you should downgrade libfontconfig1 back to the karmic version


    Edit - lok at the properties of libfontconfig1 in synaptic, may show who built it
    Last edited by mc4man; April 28th, 2010 at 01:02 AM.

  7. #7
    Join Date
    Feb 2008
    Location
    Columbia, MD
    Beans
    Hidden!

    Re: Can't install libqt4-dev

    Yeah, I thought that's what I was seeing with the "now" vs. "karmic" thing. Is there any way to tell where I got this one from? Is that stored anywhere?
    "In matters of aggression we have given them absolute power over us."

  8. #8
    Join Date
    Jun 2007
    Beans
    17,337

    Re: Can't install libqt4-dev

    Is that stored anywhere?
    As mentioned see what the properties of libfontconfig1 in synaptic say.

    (you may be able to force the version back in synaptic - though it's possible something will break (if that version was installed as a dependency

    There are some other possibilities if you can't locate the mayching -dev and don't want or can't downgrade

    edit: also be aware that you may (most likely) have an updated fontconfig-config which would be a factor if downgrading - I would be careful in what you do
    Last edited by mc4man; April 28th, 2010 at 01:38 AM.

  9. #9
    Join Date
    Feb 2008
    Location
    Columbia, MD
    Beans
    Hidden!

    Re: Can't install libqt4-dev

    I looked at the properties in synaptic, but there wasn't anything to indicate where it came from, if not from Ubuntu. Where should I look for it? apt-cache show, maybe?
    "In matters of aggression we have given them absolute power over us."

  10. #10
    Join Date
    Feb 2008
    Location
    Columbia, MD
    Beans
    Hidden!

    Re: Can't install libqt4-dev

    OK, so here's some more information:

    Code:
    $ apt-cache policy libfontconfig1
    libfontconfig1:
      Installed: 2.8.0-0ubuntu1
      Candidate: 2.8.0-0ubuntu1
      Version table:
     *** 2.8.0-0ubuntu1 0
            100 /var/lib/dpkg/status
         2.6.0-1ubuntu12 0
            500 http://archive.ubuntu.com karmic/main Packages
    Which is interesting, because if I run apt-cache policy against something like wine, I get:

    Code:
    $ apt-cache policy wine
    wine:
      Installed: 1.1.43-0ubuntu1~karmicppa1
      Candidate: 1.1.43-0ubuntu1~karmicppa1
      Version table:
     *** 1.1.43-0ubuntu1~karmicppa1 0
            500 http://ppa.launchpad.net karmic/main Packages
            100 /var/lib/dpkg/status
         1.0.1-0ubuntu8 0
            500 http://archive.ubuntu.com karmic/universe Package
    To my unfamiliar eye, this appears to mean that there is no information on where my version of libfontconfig1 came from? Is this correct? If I want to bring it back inline with karmic, what should I do? I attempted:

    Code:
    $ apt-get install libfontconfig1=2.6.0-1ubuntu12
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Some packages could not be installed. This may mean that you have
    requested an impossible situation or if you are using the unstable
    distribution that some required packages have not yet been created
    or been moved out of Incoming.
    The following information may help to resolve the situation:
    
    The following packages have unmet dependencies:
      libfontconfig1: Depends: fontconfig-config (= 2.6.0-1ubuntu12) but 2.8.0-0ubuntu1 is to be installed
    Does this mean I need to walk backwards to downgrade it? I attempted 'force version' in synaptic as well, but nothing happened.
    "In matters of aggression we have given them absolute power over us."

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •