Dpkg error requested operation requires superuser privilege

I want to run this command (see section 4 from here https://help.ubuntu.com/community/AptGet/Howto#Removal_commands): dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge I use sudo at the

I want to run this command (see section 4 from here https://help.ubuntu.com/community/AptGet/Howto#Removal_commands):

dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge

I use sudo at the beginning but anyway I get an error:

user@user-desktop:~$ sudo dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge
[sudo] password for user:
dpkg: error: requested operation requires superuser privilege

Why sudo doesn’t work? What else should I type?

asked Jul 18, 2013 at 12:26

Green's user avatar

try to login as root, to gain the super-power, you can do this by typing:

sudo -i

then write (copy/paste :: Ctrl + C / Ctrl + Shift + V <— paste in terminal) your command in terminal, and it should work

answered Jul 18, 2013 at 12:42

Rodislav Moldovan's user avatar

sudo only applies to a single command, not the whole pipeline. In your case, the command ran as superuser was dpkg -l – which is not necessary.

On the contrary, the command really requiring the superuser access in your pipeline is dpkg --purge, so prepend sudo directly to it.

dpkg -l | grep '^rc' | awk '{print $2}' | xargs sudo dpkg --purge

By the way, awk can filter rows using regular expressions just like grep does, so you can save one command:

dpkg -l | awk '/^rc/{print $2}' | xargs sudo dpkg --purge

answered Sep 27, 2018 at 13:15

Melebius's user avatar

MelebiusMelebius

10.8k8 gold badges48 silver badges75 bronze badges

sudo -i dpkg -l | grep '^rc' | awk '{print $2}' | xargs dpkg --purge

This may run your command with ROOT priviliges.
Sudo and root is different. Reference

answered Jul 18, 2013 at 12:40

ubuntu_tr's user avatar

ubuntu_trubuntu_tr

6753 silver badges6 bronze badges

1

Содержание

  1. Linux Mint Forums
  2. E:_cache->open() failed, please report SOLVED.
  3. E:_cache->open() failed, please report SOLVED.
  4. Re: E:_cache->open() failed, please report
  5. Re: E:_cache->open() failed, please report
  6. Re: E:_cache->open() failed, please report
  7. Re: E:_cache->open() failed, please report
  8. Re: E:_cache->open() failed, please report
  9. Linux Mint Forums
  10. E:_cache->open() failed, please report SOLVED.
  11. E:_cache->open() failed, please report SOLVED.
  12. Re: E:_cache->open() failed, please report
  13. Re: E:_cache->open() failed, please report
  14. Re: E:_cache->open() failed, please report
  15. Re: E:_cache->open() failed, please report
  16. Re: E:_cache->open() failed, please report
  17. Thread: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege
  18. Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege
  19. Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege
  20. Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege
  21. Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege
  22. Tutorial How to Stop «dpkg: requested operation requires superuser privilege» iOS
  23. 8 posts in this topic
  24. Recommended Posts
  25. Join the conversation
  26. Our picks
  27. Sword Art Online VS v1.0.21 +2 Jailed Cheats [ No Skill CD ]
  28. Picked By
  29. Sword Art Online VS v1.0.21 +3 Cheats [ No Skill CD ]
  30. Picked By
  31. Build Heroes:Idle Adventure v4.0.14 Jailed Cheats +1
  32. Picked By
  33. [ARM64] Cafeland — World Kitchen v2.2.83 Jailed Cheats +1
  34. Picked By
  35. ArKnights Japan — アークナイツ v14.8.61 — [ x Player Damage & More ]
  36. Picked By
  37. Dynasty Warriors: Overlords《真・三国无双 霸》Cheats v1.4.2 +2
  38. Picked By
  39. Knights of Valour TW — 三國戰紀 v2.22.0.0 +2 Cheats
  40. Picked By
  41. Knights of Valour: Arcade Game v2.22.0 +2 Cheats

Linux Mint Forums

Welcome to the Linux Mint forums!

E:_cache->open() failed, please report SOLVED.

E:_cache->open() failed, please report SOLVED.

Post by DevonshireDozer » Mon Jun 07, 2021 11:36 am

I am a techno-dumbo, but I’ve searched these forums to no avail. I’m probably asking the wrong questions.

I’ve been trying to do a software update, but it comes up with the following message:

Re: E:_cache->open() failed, please report

Post by dorsetUK » Mon Jun 07, 2021 11:46 am

Hi neighbour

Nothing to worry about, it’s all normal.

Copy that, paste it into your Terminal and hit Enter/Return. You’ll be asked for your password, which is the one you use to log on and – hopefully — all will be well.

Re: E:_cache->open() failed, please report

Post by DevonshireDozer » Mon Jun 07, 2021 4:10 pm

As the last in a long line of Janners, I thank you for making the trip down here to help from up country. I doubly thank you for not bringing your caravan ;^) .

I’ll give your advice a go when I’ve sobered up & let you know how it went.

Re: E:_cache->open() failed, please report

Post by DevonshireDozer » Mon Jun 07, 2021 4:32 pm

Boosted by that confidence which can only be induced by a couple of pan-galacticgargleblasters, I gave it a go & it worked a treat. I’ve no idea what I’ve just done, but many thanks to DorsetUK. I shall raise a glass across Start Bay towards the Dorset end of Lyme Bay & waft some good karma in your general direction.

Re: E:_cache->open() failed, please report

Post by dorsetUK » Tue Jun 08, 2021 10:48 am

Boosted by that confidence which can only be induced by a couple of pan-galacticgargleblasters, I gave it a go & it worked a treat. I’ve no idea what I’ve just done, but many thanks to DorsetUK. I shall raise a glass across Start Bay towards the Dorset end of Lyme Bay & waft some good karma in your general direction.

I had to look up ‘Janner’ — nice one. Sadly we don’t seem to call ourselves anything that’s printable, ‘cept for us being: Crousty, Tilty, Tinklebobs, Torrididdle or even Twanketen.

I loved that you said ‘I’ve no idea what I’ve just done’, because I’ve no idea what that command does either I’ve just learnt, through rote, that it works.

I’ll raise a glass of that most foreign brew — Devon Scrumpy — to you and return some of your karma.

Re: E:_cache->open() failed, please report

Post by Moem » Tue Jun 08, 2021 1:06 pm

In case you are curious, here is what ‘sudo’ does:

Sudo is a command that can be used as a prefix to other commands in the terminal. It means that you have the authority to give that order even though it’s one that normal users cannot give.

A normal user is not the real administrator; the real administrator is a virtual user called root. A normal / standard user who is an ‘admin’ like you, though, has sudo rights which means that you can say to root: Do this for me, because I have sudo rights. You will then be prompted for your password. This ensures that no one else can do things in your computer which require sudo rights. Only you, and not your roommate, a burglar or someone who is using a guest account. Typically, such things are everything that makes a change to the system, such as installing software.
When you update, for example, you have to enter your password. Because an update is a change to the system.

You could say that by using the terminal, you are having a conversation with root, that goes like this:

You: (gives command) Do this for me.
Root: No, you don’t have authority.
You: (types ‘sudo’ then a command) Do this for me, because I do have the authority.
Root: (asks for password) Is that so? Please prove this by providing your password.
You: (types password) Here it is.
Root: (executes command)

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

Источник

Linux Mint Forums

Welcome to the Linux Mint forums!

E:_cache->open() failed, please report SOLVED.

E:_cache->open() failed, please report SOLVED.

Post by DevonshireDozer » Mon Jun 07, 2021 11:36 am

I am a techno-dumbo, but I’ve searched these forums to no avail. I’m probably asking the wrong questions.

I’ve been trying to do a software update, but it comes up with the following message:

Re: E:_cache->open() failed, please report

Post by dorsetUK » Mon Jun 07, 2021 11:46 am

Hi neighbour

Nothing to worry about, it’s all normal.

Copy that, paste it into your Terminal and hit Enter/Return. You’ll be asked for your password, which is the one you use to log on and – hopefully — all will be well.

Re: E:_cache->open() failed, please report

Post by DevonshireDozer » Mon Jun 07, 2021 4:10 pm

As the last in a long line of Janners, I thank you for making the trip down here to help from up country. I doubly thank you for not bringing your caravan ;^) .

