libdvd-pkg: `apt-get check` विफल, आपके पास टूटे हुए पैकेज हो सकते हैं। निरस्त


38

FYI करें: मैं Kubuntu 18.04 का उपयोग कर रहा हूं

जब मैं apt-transport-https स्थापित करता हूं तो मुझे निम्न त्रुटि मिलती रहती है

इस त्रुटि को ठीक करने के लिए मैं पहले ही थक चुका हूं:

sudo apt-get autoremove libdvd-pkg 
sudo apt-get install libdvd-pkg
sudo apt-get update
sudo apt-get install -f
sudo apt-get purge apt-transport-https && sudo apt-get install apt-transport-https

जो त्रुटि मैं देख रहा हूं वह है

Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  apt-transport-https*
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 152 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 246794 files and directories currently installed.)
Removing apt-transport-https (1.6.6) ...
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...
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  apt-transport-https
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,692 B of archives.
After this operation, 152 kB of additional disk space will be used.
Get:1 http://ca.archive.ubuntu.com/ubuntu bionic-updates/universe amd64 apt-transport-https all 1.6.6 [1,692 B]
Fetched 1,692 B in 0s (6,872 B/s)               
Selecting previously unselected package apt-transport-https.
(Reading database ... 246791 files and directories currently installed.)
Preparing to unpack .../apt-transport-https_1.6.6_all.deb ...
Unpacking apt-transport-https (1.6.6) ...
Setting up apt-transport-https (1.6.6) ...
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...

जवाबों:


69

मैंने इसे ठीक करने के लिए एक चीज libdvd-pkg स्थापित करने के बाद की थी, सेटअप पूरा करने के लिए निम्न कमांड चलाएँ:

sudo dpkg-reconfigure libdvd-pkg

यदि यह समस्या बनी रहती है, तो आप "स्वचालित" अपडेट नहीं करने का चयन कर सकते हैं।


5
20 जून 2019 उबंटू 18.04 मेरे लिए यह फिक्स काम किया
— माइकल डुरंट

2
19.04 में भी काम किया।
— alfC
हमारी साइट का प्रयोग करके, आप स्वीकार करते हैं कि आपने हमारी Cookie Policy और निजता नीति को पढ़ और समझा लिया है।
Licensed under cc by-sa 3.0 with attribution required.