LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-14-2009, 01:35 AM   #1
gaurav pant
Member
 
Registered: Mar 2008
Location: pantnagar/almora,uttaranchal
Posts: 39

Rep: Reputation: 15
Question Configuration problem


hi friends

i am using ubuntu-8.04.I want to use tar.gz packages.For this i was installing build-essential packages downloaded from http://packages.ubuntu.com/hardy/build-essential

but while installing one of the package libstdc++6-4.2-dev_4.2.4-1ubuntu3_i386.deb, i got following error.


mca@mca:~/Desktop/build essential$ sudo dpkg -i libstdc++6-4.2-dev_4.2.4-1ubuntu3_i386.deb
(Reading database ... 98039 files and directories currently installed.)
Preparing to replace libstdc++6-4.2-dev 4.2.4-1ubuntu3 (using libstdc++6-4.2-dev_4.2.4-1ubuntu3_i386.deb) ...
Unpacking replacement libstdc++6-4.2-dev ...
dpkg: dependency problems prevent configuration of libstdc++6-4.2-dev:
libstdc++6-4.2-dev depends on g++-4.2 (= 4.2.4-1ubuntu3); however:
Package g++-4.2 is not configured yet.
dpkg: error processing libstdc++6-4.2-dev (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libstdc++6-4.2-dev

then i tried to install g++-4.2_4.2.4-1ubuntu3_i386.deb.Then the error was as follows.


mca@mca:~/Desktop/build essential$ sudo dpkg -i g++-4.2_4.2.4-1ubuntu3_i386.deb

(Reading database ... 98039 files and directories currently installed.)
Preparing to replace g++-4.2 4.2.4-1ubuntu3 (using g++-4.2_4.2.4-1ubuntu3_i386.deb) ...
Unpacking replacement g++-4.2 ...
dpkg: dependency problems prevent configuration of g++-4.2:
g++-4.2 depends on libstdc++6-4.2-dev (= 4.2.4-1ubuntu3); however:
Package libstdc++6-4.2-dev is not configured yet.
dpkg: error processing g++-4.2 (--install):
dependency problems - leaving unconfigured
Errors were encountered while processing:
g++-4.2


can anyone help me.So that i can be able to use tar.gz in ubuntu.
 
Old 09-14-2009, 01:39 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Why do not you install the build-essential package through apt-get or the synaptic frontend?
 
Old 09-15-2009, 12:00 AM   #3
gaurav pant
Member
 
Registered: Mar 2008
Location: pantnagar/almora,uttaranchal
Posts: 39

Original Poster
Rep: Reputation: 15
Actually i don't have internet facility at my room but only at college where i have installed ubuntu 8.04.

Before ubuntu i have used fedora where with the help of downloadonly plugin of yum we can download rpm according to our system configuration/ distribution.All the dependiency issues are resolved by yum by itself.

Is apt-get also provide same facility?
Whether there is any other way to solve my problem..

thnx 4 reply
 
Old 09-15-2009, 12:05 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Gurgaon, India
Distribution: Cent OS 6/7
Posts: 4,631

Rep: Reputation: Disabled
Yes, apt-get is for Ubuntu what yum is for Fedora.
apt-get will resolve all the dependencies for you and download and install the package. No worries.
And this package is available in there in the repositories for I have installed it many a times.

Synaptic is nothing but a front end for it. You will find it in System > Administration > Synaptic.
Open it and it will ask for your password.
Search for the package using the search function and install it.
 
Old 09-15-2009, 12:09 AM   #5
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
apt is the simple way of installing packages in ubuntu..you can also download the .deb packages and install it with a gdebi installer(right click install).. but the dependency issue exists. if you have got internet in your college you can make an apton cd in your college and take it to your home. add your apton cd to your sources list and install with apt or synaptic.. hope that i am not saying anything wrong.
 
Old 09-16-2009, 01:24 AM   #6
gaurav pant
Member
 
Registered: Mar 2008
Location: pantnagar/almora,uttaranchal
Posts: 39

Original Poster
Rep: Reputation: 15
thanks a lot
but how can i add build essential packages for my system such that dependency issues are resolved.
 
Old 09-16-2009, 02:41 AM   #7
gaurav pant
Member
 
Registered: Mar 2008
Location: pantnagar/almora,uttaranchal
Posts: 39

Original Poster
Rep: Reputation: 15
hello linuxlover.chaitanya

thnx for replying.Is it possible to download packages using Synaptic..?I only want to download for later use.Ther is package download script option in synaptic.

Also is it possible to add "build essential package" in apton iso.

thank you
 
Old 09-16-2009, 02:46 AM   #8
mobinskariya
Member
 
Registered: Sep 2007
Location: Kerala, India
Distribution: ubuntu 10.04
Posts: 367

Rep: Reputation: 55
first of all you have to install aptoncd package.. i assume that you have done it..then you can use apton cd to build your own source cd. usually sources of your installed packages are stored in /var/cache/apt/archives/

regards
mobin
 
Old 09-20-2009, 12:24 AM   #9
gaurav pant
Member
 
Registered: Mar 2008
Location: pantnagar/almora,uttaranchal
Posts: 39

Original Poster
Rep: Reputation: 15
I have solved my problem by installing build-essentials from ubuntu 8.04 dvd.Thanx a lot to all of u.

If we install any software using apt-get ,all packages are automatically stored in /var/cache/apt/archives.
Then i can make aptonCD of those packages for offline use.
Am i right?
 
  


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
DynDns problem... with configuration or with system configuration? dwhitney67 Linux - Software 1 03-04-2009 10:10 AM
SNAT working problem(is that configuration problem?) cranium2004 Linux - Networking 11 05-12-2005 08:18 AM
Lan configuration problem - NFS boot problem - RX&TX packets errors 242VDM242 Linux - Networking 4 11-25-2004 01:35 PM
X configuration problem - OR - Where did the configuration tool go??? t3kn0lu5t Debian 3 09-25-2003 07:19 PM
Problem with X configuration Waldi Slackware 2 07-01-2003 02:31 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:04 AM.

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