I’ll give your advice a go when I’ve sobered up & let you know how it went.

Re: E:_cache->open() failed, please report

Post by DevonshireDozer » Mon Jun 07, 2021 4:32 pm

Boosted by that confidence which can only be induced by a couple of pan-galacticgargleblasters, I gave it a go & it worked a treat. I’ve no idea what I’ve just done, but many thanks to DorsetUK. I shall raise a glass across Start Bay towards the Dorset end of Lyme Bay & waft some good karma in your general direction.

Re: E:_cache->open() failed, please report

Post by dorsetUK » Tue Jun 08, 2021 10:48 am

Boosted by that confidence which can only be induced by a couple of pan-galacticgargleblasters, I gave it a go & it worked a treat. I’ve no idea what I’ve just done, but many thanks to DorsetUK. I shall raise a glass across Start Bay towards the Dorset end of Lyme Bay & waft some good karma in your general direction.

I had to look up ‘Janner’ — nice one. Sadly we don’t seem to call ourselves anything that’s printable, ‘cept for us being: Crousty, Tilty, Tinklebobs, Torrididdle or even Twanketen.

I loved that you said ‘I’ve no idea what I’ve just done’, because I’ve no idea what that command does either I’ve just learnt, through rote, that it works.

I’ll raise a glass of that most foreign brew — Devon Scrumpy — to you and return some of your karma.

