Bierdieb
Posts: 48
Joined: Mon Jan 21, 2013 9:10 am

Problem using apt-get build

Fri Jan 25, 2013 7:52 am

Hello.

While trying to install unrar-nonfree on raspbian (up to date) ive encountered a problem which im not able to solve, maybe someone can help me:

pi@raspberrypi ~ $ sudo apt-get build-dep unrar-nonfree
bash: $'sudo\302\240apt-get\302\240build-dep\302\240unrar-nonfree': command not found
pi@raspberrypi ~ $

Ive installed the unrar-nonfree on a previous installation of raspbian and it worked fine.
I dont know what causes the command now to answer that way.

Thx in advance.

DirkS
Posts: 10363
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Problem using apt-get build

Fri Jan 25, 2013 8:21 am

I would say that \302 and \240 are octal codes. Did you by any chance copy & paste that line of code from a web page or a word processor document?

If that's the case you could either delete and then insert the spaces on the command line after pasting or type in the whole line 'by hand'.

Gr.
Dirk.

Bierdieb
Posts: 48
Joined: Mon Jan 21, 2013 9:10 am

Re: Problem using apt-get build

Fri Jan 25, 2013 9:21 am

No, as far as i remember i keyed in the command by hand... but, ill try it again. It was already late at night so ill give it another try.

Bierdieb
Posts: 48
Joined: Mon Jan 21, 2013 9:10 am

Re: Problem using apt-get build

Sat Jan 26, 2013 7:26 am

ive noticed that there is a general copy & paste problem from webpage to console.
i need to delete and replace all spaces from the pasted text in console to make it work. else there are alwas popping numbers instead of spaces from the interpreter. thats annoying, is there a way to fix that?

Bierdieb
Posts: 48
Joined: Mon Jan 21, 2013 9:10 am

Re: Problem using apt-get build

Sun Jan 27, 2013 7:37 am

\302\240 seems to be a unicode sequence for "non-breakable space".

It alwas appears as i copy something from a webpage to the terminal console. I found a hint, that this might be repaired as i put a command into the shell:

setxkbmap -option "nbsp:none"

or to put

Option "XkbOptions" "nbsp:none"

into the xorg.conf .
Both did not affect my problem. This thing is so annoying, pls help to find a solution. Thx.

Bierdieb
Posts: 48
Joined: Mon Jan 21, 2013 9:10 am

Re: Problem using apt-get build

Fri Feb 15, 2013 12:41 pm

I solved the problem by reinstalling wheezy.

Return to “Beginners”