[OmniOS-discuss] Fwd: [smartos-discuss] Problem updating Debian 8.7 (jessie) zone

Dan McDonald danmcd at omniti.com
Mon May 8 15:11:26 UTC 2017


For anyone using Debian in an LX zone...

Dan

> Begin forwarded message:
> 
> From: "Christopher Horrell" <christopher at joyent.com>
> Subject: Re: [smartos-discuss] Problem updating Debian 8.7 (jessie) zone
> Date: May 8, 2017 at 10:11:02 AM EDT
> To: SmartOs Discuss <smartos-discuss at lists.smartos.org>
> Reply-To: smartos-discuss at lists.smartos.org
> 
> Hi Jesús,
> 
> It looks like you are hitting something similar to this:
> 
> https://github.com/joyent/smartos-live/issues/596 <https://github.com/joyent/smartos-live/issues/596>
> 
> See the last comment for a workaround
> 
> On Sun, May 7, 2017 at 6:53 PM Jesus Cea <jcea at jcea.es <mailto:jcea at jcea.es>> wrote:
> I have a zone with Debian 8.7 (jessie) running fine for months. Upgraded
> daily with no issues. Upgrading today I see this:
> 
> """
> root at XXX:~# apt-get upgrade
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> You might want to run 'apt-get -f install' to correct these.
> The following packages have unmet dependencies:
>  systemd : Depends: udev (>= 208-8) but it is not installable
>            Recommends: libpam-systemd but it is not installed
> E: Unmet dependencies. Try using -f.
> 
> root at XXX:~# apt-get upgrade -f
> Reading package lists... Done
> Building dependency tree
> Reading state information... Done
> Correcting dependencies... Done
> Calculating upgrade... Done
> The following packages will be REMOVED:
>   systemd
> The following packages will be upgraded:
>   binutils ca-certificates libgnutls-deb0-28 libgnutls-openssl27
> libsystemd0 libudev1 libxslt1.1 locales multiarch-support unzip
>   vim vim-common vim-runtime vim-tiny wget
> 15 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
> Need to get 0 B/16.3 MB of archives.
> After this operation, 12.4 MB disk space will be freed.
> Do you want to continue? [Y/n] y
> Preconfiguring packages ...
> (Reading database ... 26262 files and directories currently installed.)
> Removing systemd (215-17+deb8u6) ...
> systemd is the active init system, please switch to another before
> removing systemd.
> dpkg: error processing package systemd (--remove):
>  subprocess installed pre-removal script returned error exit status 1
> Failed to stop lib-init-rw.mount: Unit lib-init-rw.mount not loaded.
> addgroup: The group `systemd-journal' already exists as a system group.
> Exiting.
> unable to set CAP_SETFCAP effective capability: Operation not permitted
> Errors were encountered while processing:
>  systemd
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> """
> 
> I am using the image:
> 
> e74a9cd0-f2d0-11e6-8b69-b3acf2ef87f7  debian-8                20170214
> linux    lx-dataset    2017-02-14
> 
> How should I proceed?.
> 
> Thanks.
> 
> --
> Jesús Cea Avión                         _/_/      _/_/_/        _/_/_/
> jcea at jcea.es <mailto:jcea at jcea.es> - http://www.jcea.es/ <http://www.jcea.es/>     _/_/    _/_/  _/_/    _/_/  _/_/
> Twitter: @jcea                        _/_/    _/_/          _/_/_/_/_/
> jabber / xmpp:jcea at jabber.org <mailto:xmpp%3Ajcea at jabber.org>  _/_/  _/_/    _/_/          _/_/  _/_/
> "Things are not so easy"      _/_/  _/_/    _/_/  _/_/    _/_/  _/_/
> "My name is Dump, Core Dump"   _/_/_/        _/_/_/      _/_/  _/_/
> "El amor es poner tu felicidad en la felicidad de otro" - Leibniz
> 
> 
> 
> 
> 
> http://www.listbox.com <http://www.listbox.com/>
> -- 
> Christopher Horrell
> Joyent Inc.
> http://www.joyent.com/ <http://www.joyent.com/>
> smartos-discuss | Archives <https://www.listbox.com/member/archive/184463/=now>  <https://www.listbox.com/member/archive/rss/184463/26913185-da7c67be> | Modify <https://www.listbox.com/member/?member_id=26913185&id_secret=26913185-7b7f2b8d> Your Subscription	 <http://www.listbox.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://omniosce.org/ml-archive/attachments/20170508/b350de5f/attachment-0001.html>


More information about the OmniOS-discuss mailing list