Re: E:_cache->open() failed, please report

Post by Moem » Tue Jun 08, 2021 1:06 pm

In case you are curious, here is what ‘sudo’ does:

Sudo is a command that can be used as a prefix to other commands in the terminal. It means that you have the authority to give that order even though it’s one that normal users cannot give.

A normal user is not the real administrator; the real administrator is a virtual user called root. A normal / standard user who is an ‘admin’ like you, though, has sudo rights which means that you can say to root: Do this for me, because I have sudo rights. You will then be prompted for your password. This ensures that no one else can do things in your computer which require sudo rights. Only you, and not your roommate, a burglar or someone who is using a guest account. Typically, such things are everything that makes a change to the system, such as installing software.
When you update, for example, you have to enter your password. Because an update is a change to the system.

You could say that by using the terminal, you are having a conversation with root, that goes like this:

You: (gives command) Do this for me.
Root: No, you don’t have authority.
You: (types ‘sudo’ then a command) Do this for me, because I do have the authority.
Root: (asks for password) Is that so? Please prove this by providing your password.
You: (types password) Here it is.
Root: (executes command)

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

Источник

Thread: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

Thread Tools
Display

Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

I am trying to install two packages to enable my ethernet and wifi, the commands seems to fail.

dpkg: error: requested operation requires superuser privilege

Below is my network information:

Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

Both dpkg commands require elevated privileges.

If you don’t read the newspaper, you’re uninformed. If you read the newspaper, you’re mis-informed. — Mark Twain

Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

Thanks, it worked but why is it asking for internet connection to install the package, «some problem occured during the firmware download. Please check your internet connection». I am not connected to internet while using the ubuntu [No Ethernet or No Wifi]

Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

First things first, i’m going to move your question to the Network and Wireless subforum.

Is this package firmware-b43-installer_019-2_all. trying to download the firmware ?
Do you need both packages ?
What tutorial are you trying to follow ? Do you have a link ?

I’m not the best person to help you with your question as i have never used those two packages but be patient and someone will come along to help you.

If you don’t read the newspaper, you’re uninformed. If you read the newspaper, you’re mis-informed. — Mark Twain

Источник

Tutorial How to Stop «dpkg: requested operation requires superuser privilege» iOS

By StayBlueYT ,
August 10, 2016 in Tutorials

