[pkg-nvidia-devel] nvidia-graphics-drivers* are ready for upload
Andreas Beckmann
debian at abeckmann.de
Sun Jul 18 08:10:19 UTC 2010
On 2010-07-18 01:44, Russ Allbery wrote:
> Russ Allbery <rra at debian.org> writes:
> I'm stumped. I'm not sure how we get there from here.
Can we do in the preinst something like
nvglx_installed=$(dpkg-query -s nvidia-glx | grep ^Status: | grep install)
# which is the relevant entry we should look for:
# Status: install ok installed ?
nvglx_version=$(dpkg-query -s nvidia-glx | grep ^Version: | cut -d' ' -f 2)
if [ "$installed" ] && dpkg --compare-versions "$nvglx_version" lt-nl
195.36.31; then
echo "WRONG PACKAGE INSTALLATION ORDER"
echo "old version of nvidia-glx is still installed"
echo "ABORTING"
echo "(don't use dpkg -i, but instead apt-get or aptitude becuase these
reorder the packages correctly)"
exit 1
fi
Andreas
More information about the Pkg-nvidia-devel
mailing list