Hi Chris,
remove makedev ...
apt-get remove --purge makedev; apt-get install -f; apt-get autoclean;
apt-get clean; apt-get update; apt-get upgrade; apt-get dist-upgrade;
apt-get autoremove
reboot the lx container ... be happy ;)
Mit freundlichen Grüßen
DANIEL PLOMINSKI
Leiter IT / Head of IT
Telefon09265 808-151 | Mobil 0151 58026316 | d...@ass.de
PGP Key: http://pgp.ass.de/2B4EB20A.key
ASS-Einrichtungssysteme GmbH
ASS-Adam-Stegner-Straße 19 | D-96342 Stockheim
Geschäftsführer: Matthias Stegner, Michael Stegner, Stefan Weiß
Amtsgericht Coburg HRB 3395 | Ust-ID: DE218715721
------ Originalnachricht ------
Von: "Chris Ridd" <chrisr...@mac.com>
An: smartos-discuss@lists.smartos.org
Gesendet: 20.02.2018 23:00:30
Betreff: [smartos-discuss] apt-get upgrade in ubuntu lx zone
Hi,
I’ve got an Ubuntu 15 lx zone set up in joyent_20170831T155808Z using
the ffe82a0a-83d2-11e5-b5ac-f3e14f42f12d image:
ffe82a0a-83d2-11e5-b5ac-f3e14f42f12d ubuntu-15.04 20151105
linux lx-dataset 2015-11-05
Interestingly, the zone seems to think it is:
Welcome to Ubuntu 16.04.3 LTS (GNU/Linux 3.13.0 x86_64)
I’m not sure how the zone went from 15 to 16… Hm.
Currently, "apt-get upgrade" is currently failing trying to run mknod.
Does anyone recognise this sort of problem, or do I need to rebuild
this zone using a more recent image?
# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libdrm-amdgpu1 libdrm2 libgl1-mesa-dri libgl1-mesa-glx libglapi-mesa
mesa-vdpau-drivers
upgraded, 0 newly installed, 0 to remove and 6 not upgraded.
2 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up makedev (2.3.1-93ubuntu2~ubuntu16.04.1) ...
mknod: mem-: Operation not permitted
makedev mem c 1 1 root kmem 0640: failed
mknod: kmem-: Operation not permitted
makedev kmem c 1 2 root kmem 0640: failed
mknod: null-: Operation not permitted
makedev null c 1 3 root root 0666: failed
[…]
mknod: tty0-: Operation not permitted
makedev tty0 c 4 0 root tty 0600: failed
mknod: console-: Operation not permitted
makedev console c 5 1 root tty 0600: failed
failed to create symbolic link 'fd/fd': Function not implemented
failed to create symbolic link 'stdin': File exists
failed to create symbolic link 'stdout': File exists
failed to create symbolic link 'stderr': File exists
/sbin/MAKEDEV: don't know how to make device "tty0"
dpkg: error processing package makedev (--configure):
subprocess installed post-installation script returned error exit
status 1
dpkg: dependency problems prevent configuration of ubuntu-minimal:
ubuntu-minimal depends on makedev; however:
Package makedev is not configured yet.
dpkg: error processing package ubuntu-minimal (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
makedev
ubuntu-minimal
Sub-process /usr/bin/dpkg returned an error code (1)
Thanks,
Chris
-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription:
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com