Error During Upgrade - Need Advice

This forum is for supported devices using an ARMv7 Texas Instruments (TI) SoC.

Error During Upgrade - Need Advice

Postby calzon65 » Wed Oct 24, 2012 4:43 am

Normally I experience no issues when running an upgrade (pacman -Syu), but tonight I ran an upgrade on my BeagleBone and received a fatal error message during the "(2/7) upgrading linux-am33x" step. I ran the upgrade again, but I was told there was nothing to upgrade. I rebooted the system and it appears to have booted correctly. To try to understand error the output, I tried a few different combinations of Google searches to determine if anyone else had this problem but turned up nothing.

Could someone please take a look at the upgrade output and give me some advice. Was this a serious error? What should I do?

$this->bbcode_second_pass_code('', '[root@BeagleBone ~]# pacman -Syu
:: Synchronizing package databases...
core 38.6 KiB 387K/s 00:00 [#######################################################################################] 100%
extra 425.9 KiB 789K/s 00:01 [#######################################################################################] 100%
community 422.0 KiB 914K/s 00:00 [#######################################################################################] 100%
alarm is up to date
aur is up to date
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (7): libpng-1.5.13-1 linux-am33x-3.2.32-1 linux-headers-am33x-3.2.32-1 ppp-2.4.5-5 syslog-ng-3.3.6-3 systemd-194-4 tzdata-2012g-1

Total Download Size: 21.45 MiB
Total Installed Size: 78.60 MiB
Net Upgrade Size: 0.12 MiB

Proceed with installation? [Y/n] y
:: Retrieving packages from core...
linux-am33x-3.2.32-1-armv7h 15.1 MiB 2.75M/s 00:05 [#######################################################################################] 100%
linux-headers-am33x-3.2.32-1-armv7h 4.4 MiB 3.48M/s 00:01 [#######################################################################################] 100%
ppp-2.4.5-5-armv7h 238.6 KiB 3.36M/s 00:00 [#######################################################################################] 100%
systemd-194-4-armv7h 1106.2 KiB 3.56M/s 00:00 [#######################################################################################] 100%
tzdata-2012g-1-any 140.8 KiB 3.76M/s 00:00 [#######################################################################################] 100%
:: Retrieving packages from extra...
libpng-1.5.13-1-armv7h 191.1 KiB 2.08M/s 00:00 [#######################################################################################] 100%
syslog-ng-3.3.6-3-armv7h 296.3 KiB 3.73M/s 00:00 [#######################################################################################] 100%
(7/7) checking package integrity [#######################################################################################] 100%
(7/7) loading package files [#######################################################################################] 100%
(7/7) checking for file conflicts [#######################################################################################] 100%
(7/7) checking available disk space [#######################################################################################] 100%
(1/7) upgrading libpng [#######################################################################################] 100%
(2/7) upgrading linux-am33x [#######################################################################################] 100%
>>> Updating module dependencies. Please wait ...
ERROR: could not open directory /lib/modules/3.2.32-1: No such file or directory
FATAL: could not search modules: No such file or directory
error: command failed to execute correctly

(3/7) upgrading linux-headers-am33x [#######################################################################################] 100%
(4/7) upgrading ppp [#######################################################################################] 100%
(5/7) upgrading systemd [#######################################################################################] 100%
==> journald now writes to /var/log/journal by default. This can be
controlled with the Storage setting in /etc/systemd/journald.conf
New optional dependencies for systemd
python: systemd library bindings
(6/7) upgrading syslog-ng [#######################################################################################] 100%
==> syslog-ng now reads from /run/systemd/journal/syslog in the
default config. If you still use sysvinit/initscripts, this
must be /dev/log in /etc/syslog-ng/syslog-ng.conf
(7/7) upgrading tzdata [#######################################################################################] 100%
[root@BeagleBone ~]#')
calzon65
 
Posts: 80
Joined: Wed May 25, 2011 9:06 pm

Re: Error During Upgrade - Need Advice

Postby WarheadsSE » Wed Oct 24, 2012 5:38 am

Looks like depmod failed.

depmod -a

Also, if that fails, try re-installing linux-am33x
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: Error During Upgrade - Need Advice

Postby calzon65 » Thu Oct 25, 2012 4:09 am

Thank you for the reply WarheadsSE. Below is the result of depmod -a

$this->bbcode_second_pass_code('', '[root@BeagleBone ~]# depmod -a
ERROR: could not open directory /lib/modules/3.2.18-1: No such file or directory
FATAL: could not search modules: No such file or directory
[root@BeagleBone ~]#
')

So then I ran pacman -S linux-am33x

$this->bbcode_second_pass_code('', '[root@BeagleBone ~]# pacman -S linux-am33x
warning: linux-am33x-3.2.32-1 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): linux-am33x-3.2.32-1

Total Installed Size: 20.38 MiB
Net Upgrade Size: 0.00 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%
(1/1) checking available disk space [#######################################] 100%
(1/1) upgrading linux-am33x [#######################################] 100%
>>> Updating module dependencies. Please wait ...
WARNING: could not open /lib/modules/3.2.32-1/modules.order: No such file or directory
WARNING: could not open /lib/modules/3.2.32-1/modules.builtin: No such file or directory
[root@BeagleBone ~]#
')

I see the message telling me linux-am33x-3-2-32-1 is up-to-date, but I am not sure, because of the warning, that everything is OK on my system. What do you think WarheadsSE?
calzon65
 
Posts: 80
Joined: Wed May 25, 2011 9:06 pm

Re: Error During Upgrade - Need Advice

Postby calzon65 » Fri Nov 02, 2012 9:16 pm

Hello I am back again trying to figure out what to do with this problem. Each time I try to update, I get several erros related to updateing linux-am33x. Could someone give me some advice on what to do?

Here are the results of depmod -a

$this->bbcode_second_pass_code('', '[root@BeagleBone 3.2.32-2]# depmod -a
WARNING: could not open /lib/modules/3.2.18-1/modules.order: No such file or directory
WARNING: could not open /lib/modules/3.2.18-1/modules.builtin: No such file or directory
[root@BeagleBone 3.2.32-2]#
')

Here are the results of pacman -S linux-am33x

$this->bbcode_second_pass_code('', '[root@BeagleBone 3.2.32-2]# pacman -S linux-am33x
warning: linux-am33x-3.2.32-2 is up to date -- reinstalling
resolving dependencies...
looking for inter-conflicts...

Targets (1): linux-am33x-3.2.32-2

Total Installed Size: 20.19 MiB
Net Upgrade Size: 0.00 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%
(1/1) checking available disk space [##################################################] 100%
(1/1) upgrading linux-am33x [##################################################] 100%
>>> Updating module dependencies. Please wait ...
WARNING: could not open /lib/modules/3.2.32-2/modules.order: No such file or directory
WARNING: could not open /lib/modules/3.2.32-2/modules.builtin: No such file or directory
[root@BeagleBone 3.2.32-2]# ^C
[root@BeagleBone 3.2.32-2]#
')

I see the Warning message telling me linux-am33x is up to date, but then I see the dependencies error messages and worry there is something wrong. I assume there is something wrong with the dependencies for linux-am33x, but I am not 100% sure or even how to fix that. Can someone please help?
calzon65
 
Posts: 80
Joined: Wed May 25, 2011 9:06 pm

Re: Error During Upgrade - Need Advice

Postby ykmag » Sat Nov 03, 2012 10:17 am

ykmag
 
Posts: 61
Joined: Wed Aug 18, 2010 1:28 pm


Return to Texas Instruments (TI)

Who is online

Users browsing this forum: No registered users and 11 guests