8 posts in this topic

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Our picks

Sword Art Online VS v1.0.21 +2 Jailed Cheats [ No Skill CD ]

Puddin posted a topic in Free Non-Jailbroken IPA Cheats, November 22, 2022

Modded/Hacked App: Sword Art Online VS By Bandai Namco Entertainment Inc.
Bundle ID: jp.co.bandainamcoent.BNEI0409
iTunes Store Link: https://apps.apple.com/us/app/sword-art-online-vs/id1623994768

Hack Features:
— No Skill Cooldown

Jailbreak required hack(s): [Mod Menu Hack] Sword Art Online VS v1.0.10 +2 Cheats [ No Skill CD ] — Free Jailbroken Cydia Cheats — iOSGods
Modded Android APK(s): https://iosgods.com/forum/68-android-section/
For more fun, check out the Club(s): https://iosgods.com/clubs/

Picked By

Sword Art Online VS v1.0.21 +3 Cheats [ No Skill CD ]

Puddin posted a topic in Free Jailbroken Cydia Cheats, November 22, 2022

Modded/Hacked App: Sword Art Online VS By Bandai Namco Entertainment Inc.
Bundle ID: jp.co.bandainamcoent.BNEI0409
iTunes Store Link: https://apps.apple.com/us/app/sword-art-online-vs/id1623994768

Hack Features:
— No Skill Cooldown
— Jailbreak Detection Removed

Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
Modded Android APK(s): https://iosgods.com/forum/68-android-section/
For more fun, check out the Club(s): https://iosgods.com/clubs/

Picked By

Build Heroes:Idle Adventure v4.0.14 Jailed Cheats +1

Modded/Hacked App: Build Heroes:Idle Adventure By Chengdu Kuaizhi Game Technology Co., Ltd
Bundle ID: com.bibiboom.buildheroes
iTunes Store Link: https://apps.apple.com/us/app/build-heroes-idle-adventure/id1576857310?uo=4

Hack Features:
— iGameGod Cheat Engine Enabled ( For Coins/ Gems )

iOS Hack Download IPA Link: https://iosgods.com/topic/167753-build-heroesidle-adventure-v4014-jailed-cheats-1/

Picked By

[ARM64] Cafeland — World Kitchen v2.2.83 Jailed Cheats +1

Modded/Hacked App: Cafeland — World Kitchen by Gamegos Internet Teknolojileri Ltd Sti.
Bundle ID: com.gamegos.mobile.cafeland
iTunes Store Link: https://apps.apple.com/us/app/cafeland-world-kitchen/id1147665432?uo=4&at=1010lce4

Hack Features:
— Freeze Currencies

iOS Hack Download Link: https://iosgods.com/topic/100703-arm64-cafeland-world-kitchen-v2182-jailed-cheats-1/

Picked By

ArKnights Japan — アークナイツ v14.8.61 — [ x Player Damage & More ]

Modded/Hacked App: アークナイツ By Yostar, Inc.
Bundle ID: com.YoStarJP.Arknights
iTunes Store Link: https://apps.apple.com/jp/app/アークナイツ/id1478990007?uo=4&at=1010lce4

Mod Requirements:
— Jailbroken iPhone/iPad/iPod Touch.
— iFile / Filza / iFunBox / iTools or any other file managers for iOS.
— Cydia Substrate or Substitute.
— PreferenceLoader (from Cydia or Sileo).

Hack Features:
— x Player Damage — x1 — 1000
— x Player Defense — x1 — 1000
— x Player Attack Speed — x1 — 10
— Frozen Enemies
— Instant — Kill
— Instant — Win
— Unlimited Skills
— No Deploy Cost

iOS Hack Download Link: https://iosgods.com/topic/117823-arknights-japan-%E3%82%A2%E3%83%BC%E3%82%AF%E3%83%8A%E3%82%A4%E3%83%84-v1150-x-player-damage-more/

Picked By

Dynasty Warriors: Overlords《真・三国无双 霸》Cheats v1.4.2 +2

