Greetings,

On Tue, Sep 29, 2015 at 8:34 PM, EenyMeenyMinyMoa <
eenymeenyminy...@gmail.com> wrote:

> Hi.
> I use debian live 8.2.
> I want to retain after reboot the effect of commands:
> # apt-get upgrade
> # apt-get install <package>
>
> Because I guess it's safer in terms of security than the debian that I
> everyday use for Web-browsing.
> Is this guess right?
> I made a persistence partition by the following script.
>
> mkdir /media/usb0
> mkfs.ext4 -L persistence /dev/sdb1
> mount -t ext4 /dev/sdb1 /media/usb0
> echo "/home" >> /media/usb0/persistence.conf
>
echo "/bin union" >> /media/usb0/persistence.conf
> echo "/etc union" >> /media/usb0/persistence.conf
> echo "/lib union" >> /media/usb0/persistence.conf
> echo "/usr union" >> /media/usb0/persistence.conf
> echo "/sbin union" >> /media/usb0/persistence.conf
> echo "/var/cache/apt" >> /media/usb0/persistence.conf
>
> Are the appended directories to persistence.conf enough?
> Are there unnecessary directories?
>
>
The manual on the topic is here
http://live.debian.net/manual/stable/html/live-manual.en.html#551  and I
think I would have tried for full persistence in your example with only one
line in the persistence.conf file of something like:

echo "/ union" > /media/usb0/persistence.conf


Hop the information assists.



> I booted a live session with a boot-parameter "persistence".
> After doing the configuration of /etc/apt/sources.list, I executed
> # apt-get update && apt-get upgrade
> and then rebooted into another live and persistence session.
> But now I couldn't install vlc.
> Why?
>
> # apt-get install -y vlc
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
>
> The following packages have unmet dependencies:
>  vlc : Depends: fonts-freefont-ttf but it is not installable
>        Depends: vlc-nox (= 2.2.0~rc2-2+deb8u1) but it is not going to be
> installed
>        Depends: libfreerdp-cache1.1 (>= 1.1.0~beta1+git20130629) but it
> is not installable
>        Depends: libfreerdp-client1.1 (>= 1.1.0~beta1+git20130629) but it
> is not installable
>        Depends: libfreerdp-codec1.1 (>= 1.1.0~beta1+git20130629) but it
> is not installable
>        Depends: libfreerdp-core1.1 (>= 1.1.0~beta1+git20130629) but it
> is not installable
>        Depends: libfreerdp-crypto1.1 (>= 1.1.0~beta1+git20130629) but it
> is not installable
>        Depends: libfreerdp-gdi1.1 (>= 1.1.0~beta1+git20130629) but it is
> not installable
>        Depends: libfreerdp-locale1.1 (>= 1.1.0~beta1+git20130629) but it
> is not installable
>        Depends: libfreerdp-rail1.1 (>= 1.1.0~beta1+git20130629) but it
> is not installable
>        Depends: libfreerdp-utils1.1 (>= 1.1.0~beta1+git20130629) but it
> is not installable
>        Depends: libfribidi0 (>= 0.19.2) but it is not installable
>        Depends: libgles1-mesa (>= 7.8.1) but it is not installable or
>                 libgles1 but it is not installable
>        Depends: libgles2-mesa (>= 7.8.1) but it is not installable or
>                 libgles2 but it is not installable
>        Depends: libsdl-image1.2 (>= 1.2.10) but it is not installable
>        Depends: libvlccore8 (>= 2.2.0~pre1) but it is not going to be
> installed
>        Depends: libvncclient0 (>= 0.9.9) but it is not installable
>        Depends: libwinpr-rpc0.1 (>= 1.1.0~beta1+git20130629) but it is
> not installable
>        Depends: libwinpr-sspi0.1 (>= 1.1.0~beta1+git20130629) but it is
> not installable
>        Depends: libwinpr-utils0.1 (>= 1.1.0~beta1+git20130629) but it is
> not installable
>        Depends: libxcb-composite0 but it is not installable
>        Depends: libxcb-keysyms1 (>= 0.4.0) but it is not installable
>        Depends: libxcb-randr0 (>= 1.1) but it is not installable
>        Depends: libxcb-xv0 (>= 1.2) but it is not installable
>        Recommends: vlc-plugin-notify (= 2.2.0~rc2-2+deb8u1) but it is
> not going to be installed
>        Recommends: vlc-plugin-samba (= 2.2.0~rc2-2+deb8u1) but it is not
> going to be installed
> E: Unable to correct problems, you have held broken packages.
>
> And one more question.
> After reboot,
>
> # df
> Filesystem     1K-blocks    Used Available Use% Mounted on
> aufs             1981792    6752   1975040   1% /
> tmpfs             792720    9160    783560   2% /run
> /dev/sr0         1015808 1015808         0 100%
> /lib/live/mount/persistence/sr0
> /dev/loop0        892800  892800         0 100%
> /lib/live/mount/rootfs/filesystem.squashfs
> tmpfs            1981792       0   1981792   0% /lib/live/mount/overlay
> /dev/sdb1        1902364  436920   1350760  25% /home
> aufs             1902364  436920   1350760  25% /bin
> aufs             1902364  436920   1350760  25% /etc
> aufs             1902364  436920   1350760  25% /sbin
> aufs             1902364  436920   1350760  25% /usr
> devtmpfs           10240       0     10240   0% /dev
> tmpfs            1981792      76   1981716   1% /dev/shm
> tmpfs               5120       4      5116   1% /run/lock
> tmpfs            1981792       0   1981792   0% /sys/fs/cgroup
> tmpfs            1981792      12   1981780   1% /tmp
> tmpfs             396360      16    396344   1% /run/user/1000
>
> /bin, /etc, /sbin and /usr use aufs.
> Its Use% has increased than the initial value.
> If I execute many "apt-get install ~" from now on,
> will this value amount eventually to 100%?
> I'm afraid of its wretched consequence.
> Are there any way to avoid that?
>
>
> Cheers,
> EenyMeenyMinyMoa
>

Reply via email to