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

Re: .deb packages query.



* Dave Selby <dave_arahan@yahoo.co.uk> wrote:
> Is there a way of finding out if a .deb is safe to use without pulling 
> in loads of updates ?

Usually you can run apt-build -u, which will at least ask a yes/no
question. Also apt-get -d should only download packages. To make
this work with single deb files, add a 
deb file://<path> ./

where path is a private repository (= dir), where you put downloaded or
selfcompiled packages. Now you have to run 

<path> # dpkg-scanpackages ./ /dev/null >Packages
su -c "apt-get update"
su -c "apt-get -u install <package>"

to use the packages from this repository. I find this sollution 
quite nice :) Apt is solving all the dependencies for me and if I
need to backport another package, I'm getting told quite clearly...

Jan



Reply to: