Problem with apt package manager
Hello,
I want to install a package on debian server via apt-get. I transferred the pkg on my remote server / data, then I run:
Code:
apt-get install some.deb
and I get:
Code:
Reading Package Lists ... Done
Building Dependency Tree ... Done
E: Could not find package some.deb
But I place myself in the directory or is my pkg, how can I specify the location? Any help on this will be great and will help me a lot. Thanks in advance.
Re: Problem with apt package manager
Hello,
I think if the following command is not working
then you should try the aptitude package manager
This will surely work and it also works for the offline packages. Hope this will help you and you will install the required the packages.
Re: Problem with apt package manager
Hello,
To install a package located locally must be:
Why else did you downloaded the package on your post? Your server did not have access to the web? you have not downloaded the CD iso images? The principle of apt-get is to go and even download the packages and their dependencies in a repository (e.g Debian official site, its mirrors, or CD / DVD ROM). Rather than downloading the packages on your PC, configure apt-get (via apt-setup).
Re: Problem with apt package manager
Hello,
My server is in DMZ, no net access. I use a CD install, but I did not leave the server after the coup if I add a pkg I transfer it from my post. Effectively with dpkg-i it works. Here it goes, because there was a dependency for pkg install, I think the problem is solved and also thanks for your help. Also if you know some tips and tweaks for the apt package manager , then please let me know I am the interested one here.
Re: Problem with apt package manager
Hello,
Why do not you carry the CD installation of debian then? it works the same way except that in apt-setup you have says CD. It goes through all the CD to do its basic package 'installation' and dependencies. After, when you do a 'apt-get install MyPackage', it tells you 'Please insert CD # N' in the drive It's still done well Debian it must take advantage of its tools.