Go Back   TechArena Community > Software > Operating Systems
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Problem with apt package manager

Operating Systems


Reply
 
Thread Tools Search this Thread
  #1  
Old 19-03-2010
Member
 
Join Date: Mar 2010
Posts: 191
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.

Reply With Quote
  #2  
Old 19-03-2010
Member
 
Join Date: Nov 2009
Posts: 583
Re: Problem with apt package manager

Hello,
I think if the following command is not working
Code:
apt-get
then you should try the aptitude package manager
Code:
dpkg-i some.deb
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.
Reply With Quote
  #3  
Old 19-03-2010
Member
 
Join Date: Nov 2009
Posts: 446
Re: Problem with apt package manager

Hello,
To install a package located locally must be:
Code:
dpkg-i some.deb
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).
Reply With Quote
  #4  
Old 19-03-2010
Member
 
Join Date: Mar 2010
Posts: 191
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.
Reply With Quote
  #5  
Old 19-03-2010
Member
 
Join Date: Nov 2009
Posts: 356
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.
Reply With Quote
Reply

  TechArena Community > Software > Operating Systems
Tags: , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Problem with apt package manager"
Thread Thread Starter Forum Replies Last Post
Package format in Eee Note Package Manager Sanju!Ekta Portable Devices 6 11-08-2011 11:30 PM
Hyper Note Package manager Angee Windows Software 5 28-06-2011 10:56 AM
Software manager vs Package manager in Linux Mint (IVORY) Operating Systems 5 18-01-2011 10:08 AM
Synaptic package manager error pratikk Networking & Security 5 19-02-2010 03:58 PM


All times are GMT +5.5. The time now is 07:46 AM.