LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 05-04-2012, 01:29 AM   #1
tarunchawla
Member
 
Registered: Mar 2010
Location: Haryana,India
Distribution: Ubuntu 10.04 & Debian Wheezy
Posts: 108

Rep: Reputation: 3
How to remove unmet dependencies in ubuntu


I am using ubuntu 12.04 and now when I open terminal and give command "sudo apt-get install build-essential" then it throws error complaining some unmet dependencies and asks me to run "sudo apt-get install -f" which wants 101Mb of data but I did not have speed for this much of data. Is there any other way which works without internet.
 
Old 05-04-2012, 02:19 AM   #2
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,560

Rep: Reputation: 532Reputation: 532Reputation: 532Reputation: 532Reputation: 532Reputation: 532
If you have unmet dependencies you will need to install them to get the initial package to install and work as intended. If you cannot download it from the internet you will have to purchase or borrow the full set of CDs or DVDs and install from them. The only other way is to get someone who does have fast internet to download all the packages you need for you using an application like keryx.
 
Old 05-08-2012, 01:36 AM   #3
tarunchawla
Member
 
Registered: Mar 2010
Location: Haryana,India
Distribution: Ubuntu 10.04 & Debian Wheezy
Posts: 108

Original Poster
Rep: Reputation: 3
there must be some way put,Is there any undo option?
 
Old 05-08-2012, 03:56 AM   #4
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with Slackware 14.
Posts: 2,560

Rep: Reputation: 532Reputation: 532Reputation: 532Reputation: 532Reputation: 532Reputation: 532
Quote:
Originally Posted by tarunchawla View Post
there must be some way put,Is there any undo option?
You are going to have to be a little bit clearer with what you mean. The first part of your sentence doesn't make sense.
"Is there an undo option?" For what? If you want to install something that needs other packages and you choose not to install it then just stop the installation process. How can you undo something you haven't actually done?
 
Old 05-08-2012, 05:27 AM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 13,519

Rep: Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495Reputation: 2495
1) "Undo build-essential" : sudo dpkg --purge build-essential


2) Installing the required build packages,
that build-essential was going to install :
All those packages could be downloaded on another computer,
and then installed. Move all new packages to a new folder.
And : sudo dpkg -i new-folder/*
I.e. dpkg will find out the install order itself.
( All packages can also be achieved from a DVD set
http://www.osdisc.com/cgi-bin/view.c...s/linux/ubuntu )

The packages are : ( I may have forgotten some.)
linux-libc-dev libc-dev-bin libc6-dev make m4 patch autoconf automake
libtool autotools-dev libltdl-dev
binutils base-files xz-utils cpp-4.6 gcc-4.6 g++-4.6 libstdc++6-4.6-dev

.

Last edited by knudfl; 05-08-2012 at 05:32 AM.
 
Old 05-09-2012, 01:52 AM   #6
tarunchawla
Member
 
Registered: Mar 2010
Location: Haryana,India
Distribution: Ubuntu 10.04 & Debian Wheezy
Posts: 108

Original Poster
Rep: Reputation: 3
thanks
 
  


Reply

Tags
build-essential


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
unmet dependencies fof3 Debian 11 10-27-2008 02:08 PM
Help with unmet dependencies landysaccount Linux - Newbie 2 10-11-2008 10:44 AM
Unmet dependencies. maikie Debian 7 09-04-2007 05:30 PM
unmet dependencies Josephus Ross Linux - General 10 08-21-2007 12:49 PM
unmet dependencies kpachopoulos Debian 3 11-23-2005 10:35 AM


All times are GMT -5. The time now is 04:07 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration