apt-get package manager capability


 
Thread Tools Search this Thread
Operating Systems Linux Debian apt-get package manager capability
# 1  
Old 10-27-2011
Question apt-get package manager capability

Hi List,

Recently I was doing some toubleshooting installing a package on a Redhat 6 machine using the the installer script which came with that package and I got an error message telling me that a file was missing indicating that I had to google for the dependancies and install them before this application could complete its installation script.

A solution I found was that instead of googling for the package which contained the missing file and then installing that package using yum, I simply used yum to install the missing file, and it aautomatically looked up the package which contained that file and installed it with a line like the following:

yum install /usr/lib/foo.bar.so.6

My question which relates to debian, is there any way of issuing a command line as simple as this which automatically finds and installs the correct missing package for the file using apt-get or something?

thanks,

steve
# 2  
Old 10-27-2011
There is something very wrong with your example. The yum install option installs packages - not individual files.

As far as apt-get is concerned, have a look at the --fix-broken and the --fix-missing options.
# 3  
Old 10-27-2011
Hi Thanks for this,

But that example works by installing the distribution shipped package which the file belongs to. So you only have to specify the full filepath of the file to install the corresponding package of which it belongs. Pretty cool hey?
Login or Register to Ask a Question

Previous Thread | Next Thread

6 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Which Package Manager?

I came across a number of apparent tarballs of OS packages which are in a format which I do not recognize. Does anybody know which packet manager uses this format? # ls pkg_cfiles pkg_data pkg_data32 pkg_data64 pkg_info pkg_scripts pkg_signature # cat pkg_info PACKAGE=8.2... (3 Replies)
Discussion started by: fpmurphy
3 Replies

2. UNIX for Dummies Questions & Answers

Unable to install from synaptic package manager

i am not able to install anything from package manager . (2 Replies)
Discussion started by: upvan111
2 Replies

3. Ubuntu

Can't update or use package manager -- gpg error

W: GPG error: http://archive.canonical.com karmic Release: Unknown error executing gpgv W: GPG error: http://us.archive.ubuntu.com karmic Release: Unknown error executing gpgv W: GPG error: http://us.archive.ubuntu.com karmic-updates Release: Unknown error executing gpgv W: GPG error:... (17 Replies)
Discussion started by: CRGreathouse
17 Replies

4. Solaris

Solaris 10 Software Package Manager

Hi there, maybe one of you knows the software package tool during the installation of solaris 10. You are able to choose an installtion and customize it with pressing F4 .... a very nice list occurs where you can select packages like apache, ssh and so on ... Is it possible to start this... (0 Replies)
Discussion started by: drexler76
0 Replies

5. UNIX for Dummies Questions & Answers

apt-get is unabel to find the package

Hi All, I am getting the following error when installing teh package kernel-source-2.6.10 ba-chroot:~# apt-get install kernel-source-2.6.10 Reading Package Lists... Done Building Dependency Tree... Done E: Couldn't find package kernel-source-2.6.10 thanks & Regards Gauri (4 Replies)
Discussion started by: gauri
4 Replies

6. UNIX for Advanced & Expert Users

Solaris Package Manager problem

i'm trying to run Patch Manager, but i'm getting the following problem when i try and run "pprosvc" with either the -l, -d, or -i options. Assessing patches needed for your system...... (8 Replies)
Discussion started by: xyyz
8 Replies
Login or Register to Ask a Question