LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-03-2007, 11:55 PM   #1
automata
Member
 
Registered: Oct 2006
Posts: 51

Rep: Reputation: 15
installing debian packages


I am trying to install debian packages.Now,when I use dpkg -i for this I get error which says dependency problems.
Eg-: one of the error says that -:
libstdc++6-dbg depends on gcc-3.4-base (= 3.4.6-5); however:
Package gcc-3.4-base is not installed.
But,I have the latest version gcc-4.0-base thats installed.Now,each dependencies again depends on some other packages.BUt.I have the latest versions of this packages and still the system asks for older versions.

I am using Ubuntu Ubuntu 6.06 LTS- the Dapper Drake - released in June 2006.

Automata.
 
Old 10-04-2007, 02:12 AM   #2
Junior Hacker
Senior Member
 
Registered: Jan 2005
Location: North America
Distribution: Debian testing Mandriva Ubuntu
Posts: 2,687

Rep: Reputation: 61
When software is designed using gcc-3, you sometimes need gcc-3 &/or libraries to use these applications. Like Open Office for instance, which requires gcc-3.4 be installed. I have gcc-4.2, gcc-4.1, and gcc-3.4 installed. If it's a dependency, install it.
 
Old 10-04-2007, 03:43 AM   #3
ehawk
Senior Member
 
Registered: Jul 2003
Posts: 1,257

Rep: Reputation: 48
Would this be easier to do using synaptic?
 
Old 10-04-2007, 10:45 AM   #4
archtoad6
Senior Member
 
Registered: Oct 2004
Location: Houston, TX (usa)
Distribution: MEPIS, Debian, Knoppix,
Posts: 4,727
Blog Entries: 15

Rep: Reputation: 234Reputation: 234Reputation: 234
. . . or KPackage or Adept or aptitude or apt-get?
 
Old 10-04-2007, 11:08 AM   #5
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Um, you should not be using dpkg except very rarely. I recommend aptitude for the command line because it is smarter than apt-get (before the first time you use it run aptitude keep-all). See the man page for more details. For a GUI package manager, Synaptic is fine.

These package managers will resolve dependencies for you.
 
Old 10-04-2007, 12:39 PM   #6
automata
Member
 
Registered: Oct 2006
Posts: 51

Original Poster
Rep: Reputation: 15
installing debian packages

I am using synaptic packages manager.I am trying to install some of the programs like eagle that dont come in synaptic and I have a cd that has the .deb files that I have to install.

Again when I am using aptitude it works but it says that it is not able to see any file .deb.Is it the case that aptitude does not install .deb files.It says that it is not able to find the file.

I dont have adept or KPackage as you guys said.I am using Ubuntu 6.0.6 dapper drake.
Regards,
Automata.
 
Old 10-04-2007, 01:20 PM   #7
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
http://packages.ubuntu.com/feisty/electronics/eagle

Looks like it's in Synaptic to me. I don't remember the code name for 6.06, but I found it in Dapper, Edgy, and Feisty. You may have to enable the Multiverse repository.

No, aptitude does not take .debs.
 
Old 10-04-2007, 01:43 PM   #8
shame
Member
 
Registered: Apr 2006
Location: England
Distribution: Debian Sidux - openSUSE
Posts: 261

Rep: Reputation: 30
After getting dependency problems after using dpkg, running apt-get -f install will usually fetch the required packages needed by whatever you were trying to dpkg.

Always a good idea to thoroughly check what deps it will install before saying yes though.
 
Old 10-07-2007, 02:10 AM   #9
automata
Member
 
Registered: Oct 2006
Posts: 51

Original Poster
Rep: Reputation: 15
Thats great!!It indeed worked for one of the systems.Now when I was trying aptitude it says that-:

dpkg - warning: while removing fab-cam, directory `/usr/local' not empty so not removed.

Now I tried dpkg first and then aptitude.Is it the case that this can create problems.Also,the thing is that earlier it said that it cannot read debian packages but some how it not giving me that problems after making repositories mutiverse.

Regards,

Automata.
 
Old 10-07-2007, 09:46 AM   #10
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Originally Posted by automata View Post
dpkg - warning: while removing fab-cam, directory `/usr/local' not empty so not removed.
That can be safely ignored.
 
Old 10-08-2007, 10:13 AM   #11
automata
Member
 
Registered: Oct 2006
Posts: 51

Original Poster
Rep: Reputation: 15
Yes !! Even I would love to that but I dont have any option to do it.like the command simply comes back to the command prompt without doing anything.

Also,I had same prob with the ubuntu 6.04.I was able to solve this because I was not able enable the repositories.Like I was told to enable all repositories like multiverse and universe.I did that then I was able to install all the debian packages with aptitude -f install.

I saw that all the repositories are enabled in Ubuntu 7.04 that I am using.

Regards,

Automata.
 
Old 10-08-2007, 10:52 AM   #12
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,824

Rep: Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615Reputation: 615
Quote:
Originally Posted by automata View Post
Yes !! Even I would love to that but I dont have any option to do it.like the command simply comes back to the command prompt without doing anything.
Paste the entire output. It's a nonfatal error so it shouldn't actually break anything.
 
Old 10-08-2007, 12:59 PM   #13
automata
Member
 
Registered: Oct 2006
Posts: 51

Original Poster
Rep: Reputation: 15
fablab@fablab-desktop:/media/cdrom/archive/dists/fabber/restricted/binary-i386$ aptitude -f install fab-cam_0.4_all.deb
Segmentation fault (core dumped)

Now this is what I am getting when I am trying aptitude also my synaptic package manager is not opening.I have a live cd.Can i do something with that.I dont want to reinstall the system.If I do this I will be re installing for fourth time.

Regards,

Automata

Last edited by automata; 10-08-2007 at 01:52 PM.
 
  


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
Help with the following; Installing themes, Installing Mp3 support, .deb packages Kittie Rose Linux - General 2 11-26-2006 02:27 PM
installing packages from debian cds fakie_flip Ubuntu 2 01-01-2006 03:08 PM
installing gcc with debian packages farkmischer Linux - Software 4 12-03-2004 12:07 PM
installing woody packages in unstable debian? (java3D) bronko Debian 3 01-04-2004 08:15 AM
Installing Debian Packages eForce Linux - Distributions 4 07-12-2002 11:05 AM

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

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