[SLUG] Debian unmet dependencies, but later version already installed
I'm trying to install the latest mondo, which depends on libnewt0.51, but Ubuntu has libnewt0.52 dpkg complains about unmet dependencies. --force-depends-version doesn't help. Any suggestions? thanks, David. [EMAIL PROTECTED]:/usr/local/deb # dpkg -i mondo_2.2.1_i386.deb (Reading database ... 164645 files and directories currently installed.) Preparing to replace mondo 2.2.1 (using mondo_2.2.1_i386.deb) ... Unpacking replacement mondo ... dpkg: dependency problems prevent configuration of mondo: mondo depends on libnewt0.51; however: Package libnewt0.51 is not installed. dpkg: error processing mondo (--install): dependency problems - leaving unconfigured Errors were encountered while processing: mondo [EMAIL PROTECTED]:/usr/local/deb # sudo apt-get install libnewt0.52 Reading package lists... Done Building dependency tree Reading state information... Done libnewt0.52 is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies. mondo: Depends: libnewt0.51 but it is not installable E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Debian unmet dependencies, but later version already installed
The error is exactly as stated in the output of dpkg: the package you're trying to install depends on a particular version, but you have a later version installed. The solution is as implied in the output of dpkg: apt-get install libnewt0.51 This will remove libnewt0.52 (they're not versions of the same package, they're different packages which conflict with each other) and install libnewt0.51 It will also remove any other programs you have that depend on libnewt0.52, so pay close attention to what Apt is telling you before you say yes. http://lists.debian.org/debian-qa-packages/2006/03/msg00332.html suggests that the process of changing mondo to use libnewt0.52 should be fairly simple; if you can't install 0.51, you might want to try re-packaging it yourself. Alternatively, the debian package maintainer has some newer (experimental) packages at http://people.debian.org/~andree/packages/ which you may find useful. Out of curiousity - Mondo is in the debian package tree already - did you try a simple apt-get install mondo? This would have suggested removing libnewt0.52 and installing libnewt0.51, which is exactly what you need to do. It probably would suggest a heap of other removals as well - on my system, going from libnewt0.51 to libnewt0.52 removes all of the following: defoma fontconfig initrd-tools kernel-image-2.6.8-j1 libfontconfig1 libnewt0.51 modconf pppconfig pppoeconf ttf-bitstream-vera whiptail hrm, I think I won't be doing that... On 30/01/07, david [EMAIL PROTECTED] wrote: I'm trying to install the latest mondo, which depends on libnewt0.51, but Ubuntu has libnewt0.52 dpkg complains about unmet dependencies. --force-depends-version doesn't help. Any suggestions? thanks, David. [EMAIL PROTECTED]:/usr/local/deb # dpkg -i mondo_2.2.1_i386.deb (Reading database ... 164645 files and directories currently installed.) Preparing to replace mondo 2.2.1 (using mondo_2.2.1_i386.deb) ... Unpacking replacement mondo ... dpkg: dependency problems prevent configuration of mondo: mondo depends on libnewt0.51; however: Package libnewt0.51 is not installed. dpkg: error processing mondo (--install): dependency problems - leaving unconfigured Errors were encountered while processing: mondo [EMAIL PROTECTED]:/usr/local/deb # sudo apt-get install libnewt0.52 Reading package lists... Done Building dependency tree Reading state information... Done libnewt0.52 is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies. mondo: Depends: libnewt0.51 but it is not installable E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- There is nothing more worthy of contempt than a man who quotes himself - Zhasper, 2004 -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html
Re: [SLUG] Debian unmet dependencies, but later version already installed
On Tue, 2007-01-30 at 08:32 +1100, Zhasper wrote: The solution is as implied in the output of dpkg: apt-get install libnewt0.51 I'm using Edgy, and libnewt0.51 is not in the Edgy repository. http://lists.debian.org/debian-qa-packages/2006/03/msg00332.html suggests that the process of changing mondo to use libnewt0.52 should be fairly simple; if you can't install 0.51, you might want to try re-packaging it yourself. That would be a terrific idea, if I had the faintest idea how to do it. I don't even mind learning but don't have unlimited time. Is there a moderately simple how to? Is it likely that the new mondo would talk nicely to the later libnewt? Probably a silly question. Alternatively, the debian package maintainer has some newer (experimental) packages at http://people.debian.org/~andree/packages/ which you may find useful. Out of curiousity - Mondo is in the debian package tree already - did you try a simple apt-get install mondo? This would have suggested removing libnewt0.52 and installing libnewt0.51, which is exactly what you need to do. Mondo in Edgy is a very old version (2.0.8). It's failing on my system, possibly because UUID support in mondo was introduced only in the very latest version (2.2.1). In other words, as far as I can see mondo/edgy could never have worked? I would love to know if anybody else is using the edgy package successfully. Mondoarchive runs to completion with success messages, but won't reinstall - not helpful :( I downloaded the mondo/deb version rather than Andree's because there is a clear warning that Andree's are development versions. Not usually a good idea on a production system :) It probably would suggest a heap of other removals as well - on my system, going from libnewt0.51 to libnewt0.52 removes all of the following: defoma fontconfig initrd-tools kernel-image-2.6.8-j1 libfontconfig1 libnewt0.51 modconf pppconfig pppoeconf ttf-bitstream-vera whiptail hrm, I think I won't be doing that... Me neither :) On 30/01/07, david [EMAIL PROTECTED] wrote: I'm trying to install the latest mondo, which depends on libnewt0.51, but Ubuntu has libnewt0.52 dpkg complains about unmet dependencies. --force-depends-version doesn't help. Any suggestions? thanks, David. [EMAIL PROTECTED]:/usr/local/deb # dpkg -i mondo_2.2.1_i386.deb (Reading database ... 164645 files and directories currently installed.) Preparing to replace mondo 2.2.1 (using mondo_2.2.1_i386.deb) ... Unpacking replacement mondo ... dpkg: dependency problems prevent configuration of mondo: mondo depends on libnewt0.51; however: Package libnewt0.51 is not installed. dpkg: error processing mondo (--install): dependency problems - leaving unconfigured Errors were encountered while processing: mondo [EMAIL PROTECTED]:/usr/local/deb # sudo apt-get install libnewt0.52 Reading package lists... Done Building dependency tree Reading state information... Done libnewt0.52 is already the newest version. You might want to run 'apt-get -f install' to correct these: The following packages have unmet dependencies. mondo: Depends: libnewt0.51 but it is not installable E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html -- SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/ Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html