Hello,
i have Problems with apt-get update and apt-get dist-upgrade. I have a Rasberry Pi 3 with OMV 4.1.19-1. My problem see attachments.
Best Regards
Hello,
i have Problems with apt-get update and apt-get dist-upgrade. I have a Rasberry Pi 3 with OMV 4.1.19-1. My problem see attachments.
Best Regards
I don't see an apt-get update in your output. I would guess that is why dist-upgrade can't find the packages.
Hi ryecoaaron,
so now you can see apt-get update.
so now you can see apt-get update.
You still must have outdated lists. Does omv-aptclean help?
No, same problem and i find new problems:
flash memory and all performance statistics not working...
Looks like you upgraded this system from 3.x (we recommend a fresh install) and there are still a bunch of jessie entries. What is the output of:
cat /etc/apt/sources.list
cat /etc/apt/sources.list.d/*
dpkg -l | grep openm
No, OMV4 is a new install no upgrade from OMV3.x. The line with jessie code:
deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi
deb-src http://archive.raspbian.org/raspbian/ jessie main contrib non-free rpi
I have change in:
deb http://mirrordirector.raspbian.org/raspbian/ stretch main contrib non-free rpi
deb-src http://archive.raspbian.org/raspbian/ stretch main contrib non-free rpi
After this change, i have omv-aptclean and apt-get autoclean execute. The problem is the same.
My first problem can I fixed. here my solution way:
sudo cd /var/lib/dpkg/info/
sudo ls -l
sudo dpkg --list | grep '^rc '
sudo dpkg --purge `dpkg --get-selections | grep deinstall | cut -f1`
sudo ls -l (when is empty it's ok, when not delete all in this folder)
sudo /var/lib/dpkg/info# rm *
sudo /var/lib/dpkg/info# ls -l
total 0
sudo apt-get clean
sudo omv-aptclean
sudo dpkg --configure -a
sudo apt-get dist-upgrade
Alles anzeigen
After this last commando you become the statement:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
You can the complete solution way see in my attachment.
Best regards
so only the flash memory not working
How do you know it is not working?
see my picture. in the webinterface is the seetings disable.
no, when it is installed, it is enabled
you can check the output of
df
It will shows you some folder2ram entries
yes i have, but my root directory is not /dev/root. in the fstab is my root directory /dev/mmcblk0p2, why is this directory not in the webinterface to see?
root@Server:~# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 30543972 3734396 26455992 13% /
devtmpfs 495480 0 495480 0% /dev
tmpfs 500088 0 500088 0% /dev/shm
tmpfs 500088 13352 486736 3% /run
tmpfs 5120 4 5116 1% /run/lock
tmpfs 500088 0 500088 0% /sys/fs/cgroup
tmpfs 500088 2380 497708 1% /tmp
/dev/mmcblk0p1 63503 22397 41107 36% /boot
folder2ram 500088 19340 480748 4% /var/log
folder2ram 500088 0 500088 0% /var/tmp
folder2ram 500088 472 499616 1% /var/lib/openmediavault/rrd
folder2ram 500088 20 500068 1% /var/spool
folder2ram 500088 12472 487616 3% /var/lib/rrdcached
folder2ram 500088 8 500080 1% /var/lib/monit
folder2ram 500088 0 500088 0% /var/lib/php
folder2ram 500088 0 500088 0% /var/lib/netatalk/CNID
folder2ram 500088 420 499668 1% /var/cache/samba
/dev/sda1 3907017540 942247700 2963267532 25% /srv/dev-disk-by-label-Datenspeicher
tmpfs 100016 0 100016 0% /run/user/0
Alles anzeigen
Here my fstab
cat /etc/fstab
proc /proc proc defaults 0 0
/dev/mmcblk0p1 /boot vfat defaults 0 2
/dev/mmcblk0p2 / ext4 noatime,nodiratime,errors=remount-ro 0 1
#/var/swap none swap sw 0 0
# >>> [openmediavault]
/dev/disk/by-label/Datenspeicher /srv/dev-disk-by-label-Datenspeicher btrfs defaults,nofail 0 2
# <<< [openmediavault]
tmpfs /tmp tmpfs defaults 0 0
yes i have, but my root directory is not /dev/root. in the fstab is my root directory /dev/mmcblk0p2, why is this directory not in the webinterface to see?
Sometimes it detects the root drive incorrectly. The good thing is it doesn't matter since it is only used to show the number of bytes written since boot to the root filesystem. This is a display only and doesn't affect the how the plugin works. The output you posted shows that flashmemory is working.
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!