| Author |
Message |
|
slopoke
MEPIS Rules!
Joined: Sun Jun 13, 2010 3:43 pm Posts: 113 Has thanked: 11 times Have thanks: 2 times
|
Post # 292254
 Unmet dependencies - broken pkgs
When I run "module-assistant" I get the following error:
Getting source for kernel version: 2.6.36-1-mepis-smp Kernel headers available in /lib/modules/2.6.36-1-mepis-smp/build apt-get install build-essential 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: build-essential : Depends: libc6-dev but it is not going to be installed or libc-dev Depends: g++ (>= 4:4.4.3) but it is not going to be installed E: Broken packages
Done!
Following these Depends results in a vicious circle. Any advice on how to diagnose this?
|
| Sat Dec 31, 2011 1:41 pm |
|
 |
|
anticapitalista
MEPIS Guide
Joined: Sat Jul 15, 2006 10:40 am Posts: 1738 Location: Greece Has thanked: 100 times Have thanks: 336 times
|
Post # 292264
 Re: Unmet dependencies - broken pkgs
Post your apt/sources.list
inxi -r
You may just need to add the MEPIS repo temporarily to get the needed files.
_________________ anticapitalista Reg. linux user #395339.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX "Edelweißpiraten" - lean and mean. http://antix.mepis.org
|
| Sat Dec 31, 2011 3:05 pm |
|
 |
|
timkb4cq
MEPIS Guide
Joined: Wed Jul 12, 2006 4:05 pm Posts: 2207 Location: Pinellas Park, FL Has thanked: 62 times Have thanks: 1104 times
|
Post # 292265
 Re: Unmet dependencies - broken pkgs
When you Reload in Synaptic (or do an apt-get update) is the MEPIS repo loading? That would be either ftp://ftp.mepis.com
or ftp://ftp.mirrorservice.org/sites/ftp.mepis.org/mepis/If it is, you should be able to install g++ and libc6-dev If it's not you might need to change your sources to list the other one
_________________ XFX Nforce 750 (built in GeForce 8300), Athlon X2 5000 Lenovo G550 , Intel T4400 , Intel Mobile 4 graphics
|
| Sat Dec 31, 2011 3:06 pm |
|
 |
|
kmathern
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 2:26 pm Posts: 5143 Has thanked: 269 times Have thanks: 1398 times
|
Post # 292267
 Re: Unmet dependencies - broken pkgs
The g++ package is built from the gcc-defaults source package which I don't see in the Mepis repos. You might need to add the Debian squeeze repo.
|
| Sat Dec 31, 2011 3:34 pm |
|
 |
|
slopoke
MEPIS Rules!
Joined: Sun Jun 13, 2010 3:43 pm Posts: 113 Has thanked: 11 times Have thanks: 2 times
|
Post # 292285
 Re: Unmet dependencies - broken pkgs
Here is what anti wanted: inxi -r Repos: Active apt sources in file: /etc/apt/sources.list deb ftp://ftp.mepis.com/mepis/ mepis-11.0 main deb ftp://ftp.debian.org/debian/ squeeze main contrib non-free deb http://security.debian.org/ squeeze/updates main contrib non-free deb http://ftp.debian.org/debian/ squeeze-updates main deb http://www.debian-multimedia.org/ squeeze main non-free deb http://main.mepis-deb.org/mepiscr/repo/ mepis11cr main non-free deb http://restricted.mepis-deb.org/mepiscr/repo/ mepis11cr restricted restricted-non-free The mirrorservice repo doesn't work, it falls over dead. If I enable the source repo, will apt/synaptic install a pkg I request (never tried it)?
|
| Sat Dec 31, 2011 6:01 pm |
|
 |
|
kmathern
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 2:26 pm Posts: 5143 Has thanked: 269 times Have thanks: 1398 times
|
Post # 292291
 Re: Unmet dependencies - broken pkgs
