Announcement

Collapse
No announcement yet.

Printing and updating problems after moving /usr/lib

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Printing and updating problems after moving /usr/lib

    I have an install of Hardy which was running out of space on the / partition - showing about 90% disk usage, so I used KDirStat to find something truly huge that I could move to a different partition to solve the problem. /usr/lib seemed a likely candidate, so I did:
    Code:
    sudo -i
    cp -dpR /usr/lib/ /backups/usrlib/
    mv /usr/lib /usr/lib.bak
    ln -s /backups/usrlib /usr/lib
    rm -rf /usr/lib.bak
    ...and hey presto, lots more disk space. Except that now not everything works - almost everything, but not quite. CUPS is borked, and complains that libgnutls.so.13 isn't installed: it was, and I've also reinstalled libgnutls anyway (in case it got corrupted in the big move) and CUPS still didn't work, so I tried restarting (complains about libgnutls) and reinstalling (fails, while complaining about libgnutls).

    Also, every Adept update since the big move has failed, too.

    Anybody any suggestions for what else to check/change/reinstall?

    I do have a working install just updated from 9.04 to 9.10 on another partition, but I'm still getting my head round Karmic and KDE4: I really would like my old Hardy that did everything I wanted back!

    #2
    Re: Printing and updating problems after moving /usr/lib

    I will make a semi-educated guess as to why it's not working. From the perspective of the rest of the OS, it should find the /usr/lib files in your symlinked location. But from the perspective of the libraries themselves, the rest of the OS is not where it is expected.

    If true, then it's not gonna work.

    i.e. you need a bigger partition, period the end.

    Comment


      #3
      Re: Printing and updating problems after moving /usr/lib

      Well, that kind of makes sense - and is also fairly positive: Karmic is installed on what used to be the old Windows partition (before I realized that VirtualBox really would do everything I needed, on the rare occasions I needed it to) - and it has over 20 Gb free. I think I can leapfrog things in parted with a combination of move & resize (and swapping between releases) to give myself a bigger root partition for Hardy. I'll see if that sorts it - thanks!

      Comment

      Working...
      X