View Single Post
Posts: 153 | Thanked: 222 times | Joined on Aug 2017 @ Spain
#1
Hello guys. New rookie doubt.

I need root access to run commands like this:

apt-get update; apt-get upgrade

I run su, sudo, sudo gainroot, etc. But I can't run the update commands. The password is wrong, I have tried 12345, 0000, rootme and my unlock code but nothing works.

I have read in the following link that installing OpenSSH can be solved:

https://wiki.maemo.org/Root_access

But I run apt-get install OpenSSH ... and it needs root permission too.

sudo passwd root doesn't work for me either.

When I run "apt-get update; apt-get upgrade" (with and without "su") I get the following error:

E: Could not open lock file / var / lib / apt / list / lock - open (13 Permission denied)
E: Enable to lock the list directory
E: Could not open lock file / var / lib / dpkg / lock - open (13 Permission denied)
E: Unable to lock the administration directory (/ var / lib / dpkg /), are you root?

What I can do?
 

The Following User Says Thank You to Kalatti For This Useful Post: