Installing package from repository
My objective is to install bluez package for ARM architecture.
These are some steps I have took so far: Quote:
1. I do not understand what the "500" "100" is telling me. 2. Where is the package name ? All I get is "version" I did try this, but did not expect success: Quote:
Wget connected to specified (?) repository, but did not find , as expected , the required package. Since it failed I did not bother to check the contents of /TEMP_BLUEZ/raspbian.2 Any suggestion how to make the Wget call successful in downloading the ARM version of "bluez" would be greatly appreciated. |
Quote:
Quote:
|
Code:
$ sudo wget -P /TEMP_BLUEZ http://raspbian.raspberrypi.org/raspbian stretch/main armhf Packages 5.43-2+rpt2+deb9u2 Code:
--2019-03-15 16:18:25-- http://stretch/main |
Quote:
|
Quote:
The "error" is - it does not identify the package name - just version. I need to go back to apt man to see if it has an option to identify the package name. Come to think of it - the best approach would be to be able to read just the repository packages tree. I have managed to retrieve the entire contents of "Packages" ( plain text) - but it is unmanageable , way too big. I'll try this next purge bluez install bluez The "install " give the repository link where the package was installed from then I can try another Wget using that repository sorry I missed scasey post Got to run Later |
I think you need to learn to read manual pages and/or learn how to Google things properly, because you don't seem to have a very good grasp on what you're doing/trying to do. And you've included part of your reply in the quote of what I posted before.
You have not even said which Linux distribution you're using... |
Looks like distribution / version is rasbpian stretch
From the apt_preferences man page Quote:
sudo dpkg -l bluez |
Quote:
Thanks , this may lead to the solution. I can use option "-i" in wget command to retrieve multiple packages, but I need only one anyway. However, I am still unable to figure out the correct syntax to "wget" bluez package from repository. Obviously "5.43-2+rpt2+deb9u2" is not correct, neither is "bluez-5.43-2+rpt2+deb9u2". I'll keep guessing for now, unless there is away to retieve the name from the repository. Thanks Appreciate the reply. |
Why use wget versus the package manager utilities i.e apt or apt-get?
sudo apt-cache search bluez will find all packages that contain the word bluez. sudo apt-get install bluez will install bluez packages. |
From man wget:
Quote:
Arguments to wget are in the form of URLs As you can see by the errors you got, it adds http:// to a string if it's not there, but the argument should contain, at a minimum, a complete, valid domain name. Yes, a file being downloaded could contain a package, but you should be using your package manager (apt, yum, etc.) to install packages, not wget. [I had to pause to answer the phone, so didn't see michaelk's post...] |
Yet another attempt to identify the package name required by wget:
pi@pi:~ $ sudo wget -P /TEMP_BLUEZ -i http://raspbian.raspberrypi.org/rasp...armhf/Packages bluez I am assuming this info was retrieved during the actaull APt install bluez " FROM repository. Quote:
|
FFS - use code boxes for code, not 'quote'.
Quote:
Code:
pi@pi:~ $ apt-cache policy bluez |
Quote:
This is a hack - I am doing this as an interim step so I can get the "bluez" package for ARM architecture running wget from X86 architecture. It is imperative that I can specify the package name in wget - which so far is eluding me. The repository is "architecture sensitive" and that is all I care for now. Addendum wget is the correct way to accomplish the task, the PROBLEM is that wget processes FILE(s) and "bluez" is PACKAGE NAME , not a file. |
Quote:
The current package can be found at http://www.bluez.org/download/packag...ez-5.50.tar.xz You really need to work on your web searching skills, has been repeatedly pointed out to you. I entered bluez into a search engine. www.bluez.org is the first non-ad link. Or, maybe, this is what you want |
All times are GMT -5. The time now is 12:53 PM. |