Posts by aaron_a

    Doesn't look good?

    this was the result:


    root@ChaseNAS1:~# sudo sh -x /var/lib/dpkg/info/libpam-modules.preinst install

    sh: 0: Can't open /var/lib/dpkg/info/libpam-modules.preinst

    root@ChaseNAS1:~# root@ChaseNAS1:~# sudo sh -x /var/lib/dpkg/info/libpam-modules.preinst install

    sh: 0: Can't open /var/lib/dpkg/info/libpam-modules.preinst

    root@ChaseNAS1:~#

    HI



    root@ChaseNAS1:~# sudo rm /var/lib/dpkg/info/libpam-modules\:amd64.preinst

    root@ChaseNAS1:~# sudo apt-get -f install

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Correcting dependencies... Done

    The following package was automatically installed and is no longer required:

    libjson-c5

    Use 'sudo apt autoremove' to remove it.

    The following additional packages will be installed:

    libpam-modules

    The following packages will be upgraded:

    libpam-modules

    1 upgraded, 0 newly installed, 0 to remove and 514 not upgraded.

    33 not fully installed or removed.

    Need to get 0 B/326 kB of archives.

    After this operation, 11.3 kB disk space will be freed.

    Do you want to continue? [Y/n] y

    Preconfiguring packages ...

    (Reading database ... 84737 files and directories currently installed.)

    Preparing to unpack .../libpam-modules_1.4.0-9+deb11u1_amd64.deb ...

    dpkg: error processing archive /var/cache/apt/archives/libpam-modules_1.4.0-9+deb11u1_amd64.deb (--unpack):

    new libpam-modules:amd64 package pre-installation script subprocess returned error exit status 2

    Errors were encountered while processing:

    /var/cache/apt/archives/libpam-modules_1.4.0-9+deb11u1_amd64.deb

    E: Sub-process /usr/bin/dpkg returned an error code (1)

    root@ChaseNAS1:~#

    Hi ryecoaaron.

    Thank you for replying.

    Try:


    sudo apt-get clean

    sudo apt-get -f install

    I have tried this I had a box pop up:


    and this on PuTTY: (It didn't work)


    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Correcting dependencies... Done

    The following package was automatically installed and is no longer required:

    libjson-c5

    Use 'sudo apt autoremove' to remove it.

    The following additional packages will be installed:

    libpam-modules

    The following packages will be upgraded:

    libpam-modules

    1 upgraded, 0 newly installed, 0 to remove and 514 not upgraded.

    33 not fully installed or removed.

    Need to get 326 kB of archives.

    After this operation, 11.3 kB disk space will be freed.

    Do you want to continue? [Y/n] y

    Get:1 http://ftp.uk.debian.org/debian bullseye/main amd64 libpam-modules amd64 1.4.0-9+deb11u1 [326 kB]

    Fetched 326 kB in 0s (1,762 kB/s)

    Preconfiguring packages ...

    (Reading database ... 84737 files and directories currently installed.)

    Preparing to unpack .../libpam-modules_1.4.0-9+deb11u1_amd64.deb ...

    dpkg: error processing archive /var/cache/apt/archives/libpam-modules_1.4.0-9+deb11u1_amd64.deb (--unpack):

    new libpam-modules:amd64 package pre-installation script subprocess returned error exit status 2

    Errors were encountered while processing:

    /var/cache/apt/archives/libpam-modules_1.4.0-9+deb11u1_amd64.deb

    E: Sub-process /usr/bin/dpkg returned an error code (1)

    root@ChaseNAS1:~#

    I have tried:

    Code
    sudo apt --fix-broken install

    This didn't work.

    Code
    sudo omv-upgrade

    This didn't work.

    Code
    omv-upgrade

    That didn't work

    Code
    sudo apt --fix-broken install

    Got this:

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Correcting dependencies... Done

    The following package was automatically installed and is no longer required:

    libjson-c5

    Use 'sudo apt autoremove' to remove it.

    The following additional packages will be installed:

    libpam-modules

    The following packages will be upgraded:

    libpam-modules

    1 upgraded, 0 newly installed, 0 to remove and 514 not upgraded.

    33 not fully installed or removed.

    Need to get 0 B/326 kB of archives.

    After this operation, 11.3 kB disk space will be freed.

    Do you want to continue? [Y/n] y

    Preconfiguring packages ...

    (Reading database ... 84737 files and directories currently installed.)

    Preparing to unpack .../libpam-modules_1.4.0-9+deb11u1_amd64.deb ...

    dpkg: error processing archive /var/cache/apt/archives/libpam-modules_1.4.0-9+deb11u1_amd64.deb (--unpack):

    new libpam-modules:amd64 package pre-installation script subprocess returned error exit status 2

    Errors were encountered while processing:

    /var/cache/apt/archives/libpam-modules_1.4.0-9+deb11u1_amd64.deb

    E: Sub-process /usr/bin/dpkg returned an error code (1)

    Hi, all

    I have not been able to update / upgrade my OMV installation for about 3 years (due to my wife and I having a baby 3 years ago!)

    I realise from reading the forum I should of updated and upgraded my system regularly.

    I cannot make any changes in my web interface - it just states an error when I save the configuration.

    Using PuTTY i have tried to update the system but get errors; one being NO_PUBKEY EF9DBDC73B7D1A07

    I have also found out that I should have pam_faillock.so on my system but I do not know how to put this on and I am not showing as having pam_tally2 when I check for what pam I have ( i hope I am making sense) I have bee trying to do this for hours through google searches and getting no where. I have cloned my hard drive.

    I would do a fresh install; but I have PLEX running in the back ground (not through DOCKER) and don't want to "lose" it - I believe KM0201 helped me with this about 4 years ago - talked me through it), so I wouldn't be able to do it again on my own. Plus having a toddler gives me hardly any time!

    Can anyone help please?

    I have a Gigabyte GA-AM1M-S2H board

    AMD Athlon 5150 16gb ram

    Linux 5.1.0-0 deb10.16-amd64

    Version 5.6.26-1 (Usul)

    I'm not great at Linux, but am getting there.

    PS: I love OMV it is great, I just need help please!

    Thanks very much

    Ok thanks guys, I will login as a user... is there any reason why it is not advisable to login as root through windows to access my files?

    Also does this mean I should not go into the GUI for OMV signed in as the root too?

    I don't use Windows, so I won't be much help here.. but seem to I recall reading there are some issues with Windows 10 and Guest SMB accounts.. are you trying to log in from Windows as a guest or as a user?

    Yes I was just opening up the files through windows as I normally would, so as a guest I think. But it kept coming up with a windows box asking for a login, so I logged in as the root

    Well I managed to access my shared files on my PC; but had to enter my user (root) and password on windows to access them for some reason.....

    oh well probably a windows thing!=O

    Probably should have updated this last night.... He was just lost. We took it to PM and I walked him through it. His server is a little slow so not sure how well it's going to work for him, but as of last night it was scanning his media..

    Yes used it watched a film on it yesterday through PLEX on my LG TV and works fine so far.

    Although I can't seem to access my NAS folders through my windows 10 laptop. Hopefully not related. I have "reset permissions" on the file system.

    I access the folders using SMB/CIFS anyway I'm working on it now...

    Thanks for your patience,

    but I think I am going to have to abandon my efforts as I really am out of my depth, you'll probably think I'm thick but I i cannot see from the tutorial how to get the paths , puid /pgid.

    I'm risking throwing the laptop on the floor lol, or maybe I'm just tired!

    sorry to waste everyones time whos helped so far