PDA

View Full Version : dpkg error



dan1965w
January 17th, 2017, 08:43 PM
dpkg error: error creating new backup file "var/lib/dpkg/status-old" : permission denied

Can help me?
Thanks you

&KyT$0P#
January 17th, 2017, 08:52 PM
Can help me?
Not without more info.

What were you trying to do?

How exactly were you going about it?
Was it through a graphical package manager? If so, which package manager?
Or was it from a Terminal command, if so what command?

Bashing-om
January 17th, 2017, 08:52 PM
dan1965w; Hello;

What exact command are you running ?
Be aware that the /var directory is a system directory requiring admin authority (sudo) to access .



all in the process

dan1965w
January 17th, 2017, 09:20 PM
When i make apt-get update
In the end say "dpkj was interrupted, you must manually run 'dpkj --configure -a' to correct the problem.
And when make that give the error

Bashing-om
January 17th, 2017, 09:50 PM
dan1965w; OK then;

Show us the complete output of terminal commands:


sudo apt update
sudo apt upgrade
sudo apt -f install

Place these outputs between code tags to maintain the readability .
code tag tutorial:
http://ubuntuforums.org/showthread.php?t=2171721&p=12776168#post12776168
Pending these returns we then take the package manger's advise " 'dpkg --configure -a' to correct the problem. " .

We then get to the cause of the issue.



ain't nothing but a thing

dan1965w
January 17th, 2017, 10:03 PM
# sudo apt update
fakeroot:FAKEROOTKEY set to 51770
fakeroot:nested operacion not yet suported

#sudo apt upgrade

fakeroot:FAKEROOTKEY set to 51770
fakeroot:nested operacion not yet suported

#sudo apt -f install
fakeroot:FAKEROOTKEY set to 51770
fakeroot:nested operacion not yet suported

Bashing-om
January 17th, 2017, 10:10 PM
dan1965w; Yrk !

What are you doing ? Trying to compile dpkg from source ? This does not appear to be a standard linux install .

So, what is the install environment?
Do you know that you have internet connectivity ?



backing up 10 yards here and



punting

dan1965w
January 17th, 2017, 10:17 PM
Debian
Installed on android phone

howefield
January 17th, 2017, 10:19 PM
Moved to "Debian"

Bashing-om
January 17th, 2017, 10:27 PM
exit:
stage right -

as I know nothing of android devices.

dan1965w
January 17th, 2017, 10:28 PM
Why?

QIII
January 17th, 2017, 10:33 PM
Why as in "Why was this moved to Debian?"

Because you have Debian installed.

dan1965w
January 17th, 2017, 10:36 PM
U can help me or not?

ian-weisser
January 18th, 2017, 12:46 AM
Apt won't work on fakeroot.
It only works on real root.
It may look the same to you, but the kernel knows the difference.

How did you get fakeroot?