LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 06-23-2018, 03:58 PM   #1
xiongnu
Member
 
Registered: Sep 2004
Distribution: Debian, Void
Posts: 228

Rep: Reputation: 19
devuan: Ascii upgrade messed up the jessie


i migrated to devuan jessie from debian jessie about a year ago, things had been well since then - until recently when i tried to upgrade to Devuan Ascii.

error when i tried to upgrade to ascii:
root@debian:/home/erdos# apt-get dist-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: initscripts : Depends: sysv-rc or file-rc but it is not installable libncurses5 : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 6.0+20161126-1+deb9u1 is installed sysvinit-core : Depends: sysv-rc or file-rc but it is not installable sysvinit-utils : Depends: init-system-helpers (>= 1.25~) but 1.24+devuan1.0 is installed E: Unmet dependencies. Try using -f.

after reboot the system, i can only log into command line, x-windows can't be loaded, wifi isn't working, and my home partition isn't mounted. system partition is in Read-only mode.

my laptop is thinkpad t60 with wifi built in.

any suggestion on how to resolve this issue besides a complete reinstallation of devuan?
 
Old 06-23-2018, 05:36 PM   #2
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,409

Rep: Reputation: 169Reputation: 169
The only suggestion I have is to try what your computer already suggested:

Code:
You might want to run 'apt-get -f install' to correct these.
 
Old 06-24-2018, 06:01 PM   #3
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9
Posts: 1,409

Rep: Reputation: 169Reputation: 169
Hmm, in rereading your post I notice you say that wifi isn't working with the device, and it's in read-only mode, which will make any fix tricky.

This is the first time I've heard of Devuan. I'm not sure why making an OS without systemd is a big deal, but that seems a motivation of the developers of this system. Anyway, your best bet to find an answer is likely on the Devuan forum: https://dev1galaxy.org/

One post I found about issues of upgrading to Ascii describes how to get into recovery mode. Maybe being able to get into recovery mode would make a fix possible. If so, here's the release notes for the upgrade you're attempting. Good luck.
 
Old 07-19-2018, 03:58 AM   #4
jaromil
LQ Newbie
 
Registered: Oct 2011
Location: Amsterdam
Distribution: Devuan
Posts: 4

Rep: Reputation: 14
Hi there! The problem seems strange: we test extensively both migration and upgrade paths before releasing Devuan stable.
I will try to be of help despite the small info provided. Possible causes for your problem are:
- lack of `apt-get update` before `dist-upgrade`
- use of old repos: we now have round-robin mirrors served through deb.devuan.org, see: https://devuan.org/get-devuan
- presence of other third-party repos or Debian repos in your `/etc/apt/sources.list`

hoping this helps, wish you happy hacking!
 
Old 07-19-2018, 08:50 AM   #5
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,186

Rep: Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037
Quote:
Originally Posted by xiongnu View Post
i migrated to devuan jessie from debian jessie about a year ago, things had been well since then - until recently when i tried to upgrade to Devuan Ascii.

error when i tried to upgrade to ascii:
root@debian:/home/erdos# apt-get dist-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: initscripts : Depends: sysv-rc or file-rc but it is not installable libncurses5 : Depends: libtinfo5 (= 5.9+20140913-1+b1) but 6.0+20161126-1+deb9u1 is installed sysvinit-core : Depends: sysv-rc or file-rc but it is not installable sysvinit-utils : Depends: init-system-helpers (>= 1.25~) but 1.24+devuan1.0 is installed E: Unmet dependencies. Try using -f.
Please post this output with [.CODE] tags. It is already complicated enough.

As you can see there are some packages installed from Stretch or Debian9. The latest version of this package in Jessie is 5.9+...+deb8u3. What apt requests is and exact match on a package for which a newer version is already installed.

This package should not have been there. Either it is a problem in de Devuan packages which installed it by accident or you have been using repos beyond Jessie. Since the Devuan team says upgrades were thoroughly tested it might be a problem from the past.

You cannot uninstall libtinfo5 as literally every other installed package depends on it. I fear your system is wrecked.

jlinkels

Last edited by jlinkels; 07-19-2018 at 08:58 AM.
 
Old 07-21-2018, 12:08 PM   #6
xiongnu
Member
 
Registered: Sep 2004
Distribution: Debian, Void
Posts: 228

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by jaromil View Post
Hi there! The problem seems strange: we test extensively both migration and upgrade paths before releasing Devuan stable.
I will try to be of help despite the small info provided. Possible causes for your problem are:
- lack of `apt-get update` before `dist-upgrade`
- use of old repos: we now have round-robin mirrors served through deb.devuan.org, see: https://devuan.org/get-devuan
- presence of other third-party repos or Debian repos in your `/etc/apt/sources.list`

hoping this helps, wish you happy hacking!
I followed this guide for upgrade.
https://www.devuan.org/os/documentat...grade-to-ascii
 
Old 07-21-2018, 12:27 PM   #7
xiongnu
Member
 
Registered: Sep 2004
Distribution: Debian, Void
Posts: 228

Original Poster
Rep: Reputation: 19
Quote:
Originally Posted by jlinkels View Post
Please post this output with [.CODE] tags. It is already complicated enough.

As you can see there are some packages installed from Stretch or Debian9. The latest version of this package in Jessie is 5.9+...+deb8u3. What apt requests is and exact match on a package for which a newer version is already installed.

This package should not have been there. Either it is a problem in de Devuan packages which installed it by accident or you have been using repos beyond Jessie. Since the Devuan team says upgrades were thoroughly tested it might be a problem from the past.

You cannot uninstall libtinfo5 as literally every other installed package depends on it. I fear your system is wrecked.

jlinkels
thank you for the reply!

Here's the output, system is in read only mode even I boot into recovery mode:
Code:
root@(none):~# apt-get dist-upgrade
W:  Not using locking for read only lock file /var/lib/dpkg/lock
E:  Unable to write to /var/cache/apt/
E:  The package lists or status file could not be parsed or opened.
root@(none):~#
/etc/apt/sources.list:
Code:
deb http://pkgmaster.devuan.org/merged ascii main
deb http://pkgmaster.devuan.org/merged ascii-updates main
deb http://pkgmaster.devuan.org/merged ascii-security main
deb http://pkgmaster.devuan.org/merged ascii-backports main
output of /var/log/syslog
...
Debian init: cannot execute '/etc/init.d/rc'
....

output of /etc/fstab:
Code:
UUID=  -------  /   ext4   errors=remount -ro 0  1
UUID=  -------  /home  ext4  defaults  0  2
UUID=  -------  none  swap   sw 0 0
/dev/sr0    /media/cdrom0  udf,iso9660  user, noauto  0  0
I'd like to mention that I tried to upgrade ascii before it was release as 'stable' , I also read from reddit forum that this seems to be related to 'openrc' init package that's not compatible with devuan - as one time I tried to install 'openrc' into devuan Jessie and it failed...
 
Old 07-21-2018, 12:40 PM   #8
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,186

Rep: Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037Reputation: 1037
Quote:
Originally Posted by xiongnu View Post
I'd like to mention that I tried to upgrade ascii before it was release as 'stable'
I am afraid that is the problem. The test version usually is stable enough but the upgrade while the version is test is not. Both ways, from stable to test can be broken, or from (old)test to (now)(stable) can be broken.

Since your system is not in RO mode there is very little you can do. Maybe someone else (from the Devuan team) can chime in.

I would say it is a lost case and you should re-install. Hopefully you have your /home directory on a separate partition, then the damage is limited. If not, you should copy your /home dir first. When you copy it back, omit the configuration files. (.foo etc)

jlinkels
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Devuan 2.0 ASCII fresh installation failure Jeebizz Debian 4 06-13-2018 11:14 AM
Devuan Jessie lacks driver for HP DeskJet 3630. globetrotterdk Linux - Hardware 8 01-31-2018 03:06 AM
LXer: Devuan 1.0 Jessie beta 2: Thatís Debian Jessie minus systemd LXer Syndicated Linux News 0 12-02-2016 03:41 AM
LXer: Devuan Jessie 1.0 Beta Screenshot Tour LXer Syndicated Linux News 0 04-30-2016 03:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 12:38 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration