LinuxQuestions.org
Review your favorite Linux distribution.
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 11-19-2009, 04:07 PM   #1
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Rep: Reputation: 30
apt-get and linxpire


Is there a way to introduce a command to apt-get when, I am installing a package to get it to download and install all unmet dependencies for that package. For example what would the command look lie to download and install "wine" along with all the unment dependencies?
 
Old 11-19-2009, 04:19 PM   #2
FlGator81
Member
 
Registered: Nov 2008
Location: Baltimore
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 21
apt-get automatically checks for dependencies. The following command:
Quote:
apt-get install wine
should do it. In any case, do:
Quote:
man apt-get
to see how apt-get works.

http://www.debian.org/doc/manuals/apt-howto/
 
Old 11-19-2009, 09:01 PM   #3
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
This is the output that I am getting
pc1:~# cd '/root'
pc1:~# pat-get install wine
bash: pat-get: command not found
pc1:~# apt-get install wine
Reading Package Lists... Done
Building Dependency Tree... Done
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.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

Sorry, but the following packages have unmet dependencies:
wine: Depends: wine-bin (= 1.0.1-1) but it is not going to be installed
Depends: wine-utils (= 1.0.1-1) but it is not going to be installed
Depends: libwine-alsa (= 1.0.1-1) but it is not going to be installed or
libwine-oss (= 1.0.1-1) but it is not going to be installed or
libwine-esd (= 1.0.1-1) but it is not going to be installed or
libwine-jack (= 1.0.1-1) but it is not going to be installed or
libwine-nas (= 1.0.1-1) but it is not going to be installed
Depends: libwine-gl (= 1.0.1-1) but it is not going to be installed
Depends: libwine-print (= 1.0.1-1) but it is not going to be installed
Depends: libwine-sane (= 1.0.1-1) but it is not going to be installed
Depends: libwine-cms (= 1.0.1-1) but it is not going to be installed
Depends: libwine-gphoto2 (= 1.0.1-1) but it is not going to be installed
Depends: libwine-ldap (= 1.0.1-1) but it is not going to be installed
E: Sorry, broken packages
 
Old 11-20-2009, 06:45 PM   #4
FlGator81
Member
 
Registered: Nov 2008
Location: Baltimore
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 21
I forgot to specify that you need to be root to install most software, sorry about that. And exactly what OS are you trying to install this on?

Also your system may simply need to be updated. Or, perhaps apt-get is out-of-sync with the repositories for some reason.
 
Old 11-21-2009, 06:40 AM   #5
paul62
Member
 
Registered: Mar 2004
Location: glenview illinois
Distribution: fedora core 7
Posts: 458

Original Poster
Rep: Reputation: 30
linspire oem
 
Old 11-21-2009, 10:01 AM   #6
FlGator81
Member
 
Registered: Nov 2008
Location: Baltimore
Distribution: Ubuntu
Posts: 65

Rep: Reputation: 21
Linspire has a good package manager, have you tried that? Using the command line is a good skill, but sometimes it's best to use the package manager to do these kinds of things.
 
Old 11-21-2009, 04:37 PM   #7
Elv13
Member
 
Registered: Apr 2006
Location: Montreal,Quebec
Distribution: Gentoo
Posts: 825

Rep: Reputation: 129Reputation: 129
Linspire CRN normally work well, apt is not configured by default, you have to add some repository if you want it to work, but it may break your system. If you want APT, use debian or ubuntu.
 
  


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
How to prevent apt from deleting packages in /var/cache/apt/archives ? abc.linux Debian 11 11-07-2009 12:46 PM
LXer: Create a Local Ubuntu Repository using Apt-Mirror and Apt-Cacher LXer Syndicated Linux News 0 08-04-2009 11:13 PM
apt pinning /etc/apt/apt.conf parent's_basement Debian 5 10-26-2008 06:50 PM
Howabout apt-get update ; apt-get upgrade -f -y --force-yes in the crontab every week frenchn00b Debian 1 04-05-2008 08:47 AM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 01:28 PM

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

All times are GMT -5. The time now is 05:27 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