LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 03-18-2019, 11:06 AM   #16
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,968

Rep: Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831

Quote:
Originally Posted by rtmistler View Post
For further reading:

Building aptitude from source code

Main place I look when I have a question about some software where the information about it seems to be sparse.
  1. Ask the author(s)
  2. Download the source and read it
Seems as if the information you are looking for is rare knowledge.

Please update the forum if you happen to reach a conclusion after reviewing the code. Note that the download link from that webpage contains different architecture based versions of aptitude, arm hard float is included in that list.
I believe just leaving off the "=" sign may work..nothing more 'complex' than a syntax error, but the OP can't seem to grasp that.

Add to that the fact that (if the OP actually added in the repos for ARM), they don't HAVE to specify architecture, just "apt-get install bluez". That was suggested in some of the other (several) threads they have open about this.
 
3 members found this post helpful.
Old 03-18-2019, 11:42 AM   #17
rtmistler
Moderator
 
Registered: Mar 2011
Location: MA, USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 8,061
Blog Entries: 13

Rep: Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504Reputation: 3504
@TB0ne,

I wholeheartedly agree that the OP has been given full answers as to what exactly they should try.

Meanwhile they seem to be repeatedly asking for more expert level knowledge about how aptitude works.

My best recommendation is therefore to follow the recommendations I've outlined, however really my "go to" variation on that would be to read the source code. I feel one cannot countermand what actual source code says, and in fact you can build it yourself and test it out, or add debug/features to it to customize it.

They claim very much to know how to read and seem to imply greatly that LQ members are unable to provide sufficient answers. Therefore the links provide contain a great deal of information for them to read, which will clearly answer any and all questions they have about the aptitude package.
 
1 members found this post helpful.
Old 03-18-2019, 12:51 PM   #18
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,113

Rep: Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596Reputation: 1596
Quote:
Originally Posted by TB0ne View Post
Obviously not, since not only the error message but many others have told you very plainly that you are not specifying things correctly. It is telling you it fails because you're not putting the command in correctly. Many examples covered in many how-to guides:
https://wiki.debian.org/Multiarch/HOWTO

Did you try "-a armhf", without the "="???
Which was exactly what they have already been told.

Quote:
Your post is far from complex, but the answers you've received (here and in the numerous other bluez threads you've started) seem to be too complex. I put "linux apt specify architecture", and found the link posted above. Very first hit, for 681,000 others.
Aman to that.

Quote:
Originally Posted by TB0ne View Post
...nothing more 'complex' than a syntax error, but the OP can't seem to grasp that.

Add to that the fact that (if the OP actually added in the repos for ARM), they don't HAVE to specify architecture, just "apt-get install bluez". That was suggested in some of the other (several) threads they have open about this.
Once again, exactly what they've been told.

In any case, this OP is the latest addition to my Ignore List.
 
2 members found this post helpful.
Old 03-18-2019, 02:05 PM   #19
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,103

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
no it is not the equal sign:
Code:
root@host:~# apt -a=amd64 install zsh
E: Command line option 'a' [from -a=amd64] is not understood in combination with the other options.
root@host:~# apt -a amd64 install zsh
E: Command line option 'a' [from -a] is not understood in combination with the other options.
root@host:~#
here is the source to parse command line: https://github.com/Debian/apt/blob/c...mndline.cc#L90 (line 126 prints the error message)
The message means: The specified [install] subcommand has no such option (-a). Probably the phrasing is unfelicitous.
here is the source to configure the parser: https://github.com/Debian/apt/blob/c...ndline.cc#L176
and you can see where a "host-architecture" is specified at all.
 
1 members found this post helpful.
Old 03-18-2019, 02:13 PM   #20
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 21,968

Rep: Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831Reputation: 5831
Quote:
Originally Posted by pan64 View Post
no it is not the equal sign:
Code:
root@host:~# apt -a=amd64 install zsh
E: Command line option 'a' [from -a=amd64] is not understood in combination with the other options.
root@host:~# apt -a amd64 install zsh
E: Command line option 'a' [from -a] is not understood in combination with the other options.
root@host:~#
here is the source to parse command line: https://github.com/Debian/apt/blob/c...mndline.cc#L90 (line 126 prints the error message)
The message means: The specified [install] subcommand has no such option (-a). Probably the phrasing is unfelicitous.
here is the source to configure the parser: https://github.com/Debian/apt/blob/c...ndline.cc#L176
and you can see where a "host-architecture" is specified at all.
::edit::
Nevermind...see what you're saying.

Last edited by TB0ne; 03-18-2019 at 02:15 PM.
 
Old 03-18-2019, 02:17 PM   #21
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,103

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
Originally Posted by TB0ne View Post
I think it should be "amdhf", instead of amd64.
I tested it on amd64. but here it is on RPi3, raspbian stretch:
Code:
root@host:~# apt -a=armhf install zsh
E: Command line option 'a' [from -a=armhf] is not understood in combination with the other options.
root@host:~# apt -a armhf install zsh
E: Command line option 'a' [from -a] is not understood in combination with the other options.
root@host:~# apt -a=world install zsh
E: Command line option 'a' [from -a=world] is not understood in combination with the other options.
root@host:~# apt -asomething install zsh
E: Command line option 'a' [from -asomething] is not understood in combination with the other options.
root@host:~# apt -a surprise install zsh
E: Command line option 'a' [from -a] is not understood in combination with the other options.
root@host:~#
apt-get works exactly the same way.
 
1 members found this post helpful.
Old 03-18-2019, 09:54 PM   #22
AnneRanch
Member
 
Registered: Oct 2018
Posts: 198

Original Poster
Rep: Reputation: 12
The "apt-get" option -a description / doc is indirectly saying -a is to be used in compile and not in install.
Of course the bluez I am trying to work with is complied.

SOLVED
 
Old 03-19-2019, 02:02 AM   #23
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 13,103

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
Quote:
Originally Posted by AnneRanch View Post
The "apt-get" option -a description / doc is indirectly saying -a is to be used in compile and not in install.
No, it does not. It is only you who thinks it is implied somehow. see post #8.

Quote:
Originally Posted by AnneRanch View Post
SOLVED
In that case please mark the thread solved.

Also if you occasionally want to say thanks just click on yes.
 
2 members found this post helpful.
Old 03-19-2019, 02:39 AM   #24
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,708

Rep: Reputation: 528Reputation: 528Reputation: 528Reputation: 528Reputation: 528Reputation: 528
Not to mention the OP already has the package installed...

https://www.linuxquestions.org/quest...0/#post5974285
 
2 members found this post helpful.
  


Closed Thread

Tags
apt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
BlueZ forum - how to"configure " bluez ? AnneRanch Linux - Newbie 7 03-14-2019 03:36 PM
Not able to run this command "sudo apt-get install libdevil-dev" even after trying "apt-get -f install" getting below error message srihariu1 Linux - Embedded & Single-board computer 2 04-26-2018 06:33 AM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:28 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration