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

Bug#681741: libreoffice: LibreOffice user installation could not be processed etc.



On 07/19/2012 05:09 AM, Rene Engelhard wrote:
On Thu, Jul 19, 2012 at 03:06:34AM -0400, Gedalya wrote:
1. Install just the base system
I did: chreated a wheezy chroot.

2. apt-get install lxde (this doesn't depend on libreoffice)
3. Log in to lxde as a regular user
I did: Logged into my normal system (via ssh).

4. Menu>  Accessories>  Root Terminal (uses gksu)
As as you said in an other post, the $HOME there is /root.

Anyway:

5. As root, apt-get install libreoffice
I did:

rene@frodo:~/tmp$ sudo debootstrap wheezy wheezy3 http://192.168.0.2/debian
rene@frodo:~/tmp$ rm -rf ~/.config/libreoffice
rene@frodo:~/tmp$ sudo chroot wheezy3
root@frodo:/# useradd -u 1000 -m rene
root@frodo:/# exit
rene@frodo:~/tmp$ sudo mount /home/rene/ wheezy3/home/rene -obind
rene@frodo:~/tmp$ gksu "chroot wheezy3 apt-get install libreoffice"
[...]
(some packages failed because Java needing /proc)
rene@frodo:~/tmp$ sudo mount -t proc proc wheezy3/proc
rene@frodo:~/tmp$ gksu "chroot wheezy3 dpkg --configure -a"

This creates the directory .config/libreoffice under the *user's* home
directory, owned by *root*.
After the steps above:

rene@frodo:~/tmp$ ls -l1 /home/rene/.config/ | grep libreoffice
rene@frodo:~/tmp$

No, it didn't create anything.

Regards,

Rene
I must have been dreaming.....


Reply to: