Skip to content

Installing in a chroot envrionment gives errors #91

@intelliant01

Description

@intelliant01

Have a squashfs Ubuntu 20.04 OS image which I have loop mounted and tried to update the kolibri-server package.
Package - kolibri-server_0.4.0-0ubuntu2_all.deb

I got these errors -

root@server:/# apt install kolibri-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be upgraded:
  kolibri-server
1 upgraded, 0 newly installed, 0 to remove and 106 not upgraded.
Need to get 0 B/22.5 kB of archives.
After this operation, 2,048 B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 421367 files and directories currently installed.)
Preparing to unpack .../kolibri-server_0.4.0-0ubuntu2_all.deb ...
Running in chroot, ignoring request.
INFO: Already stopped: Stopped
invoke-rc.d: initscript kolibri-server, action "stop" failed.
dpkg: warning: old kolibri-server package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
Running in chroot, ignoring request.
INFO: Already stopped: Stopped
invoke-rc.d: initscript kolibri-server, action "stop" failed.
dpkg: error processing archive /var/cache/apt/archives/kolibri-server_0.4.0-0ubuntu2_all.deb (--unpack):
 new kolibri-server package pre-removal script subprocess returned error exit status 1
Running in chroot, ignoring request.
Errors were encountered while processing:
 /var/cache/apt/archives/kolibri-server_0.4.0-0ubuntu2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The install process should have completed without any errors in the chroot envrionment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions