The officially official Devuan Forum!

You are not logged in.

#1 2017-12-03 12:34:26

thierrybo
Member
Registered: 2017-11-11
Posts: 4

Upgrading: Warning: The following essential packages will be removed

Hi,

I already upgraded several Jessie Devuan test machines to ascii, but this time, from a netinstall only setup,

sudo apt full-upgrade
....
WARNING: The following essential packages will be removed
This should NOT be done unless you know exactly what you are doing!
e2fsprogs util-linux (due to e2fsprogs) init sysvinit-core (due yo init) sysvinit-utils
...........
You are about to do something potentially harmful
...............

I tried a two time upgrade (upgrade + full-upgrade). And I say yes, the system does not boot any more.

Last edited by thierrybo (2017-12-03 12:34:59)

Offline

#2 2017-12-03 13:13:26

fsmithred
Administrator
Registered: 2016-11-25
Posts: 471

Re: Upgrading: Warning: The following essential packages will be removed

You probably should have come here before anwering Yes to that. To fix it, you can boot a live CD or usb, chroot into the installed system and re-install or do whatever to get those packages back. There's not enough information in your post to know what caused the problem. How was that system different from the others you upgraded?

Offline

#3 2017-12-03 13:52:04

thierrybo
Member
Registered: 2017-11-11
Posts: 4

Re: Upgrading: Warning: The following essential packages will be removed

Thanks,

I am yet running tests on a virtual machine with a snapshot from a fresh netinstall CD using graphical installer (just unselecting tasks for Desktop Environments). The only thing I did is disabling Recommended packages.

But there is no difference in the way I installed and upgraded before, so I suspect some new/upgraded packages in ascii repository. I also did not made any change to the default source.list (I mean before replacing jessie with ascii) :

# 

# deb cdrom:[Debian GNU/Linux 1.0-final _Jessie_ - Official amd64 NETINST Binar$

#deb cdrom:[Debian GNU/Linux 1.0-final _Jessie_ - Official amd64 NETINST Binary$

deb http://fr.mirror.devuan.org/merged/ jessie main
deb-src http://fr.mirror.devuan.org/merged/ jessie main

# jessie-security, previously known as 'volatile'
deb http://fr.mirror.devuan.org/merged/ jessie-security main non-free
deb-src http://fr.mirror.devuan.org/merged/ jessie-security main non-free

# jessie-updates, previously known as 'volatile'
deb http://fr.mirror.devuan.org/merged/ jessie-updates main non-free
deb-src http://fr.mirror.devuan.org/merged/ jessie-updates main non-free

devuan.list :

# autogenerated by devuan-baseconf
# decomment following lines to  enable the developers devuan repository
#deb http://packages.devuan.org/devuan jessie main
#deb-src http://packages.devuan.org/devuan jessie main

As I said I just added /etc/apt/apt.conf.d/01lean with :

APT::Install-Recommends "false";

Last edited by thierrybo (2017-12-03 13:53:14)

Offline

#4 2017-12-03 16:01:09

thierrybo
Member
Registered: 2017-11-11
Posts: 4

Re: Upgrading: Warning: The following essential packages will be removed

Yes, now I confirm ascii is "broken" right now :

sysvinit-utils : Depends: util-linux (> 2.28-2~) but 2.28-1+devuan3 is to be installed.

but util-linux in ascii is still 2.28-1+devuan3

Offline

#5 2017-12-03 16:20:14

golinux
Administrator
Registered: 2016-11-25
Posts: 684

Re: Upgrading: Warning: The following essential packages will be removed

There are problems with util-linux atm.   It is a priority to get it fixed.

Offline

#6 2017-12-03 20:04:35

fsmithred
Administrator
Registered: 2016-11-25
Posts: 471

Re: Upgrading: Warning: The following essential packages will be removed

I just ran into this doing a debootstrap install of ascii. Here's a way around it. The needed packages are in ascii-proposed. When they move into the main ascii repo, this will no longer be a problem.

In chroot: add the following line to /etc/apt/sources.list (note that it's /devuan not /merged like the others.)

deb http://pkgmaster.devuan.org/devuan/ ascii-proposed main

Then run

apt-get update
apt-get -t ascii-proposed install util-linux libfdisk1

Then you can install other things. I have no idea what's missing in your system now. I had to do the above before I could install the kernel. You probably need to run upgrade and dist-upgrade again, maybe apt --fix-missing, or maybe you'll get other instructions.

Offline

Board footer