this post was submitted on 14 Dec 2024
8 points (100.0% liked)

Pop!_OS (Linux)

5182 readers
12 users here now

Pop!_OS is an operating system developed by System76 for STEM and creative professionals who use their computer as a tool to discover and create. Unleash your potential on secure, reliable open source software. Based on your exceptional curiosity, we sense you have a lot of it.

Unleash your potential

Whether this is your first experience with Linux, or your latest adventure, all are welcome to discuss and ask questions about Pop!_OS and COSMIC. Keep the discussions friendly though, and remember to assume good intentions whenever you reply. We're all here because we have a shared love for Linux and open source software.

System76 Logo

Support us by buying System76 hardware for you or your company! Or by donating on the Pop!_OS website through the "Support Pop" button. Pop!_OS and COSMIC are fully funded by System76 hardware sales. All systems are assembled in the USA. With your support, we'll work to push the Linux desktop forward with COSMIC.

Links

Guides

Hardware

Recommended

Community Rules

Follow the Code of Conduct

All posts on pop_os must adhere to the Pop!_OS community Code of Conduct. https://github.com/pop-os/code-of-conduct

Be helpful

Posts to pop_os must be helpful. When responding to a user asking for help, do not provide tongue-in-cheek responses like "RTM" or links to LMGTFY. Linking to direct sources that answer the asker's question is fine, but it's advised to provide some explanation as to how you got to that source.

Critique should be constructive

We within the Pop!_OS community welcome helpful criticism or ideas on ways to improve. However, basic "It's bad" or other simple negative comments don't help anyone fix anything. When voicing a complaint about something, try to point out ways the complaint could be improved or worked around, so that we can make a better product for it.

This rule applies to both Pop!_OS and its projects as well as other products available from third-parties.

Don't post malicious "advice"

It can be funny to joke about malicious commands, however this is not the venue for it. Do not advise users to run commands which will lock up their systems, steal their data, or erase their drive. Examples of this include (but are not limited to) fork bombs, rm, etc.

Posts violating this rule will be removed, even if the post is clearly in jest. Repeated offences may lead to a ban. You may understand that the command isn't serious, but a new user might not.

No personal attacks

Posts making a personal attack on any user will not be tolerated.

No hate speech

Hate speech of any kind will not be tolerated. Any violations will be removed, and are grounds for a ban.

founded 2 years ago
MODERATORS
 

hi there, hope this is okay to post. I also hope this isn't too complicated a fix. essentially I am having trouble updating through Pop!_Shop and I am getting the following error:

Failed to update "Operating System Updates" This may have been caused by sideloaded or manually compiled software, a third-party software source, or a package manager error. Manually refreshing updates may resolve the issue. Details: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

the good news is, I think I know exactly what manually compiled software this is in reference to. this issue first cropped up a few days ago after I manually installed the Mullvad Browser using the following commands outlined on their installation page

the commands listed on the link, which I followed exactly are: Download the Mullvad signing key sudo curl -fsSLo /usr/share/keyrings/mullvad-keyring.asc https://repository.mullvad.net/deb/mullvad-keyring.asc

Add the Mullvad repository server to apt echo "deb [signed-by=/usr/share/keyrings/mullvad-keyring.asc arch=$( dpkg --print-architecture )] https://repository.mullvad.net/deb/stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/mullvad.list

Install the package sudo apt update sudo apt install mullvad-browser

I have since manually uninstalled the browser, but the problem remains, any help is greatly appreciated. apologies for my perpetual beginner status.

edit: I should add that when I run 'sudo dpkg --configure -a' as the prompt suggests, the next line of the terminal appears immediately and the Pop!_Shop notification remains unchanged.

top 4 comments
sorted by: hot top controversial new old
[–] sp6 4 points 3 days ago* (last edited 3 days ago) (1 children)

There were lots of other peope having this issue, including myself, who have never installed Mullvad. I think it's related to something in the Ubuntu repos. What fixed it for me was to run:

sudo dpkg --configure -a
sudo apt update && sudo apt upgrade

Some people were also reporting a broken install due to missing packagekit, so maybe ensure packagekit is installed with:

sudo apt install packagekit

Then reboot, and you should be able to update stuff normally now.

[–] [email protected] 3 points 3 days ago (1 children)

thank you! this appears to have solved the issue immediately. upon restarting and reloading Pop!_Shop the updates had already cleared, I've even reinstalled the mullvad browser and no issues, thank you so much!

would you mind taking a quick moment to explain why that solved the issue? just trying to level up a little bit, thank you again for taking the time to respond at all, I really appreciate it!

[–] sp6 2 points 3 days ago (1 children)

I'm not even sure to be honest, was just following the solution that others had posted.

Pop's site says that the --configure -a command configures any unpacked but not yet configured packages. And someone on Pop's github theorized it was related to Microsoft adding their own apt source for VSCode. So it was probably some issue with Microsoft's new apt source being unpacked but unconfigured, and that caused something in apt/dpkg to freak out. That's my best guess at least.

[–] [email protected] 2 points 3 days ago

I see, thanks again very much for taking the time.