From: Andrey R. <anr...@fr...> - 2013-02-23 19:35:18
|
Greetings, Webmin users list! >> >> I have subversion, libsvn1 and libapache2-svn held in state from updates, but >> >> webmin constantly trying to bypass the lock. >> >> Good that I'm the only administrator of this system... >> >> > That sounds like a bug - which linux distro is this on, and how did you hold >> > updates for those packages? >> >> Ubuntu Linux (Hardy still, planning dist-upgrade in a week.) >> The packets are locked in APT. apt-get and aptitude correctly see the lock and >> don't upgrade packets, when prompted for system upgrade. >> >> # LANG=en apt-get upgrade >> Reading package lists... Done >> Building dependency tree >> Reading state information... Done >> The following packages have been kept back: >> libapache2-svn libsvn1 subversion >> 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded. >> >> Or, perhaps, the status from aptitude would be more clear. >> >> --\ Packages being automatically held in their current state >> i A libsvn1 1.6.17-0sv 1.7.7-0svn >> i A subversion 1.6.17-0sv 1.7.7-0svn >> --\ Packages being held back >> i libapache2-svn 1.6.17-0sv 1.7.7-0svn >> >> The package libapache2-svn is on hold, and the two other were installed as >> it's dependency. > If you run : apt-show-versions | grep libapache2-svn > what does it output? That's the command Webmin uss to determine which > packages are available to upgrade. # apt-show-versions | grep libapache2-svn libapache2-svn/hardy upgradeable from 1.6.17-0svn1~hardy1 to 1.7.7-0svn2~hardy+svn2 Seems like it doesn't account for locking mechanics. Neither does dpkg-query :( # dpkg-query -l libapache2-svn Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Installed/Config-f/Unpacked/Failed-cfg/Half-inst/t-aWait/T-pend |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad) ||/ Имя Версия Описание +++-========================-========================-================================================================ ii libapache2-svn 1.6.17-0svn1~hardy1 Subversion server modules for Apache You'd have to use libapt-pkg-perl directly to get full details, I'm afraid. -- WBR, Andrey Repin (anr...@fr...) 23.02.2013, <22:58> Sorry for my terrible english... |