[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: unstable package install into testing



* joe golden (jg1024@hotmail.com) [010918 12:16]:
> I have downloaded the unstable version of abiword into my home directory.  I 
> 
> would like to install this on my testing system.  I believe all dependencies 
> 
> for the unstable version (0.9.0-0.1) are met.
> 
> How do I do the install?  Do i need to put unstable in the sources.list?  
> This is the only package I need from unstable.
> 
> As root I copied the .deb into /var/cache/apt/archives and then tried
> apt-get install abiword=0.9.0-0.1.
> This gave me "E: Version '0.9.0-0.1' for 'abiword' was not found."

apt-get is a means of getting packages from the archives to be passed to
dpkg for installation (configuration, removal, etc.)

To install a deb you've donwloaded, you're looking for dpkg -i.

Don't go mucking around in apt's directories, just do it from your home
directory:
dpkg -i abiword-0.9.0*.deb

Another idea, if you plan on running a few packages from sid(unstable)
is to use the /etc/apt/preferences file to be able to track woody but
for packages which you select otherwise. For more info on this, search
the archives for messages from der.hans -- he gave an example setup that
works well for many people (including myself).

One huge advantage to that type of setup is that you can use apt to
fetch packages from any distribution rather than having to grab them
manually. You can then set priorities based on distribution (or anything
else, like on a per-package basis) about which packages you'd like to
install. In your case, you could tell it "I want to run woody, but I
always want the latest abiword from unstable". It will allow you to do
such things (provided you have entries for both woody and unstable in
your sources.list) and ensure that all your dependencies stay in order,
rather than face the hell of the rpm world: manually downloading
packages ad nauseum to try to meet new cascading dependencies.


-- 
Vineet                                   http://www.anti-dmca.org
Unauthorized use of this .sig may constitute violation of US law.
echo Qba\'g gernq ba zr\!             |tr 'a-zA-Z' 'n-za-mN-ZA-M'

Attachment: pgpjpTTsSWwA7.pgp
Description: PGP signature


Reply to: