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

Bug#46960: update-alternatives fails on mv across partition boundaries



Package: dpkg
Version: 1.4.1.6

On install I get into ridiculous loops where packages refuse to
believe they are installed because update-alternatives couldn't
move a file across a partition boundary. Is there no way out with dpkg?


    sudo apt-get install -f 
    ...
 
    Setting up tcl8.2 (8.2.1-1) ...
    Checking available versions of tclsh, updating links in
    /etc/alternatives ...
    (You may modify the symlinks there yourself if desired - see `man
    ln'.)
    Renaming tclsh.1 slave link from /usr/man/man1/tclsh.1.gz to
    /usr/share/man/man1/tclsh.1.gz.
    update-alternatives: unable to rename /usr/man/man1/tclsh.1.gz to
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    /usr/share/man/man1/tclsh.1.gz: Invalid cross-device link
     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    dpkg: error processing tcl8.2 (--configure):
     subprocess post-installation script returned error exit status 2
    dpkg: dependency problems prevent configuration of tk8.2:
     tk8.2 depends on tcl8.2; however:
    Package tcl8.2 is not configured yet.
    dpkg: error processing tk8.2 (--configure):
 
Please use cp -pa, then rm.
 
Peter


Reply to: