libdvd-pkg: `apt-get check` failed, you may have broken packages

Spread the love
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  

I mistakenly tried to sudo apt remove python3 (I was trying to install multiple versions of Python), but stopped it using Ctrl+C immediately. Looks like I damaged the package and I was unable to open a terminal or anything. After struggling for hours now I can open terminal and apps like Google Chrome and Telegram, but can’t open VS Code.
When I try to sudo apt install python3, after lots of failed dpkg queries, it says:
Processing was halted because there were too many errors.
libdvd-pkg: Checking orig.tar integrity…
/usr/src/libdvd-pkg/libdvdcss_1.4.2.orig.tar.bz2: OK
libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting…
E: Sub-process /usr/bin/dpkg returned an error code (1)

I looked it up and on “sub process usr bin dpkg returned an error code 1″ Error in Ubuntu it was suggested to try these commands:
sudo dpkg –configure -a

It fails and after failed dpkg queries, returns:
Processing was halted because there were too many errors.

sudo apt-get install -f also failed with the following error message:
Processing was halted because there were too many errors.
libdvd-pkg: Checking orig.tar integrity…
/usr/src/libdvd-pkg/libdvdcss_1.4.2.orig.tar.bz2: OK
libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting…
E: Sub-process /usr/bin/dpkg returned an error code (1)

I checked and it seems I can manually install each dpkg query by downloading the source file and compiling it, but it wouldn’t be sane to do such thing. There are a lot of damaged packages it seems.

X ITM Cloud News

Marisa

Leave a Reply

Next Post

How to access Keyboard preferences / activate the Compose key / insert german umlauts in Ubuntu 20.04?

Sat Sep 12 , 2020
Spread the love          I need to be able to write german umlauts in Ubuntu 20.04 with a US keyboard. Found tons of outdated documentation on it, for example this question, which I couldn’t apply to Ubuntu 20.04. Keyboard preferences? Where’s that? In Settings the only thing related to the keyboard is […]
X- ITM

Cloud Computing – Consultancy – Development – Hosting – APIs – Legacy Systems

X-ITM Technology helps our customers across the entire enterprise technology stack with differentiated industry solutions. We modernize IT, optimize data architectures, and make everything secure, scalable and orchestrated across public, private and hybrid clouds.

This image has an empty alt attribute; its file name is x-itmdc.jpg

The enterprise technology stack includes ITO; Cloud and Security Services; Applications and Industry IP; Data, Analytics and Engineering Services; and Advisory.

Watch an animation of  X-ITM‘s Enterprise Technology Stack

We combine years of experience running mission-critical systems with the latest digital innovations to deliver better business outcomes and new levels of performance, competitiveness and experiences for our customers and their stakeholders.

X-ITM invests in three key drivers of growth: People, Customers and Operational Execution.

The company’s global scale, talent and innovation platforms serve 6,000 private and public-sector clients in 70 countries.

X-ITM’s extensive partner network helps drive collaboration and leverage technology independence. The company has established more than 200 industry-leading global Partner Network relationships, including 15 strategic partners: Amazon Web Services, AT&T, Dell Technologies, Google Cloud, HCL, HP, HPE, IBM, Micro Focus, Microsoft, Oracle, PwC, SAP, ServiceNow and VMware

.

X ITM