Mark Rogers wrote:
> If I download a .deb file, and "dpkg -i xxx.deb" tells me I'm missing a
> load of dependencies, is there a way to satisfy them automatically (eg
> with aptitude/apt-get)?
> 
> I'm working via SSH to a server so GUI tools not an option, although if
> they can help me in the future by all means mention them!
> 
> The .deb package (free AVG Linux anti-virus, if you're interested) is
> not as far as I know in a repository that I can just add to apt's
> sources.list and make everything easy.
> 

Try running the following, immediately afterwards...

apt-get install -f

This will install dependancies for xxx.deb from repositories, if they
can be satisfied.

Basically, dpkg ignores the repos when you use -i to install anything.

-- 
  .~.   Mark Brier - Open Source Tech Consultant
 / v \  mark AT openitup DOT org / lists AT openitup DOT org
/( _ )\ PubKey - http://www.openitup.org/keys/markatopenitup.asc
  ^ ^   +44 (0)161 2422132 / +44 (0)7793 036840

_______________________________________________
Peterboro mailing list
[email protected]
https://mailman.lug.org.uk/mailman/listinfo/peterboro

Reply via email to