Modded/Hacked App: Dynasty Warriors: Overlords By SuperNova Overseas Limited Taiwan Branch
Bundle ID: com.supernova.zhensan.hktw.gw
iTunes Store Link: https://apps.apple.com/sg/app/dynasty-warriors-overlords/id1590111763?uo=4

Hack Features:
— Multiply Attack
— Multiply Defense

iOS Hack Download Link: https://iosgods.com/topic/154330-dynasty-warriors-overlords-cheats-v106-2/

Picked By

Knights of Valour TW — 三國戰紀 v2.22.0.0 +2 Cheats

Modded/Hacked App: 三國戰紀 By International Games System Co., Ltd.
Bundle ID: com.igs.kovtw
iTunes Store Link: https://apps.apple.com/tw/app/%E4%B8%89%E5%9C%8B%E6%88%B0%E7%B4%80/id1321779730?uo=4

Mod Requirements:
— Jailbroken iPhone/iPad/iPod Touch.
— iGameGod / Filza / iMazing or any other file managers for iOS.
— Cydia Substrate, Substitute or libhooker depending on your jailbreak.
— PreferenceLoader (from Cydia, Sileo or Zebra).

Hack Features:
— x Damage
— x Defense

Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
Modded Android APK(s): https://iosgods.com/forum/68-android-section/
For more fun, check out the Club(s): https://iosgods.com/clubs/

iOS Hack Download Link:

Hidden Content
Download Hack

Installation Instructions:
STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
STEP 3: If necessary, tap on the downloaded file, and then, you will need to press ‘Install’ from the options on your screen.
STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack’s popup in-game.

NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven’t found a solution, post your issue down below and we’ll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

Picked By

Knights of Valour: Arcade Game v2.22.0 +2 Cheats

Modded/Hacked App: Knights of Valour: Arcade Game By Enjoymi China Technology Limited
Bundle ID: com.mfun.kovios
iTunes Store Link: https://apps.apple.com/sg/app/knights-of-valour-arcade-game/id1180029771?uo=4

Mod Requirements:
— Jailbroken iPhone/iPad/iPod Touch.
— iGameGod / Filza / iMazing or any other file managers for iOS.
— Cydia Substrate, Substitute or libhooker depending on your jailbreak.
— PreferenceLoader (from Cydia, Sileo or Zebra).

Hack Features:
— x Damage
— x Defense

Non-Jailbroken & No Jailbreak required hack(s): https://iosgods.com/forum/79-no-jailbreak-section/
Modded Android APK(s): https://iosgods.com/forum/68-android-section/
For more fun, check out the Club(s): https://iosgods.com/clubs/

iOS Hack Download Link:

Hidden Content
Download Hack

Installation Instructions:
STEP 1: Download the .deb Cydia hack file from the link above. Use Safari/Google Chrome or other iOS browsers to download.
STEP 2: Once the file has downloaded, tap on it and then you will be prompted on whether you want to open the deb with iGameGod or copy it to Filza.
STEP 3: If necessary, tap on the downloaded file, and then, you will need to press ‘Install’ from the options on your screen.
STEP 4: Let iGameGod/Filza finish the cheat installation. Make sure it successfully installs, otherwise see the note below.
STEP 5: If the hack is a Mod Menu — which is usually the case nowadays — the cheat features can be toggled in-game. Some cheats have options that can be enabled from your iDevice settings.
STEP 6: Turn on the features you want and play the game. You may need to follow further instructions inside the hack’s popup in-game.

NOTE: If you have any questions or problems, read our Troubleshooting topic & Frequently Asked Questions & Answers topic. If you still haven’t found a solution, post your issue down below and we’ll do our best to help! If the hack does work for you, please post your feedback below and help out other fellow members that are encountering issues.

Источник

Forum rules
Before you post please read how to get help. Topics in this forum are automatically closed 6 months after creation.

DevonshireDozer

Level 1
Level 1
Posts: 8
Joined: Wed Oct 09, 2019 5:01 pm

E:_cache->open() failed, please report SOLVED.

I am a techno-dumbo, but I’ve searched these forums to no avail. I’m probably asking the wrong questions.

I’ve been trying to do a software update, but it comes up with the following message:

Code: Select all

E:dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.
E:_cache->open() failed, please report

When I use terminal & enter the instruction to run dpkg as above, I get a message that says:

Code: Select all

dpkg: error requested operation requires superuser privilege.

the updates are for:

Code: Select all

grub2-signed new version 1.167-18.04.3+2.04-1 ubuntu44.1
grub2-unsigned new version 2.04-1ubuntu44.1

I am at a loss to know what to do next. How do I make myself a ‘superuser’ — and is it something I should do?

Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.

Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.

dorsetUK

Level 5
Level 5
Posts: 879
Joined: Thu Sep 19, 2019 4:40 am

Re: E:_cache->open() failed, please report

Post

by dorsetUK » Mon Jun 07, 2021 11:46 am

DevonshireDozer wrote: ↑

Mon Jun 07, 2021 11:36 am


I am at a loss to know what to do next. How do I make myself a ‘superuser’ — and is it something I should do?

Hi neighbour :D

Nothing to worry about, it’s all normal.

Copy that, paste it into your Terminal and hit Enter/Return. You’ll be asked for your password, which is the one you use to log on and – hopefully — all will be well.

HTH.

DevonshireDozer

Level 1
Level 1
Posts: 8
Joined: Wed Oct 09, 2019 5:01 pm

Re: E:_cache->open() failed, please report

Post

by DevonshireDozer » Mon Jun 07, 2021 4:10 pm

Hi there,

As the last in a long line of Janners, I thank you for making the trip down here to help from up country. I doubly thank you for not bringing your caravan ;^) .

I’ll give your advice a go when I’ve sobered up & let you know how it went.

Cheers,

DD.

DevonshireDozer

Level 1
Level 1
Posts: 8
Joined: Wed Oct 09, 2019 5:01 pm

Re: E:_cache->open() failed, please report

Post

by DevonshireDozer » Mon Jun 07, 2021 4:32 pm

Boosted by that confidence which can only be induced by a couple of pan-galacticgargleblasters, I gave it a go & it worked a treat. I’ve no idea what I’ve just done, but many thanks to DorsetUK. I shall raise a glass across Start Bay towards the Dorset end of Lyme Bay & waft some good karma in your general direction.

Best,

DD.

dorsetUK

Level 5
Level 5
Posts: 879
Joined: Thu Sep 19, 2019 4:40 am

Re: E:_cache->open() failed, please report

Post

by dorsetUK » Tue Jun 08, 2021 10:48 am

DevonshireDozer wrote: ↑

Mon Jun 07, 2021 4:32 pm


Boosted by that confidence which can only be induced by a couple of pan-galacticgargleblasters, I gave it a go & it worked a treat. I’ve no idea what I’ve just done, but many thanks to DorsetUK. I shall raise a glass across Start Bay towards the Dorset end of Lyme Bay & waft some good karma in your general direction.

Best,

DD.

I had to look up ‘Janner’ — nice one. Sadly we don’t seem to call ourselves anything that’s printable, ‘cept for us being: Crousty, Tilty, Tinklebobs, Torrididdle or even Twanketen.

I loved that you said ‘I’ve no idea what I’ve just done’, because I’ve no idea what that command does either :shock: I’ve just learnt, through rote, that it works.

I’ll raise a glass of that most foreign brew — Devon Scrumpy — to you and return some of your karma.

Hic.

User avatar

Moem

Level 22
Level 22
Posts: 15165
Joined: Tue Nov 17, 2015 9:14 am
Location: The Netherlands
Contact:

Re: E:_cache->open() failed, please report

Post

by Moem » Tue Jun 08, 2021 1:06 pm

In case you are curious, here is what ‘sudo’ does:

Sudo is a command that can be used as a prefix to other commands in the terminal. It means that you have the authority to give that order even though it’s one that normal users cannot give.

A normal user is not the real administrator; the real administrator is a virtual user called root. A normal / standard user who is an ‘admin’ like you, though, has sudo rights which means that you can say to root: Do this for me, because I have sudo rights. You will then be prompted for your password. This ensures that no one else can do things in your computer which require sudo rights. Only you, and not your roommate, a burglar or someone who is using a guest account. Typically, such things are everything that makes a change to the system, such as installing software.
When you update, for example, you have to enter your password. Because an update is a change to the system.

You could say that by using the terminal, you are having a conversation with root, that goes like this:

You: (gives command) Do this for me.
Root: No, you don’t have authority.
You: (types ‘sudo’ then a command) Do this for me, because I do have the authority.
Root: (asks for password) Is that so? Please prove this by providing your password.
You: (types password) Here it is.
Root: (executes command)

Image

If your issue is solved, kindly indicate that by editing the first post in the topic, and adding [SOLVED] to the title. Thanks!

dorsetUK

Level 5
Level 5
Posts: 879
Joined: Thu Sep 19, 2019 4:40 am

Re: E:_cache->open() failed, please report

Post

by dorsetUK » Tue Jun 08, 2021 1:51 pm

Thanks Moem.

Moem wrote: ↑

Tue Jun 08, 2021 1:06 pm


You could say that by using the terminal, you are having a conversation with root, that goes like this:

You: (gives command) Do this for me.
Root: No, you don’t have authority.
You: (types ‘sudo’ then a command) Do this for me, because I do have the authority.
Root: (asks for password) Is that so? Please prove this by providing your password.
You: (types password) Here it is.
Root: (executes command)

Through ‘rote’ I ‘knew’ that the ‘sudo configure …’ command would work, but understanding ‘why’ is great.

Only problem is that my computer now talks to me – do I need even more medication?

SCRUMPY!

DevonshireDozer

Level 1
Level 1
Posts: 8
Joined: Wed Oct 09, 2019 5:01 pm

Re: E:_cache->open() failed, please report

Post

by DevonshireDozer » Tue Jun 08, 2021 7:01 pm

dorsetUK wrote: ↑

Tue Jun 08, 2021 1:51 pm


Only problem is that my computer now talks to me – do I need even more medication?

SCRUMPY!

Scrumpy won’t touch that. Lidl do a Napoleon XO brandy called ‘Reverie’ at an amazingly good price. It does exactly what it says on the label. I commend it to you ;^) .

Запуск Ubuntu версии 13.04 и вход в систему как администратор и говорит, что мне нужен суперпользователь для запуска dpkg, я думал, что admin является суперпользователем. Что я делаю неправильно?

avid@david-Dell-DM051:~/Documents$ dpkg -i vzaccess-7.5_2766f-1ubuntu1110.deb
dpkg: error: requested operation requires superuser privilege
david@david-Dell-DM051:~/Documents$

задан
19 July 2013 в 23:38

поделиться

2 ответа

Вам все еще нужно использовать sudo для повышения установки dpkg, do:

sudo dpkg -i vzaccess-7.5_2766f-1ubuntu1110.deb

, затем введите свой пароль пользователя.

ответ дан Jorge Castro
17 July 2018 в 14:47

поделиться

Вам все еще нужно использовать sudo для повышения установки dpkg, do:

sudo dpkg -i vzaccess-7.5_2766f-1ubuntu1110.deb

, затем введите свой пароль пользователя.

ответ дан Jorge Castro
20 July 2018 в 14:50

поделиться

Другие вопросы по тегам:

