LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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, 02: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, 02:39 AM   #2
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

Rep: Reputation: Disabled
Why do not you install the build-essential package through apt-get or the synaptic frontend?
 
Old 09-15-2009, 01: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, 01:05 AM   #4
linuxlover.chaitanya
Senior Member
 
Registered: Apr 2008
Location: Nagpur, India
Distribution: Cent OS 5/6, Ubuntu Server 10.04
Posts: 4,629

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, 01: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, 02: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, 03: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, 03: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, 01: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


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

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

All times are GMT -5. The time now is 09:53 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration