Installed Packages are removed after reboot ?

1 post / 0 new
#1 Mon, 2017-04-03 15:50
Chocapik
  • Chocapik's picture
  • Offline
  • Last seen: 12 months 1 day ago
  • Joined: 2017-04-03

Hi,

I installed AlpineLinux on a RaspberryPi 3, everything work fine but i have a problem installing new packages.

Since on a RaspberryPi 3 AlpineLinux is based on a diskless installation, when i reboot after having installed some packages (rsyslog, strongswan, perl, etc), everything disappear. "Lbu commit" doesn't help since it only saves /etc/ (perl for example is in /usr/bin/), and i assume that adding all the directories in the commit with "lbu add xxx" is not the solution.

Edit : After every reboot i have to resync to the apk repository (setup-apkrepos) if i want my packages back.

Edit 2 : The apk cache as configured in a bad way, with /media/mmcblk0p1/cache, it works.

Thanks

Christophe