maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Maemo 5 / Fremantle (https://talk.maemo.org/forumdisplay.php?f=40)
-   -   error when i try dpkg -i /home/user/MyDocs/.documents/ (https://talk.maemo.org/showthread.php?t=40470)

msa 2010-01-18 00:54

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
ok, so rootsh is required.

what a lucky guy i am that all the repos are down right now... xD

geneven 2010-01-18 00:55

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
You have to install the rootsh package, I think it is. You may have trouble doing that with repositories down, though.

msa 2010-01-18 14:55

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
ok, i have rootsh now, sudo gainroot works.

the problem is: what path do i have to enter with dpkg -i?

i put the file on 2 locations.
location 1, as seen from the filemanager, is: Nokia N900/file.deb
location 2, as seen from the filemanager, is: Sdhc1/file.deb

now i tried dpkg -i Nokia N900/file.deb
and i tried dpkg -i Sdhc1/file.deb

also tried dpkg -i media/Sdhc1/file.deb because i read that memory-cards need to have media/ in front of them.

nothing of this works, all i get is "no such file or directory"

Rob1n 2010-01-18 14:57

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
Quote:

Originally Posted by msa (Post 480035)
location 1, as seen from the filemanager, is: Nokia N900/file.deb
location 2, as seen from the filemanager, is: Sdhc1/file.deb

Location1 should be /home/user/MyDocs/file.deb
Location2 should be /media/mmc1/file.deb

msa 2010-01-18 15:10

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
Quote:

Originally Posted by Rob1n (Post 480037)
Location1 should be /home/user/MyDocs/file.deb
Location2 should be /media/mmc1/file.deb

i just (10 secs ago) figured that out :D

i just dont understand why the terminal-path is called mmc when the card itself is named sdhc1.

i still have to learn a lot about linux...^^

Rob1n 2010-01-18 15:15

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
Quote:

Originally Posted by msa (Post 480060)
i just (10 secs ago) figured that out :D

i just dont understand why the terminal-path is called mmc when the card itself is named sdhc1.

i still have to learn a lot about linux...^^

The card name (sdhc1) can be changed, and is user-specific. The mount point needs to be fixed though, otherwise it'd be impossible to write apps to access it.

msa 2010-01-18 16:07

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
i see the point.
but as "deep" as terminal may be, its still user-controlled. so why not use the names the user has given to devices? internally, it can still work with the fixed names....

whatever, i'll get used to it.


All times are GMT. The time now is 20:34.

vBulletin® Version 3.8.8