LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 05-29-2004, 11:18 AM   #1
cheech66
LQ Newbie
 
Registered: May 2004
Location: London
Posts: 15

Rep: Reputation: 0
force apt to install specific version


How do you force apt to install specific version? I want to install xfree86 4.3 or 4.4 but it just keeps on installing 4.1!
 
Old 05-29-2004, 11:21 AM   #2
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
it installs the newest version that is in the repository list that you have provided. if you just add a repository that has the version that you want, it will add this package.
 
Old 05-29-2004, 11:25 AM   #3
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
should have added that this repository list is located in /etc/apt/sources.list
 
Old 05-29-2004, 11:48 AM   #4
cheech66
LQ Newbie
 
Registered: May 2004
Location: London
Posts: 15

Original Poster
Rep: Reputation: 0
Cheers for the answer. Say that the latest version of xfree86 is 4.4 but I want 4.3 cos 4.4 has caused problems on another pc? Do I have to search for a source which only has v 4.3 and then edit sources.list each time I want to do this?
 
Old 05-29-2004, 11:57 AM   #5
lyceum
Member
 
Registered: Aug 2003
Location: N.C.
Distribution: rh9, fc1, slack 9.1, 10
Posts: 229

Rep: Reputation: 30
from the apt-get manual page:
Quote:
A specific version of a package can be selected for installation by
following the package name with an equals and the version of the pack-
age to select. This will cause that version to be located and selected
for install. Alternatively a specific distribution can be selected by
following the package name with a slash and the version of the distri-
bution or the Archive name (stable, testing, unstable).
you can find out all you might want to know by entering:
Code:
man apt-get
hope this helps.
 
Old 05-29-2004, 12:04 PM   #6
cheech66
LQ Newbie
 
Registered: May 2004
Location: London
Posts: 15

Original Poster
Rep: Reputation: 0
it does.

thank you very much for ur help
 
  


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 force compile for a specific architecture ie Athlon ? hadding Programming 6 02-15-2016 05:00 PM
APT::Force-LoopBreak option bboy8012 Linux - Newbie 7 11-12-2005 01:07 AM
force apps in specific virtual desktops gollum26 Linux - Software 2 01-02-2005 08:17 PM
How do I force a TrueMobile 1500 to select a specific access point? ketchers Linux - Wireless Networking 1 08-21-2004 06:35 PM
How to specify which version to install with APT-GET? romcabrera Debian 3 02-06-2004 11:16 AM

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

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