update ubuntu inside myHD (18.04)

myHD is an isolated (namespace (mnt, IPC, PID)) Ubuntu environment to run Ubuntu application displayed as ASUSTOR Asportal / Xorg applications.

Moderator: Lillian.W@AST

Post Reply
Darkmagister
Posts: 48
youtube meble na wymiar Warszawa
Joined: Sat Oct 27, 2018 4:36 pm

update ubuntu inside myHD (18.04)

Post by Darkmagister »

Hi,
i was trying to update my ubuntu, i haven't used it it few months so when i started kodi it's saying that kodi 19 is no more in alpha but in beta ...

so i connected via ssh, and with myHD_root i was in
then i have done a apt-get update, then the upgrade but this happend:

Code: Select all

apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  google-chrome-stable kodi kodi-x11 libgl1-mesa-dri libpulse-mainloop-glib0 libpulse0 libpulsedsp
  mesa-va-drivers mesa-vdpau-drivers pulseaudio pulseaudio-module-zeroconf pulseaudio-utils
The following packages will be upgraded:
  apt base-files bind9-host binutils binutils-common binutils-x86-64-linux-gnu bsdutils busybox
  busybox-initramfs ca-certificates cryptsetup cryptsetup-bin dbus dbus-user-session dirmngr
  distro-info-data dmsetup fdisk glib-networking glib-networking-common glib-networking-services
  gnupg gnupg-l10n gnupg-utils gpg gpg-agent gpg-wks-client gpg-wks-server gpgconf gpgsm gpgv
  initramfs-tools initramfs-tools-bin initramfs-tools-core iproute2 kmod kodi-inputstream-adaptive
  kodi-inputstream-rtmp kodi-peripheral-joystick kodi-screensaver-asteroids krb5-locales
  libapt-inst2.0 libapt-pkg5.0 libasound2 libasound2-data libbind9-160 libbinutils libblkid1
  libbrotli1 libc-bin libc6 libcryptsetup12 libcurl4 libdbus-1-3 libdevmapper1.02.1 libdns1100
  libdrm-amdgpu1 libdrm-common libdrm-intel1 libdrm-nouveau2 libdrm-radeon1 libdrm2 libegl-mesa0
  libfdisk1 libfreetype6 libgbm1 libglapi-mesa libglx-mesa0 libgnutls30 libgssapi-krb5-2 libisc169
  libisccc160 libisccfg160 libjavascriptcoregtk-4.0-18 libjpeg-turbo8 libjson-c3
  libjson-glib-1.0-0 libjson-glib-1.0-common libk5crypto3 libkmod2 libkrb5-3 libkrb5support0
  libldap-2.4-2 libldap-common liblwres160 libmount1 libmysqlclient20 libnss-systemd libnss3
  libpam-modules libpam-modules-bin libpam-runtime libpam-systemd libpam0g libperl5.26 libproxy1v5
  libpython2.7 libpython2.7-minimal libpython2.7-stdlib libpython3.6 libpython3.6-minimal
  libpython3.6-stdlib librsvg2-2 librsvg2-common libseccomp2 libsmartcols1 libsmbclient
  libsqlite3-0 libssh-4 libssl1.0.0 libssl1.1 libsystemd0 libudev1 libuuid1 libwayland-egl1-mesa
  libwbclient0 libwebkit2gtk-4.0-37 libx11-6 libx11-data libx11-xcb1 libxau6 linux-base locales
  mount multiarch-support openssl perl perl-base perl-modules-5.26 python-apt-common python-samba
  python2.7 python2.7-minimal python3-apt python3-pil python3-software-properties python3.6
  python3.6-minimal samba-common samba-common-bin samba-libs software-properties-common systemd
  systemd-sysv tzdata udev unattended-upgrades util-linux vim vim-common vim-runtime xdg-utils
  xserver-common xserver-xephyr xxd
155 upgraded, 0 newly installed, 0 to remove and 12 not upgraded.
Need to get 0 B/88.2 MB of archives.
After this operation, 4326 kB of additional disk space will be used.
Do you want to continue? [Y/n]
debconf: delaying package configuration, since apt-utils is not installed
(Reading database ... 41587 files and directories currently installed.)
Preparing to unpack .../libc6_2.27-3ubuntu1.3_amd64.deb ...
/var/lib/dpkg/tmp.ci/preinst: 132: [: Illegal number:
/var/lib/dpkg/tmp.ci/preinst: 9: /var/lib/dpkg/tmp.ci/preinst: arithmetic expression: expecting primary: "4 * 10000 + 14 * 100 + "
dpkg: error processing archive /var/cache/apt/archives/libc6_2.27-3ubuntu1.3_amd64.deb (--unpack):
 new libc6:amd64 package pre-installation script subprocess returned error exit status 2
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.27-3ubuntu1.3_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
so kodi was not in the selected app for the update (i don't know why) but i got a strange error when trying to install libc6, any siggestion ?

thanks
AS6404T
User avatar
Nazar78
Posts: 2065
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: update ubuntu inside myHD (18.04)

Post by Nazar78 »

Asustor kernel has a non-standard kernel version. Use this method as a temp fix. viewtopic.php?f=27&t=11287&p=36632&hilit=uname#p36632
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Darkmagister
Posts: 48
Joined: Sat Oct 27, 2018 4:36 pm

Re: update ubuntu inside myHD (18.04)

Post by Darkmagister »

Nazar78 wrote:Asustor kernel has a non-standard kernel version. Use this method as a temp fix. viewtopic.php?f=27&t=11287&p=36632&hilit=uname#p36632
thank you so much, do i have to redo this after ADM update ?
AS6404T
User avatar
Nazar78
Posts: 2065
Joined: Wed Jul 17, 2019 10:21 pm
Location: Singapore
Contact:

Re: update ubuntu inside myHD (18.04)

Post by Nazar78 »

NP... No need but take note do this in myHD client not the ADM host else it'll have no effect.
AS5304T - 16GB DDR4 - ADM-OS modded on 2GB RAM
Internal:
- 4x10TB Toshiba RAID10 Ext4-Journal=Off
External 5 Bay USB3:
- 4x2TB Seagate modded RAID0 Btrfs-Compression
- 480GB Intel SSD for modded dm-cache (initramfs auto update patch) and Apps

When posting, consider checking the box "Notify me when a reply is posted" to get faster response
Darkmagister
Posts: 48
Joined: Sat Oct 27, 2018 4:36 pm

Re: update ubuntu inside myHD (18.04)

Post by Darkmagister »

yes, i've moved in chroot (myHD_root cmd) and then done that now i was able to update the system
AS6404T
Post Reply

Return to “myHD”