You don't need to enable the deb-src repo. It's just for downloading the source tarballs (.gz) and .dsc files if you are going to build packages from the Debianized source. You wouldn't be able to install anything from it using Synaptic or apt-get anyway. The reason I mentioned the gcc-defaults source package is because that's the folder you would find the g++ package in if it was in Warren's repo. Look here in the browser, ftp://ftp.mepis.com/mepis/pool/main/g/, there's no gcc-defaults folder. And as a comparison look here: http://ftp.debian.org/debian/pool/main/g/What does the output of the apt-cache policy libc6 command show? {I'm wondering if you might have the wheezy libc6 installed, because I thought AntiX was based on testing}
|
| Sat Dec 31, 2011 6:27 pm |
|
 |
|
slopoke
MEPIS Rules!
Joined: Sun Jun 13, 2010 3:43 pm Posts: 113 Has thanked: 11 times Have thanks: 2 times
|
Post # 292294
 Re: Unmet dependencies - broken pkgs
Yes, it is normally. But I did a core install (same as Debian net-install) and selected Squeeze. Here is the output: apt-cache policy libc6 libc6: Installed: 2.13-21 Candidate: 2.13-21 Version table: *** 2.13-21 0 100 /var/lib/dpkg/status 2.11.2-10 0 500 ftp://ftp.debian.org/debian/ squeeze/main i386 Packages Somehow I think version differences are causing the problem, but I can't figure out how to fix it.
|
| Sat Dec 31, 2011 6:42 pm |
|
 |
|
kmathern
MEPIS Enthusiast
Joined: Wed Jul 12, 2006 2:26 pm Posts: 5143 Has thanked: 269 times Have thanks: 1398 times
|
Post # 292296
 Re: Unmet dependencies - broken pkgs
 |  |  |  | slopoke wrote: Yes, it is normally. But I did a core install (same as Debian net-install) and selected Squeeze. Here is the output: apt-cache policy libc6 libc6: Installed: 2.13-21 Candidate: 2.13-21 Version table: *** 2.13-21 0 100 /var/lib/dpkg/status 2.11.2-10 0 500 ftp://ftp.debian.org/debian/ squeeze/main i386 Packages Somehow I think version differences are causing the problem, but I can't figure out how to fix it. |  |  |  |  |
The libc6 you have installed was at one time the wheezy version. The libc6-dev package needs to be the same exact version as libc6, and that version isn't available in the squeeze repos. It's not available anymore in the wheezy repo either (in wheezy libc6 and libc6-dev are now at version 2.13-23 http://packages.debian.org/wheezy/libc6 ) . You might add/enable the wheezy repo, reload and then do a apt-get install libc6 libc6-dev and then disable the wheezy repo and reload again. Don't do a general upgrade or dist-upgrade while wheezy is enabled. Then try module-assistant again.
|
| Sat Dec 31, 2011 7:06 pm |
|
 |
|
slopoke
MEPIS Rules!
Joined: Sun Jun 13, 2010 3:43 pm Posts: 113 Has thanked: 11 times Have thanks: 2 times
|
Post # 292352
 Re: Unmet dependencies - broken pkgs
Followed your instructions. Both libc6-dev and libc6 pkgs now have the same version numbers (2.13-23). Along with libc6-i686 and libc-bin.
However.
When tried to install the build-essential pkg, I got this:
g++: Depends: g++-4.4 but it is not going to be installed (Current Squeeze version is: 4.4.5-8)
g++-4.4: Depends: gcc-4.4-base (=4.4.5-8) but 4.4.6-11 is to be installed Depends: gcc-4.4 (=4.4.5-8) but 4.4.6-11 is to be installed Depends: libstdc++6-4.4-dev but it is not going to be installed (Current Squeeze version is: 4.4.5-8)
Will going back to Wheezy get these versions in sync with each other?
|
| Sun Jan 01, 2012 3:41 pm |
|
 |
|
anticapitalista
MEPIS Guide
Joined: Sat Jul 15, 2006 10:40 am Posts: 1738 Location: Greece Has thanked: 100 times Have thanks: 336 times
|
Post # 292354
 Re: Unmet dependencies - broken pkgs
Yes - probably.
BTW are you using antiX-M11-core released on 03 May 2011?
_________________ anticapitalista Reg. linux user #395339.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX "Edelweißpiraten" - lean and mean. http://antix.mepis.org
|
| Sun Jan 01, 2012 3:50 pm |
|
|