[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: [Solved]GoFlexHome:Cannot update system using pacman -Sy

Postby huntrm » Fri Jun 07, 2013 2:30 pm

$this->bbcode_second_pass_quote('pepedog', 'T')hink 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


Can you elaborate on the steps? Thank you for the response.
huntrm
 
Posts: 32
Joined: Wed Aug 29, 2012 2:45 pm

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

Postby dansl » Mon Jun 10, 2013 10:21 pm

I'm having the same issues, and now I can't get my pogo to boot...
dansl
 
Posts: 3
Joined: Tue Jan 17, 2012 6:20 pm

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

Postby MotoTom » Thu Jun 20, 2013 1:23 pm

OK, I, too, an having problems updating. I get the "memory exhausted" message when running the first command,

Here's my terminal session including the ls results for /bin /sbin /usr/sbin.

$this->bbcode_second_pass_code('', '[root@TRB-PP tomb]# pacman -Qqo /bin /sbin /usr/sbin | pacman -Qm -
error: memory exhausted in argument parsing
[root@TRB-PP tomb]# ls /bin
awk date fusermount ls netstat sed umount
bash dd gawk lsblk pidof sh uname
cat df groups mkdir ping stty wdctl
chgrp dmesg hostname mknod ping6 su
chmod dnsdomainname keyctl more ps sync
chown echo kill mount pwd tar
cp false ln mountpoint rm true
dash findmnt login mv rmdir ulockmgr_server
[root@TRB-PP tomb]# ls /sbin
agetty fsck.minix mke2fs reiserfsck
arp fsck.reiserfs mkfs reiserfstune
badblocks fsck.xfs mkfs.bfs request-key
blkdiscard fsfreeze mkfs.cramfs resize2fs
blkid fstab-decode mkfs.ext2 resize_reiserfs
blockdev fstrim mkfs.ext3 route
bootlogd halt mkfs.ext4 runlevel
cfdisk hwclock mkfs.ext4dev runuser
chcpu ifconfig mkfs.jfs sfdisk
ctrlaltdel init mkfs.minix shutdown
debugfs ip mkfs.reiserfs slattach
debugreiserfs ipmaddr mkfs.xfs sln
depmod iptunnel mkhomedir_helper sulogin
dhcpcd jfs_debugfs mkreiserfs swaplabel
dumpe2fs jfs_fsck mkswap swapoff
e2fsck jfs_fscklog modprobe swapon
e2image jfs_logdump mount.fuse switch_root
e2label jfs_mkfs nameif sysctl
e2undo jfs_tune nologin telinit
fdisk key.dns_resolver pam_tally tune2fs
findfs killall5 pam_tally2 udevadm
fsck ldconfig pam_timestamp_check unix_chkpwd
fsck.cramfs logsave pivot_root unix_update
fsck.ext2 losetup plipconfig wipefs
fsck.ext3 mdadm poweroff xfs_repair
fsck.ext4 mdassemble rarp
fsck.ext4dev mdmon raw
fsck.jfs mii-tool reboot
[root@TRB-PP tomb]# ls /usr/sbin
accessdb ip pvchange uuidd
addgnupghome ip6tables pvck uuserver
addpart ip6tables-restore pvcreate v4l2-dbg
anacron ip6tables-save pvdisplay veritysetup
applygnupgdefaults iptables pvmove vgcfgbackup
arpd iptables-restore pvremove vgcfgrestore
arping iptables-save pvresize vgchange
avahi-autoipd itox pvs vgck
avahi-daemon kadmind pvscan vgconvert
avahi-dnsconfd kadmin.local pwck vgcreate
blkdeactivate kdb5_ldap_util pwconv vgdisplay
bridge kdb5_util pwunconv vgexport
capsh kprop rarpd vgextend
chat kpropd rdisc vgimport
chgpasswd kproplog readprofile vgimportclone
chpasswd krb5kdc resizepart vgmerge
cifs.idmap krb5-send-pr rlogind vgmknodes
cifs.upcall ldattach routef vgreduce
clockdiff lnstat routel vgremove
cracklib-check logrotate rshd vgrename
cracklib-format lspci rtacct vgs
cracklib-packer lvchange rtcwake vgscan
cracklib-unpacker lvconvert rtmon vgsplit
create-cracklib-dict lvcreate rtmpgw vigr
crond lvdisplay rtmpsrv vipw
cryptsetup lvextend rtmpsuck winbindd
cryptsetup-reencrypt lvm rtpr wpa_cli
ctstat lvmchange rtstat wpa_passphrase
delpart lvmconf samba wpa_supplicant
dhcpcd lvmdiskscan samba_dnsupdate xconv.pl
dmeventd lvmdump samba_kcc xfs_admin
dmsetup lvmetad samba_spnupdate xfs_bmap
e2freefrag lvmsadc samba_upgradedns xfs_check
e4defrag lvmsar sasldblistusers2 xfs_copy
fdformat lvreduce saslpasswd2 xfs_db
filefrag lvremove setcap xfs_estimate
fsadm lvrename setpci xfs_freeze
ftpd lvresize sim_server xfs_fsr
ftpscrub lvs smbd xfs_growfs
ftpshut lvscan ss xfs_info
genl minidlnad sserver xfs_io
getcap mklost+found sshd xfs_logprint
getpcaps newusers swat xfs_mdrestore
groupadd nmbd syslog-ng xfs_metadump
groupdel nscd syslog-ng-ctl xfs_mkfile
groupmems nstat talkd xfs_ncheck
groupmod ntpd tc xfs_quota
grpck partx telnetd xfs_rtcp
grpconv plog tftpd xinetd
grpunconv pluginviewer tracepath xtables-multi
gss-server pppd tracepath6 zdump
iconvconfig pppdump update-ca-certificates zic
ifcfg pppoe-discovery useradd
ifstat pppstats userdel
in.proftpd proftpd usermod
')

That looks like a ton of work to remove all of those files/packages.

I'm thinking a better way might be to start from scratch again but to delay installing ProFTP, miniDLNA and Samba until everything else has been properly updated. I'm running a Pogoplug E02.

What say you?

TIA.
MotoTom
 
Posts: 27
Joined: Sun Feb 03, 2013 4:37 pm

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

Postby pepedog » Thu Jun 20, 2013 2:00 pm

hydro suggested breaking it into 2 commands
$this->bbcode_second_pass_code('', 'pacman -Qqo /bin /sbin /usr/sbin > packages
pacman -Qm $(<packages)')
You could get most shifted with
$this->bbcode_second_pass_code('', 'pacman -Syu --ignore filesystem,bash
pacman -S bash')
Then do the broke apart commands above
If updates haven't been done in a while, you might have to do this first step
pacman -Syu --ignore filesystem,bash,glibc,pacman
and do a libarchive symlink
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 MotoTom » Thu Jun 20, 2013 2:39 pm

pepedog,

You ARE the man. Thank you so much.

There was only one package, ProFTP that needed removed and the rest of the update went flawlessly with one minor exception that I'd like some advice on. When I did the "pacman -Su" I got a warning:

$this->bbcode_second_pass_code('', 'warning: directory permissions differ on /sys/
filesystem: 755 package: 555')

Should chmod this or leave it alone?
MotoTom
 
Posts: 27
Joined: Sun Feb 03, 2013 4:37 pm

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

Postby pepedog » Thu Jun 20, 2013 4:51 pm

Thanks.
It's just a warning, I changed mine but it seems to change back, don't know what causes that.
I had proftpd stop me also, it's because it's no longer in repo it doesn't get upgraded out of /usr/sbin
Wonder why proftpd was dropped!
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 MotoTom » Thu Jun 20, 2013 5:08 pm

Strange. According to the ProFTP page @ AUR (https://aur.archlinux.org/packages/proftpd/) it's been updated to the new standard. The latest update is 31/5/13.

I also tried to install vsFTP and it's not in the repositories either. Looks like I'll have to try reinstalling ProFTP out side of pacman.

Thanks again.
MotoTom
 
Posts: 27
Joined: Sun Feb 03, 2013 4:37 pm

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

Postby pepedog » Thu Jun 20, 2013 6:22 pm

You could reinstall it from /var/cache/pacman/pkg/
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 MotoTom » Thu Jun 20, 2013 7:12 pm

Looks like the version in that folder is two versions old. Probably before the change to use /usr/bin.

FWIW, so far I've queried ProFTP, vsFTP and pure-ftp, all of which are listed in AUR, and pacman says they're not there.

I wonder if something else is broken. According to pacman all of my repositories are up to date.
MotoTom
 
Posts: 27
Joined: Sun Feb 03, 2013 4:37 pm

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

Postby pepedog » Thu Jun 20, 2013 7:16 pm

There is the aur of archlinux (PKGBUILD etc), and the aur of Archlinuxarm (package built)
Search forum topics for package request, and request. Or build the package yourself, it's easy
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 8 guests