Long since upgrade, need assistance

This forum is for all other ARMv5 devices

Long since upgrade, need assistance

Postby wkatastrof » Mon Nov 05, 2012 8:50 pm

Hello everyone using ALarm!

I've got a pogoplug that I've had running a webserver, but I haven't updated in a while. Usually I am able to follow WarheadSE and other's update posts to resolve whatever issues or enact any workarounds needed to be up-to-date.

At this time though, I'm having a little trouble figuring out what I should be doing. The last update I remember having to blacklist the 'initscripts' in pacman.

Here is my 'uname' info:
2.6.31.6_SMP_820 #6 SMP Thu Jun 14 19:49:57 CDT 2012 armv6l ARMv6-compatible processor rev 5 (v6l) Oxsemi NAS GNU/Linux

I've also read this post, which is a bit over my head: viewtopic.php?f=29&t=2453#p17713
I believe I did run the updater package the other night.

My pacman -Syu results are the following:

$this->bbcode_second_pass_code('', ':: Synchronizing package databases...
core 38.0 KiB 396K/s 00:00 [####################################################################] 100%
extra 429.1 KiB 597K/s 00:01 [####################################################################] 100%
community 420.6 KiB 738K/s 00:01 [####################################################################] 100%
aur is up to date
alarm is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

:: Starting full system upgrade...
warning: initscripts: ignoring package upgrade (2011.07.3-1 => 2012.10.1-1)
:: Replace libusb with core/libusbx? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...
:: systemd and udev-oxnas are in conflict (udev). Remove udev-oxnas? [y/N] n
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: systemd and udev-oxnas are in conflict
')

So please advise. Feel free to link to other threads that have already delt with this issue, but I would also like to keep this thread open for any specific questions I may have regarding my update.

Thanks!
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Re: Long since upgrade, need assistance

Postby WarheadsSE » Mon Nov 05, 2012 9:52 pm

Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Long since upgrade, need assistance

Postby wkatastrof » Tue Nov 06, 2012 10:07 pm

This is my result after force installing hwids and then systemd-tools.

$this->bbcode_second_pass_code('', '[wilheim@dadagarcon ~]$ sudo pacman -Sy systemd-tools
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
alarm is up to date
alarm is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

resolving dependencies...
looking for inter-conflicts...
:: systemd and udev-oxnas are in conflict (udev). Remove udev-oxnas? [y/N] Y

Targets (3): hwids-20121022-1 udev-oxnas-182-2 [removal] systemd-195-2

Total Installed Size: 9.27 MiB
Net Upgrade Size: 7.53 MiB

Proceed with installation? [Y/n] Y
(2/2) checking package integrity [##################################] 100%
(2/2) loading package files [##################################] 100%
(2/2) checking for file conflicts [##################################] 100%
error: failed to commit transaction (conflicting files)
hwids: /usr/share/hwdata/pci.ids exists in filesystem
hwids: /usr/share/hwdata/usb.ids exists in filesystem
Errors occurred, no packages were upgraded.
[wilheim@dadagarcon ~]$ sudo pacman -Syf hwids
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
alarm is up to date
alarm is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

resolving dependencies...
looking for inter-conflicts...

Targets (1): hwids-20121022-1

Total Installed Size: 1.22 MiB

Proceed with installation? [Y/n] Y
(1/1) checking package integrity [##################################] 100%
(1/1) loading package files [##################################] 100%
(1/1) checking available disk space [##################################] 100%
(1/1) installing hwids [##################################] 100%
[wilheim@dadagarcon ~]$ sudo pacman -Sy systemd-tools
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
alarm is up to date
alarm is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

resolving dependencies...
looking for inter-conflicts...
:: systemd and udev-oxnas are in conflict (udev). Remove udev-oxnas? [y/N] Y

Targets (2): udev-oxnas-182-2 [removal] systemd-195-2

Total Installed Size: 8.05 MiB
Net Upgrade Size: 6.31 MiB

Proceed with installation? [Y/n] Y
(1/1) checking package integrity [##################################] 100%
(1/1) loading package files [##################################] 100%
(1/1) checking for file conflicts [##################################] 100%
(2/2) checking available disk space [##################################] 100%
(1/1) removing udev-oxnas [##################################] 100%
(1/1) installing systemd [##################################] 100%
Initializing machine ID from D-Bus machine ID.
Failed to set capabilities on file `usr/bin/systemd-detect-virt' (Operation not supported)
usage: setcap [-q] [-v] (-r|-|<caps>) <filename> [ ... (-r|-|<capsN>) <filenameN> ]

Note <filename> must be a regular (non-symlink) file.
ln -s '/usr/lib/systemd/system/getty@.service' '/etc/systemd/system/getty.target.wants/getty@tty1.service'
:: Append 'init=/bin/systemd' to your kernel command line in your
bootloader to replace sysvinit with systemd
Optional dependencies for systemd
initscripts: legacy support for /etc/rc.conf
python: systemd library bindings
python2-cairo: systemd-analyze
python2-dbus: systemd-analyze
systemd-sysvcompat: symlink package to provide sysvinit binaries
cryptsetup: required for encrypted block devices
quota-tools: kernel-level quota management
')

If I attempt to do a system upgrade after that, I get the following errors:
$this->bbcode_second_pass_code('', '[wilheim@dadagarcon ~]$ sudo pacman -Syu
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
alarm is up to date
alarm is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

:: Starting full system upgrade...
:: Replace libusb with core/libusbx? [Y/n] Y
resolving dependencies...
looking for inter-conflicts...

Targets (164): alsa-lib-1.0.26-1 apr-1.4.6-1 automake-1.12.4-1 bash-4.2.039-1 binutils-2.23-1
bison-2.6.4-1 ca-certificates-20120623-1 cloog-0.17.0-2 coreutils-8.20-1
cracklib-2.8.19-1 cronie-1.4.8-3 cryptsetup-1.5.1-1 curl-7.26.0-1 db-5.3.21-1
dbus-core-1.6.8-1 device-mapper-2.02.98-1 dhcpcd-5.6.2-1 dnsmasq-2.63-1
dovecot-2.1.10-1 drupal-7.16-1 e2fsprogs-1.42.6-1 elinks-0.13-10 fakeroot-1.18.4-1
filesystem-2012.10-2 flex-2.5.37-1 fontconfig-2.10.1-2 freetype2-2.4.10-1
fuse-2.9.1-1 gc-7.2.d-1 gcc-4.7.2-2 gcc-libs-4.7.2-2 gdb-7.5-1 glib2-2.34.1-1
glibc-2.16.0-5 gpm-1.20.7-1 grep-2.14-1 gzip-1.5-1 iana-etc-2.30-3 inetutils-1.9.1-4
initscripts-2012.10.1-1 iproute2-3.6.0-2 iptables-1.4.16.2-1 iputils-20121011-1
isl-0.10-1 kbd-1.15.3-3 keyutils-1.5.5-3 kmod-10-2 krb5-1.10.3-1 ldns-1.6.14-1
less-451-1 libarchive-3.0.4-2 libedit-20120601_3.0-1 libgssglue-0.4-1 libidn-1.25-1
libjpeg-turbo-1.2.1-1 libldap-2.4.33-1 libltdl-2.4.2-7 libmpc-1.0.1-1
libmysqlclient-5.5.28-1 libnl-3.2.11-1 libpcap-1.3.0-1 libpipeline-1.2.2-1
libpng-1.5.13-1 libssh2-1.4.2-1 libtiff-4.0.3-1 libtool-2.4.2-7
libusb-1.0.9-1 [removal] libusb-compat-0.1.4-2 libusbx-1.0.14-1 libvpx-1.1.0-1
libx11-1.5.0-1 libxcb-1.9-1 libxft-2.3.1-1 libxi-1.6.1-1 libxml2-2.8.0-1 links-2.7-1
linux-3.1.10-13 linux-api-headers-3.6.3-1 linux-firmware-20120625-1 logrotate-3.8.2-1
lvm2-2.02.98-1 lynx-2.8.7-6 make-3.82-5 man-db-2.6.3-1 man-pages-3.43-1
mdadm-3.2.6-1 mkinitcpio-0.11.0-1 mkinitcpio-busybox-1.20.2-1 mpfr-3.1.1.p2-1
mysql-5.5.28-1 mysql-clients-5.5.28-1 nbd-3.2-3 net-tools-1.60.20120804git-2
nspr-4.9.3-1 nss-myhostname-0.3-3 openntpd-3.9p1-19 openssh-6.1p1-3 pacman-4.0.3-3.1
pacman-mirrorlist-20120916-1 pam-1.1.6-1 pambase-20120701-1 patch-2.7.1-1
pciutils-3.1.10-1 pcre-8.31-1 perl-5.16.1-2 perl-berkeleydb-0.51-1
perl-crypt-openssl-bignum-0.04-7 perl-crypt-openssl-random-0.04-7
perl-crypt-openssl-rsa-0.28-3 perl-crypt-ssleay-0.64-1 perl-digest-nilsimsa-0.06-8
perl-digest-sha1-2.13-3 perl-error-0.17018-1 perl-html-parser-3.69-2
perl-http-daemon-6.01-1 perl-http-date-6.02-1 perl-io-socket-ssl-1.77-1
perl-lwp-protocol-https-6.03-1 perl-mailtools-2.09-1 perl-mozilla-ca-20120309-1
perl-net-dns-0.68-2 perl-net-server-2.006-1 perl-net-ssleay-1.49-1
perl-netaddr-ip-4.065-1 perl-socket6-0.23-2 perl-timedate-1.20-3 perl-try-tiny-0.11-1
perl-uri-1.60-1 php-5.4.8-1 php-fpm-5.4.8-1 php-gd-5.4.8-1 php-mcrypt-5.4.8-1
phpmyadmin-3.5.3-1 pinentry-0.8.2-1 pkg-config-0.27.1-1 postfix-2.9.4-1
postgresql-libs-9.2.1-2 postgrey-1.34-8 ppl-1.0-1 ppp-2.4.5-5 procps-ng-3.3.5-1
psmisc-22.19-1 razor-2.84-7 readline-6.2.004-1 run-parts-4.3.4-1 shadow-4.1.5.1-1
spamassassin-3.3.2-7 sqlite-3.7.14.1-1 sudo-1.8.6.p3-1 syslog-ng-3.3.6-3
sysvinit-2.88-9 sysvinit-tools-2.88-9 tinycdb-0.78-1 tzdata-2012h-1
udev-automount-1.0-3 usbutils-006-1 util-linux-2.22.1-2 vim-7.3.712-1
vim-runtime-7.3.712-1 wget-1.14-2 wireless_tools-29-7 wpa_supplicant-1.0-2
xcb-proto-1.8-1 xz-5.0.4-1

Total Download Size: 26.74 MiB
Total Installed Size: 712.71 MiB
Net Upgrade Size: 29.09 MiB

Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
glibc-2.16.0-5-arm 7.3 MiB 911K/s 00:08 [##################################] 100%
gcc-libs-4.7.2-2-arm 531.3 KiB 916K/s 00:01 [##################################] 100%
binutils-2.23-1-arm 3.2 MiB 248K/s 00:13 [##################################] 100%
gcc-4.7.2-2-arm 14.7 MiB 952K/s 00:16 [##################################] 100%
pacman-4.0.3-3.1-arm 1020.0 KiB 1275K/s 00:01 [##################################] 100%
(163/163) checking package integrity [##################################] 100%
(163/163) loading package files [##################################] 100%
(163/163) checking for file conflicts [##################################] 100%
error: failed to commit transaction (conflicting files)
glibc: /lib exists in filesystem
filesystem: /etc/profile.d/locale.sh exists in filesystem
filesystem: /var/run exists in filesystem
fontconfig: /etc/fonts/conf.d/20-unhint-small-vera.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/29-replace-bitmap-fonts.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/30-metric-aliases.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/30-urw-aliases.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/40-nonlatin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/45-latin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/49-sansserif.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/50-user.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/51-local.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/60-latin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/65-fonts-persian.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/65-nonlatin.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/69-unifont.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/80-delicious.conf exists in filesystem
fontconfig: /etc/fonts/conf.d/90-synthetic.conf exists in filesystem
Errors occurred, no packages were upgraded.
')

If I try to force install glibc, filesystem, and fontconfig, glibc fails and then my system seems totally broken:

$this->bbcode_second_pass_code('', '[wilheim@dadagarcon ~]$ sudo pacman -Syf glibc filesystem fontconfig
:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
aur is up to date
alarm is up to date
alarm is up to date
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] n

resolving dependencies...
looking for inter-conflicts...

Targets (5): linux-api-headers-3.6.3-1 nss-myhostname-0.3-3 filesystem-2012.10-2 fontconfig-2.10.1-2
glibc-2.16.0-5

Total Installed Size: 41.47 MiB
Net Upgrade Size: 0.37 MiB

Proceed with installation? [Y/n] y
(5/5) checking package integrity [##################################] 100%
(5/5) loading package files [##################################] 100%
(5/5) checking available disk space [##################################] 100%
(1/5) upgrading linux-api-headers [##################################] 100%
(2/5) upgrading glibc [##################################] 100%
warning: /etc/locale.gen installed as /etc/locale.gen.pacnew
error: extract: not overwriting dir with file lib
error: problem occurred while upgrading glibc
call to execv failed (No such file or directory)
error: command failed to execute correctly
error: could not commit transaction
error: failed to commit transaction (transaction aborted)
Errors occurred, no packages were upgraded.
[wilheim@dadagarcon ~]$ sudo pacman -Syf filesystem fontconfig
-bash: /usr/bin/sudo: No such file or directory
')

I have my drive backed up as an image, so I can start all over again by installing hwids and systemd-tools the way I did, but what comes after that?

Obviously not force installing glibc or the others...

I can't find the answer in the thread that we have both already linked to.
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Re: Long since upgrade, need assistance

Postby WarheadsSE » Tue Nov 06, 2012 11:21 pm

fontconfig & hwids: mentioned in upstream news

Do not force glibc! (or systemd-tools!)
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Long since upgrade, need assistance

Postby wkatastrof » Sat Nov 10, 2012 1:31 am

I can't seem to get this to work and need some hand holding.

I can force install hwids and reinstall fontconfig as per the upstream news regarding it.

That works fine.


Afterward I get a problem with glibc.
If I do something like pacman -Syu --ignore glibc I get:

pacman: /lib/libc.so.6: version `GLIBC_2.16' not found (required by /usr/lib/libarchive.so.12)


I've tried some other things that have gotten me to "Segmentation fault" or "illegal instruction" -- Obviously those were not the right things to do.

Now I will re-image to a backup again. install hwids, remedy fontconfig... and then what?

I would be happy to read some other instruction that would help me understand what is happening overall during these updates. Reading many of these forum posts seem to address specific problems directly in a vague manner which makes it all the more confusing for me.

Please advise. -- Thanks!
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Re: Long since upgrade, need assistance

Postby dinjo » Sat Nov 10, 2012 2:30 am

I'm in a same boat you are there is no specific instructions anywhere
dinjo
 
Posts: 258
Joined: Mon Nov 28, 2011 5:59 am

Re: Long since upgrade, need assistance

Postby wkatastrof » Sat Nov 10, 2012 7:39 am

OK,

So I've gotten to the point where "glibc: /lib exists in filesystem" is the only error that is preventing me from upgrading.

I've gotten to this page which suggests running the following:
https://wiki.archlinux.org/index.php/De ... iki:usrlib
$this->bbcode_second_pass_code('', '[sudo] pacman -U http://mirrors.cecsresearch.org/archlinuxarm/arm/core/glibc-2.16.0-4-arm.pkg.tar.xz')

BUT, when I run this command, I still receive "glibc: /lib exists in filesystem" as an error!

How can I work around this? It seems like it should work now!
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Re: Long since upgrade, need assistance

Postby WarheadsSE » Sat Nov 10, 2012 2:20 pm

You're not reading the whole article.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Long since upgrade, need assistance

Postby wkatastrof » Sun Nov 11, 2012 5:51 pm

Thanks for working with my impatience. I was able to update glibc after reading the entire page. Now I am running into this problem:

$this->bbcode_second_pass_quote('', 'l')inux: /usr/lib/modules/extramodules-3.1-ARCH/version exists in filesystem


Can I just remove /version ?
wkatastrof
 
Posts: 11
Joined: Sat Mar 03, 2012 2:47 am

Re: Long since upgrade, need assistance

Postby WarheadsSE » Sun Nov 11, 2012 6:19 pm

Should be safe, we (oxnas) don't really use that package anyways.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Next

Return to Community Supported

Who is online

Users browsing this forum: No registered users and 1 guest