The officially official Devuan Forum!

You are not logged in.

#1 2018-06-04 17:30:43

erdos
Member
Registered: 2018-06-04
Posts: 3  

Ascii upgrade messed up the devuan jessie

hi, newbie here.

i've run into this error when i tried to upgrade from devuan jessice to ascii a couple months ago (March 24th):

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, but my home directory is not mounted, wifi is not working.

my laptop is thinkpad t60 with wifi built in.

this seems to be some init messed up when ascii is still in testing, now that ASCII has been released.  is there a way to recover the system without reinstallation?

Offline

#2 2018-06-04 18:21:39

msi
Member
Registered: 2017-02-04
Posts: 105  

Re: Ascii upgrade messed up the devuan jessie

erdos wrote:

i've run into this error when i tried to upgrade from devuan jessice to ascii a couple months ago (March 24th):

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, but my home directory is not mounted, wifi is not working.

With that kind of error messages occuring, apt-get should refuse to perform any dist-upgrade, which it seemingly did in your case. So, unless you did not "try using -f" or anything else in that direction and also changed back your sources.list to Jessie and ran apt-get update after that, your system should actually be fine. So, did you try any other commands to make the upgrade happen or forget to revert your apt sources to Jessie?

What does /etc/apt/sources.list look like on that system?

Last edited by msi (2018-06-04 18:39:53)

Offline

#3 2018-06-04 18:36:19

erdos
Member
Registered: 2018-06-04
Posts: 3  

Re: Ascii upgrade messed up the devuan jessie

/etc/apt/sources.list:

# deb  jessie main

#deb [url]http://mirror.math.princeton.edu/pub/debian/[/url] jessie main contrib non-free
#deb-src [url]http://mirror.math.princeton.edu/pub/debian/[/url] jessie main contrib non-free

#deb [url]http://security.debian.org/[/url] jessie/updates main
#deb-src [url]http://security.debian.org/[/url] jessie/updates main

# jessie-updates, previously known as 'volatile'
#deb [url]http://mirror.math.princeton.edu/pub/debian/[/url] jessie-updates main contrib non-free
#deb-src [url]http://mirror.math.princeton.edu/pub/debian/[/url] jessie-updates main contrib non-free

#deb [url]http://auto.mirror.devuan.org/merged[/url] jessie          main
#deb [url]http://auto.mirror.devuan.org/merged[/url] jessie-updates  main
#deb [url]http://auto.mirror.devuan.org/merged[/url] jessie-security main
deb [url]http://pkgmaster.devuan.org/merged[/url] ascii main
deb [url]http://pkgmaster.devuan.org/merged[/url] ascii-updates main
deb [url]http://pkgmaster.devuan.org/merged[/url] ascii-security main
deb [url]http://pkgmaster.devuan.org/merged[/url] ascii-backports main

Offline

#4 2018-06-04 18:42:10

erdos
Member
Registered: 2018-06-04
Posts: 3  

Re: Ascii upgrade messed up the devuan jessie

msi wrote:

With that kind of error messages occuring, apt-get should refuse to perform any dist-upgrade, which it seemingly did in your case. So, unless you did not "try using -f" or anything else in that direction and also changed back your sources.list to Jessie and ran apt-get update after that, your system should  actually be fine. So, did you try any other commands to make the upgrade happen or forget to revert your apt sources to Jessie?

What does /etc/apt/sources.list look like on that system?


I can only boot into command line, and wifi isn't working.  the system is in read only mode and home directory isn't mounted. 
i have run '-f' but it returns error since system is locked in read-only mode.

Offline

#5 2018-06-04 18:43:30

msi
Member
Registered: 2017-02-04
Posts: 105  

Re: Ascii upgrade messed up the devuan jessie

Ok, I see. First, I'd try setting sources.list back to Jessie and then run apt-get update and apt-get upgrade. If that goes well, I'd reboot and see how that goes.

Btw, it's a good idea to use code tags when posting config files. That makes it more readable.

Last edited by msi (2018-06-04 18:48:01)

Offline

#6 2018-06-04 18:45:45

golinux
Administrator
Registered: 2016-11-25
Posts: 1,048  

Re: Ascii upgrade messed up the devuan jessie

msi wrote:

Btw, it's a good idea to use code tags when posting config files. That makes it more readable.

Done (for the second time).

Offline

#7 2018-06-04 18:51:53

msi
Member
Registered: 2017-02-04
Posts: 105  

Re: Ascii upgrade messed up the devuan jessie

golinux wrote:
msi wrote:

Btw, it's a good idea to use code tags when posting config files. That makes it more readable.

Done (for the second time).

Looks like something to mention in a forum code of conduct to be. wink

Offline

Board footer