I still get "no packages were upgraded"

This forum is for all other ARMv5 devices

I still get "no packages were upgraded"

Postby Raymondday » Mon Aug 05, 2013 1:12 pm

It's been a long time and just can't run pacman to get it to do any thing. Here is the command line:

$this->bbcode_second_pass_code('', '[root@alarm ~]# pacman -Syuf
:: Synchronizing package databases...
core 45.3K 411.2K/s 00:00:00 [######################] 100%
extra 511.4K 1002.1K/s 00:00:01 [######################] 100%
community 556.2K 1862.4K/s 00:00:00 [######################] 100%
aur 18.1K 4.6M/s 00:00:00 [######################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n]

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

Targets (14): linux-api-headers-3.8.4-1 filesystem-2013.05-2 glibc-2.17-5.1
bash-4.2.045-4 lzo2-2.06-1 libarchive-3.1.2-1 pth-2.0.7-4
libksba-1.3.0-1 libassuan-2.1.1-1 pinentry-0.8.3-1
dirmngr-1.1.1-1 gnupg-2.0.20-2 gpgme-1.4.2-1 pacman-4.1.2-1

Total Download Size: 0.00 MB
Total Installed Size: 54.23 MB

Proceed with installation? [Y/n]
(14/14) checking package integrity [######################] 100%
(14/14) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /etc/mtab exists in filesystem
filesystem: /etc/profile.d/locale.sh exists in filesystem
filesystem: /lib exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
glibc: /usr/bin/tzselect exists in filesystem
Errors occurred, no packages were upgraded.
[root@alarm ~]# pacman -Syuf
:: Synchronizing package databases...
core 45.3K 403.4K/s 00:00:00 [######################] 100%
extra 511.4K 1007.8K/s 00:00:01 [######################] 100%
community 556.2K 1824.8K/s 00:00:00 [######################] 100%
aur 18.1K 3.9M/s 00:00:00 [######################] 100%
:: 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 dbus-core with core/dbus? [Y/n] n
:: Replace libgl with extra/mesa-libgl? [Y/n] n
:: Replace libglapi with extra/mesa? [Y/n] n
:: Replace libjpeg with extra/libjpeg-turbo? [Y/n] n
:: Replace libusb with core/libusbx? [Y/n] n
:: Replace module-init-tools with core/kmod? [Y/n] n
:: Replace procps with core/procps-ng? [Y/n] n
resolving dependencies...
looking for inter-conflicts...
error: unresolvable package conflicts detected
error: failed to prepare transaction (conflicting dependencies)
:: systemd and udev-oxnas are in conflict (udev)
[root@alarm ~]# pacman -Syuf
:: Synchronizing package databases...
core 45.3K 402.3K/s 00:00:00 [######################] 100%
extra 511.4K 1008.6K/s 00:00:01 [######################] 100%
community 556.2K 1863.6K/s 00:00:00 [######################] 100%
aur 18.1K 4.1M/s 00:00:00 [######################] 100%
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n]

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

Targets (14): linux-api-headers-3.8.4-1 filesystem-2013.05-2 glibc-2.17-5.1
bash-4.2.045-4 lzo2-2.06-1 libarchive-3.1.2-1 pth-2.0.7-4
libksba-1.3.0-1 libassuan-2.1.1-1 pinentry-0.8.3-1
dirmngr-1.1.1-1 gnupg-2.0.20-2 gpgme-1.4.2-1 pacman-4.1.2-1

Total Download Size: 0.00 MB
Total Installed Size: 54.23 MB

Proceed with installation? [Y/n]
(14/14) checking package integrity [######################] 100%
(14/14) checking for file conflicts [######################] 100%
error: failed to commit transaction (conflicting files)
filesystem: /bin exists in filesystem
filesystem: /etc/mtab exists in filesystem
filesystem: /etc/profile.d/locale.sh exists in filesystem
filesystem: /lib exists in filesystem
filesystem: /sbin exists in filesystem
filesystem: /usr/sbin exists in filesystem
filesystem: /var/lock exists in filesystem
filesystem: /var/run exists in filesystem
glibc: /usr/bin/tzselect exists in filesystem
Errors occurred, no packages were upgraded.
[root@alarm ~]#')

I don't know should I reload it all from the start?

Look at it's uptime:

$this->bbcode_second_pass_code('', '[root@alarm ~]# uptime
08:10:09 up 110 days, 13:19, 1 user, load average: 0.00, 0.00, 0.00
[root@alarm ~]#')

I set up a lot on this so don't want to reload it if I can.

It's running on a Pogoplug and I solder the SATA power right on the board. It's built in power supply can power the SATA green hard drive and it's been doing it for 110 days. I am using the SATA interface too in side on the board.

-Raymond Day
Raymondday
 
Posts: 77
Joined: Sat Nov 19, 2011 1:46 pm

Re: I still get "no packages were upgraded"

Postby Geoff » Mon Aug 05, 2013 6:27 pm

Whatever you do, make sure you do a complete backup first, so that (1) you can restore the previous state to exactly as you had it before, and (2) you can restore any scripts that you still need in /etc/rc.d/ and /etc/conf.d/ (altering them if necessary due to all the executables moved into /usr/bin/). If you have another device (e.g. a USB stick) that you can boot up from and then mount this SATA drive, then you can upgrade using the "pacman --root" trick. This can save you from any worries about getting stuck halfway through the complicated steps of the upgrade. You can use this trick again afterwards to reinstall any or all packages (e.g., filesystem) that you think you might have messed up by moving or deleting files, directories, symlinks, etc.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm

Re: I still get "no packages were upgraded"

Postby Raymondday » Tue Aug 06, 2013 3:34 pm

I think I could back up the hole thing then just reinstall from fresh. I have a web server and MySQL running on it.

A df shows what is being used on the 3TB drive.

$this->bbcode_second_pass_code('', '[root@alarm ~]# df
Filesystem 1K-blocks Used Available Use% Mounted on
/dev/root 2884283608 798891400 1938878956 30% /
/run 10240 112 10128 2% /run
udev 10240 4 10236 1% /dev
shm 62908 0 62908 0% /dev/shm
tmpfs 62908 0 62908 0% /tmp
[root@alarm ~]#')

So I could just install the OS on a USB stick and then use the hard drive as the rest? USB stick are cheep now. Like a 8GB or 16 GB I even seen a 32GB for about $13.

-Raymond Day
Raymondday
 
Posts: 77
Joined: Sat Nov 19, 2011 1:46 pm

Re: I still get "no packages were upgraded"

Postby Geoff » Tue Aug 06, 2013 8:05 pm

After backing it up completely (I recommend rsync; there's a thread about that) and freshly installing on and testing a USB stick (probably with no need to touch the NAND), then I wouldn't be afraid to try doing an upgrade of the SATA setup anyway, using the "pacman --root" trick. There is a way to plug in and mount SATA partitions after booting up from USB: "echo '0 0 0' > /sys/class/scsi_host/host0/scan" Just be sure to keep MySQL as it is, because the newer versions are incompatible with the kernel.
Geoff
 
Posts: 231
Joined: Wed Mar 09, 2011 5:14 pm


Return to Community Supported

Who is online

Users browsing this forum: No registered users and 16 guests