[SOLVED] Download deb package from repository NOT using Debian (no apt-get)
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
How I can download that package from given repo having unreachable apt (non-Debian distro or non-Linux environment)?
Any script or any formal algorithm?
Just use a browser. Go to the repositories address in your browser (in your example that would be http://repo.example.com/debian), you will find your package if you follow the links pool->main, then look into the proper category (I can't say which one without seeing the actual repository).
Did you try contacting the owners of the website? Why do you think that we here at linuxquestions.org would be administrators to help you troubleshoot a broken link at acestream.org?
That is not broken link! It works! I have instantiated Ubuntu in VirtualBox, setup this repo int /etc/apt/sources.list and downloaded packages using "apt-get download". All I need now is to know way how to do that manually. I need to know what really does apt-get when I ask "apt-get download somethink".
Here is an explanation of the "403 Forbidden" error, to help you understand why the administrator of that website is the best person to help you (not us):
That is not broken link! It works! I have instantiated Ubuntu in VirtualBox, setup this repo int /etc/apt/sources.list and downloaded packages using "apt-get download".
If you have downloaded/installed the Ubuntu package, the .deb ought to be in your /var/cache/apt/archives so you can copy it to another computer. The thread I linked to in #7 claims that this project does not distribute source, only pre-compiled .deb which you might already have sitting in /var/cache/apt/archives/acestream-engine.deb for example.
If you have downloaded/installed the Ubuntu package, the .deb ought to be in your /var/cache/apt/archives so you can copy it to another computer. The thread I linked to in #7 claims that this project does not distribute source, only pre-compiled .deb which you might already have sitting in /var/cache/apt/archives/acestream-engine.deb for example.
Again, I have NOT any DEBAIN-based distribution around nearest 2 kilometers. WHAT I MUST TO DO SO REPO SERVER DETECTS ME AS APT-GET NOT AS HUMAN? Do I ask something awfully complex? Describe me algorithm of "apt-get download packagename".
Again, I have NOT any DEBAIN-based distribution around nearest 2 kilometers.
How is the physical distance to your machine of any relevance?
Quote:
WHAT I MUST TO DO SO REPO SERVER DETECTS ME AS APT-GET NOT AS HUMAN?
Not usually a good idea to yell at people you are asking to help you.
Quote:
Do I ask something awfully complex? Describe me algorithm of "apt-get download packagename".
I don't know the algorithm but I think apt reads /var/cache/apt/pkgcache.bin and /var/lib/apt/lists/*_Packages to determine where to download the package from and then downloads it. If you really want to know you could dig into the apt documentation and source code. However reading this thread I think you can probably get the information you want using snort when doing "apt-get download foo".
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900
Rep:
If you just want one off downloads then go to Debian Packages scroll down the page, fill in the relevant details and shazzam you'll get links to the packages you want to download.
You said in post #8 that you have Ubuntu in virtualbox. Ubuntu is Debian-based, so if you have Ubuntu, then you DO have a Debian-based distribution.
SO, next time when I shall setup another instance let say of Mandirva, and I want to get package from deb repo you propose me to do next:
1. install virtual box
2. install debian/ububtu as guest
3. modify /etc/APT/sources.list of guest: add repo link
4. issue "apt-get update && apt-get download packagename" on guest system
5. extract received packages from guest to host
instead of simple
download-from-deb-repo.sh <repo-uri> <package-names>
???
And repeat this procedure for each time on each non-Debian machine?
I writing that download-from-deb-repo.sh and asked explanation of step 4. in head post and got only unrelated answers.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.