The officially official Devuan Forum!

You are not logged in.

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

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

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: 143  

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: 88  

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: 88  

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: 143  

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: 3,316  

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: 143  

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

#8 2018-06-27 19:42:46

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

Re: Ascii upgrade messed up the devuan jessie

msi wrote:

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.

The issue remains unresolved because the wifi is not working and system is in read-only mode after attempted ascii upgrade.

Offline

#9 2018-06-27 20:21:45

devuser
Member
Registered: 2018-04-30
Posts: 176  

Re: Ascii upgrade messed up the devuan jessie

erdos wrote:

system is in read-only mode after attempted ascii upgrade.

As in your disks are mounted read only? That seems to be more of a disk problem. What does your partition layout and filesystems look like?

Offline

#10 2018-06-27 23:59:52

Caluser2000
Member
Registered: 2018-04-24
Posts: 35  

Re: Ascii upgrade messed up the devuan jessie

erdos wrote:
msi wrote:

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.

The issue remains unresolved because the wifi is not working and system is in read-only mode after attempted ascii upgrade.

The best thing you can do is backup any data/documents then do a fresh installation of whatever distro you want to install. It'll be far quicker than trying to recover a a borked install.

Last edited by Caluser2000 (2018-06-28 00:00:46)

Offline

#11 2018-06-28 08:25:10

devuser
Member
Registered: 2018-04-30
Posts: 176  

Re: Ascii upgrade messed up the devuan jessie

Caluser2000 wrote:
erdos wrote:
msi wrote:

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.

The issue remains unresolved because the wifi is not working and system is in read-only mode after attempted ascii upgrade.

The best thing you can do is backup any data/documents then do a fresh installation of whatever distro you want to install. It'll be far quicker than trying to recover a a borked install.

Quite likely. At least if don't know how to debug it yourself and can somewhat approximate the work needed. Still trying to fix it has more of a learning effect than just reinstalling. Up to @erdos preference i guess.

Offline

#12 2018-07-21 16:38:17

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

Re: Ascii upgrade messed up the devuan jessie

devuser wrote:
erdos wrote:

system is in read-only mode after attempted ascii upgrade.

As in your disks are mounted read only? That seems to be more of a disk problem. What does your partition layout and filesystems look like?

output of 'fdisk -l', partition sda5~7 are Linux partitions, I've a multi-boot system.

root@(none):~# fdisk -l 
Device   BOOT   START   End Sectors Size ID  Type
/dev/sda1   *              63      62929439   62929377   30G  7   HPFS/NTFS/exFAT
/dev/sda2         106027047    143775701    37748655   18G  a5   FreeBSD
/dev/sda3         143806320    156295439    12489120     6G   c   W95 FAT32 (LBA)
/dev/sda4          62930942      106027007   430960666   20.6G   f   W95  Ext'd (LBA)
/dev/sda5           62930944      82460671    19529728      9.3G    83 Linux
/dev/sda6            82462720      85053439    2590720       1.2G    82 Linux swap / Solaris
/dev/sda7            85055488      106027007    20971520    10G     83   Linux

output of /etc/fstab:

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

Offline

#13 2018-07-22 14:40:44

fsmithred
Administrator
Registered: 2016-11-25
Posts: 2,486  

Re: Ascii upgrade messed up the devuan jessie

The options field in fstab should be a comma-separated list.

errors=remount -ro   should be:  errors=remount,ro

user, noauto   should be  user,noauto

Maybe those changes will fix it.

Offline

Board footer