You are not logged in.

#1 2013-11-25 03:33:53

barronmo
Member
Registered: 2012-08-21
Posts: 55

Lost NetworkManager during upgrade

I've been working on the upgrade involving removing /bin, /sbin, and /usr/sbin.  Everything seemed to be going well as I was using pacman to update packages with files in those folders.  Got down to updating iproute2 and it wouldn't update because of a file that seemed to be causing a conflict, /usr/bin/ip.  This file was empty so I changed the name to /usr/bin/ip-old and now the update for iproute2 worked without errors.  Unfortunately my internet connection went away. 

I've tried restarting NetworkManager via systemctl but this has failed.  I also downgraded back to iproute2 3.9.0-1 but still cannot start NetworkManager.  Sorry I can't post error messages but I'm using a different computer to post this.  I seem to be getting an error very similar to this post.  This one seemed to be solved by rebooting but I am afraid rebooting will not work for me since I'm in the middle of this upgrade.

I have several things left to do on this update but am stuck without an internet connection.  Next command would be

sudo pacman -Syu --ignore filesystem,bash

Thanks for any help.

Offline

#2 2013-11-25 03:43:13

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Lost NetworkManager during upgrade

Why were you trying to update iproute2 separately? The instructions do not say to do that.

Please post exactly what you have done since you have evidently not done what was recommended in the News posting on this issue and it is impossible to tell what you might have done instead.

Incidentally, if you are not going to update more frequently that this, Arch is not a good choice of distro. This is almost 5 months and that makes it much more likely you'll have problems.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2013-11-25 04:03:45

barronmo
Member
Registered: 2012-08-21
Posts: 55

Re: Lost NetworkManager during upgrade

I was updating iproute2 per these instructions separately because it was listed as owning a file in /usr/sbin.  My understanding was that I was to use pacman to 'fix' packages with files in /bin, /sbin, or /usr/sbin.

Offline

#4 2013-11-25 04:15:10

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Lost NetworkManager during upgrade

barronmo wrote:

I was updating iproute2 per these instructions separately because it was listed as owning a file in /usr/sbin.  My understanding was that I was to use pacman to 'fix' packages with files in /bin, /sbin, or /usr/sbin.

Read again. That's not what the instructions say.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2013-12-01 18:48:09

barronmo
Member
Registered: 2012-08-21
Posts: 55

Re: Lost NetworkManager during upgrade

Things worse since last update in that there was a crash and I can not boot up.  Booted via installation disk and ran

pacman --root /mnt -Qo /mnt/bin /mnt/sbin /mnt/usr/sbin
/mnt/bin : no such file or directory
/mnt/sbin is owned by iproute2 3.9
/mnt/usr/sbin is owned by iproute2 3.9
/mnt/usr/sbin is owned by filesystem

 
I tried upgrading to iproute 3.11 from my cache but got the following:

error: failed to prepare transaction (package architecture is not valid)

My understanding is that I need to manually upgrade iproute2.  I have tried simply removing it but that gets into an ever growing list of dependancies.  Any ideas?  Thanks.

Offline

#6 2013-12-01 19:17:19

barronmo
Member
Registered: 2012-08-21
Posts: 55

Re: Lost NetworkManager during upgrade

I got iproute2 updated by changing /etc/pacman.conf file to read "architecture = i686".  It previously said 'auto'.  This allowed me to upgrade iproute2 after moving /usr/bin/ip to /usr/bin/ip-old.  I'm still not sure this was correct.

Offline

#7 2013-12-02 02:54:53

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,198

Re: Lost NetworkManager during upgrade

No, it is not correct. As I said, you are not following the instructions. So nothing you do as a result of the mess created from not following them can be 'correct' if by that you mean 'how it is supposed to be done'.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

Board footer

Powered by FluxBB