Upgrade issue

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Dave_L
    Veteran
    • Dec 2007
    • 351

    Upgrade issue

    BC 4.0.0-18629
    Ubuntu 12.04.4

    It's convenient that the bcompare4 repository works now.

    But the upgrade should not automatically resynchronize the package index files by running "apt-get update". It causes a problem:

    E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
    E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
    Other Ubuntu package upgrades don't do this. The convention, I believe, is that "apt-get update" and "apt-get upgrade" are completely independent; the "upgrade" should not try to do an "update".

    The file "postinst" in the .deb contains:

    Code:
    ...
    ##
    # Add our repository to the repository list
    ##
    if [ -d /etc/apt/sources.list.d ]; then
    	if [ -f /etc/apt/sources.list.d/scootersoftware.list ]; then
    		rm /etc/apt/sources.list.d/scootersoftware.list
    	fi
    	cp /usr/lib/beyondcompare/scootersoftware.list /etc/apt/sources.list.d/
    	[COLOR="Red"][b]apt-get update[/b][/COLOR]
    fi
    ...
    Last edited by Dave_L; 28-Jul-2014, 08:01 PM.
  • Chris
    Team Scooter
    • Oct 2007
    • 5538

    #2
    Dave_L,

    Thank you for reporting the bug. I repeated the problem, we'll work on getting this fixed.
    Chris K Scooter Software

    Comment

    Working...