[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#994081: I understand the problem



Hi,

I went looking to try and see where the check was being carried out, and it's in:

/usr/lib/libdvd-pkg/b-i_libdvdcss.sh

apt-get check >/dev/null 2>&1
if [ "$?" -ne 0 ]; then
echo "${PKGI}: \`apt-get check\` failed, you may have broken packages. Aborting..."
    exit 0
fi

Which is why there's no useful information in the error message. So I edited that file on my system and ran apt autoremove so force a trigger run, and that gets:

/usr/src/libdvd-pkg/libdvdcss_1.4.3.orig.tar.bz2: OK
E: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 29788 (apt) N: Be aware that removing the lock file is not a solution and may break your system. E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), is another process using it? libdvd-pkg: `apt-get check` failed, you may have broken packages. Aborting...

So I'm afraid the problem is that running this script from apt (as it is evidently intended to be run) can never work, because apt-get check tries to hold the dpkg lock, but it's help by apt.

So I think this is RC, do you agree?

Regards,

Matthew


Reply to: