Results 1 to 5 of 5

Thread: Problem with apt package manager

  1. #1
    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.

  2. #2
    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.

  3. #3
    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).

  4. #4
    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.

  5. #5
    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.

Similar Threads

  1. Package format in Eee Note Package Manager
    By Sanju!Ekta in forum Portable Devices
    Replies: 6
    Last Post: 11-08-2011, 11:30 PM
  2. Hyper Note Package manager
    By Angee in forum Windows Software
    Replies: 5
    Last Post: 28-06-2011, 10:56 AM
  3. Software manager vs Package manager in Linux Mint
    By (IVORY) in forum Operating Systems
    Replies: 5
    Last Post: 18-01-2011, 10:08 AM
  4. Synaptic package manager error
    By pratikk in forum Networking & Security
    Replies: 5
    Last Post: 19-02-2010, 03:58 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •