LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-04-2012, 11:25 AM   #1
krofna
LQ Newbie
 
Registered: Apr 2012
Posts: 7

Rep: Reputation: Disabled
Unmet dependencies when trying to install package on Debian


I am trying to install latest C cross compiler(gcc-mingw-w64-i686) from sid repository.

I modified /etc/apt/sources.list like this:

Quote:
#

# deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official amd64 NETINST Binary-1 20120129-00:39]/ squeeze main

# deb cdrom:[Debian GNU/Linux 6.0.4 _Squeeze_ - Official amd64 NETINST Binary-1 20120129-00:39]/ squeeze main


deb http://http.us.debian.org/debian/ squeeze main
deb-src http://http.us.debian.org/debian/ squeeze main

deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://http.us.debian.org/debian/ squeeze/updates main

deb http://ftp.debian.org/debian experimental main
deb http://ftp.debian.org/debian sid main
deb http://http.us.debian.org/debian/ sid main contrib non-free
deb-src http://http.us.debian.org/debian/ sid main contrib non-free

# squeeze-updates, previously known as 'volatile'
deb http://ftp.at.debian.org/debian/ squeeze-updates main
deb-src http://ftp.at.debian.org/debian/ squeeze-updates main
deb http://http.us.debian.org/debian/ squeeze contrib non-free
deb http://http.us.debian.org/debian/ squeeze contrib
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
Then I ran:
Quote:
sudo apt-get install gcc-mingw-w64-i686
Output:
Quote:
Reading package lists...
Building dependency tree...
Reading state information...
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:
initscripts : Breaks: console-setup (< 1.74) but 1.68+squeeze2 is to be installed
Breaks: nfs-common (< 1:1.2.5-3) but 1:1.2.2-4squeeze2 is to be installed
libglib2.0-0 : Breaks: eog (< 3.2.2-3) but 2.30.2-1 is to be installed
libgnome-keyring0 : Breaks: gnome-keyring (< 3.0) but 2.30.3-5 is to be installed
network-manager : Recommends: crda but it is not going to be installed
Breaks: network-manager-gnome (< 0.9) but 0.8.1-2 is to be installed
E: Broken packages
I tried
Quote:
apt-get -f install
but it doesnt work.

Help?
 
Old 08-04-2012, 06:58 PM   #2
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
hi

when you change sources the first command must be, with root powers

apt-get update
 
2 members found this post helpful.
Old 08-06-2012, 07:15 AM   #3
r0b0
Member
 
Registered: Aug 2004
Location: Europe
Posts: 608

Rep: Reputation: 50
It is sometimes not possible to mix sid packages into a stable system. Maybe you can set up a virtual machine or chroot jail with a sid system?
 
Old 08-06-2012, 07:22 PM   #4
aus9
LQ 5k Club
 
Registered: Oct 2003
Location: Western Australia
Distribution: Icewm
Posts: 5,842

Rep: Reputation: Disabled
you can use a apt-pinning configuration.

http://jaqque.sbih.org/kplug/apt-pinning.html

if your order is stable....unstable

then.....if packages exist in both, you only get stable
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian Linux 5.0 ffmpeg unmet dependencies problem webmin dont havr Linux - General 3 03-24-2011 09:50 PM
[SOLVED] how can I download and install a debian package with all dependencies gujedan Linux - Newbie 7 03-05-2011 05:26 PM
How to resolve unmet dependencies in dist-upgrade from debian sarge to etch maxmil Linux - Software 8 01-30-2007 04:33 AM
apt-get returns unmet dependencies error with python2.3-sip4-qt3 package 1337ln Linux - Newbie 5 06-16-2006 07:36 PM
removing package with unmet dependencies in Sarge killy9999 Debian 6 09-08-2005 12:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration