[Solved]GoFlexHome:Cannot update system using pacman -Syu

This forum is for Marvell Kirkwood devices such as the GoFlex Home/Net, PogoPlug v1/v2, SheevaPlug, and ZyXEL devices.

Re: [Help]GoFlexHome:Cannot update system using pacman -Syu

Postby pepedog » Wed Jun 05, 2013 1:32 pm

Here is an example, I got this error
filesystem: /usr/sbin exists in filesystem
So something is in /usr/sbin, I will find out
$this->bbcode_second_pass_code('', 'pacman -Qo /usr/sbin/console-kit-daemon')
/usr/sbin/console-kit-daemon is owned by consolekit 0.4.6-4
I remove it
$this->bbcode_second_pass_code('', 'pacman -R consolekit')
/usr/sbin is empty so now I can delete it
$this->bbcode_second_pass_code('', 'rm -r /usr/sbin')
Now I can do
$this->bbcode_second_pass_code('', 'pacman -Su')
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [Help]GoFlexHome:Cannot update system using pacman -Syu

Postby suyanlu » Wed Jun 05, 2013 1:50 pm

$this->bbcode_second_pass_quote('pepedog', 'Y')ou must do this first
pacman -R localepurge
pacman -Syu --ignore filesystem,bash

If that works
pacman -S bash
pacman -Su
If that fails you have to see what is in /bin /sbin /usr/sbin stopping it


Thank you very much!
It has worked!
suyanlu
 
Posts: 31
Joined: Fri Mar 15, 2013 9:33 am

Re: [Help]GoFlexHome:Cannot update system using pacman -Syu

Postby sjwoo » Thu Jun 06, 2013 12:34 am

I got all the way to the end with my Pogo v2 -- pacman -Su didn't take. And now the system won't boot all the way? Help!

$this->bbcode_second_pass_quote('suyanlu', '')$this->bbcode_second_pass_quote('pepedog', 'Y')ou must do this first
pacman -R localepurge
pacman -Syu --ignore filesystem,bash

If that works
pacman -S bash
pacman -Su
If that fails you have to see what is in /bin /sbin /usr/sbin stopping it


Thank you very much!
It has worked!
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm
Top

Re: [Help]GoFlexHome:Cannot update system using pacman -Syu

Postby suyanlu » Thu Jun 06, 2013 12:42 pm

I think you must boot your system with usb stick, and mount your harddisk, then backup configuration to your usb stick, then get initial install package using"wget http://archlinuxarm.org/os/ArchLinuxARM ... est.tar.gz", uncompress it to your harddisk, then do it following pepedog's guide.

$this->bbcode_second_pass_quote('sjwoo', 'I') got all the way to the end with my Pogo v2 -- pacman -Su didn't take. And now the system won't boot all the way? Help!

$this->bbcode_second_pass_quote('suyanlu', '')$this->bbcode_second_pass_quote('pepedog', 'Y')ou must do this first
pacman -R localepurge
pacman -Syu --ignore filesystem,bash

If that works
pacman -S bash
pacman -Su
If that fails you have to see what is in /bin /sbin /usr/sbin stopping it


Thank you very much!
It has worked!
suyanlu
 
Posts: 31
Joined: Fri Mar 15, 2013 9:33 am
Top

Re: [Solved]GoFlexHome:Cannot update system using pacman -Sy

Postby etan » Thu Jun 06, 2013 2:40 pm

why this could not be done by upgrade scripts ?
Are these instructions also for 3.9.4 ?

How to find "non-official repos" ?
paclist <repo> | awk ' { print $1 } ' | pacman -Ql - | grep ' /s\?bin/\| /usr/sbin/'

They do not mention localpurge to remove.
etan
 
Posts: 13
Joined: Sun Feb 17, 2013 5:45 pm

Re: [Solved]GoFlexHome:Cannot update system using pacman -Sy

Postby pepedog » Thu Jun 06, 2013 6:57 pm

Localepurge was from local knowledge. As that package has been rebuilt to go in /usr/sbin it is no longer to be removed before the rest. As is others that have been tracked down.
The point is 3 directories need to be emptied after bash is installed, and before filesystem installed. So you pacman -Qo the filenames, remove the discovered package
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [Solved]GoFlexHome:Cannot update system using pacman -Sy

Postby sjwoo » Thu Jun 06, 2013 9:46 pm

I did everything as listed here twice, but it still will not boot again. I had a three-month old image of the system, so I just went back to the backup.

I must say, I think I'm going to give up keeping my Pogo updated. I use this machine for three things:

1) Samba
2) Sickbeard
3) SABnzbd

I don't think I need to keep the entire system updated to keep these three apps functional. In fact, I just updated Sickbeard and SAB via pacman (pacman -Syy first, then pacman -S sickbeard, pacman -sabnzbd), and they updated fine.

Maybe some point down the line, the apps won't work because of too many changes (like the systemctl overhaul that happened a little while back), but until that happens, I'm gonna take my chances and leave the Pogo alone. Too many times, the entire system goes kaput, and it's just not worth my time to make all these updates.

- Sung
sjwoo
 
Posts: 38
Joined: Thu Dec 15, 2011 2:46 pm

Re: [Solved]GoFlexHome:Cannot update system using pacman -Sy

Postby pepedog » Thu Jun 06, 2013 10:11 pm

Latest image gets past these updates
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: [Solved]GoFlexHome:Cannot update system using pacman -Sy

Postby huntrm » Fri Jun 07, 2013 1:50 pm

Hey guys, need your help. I followed the upgrade procedure, and had TWO programs pending a move to /usr/bin. First was file system, second was cherokee. Last step was for me to move Cherokee, and then do a pacman -Su.

I stepped away from the terminal, was away for several hours, and appears that the PC decided to reboot with a Win7 update (yay!).

So now, I can't log into arch using root password. I'm hesitant to unplug the pogoplug, rebooting it for fear that I'll lose the websites that I'm running.

What are my options here? Again, I'm entering root via SSH, but the password isn't being accepted.
huntrm
 
Posts: 32
Joined: Wed Aug 29, 2012 2:45 pm

Re: [Solved]GoFlexHome:Cannot update system using pacman -Sy

Postby pepedog » Fri Jun 07, 2013 2:17 pm

Think you will have to unplug, fschk drive, and put in the three symlinks.
I had one similar, tar xf filesystem pkg to it, but had some etc files overwrote
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

PreviousNext

Return to Marvell Kirkwood

Who is online

Users browsing this forum: No registered users and 16 guests