LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 12-18-2013, 11:06 AM   #1
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Rep: Reputation: 30
Question Download deb package from repository NOT using Debian (no apt-get)


Hello

I was provided with repository link, in form "deb http://repo.example.com/debian wheezy main"

I have package name "OneMillionBuksApp"

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?
 
Old 12-18-2013, 12:20 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
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).
 
Old 12-18-2013, 03:29 PM   #3
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
That is what I did in first place. I got 403 Forbidden. Try it yourself Any suggestions?
 
Old 12-18-2013, 03:37 PM   #4
sycamorex
LQ Veteran
 
Registered: Nov 2005
Location: London
Distribution: Slackware64-current
Posts: 5,836
Blog Entries: 1

Rep: Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251Reputation: 1251
My understanding is that Wheezy is the current Stable branch. If so, just go to the main Debian repository:
http://packages.debian.org/stable/

and use the browser to navigate the pages to find and download your package.
 
Old 12-18-2013, 04:10 PM   #5
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by FeyFre View Post
Any suggestions?
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?
 
Old 12-18-2013, 04:58 PM   #6
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
Quote:
Originally Posted by FeyFre View Post
That is what I did in first place. I got 403 Forbidden. Try it yourself Any suggestions?
Contact the administrator, I see no other way.
 
Old 12-18-2013, 05:10 PM   #7
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
You could try posting your problem here: http://forum.torrentstream.org/index.php?topic=1933.0
 
Old 12-18-2013, 05:20 PM   #8
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
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".
 
Old 12-18-2013, 05:27 PM   #9
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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):

https://en.wikipedia.org/wiki/HTTP_403

Last edited by snowday; 12-18-2013 at 05:29 PM.
 
Old 12-18-2013, 05:33 PM   #10
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
Quote:
Originally Posted by FeyFre View Post
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.

Last edited by snowday; 12-18-2013 at 06:04 PM.
 
Old 12-19-2013, 03:34 PM   #11
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
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".
 
Old 12-19-2013, 03:45 PM   #12
snowday
Senior Member
 
Registered: Feb 2009
Posts: 4,667

Rep: Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411Reputation: 1411
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.
 
Old 12-19-2013, 07:05 PM   #13
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,
Quote:
Originally Posted by FeyFre View Post
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".

Evo2.
 
Old 12-19-2013, 07:37 PM   #14
k3lt01
Senior Member
 
Registered: Feb 2011
Location: Australia
Distribution: Debian Wheezy, Jessie, Sid/Experimental, playing with LFS.
Posts: 2,900

Rep: Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637Reputation: 637
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.
 
Old 12-20-2013, 10:49 AM   #15
FeyFre
Member
 
Registered: Jun 2010
Location: Ukraine, Vinnitsa
Distribution: Slackware
Posts: 351

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by snowpine View Post
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.
 
  


Reply

Tags
deb, download, manual, repo



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to download a .deb given only the repository URL? alexander_bosakov Linux - Software 2 08-06-2011 06:29 AM
Apt screwed after attempt to install a .deb package utw-mephisto Debian 1 02-08-2007 11:46 AM
Help with Synaptic Package Manager REPOSITORY/apt-get nvidia pkgs beeblequix Debian 4 10-07-2005 04:27 PM
Debian Apt Repository ghight Linux - Software 1 02-14-2003 02:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration