LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-30-2004, 10:05 PM   #1
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Rep: Reputation: 30
Selecing packages in apt-get


I need to install all of php4. so when i apt-get install php4* i get dependency errors. There are only three packages that I need to prevent apt-get from installing, how can i prevent apt-get from installing these packages. They include two php3 packages and php4-ps.
 
Old 10-30-2004, 10:52 PM   #2
ilde
LQ Newbie
 
Registered: Aug 2004
Location: Mexico
Distribution: Debian
Posts: 16

Rep: Reputation: 0
Hi.

You may need to "apt-get update" first to correct all dependency errors.

hope this helps.
 
Old 10-30-2004, 11:03 PM   #3
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
the dependency errors are caused because php3 and php4 cannot coexist but when i do apt-get install php4* it wants to install parts of php3 as well.
 
Old 10-31-2004, 04:29 PM   #4
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
Any ideas?
 
Old 10-31-2004, 09:53 PM   #5
macondo
Senior Member
 
Registered: Jul 2003
Location: Central America
Distribution: Slackwre64-current Devuan
Posts: 1,034

Rep: Reputation: 62
make sure the package you want, belong to the version you're using.
 
Old 11-01-2004, 06:03 AM   #6
bobbens
Member
 
Registered: Sep 2004
Location: Barcelona
Distribution: Debian, FreeBSD, Gentoo
Posts: 586

Rep: Reputation: 30
try using aptitude to manually select all the pieces and bits you want. If you dont have it just apt-get install aptitude, but i think it's a debian core utility.
 
Old 11-01-2004, 06:22 AM   #7
Dead Parrot
Senior Member
 
Registered: Mar 2004
Distribution: Debian GNU/kFreeBSD
Posts: 1,597

Rep: Reputation: 46
In Aptitude you can highlight a package and then press Enter to see its dependencies. And you can return to previous view by pressing "q". In this way, you can press Enter on some meta-package to see its depends and pick the ones that you want by first highlighting them and then pressing "+".

When you're done, you can press "g" and Aptitude shows you the planned changes. At this point you can cancel the installation of any package by highlighting it and pressing "=". To proceed to download & install the marked packages, just press "g" again.

Always remember to update the package database (by pressing "u") before you install new packages via Aptitude.
 
Old 11-01-2004, 07:22 AM   #8
zaicheke
Member
 
Registered: Apr 2004
Distribution: Slackware 10, Open BSD 3.6, Mac OS 10.3.7, Splack 10 beta
Posts: 393

Original Poster
Rep: Reputation: 30
thanks. I give that a try.
 
Old 11-02-2004, 10:47 AM   #9
microsoft/linux
Senior Member
 
Registered: May 2004
Location: Sebec, ME, USA
Distribution: Debian Etch, Windows XP Home, FreeBSD
Posts: 1,445
Blog Entries: 9

Rep: Reputation: 48
dselect is also very easy to use. It's a frontend for dpkg and is what I use for finding packages I want. It'll work out all the dependency errors by telling you what other things the package you are trying to select needs. Hope this helps
 
  


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
Apt get packages? Mojojo Linux - Software 2 10-13-2005 11:08 AM
apt-get packages curly08 Debian 3 05-04-2005 06:46 PM
Apt-get with suggested packages shaggy007 Debian 6 09-21-2004 08:33 AM
apt-get packages Lucasite Debian 3 03-13-2004 03:39 PM
apt-get to download packages... mahamkali Linux - Software 3 12-11-2003 10:25 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 04:42 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
Open Source Consulting | Domain Registration