Похожие вопросы:

  • Home
  • Forum
  • The Ubuntu Forum Community
  • Ubuntu Official Flavours Support
  • Networking & Wireless
  • Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

  1. Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

    I am trying to install two packages to enable my ethernet and wifi, the commands seems to fail.

    Code:

    sudo dpkg -i b43-fwcutter_019-2_1386* && dpkg -i firmware-b43-installer_019-2_all*

    I am getting the below error:

    dpkg: error: requested operation requires superuser privilege

    Below is my network information:

    Code:

    sudo lshw -C network
    
    

    Code:

      *-network               
           description: Network controller
           product: BCM4312 802.11b/g LP-PHY
           vendor: Broadcom Corporation
           physical id: 0
           bus info: pci@0000:0c:00.0
           version: 01
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress bus_master cap_list
           configuration: driver=b43-pci-bridge latency=0
           resources: irq:17 memory:f69fc000-f69fffff
      *-network
           description: Ethernet interface
           product: RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller
           vendor: Realtek Semiconductor Co., Ltd.
           physical id: 0
           bus info: pci@0000:09:00.0
           logical name: enp9s0
           version: 02
           serial: 00:23:ae:38:7e:45
           size: 100Mbit/s
           capacity: 100Mbit/s
           width: 64 bits
           clock: 33MHz
           capabilities: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
           configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
           resources: irq:29 ioport:de00(size=256) memory:f0010000-f0010fff memory:f0000000-f000ffff memory:f6800000-f681ffff


  2. Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

    Hi

    Try this

    Code:

    sudo dpkg -i b43-fwcutter_019-2_1386* && sudo dpkg -i firmware-b43-installer_019-2_all*

    Both dpkg commands require elevated privileges.

    Kind regards

    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don’t read the newspaper, you’re uninformed. If you read the newspaper, you’re mis-informed. — Mark Twain

    Thinking about becoming an Ubuntu Member?


  3. Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

    Thanks, it worked but why is it asking for internet connection to install the package, «some problem occured during the firmware download. Please check your internet connection». I am not connected to internet while using the ubuntu [No Ethernet or No Wifi]


  4. Re: Ubuntu 15.10 — dpkg: error: requested operation requires superuser privilege

    Hi

    Quote Originally Posted by vijay_shankar
    View Post

    Thanks, it worked but why is it asking for internet connection to install the package, «some problem occured during the firmware download. Please check your internet connection». I am not connected to internet while using the ubuntu [No Ethernet or No Wifi]

    First things first, i’m going to move your question to the Network and Wireless subforum.

    Is this package firmware-b43-installer_019-2_all… trying to download the firmware ?
    Do you need both packages ?
    What tutorial are you trying to follow ? Do you have a link ?

    I’m not the best person to help you with your question as i have never used those two packages but be patient and someone will come along to help you.

    Kind regards

    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don’t read the newspaper, you’re uninformed. If you read the newspaper, you’re mis-informed. — Mark Twain

    Thinking about becoming an Ubuntu Member?


Bookmarks

Bookmarks


Posting Permissions

  • Печать

Страницы: [1]   Вниз

Тема: Ошибка при установке  (Прочитано 7493 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн
Hedgehog

Сразу говорю: Ubuntu поставил недавно!)помидорами не кидаться)
При установке любой программы пишет это

пытаюсь выполнить команду  «dpkg —configure -a» пишет «запрошенная операция требует привилегий суперпользователя» 
юзер на компе один (Hedgehog) как получить эти привилегии?оО
ЗЫ Ubuntu 8.10


Оффлайн
Alsvartr

sudo dpkg —configure -a
И один помидор таки кину.

« Последнее редактирование: 02 Февраля 2009, 22:27:47 от Alsvartr »


Оффлайн
BMJ

sudo -s -H и пароль, это если с в других местах запросит. И еще, мое виндовое наблюдение: большие и маленькие буквы- РАЗНЫЕ!!!


Оффлайн
Hedgehog


  • Печать

Страницы: [1]   Вверх

Понравилась статья? Поделить с друзьями:

Читайте также:

  • Dpkg error processing package openssh server
  • Dpkg error processing package mysql server configure dependency problems leaving unconfigured
  • Dpkg error processing package libc bin configure
  • Dpkg error processing package grub pc
  • Dpkg error processing package docker ce

  • 0 0 голоса
    Рейтинг статьи
    Подписаться
    Уведомить о
    guest

    0 комментариев
    Старые
    Новые Популярные
    Межтекстовые Отзывы
    Посмотреть все комментарии