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)

alq0rsan 2010-01-14 13:38

error when i try dpkg -i /home/user/MyDocs/.documents/
 
i install rootsh
and type sudo gainroot

and after that i write
dpkg -i /home/user/MyDocs/.documents/

and i get error i cant acces the folder

i did it fine before the update

mikkov 2010-01-14 13:39

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

Originally Posted by alq0rsan (Post 470764)
dpkg -i /home/user/MyDocs/.documents/

That command will not do anything. Maybe add the file name to the end?

chainreaction 2010-01-14 13:41

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
Umm.. What are you actually trying to achieve? The command you are giving does not contain the installable file. It seems that you're just giving the path not the .deb file.

alq0rsan 2010-01-14 13:41

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
ops forget about that hahahaha


ty man i think i forget after i slept do long last time hahaha

alq0rsan 2010-01-14 13:42

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
<<<< rofl hahahaha

ok ty guys i really forget that hahaha

cddiede 2010-01-14 13:43

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

Originally Posted by alq0rsan (Post 470764)
i install rootsh
and type sudo gainroot

and after that i write
dpkg -i /home/user/MyDocs/.documents/

and i get error i cant acces the folder

i did it fine before the update

Can you show us the actual error message? Because if this is really what you're typing, then your error would probably look more like this:

dpkg -i /home/user/MyDocs/.documents/
.documents is not a deb package (or package manifest): Is a directory

alq0rsan 2010-01-14 14:06

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
yea i know
i just know what my mistake ty mate

msa 2010-01-18 00:44

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
i also have a problem with this

i want to install a .deb-file

when i enter dpkg -i /media/sdhc1/file.deb
it tells me that operation requires superuser privilege, as expected

so i did sudo gainroot, which tells me "Enable RD mode if you want to break your device"
this doesnt help as the dpkg-command still doesnt work

when i do sudo -s, it also doesnt help.

how do i get superuser privileges?
all i read about in this forum is "do 'sudo gainroot' "; but that doesnt work.

mikhmv 2010-01-18 00:51

Re: error when i try dpkg -i /home/user/MyDocs/.documents/
 
you should install rootsh package.
after this
"sudo gainroot" and all commands after this will have superuser privilege. it is mean just type: "dpkg -i PackageName.deb"

That One Guy 2010-01-18 00:53

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

Poster above me beat me to it.

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