SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0004245: efw-update upgrade / smart hanging - MantisBT Endian Bugtracker
Endian Issue Tracker





Please see now our new Bugtracker system: JIRA








View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0004245Endian FirewallOther Servicespublic2012-01-20 16:062012-10-02 09:56
Reporterardit-endian 
Assigned To 
PriorityurgentSeverityblockReproducibilityalways
StatusacknowledgedResolutionopen 
PlatformOSOS Version
Product Version2.4 
Target VersionFixed in Version 
Summary0004245: efw-update upgrade / smart hanging
DescriptionSmart hanging,

2012-01-20 17:12:09,420 - efw-update[6931] - INFO - Updating channel: endian-utm-arm-2.4-base (Endian UTM Appliance ARM 2.4 Base Channel)
2012-01-20 17:12:09,432 - efw-update[6931] - INFO - Check for packages which need upgrade
smart upgrade --url 2>&1

it just hang on there and nothing happens.
Tagspurple
Attached Files

- Relationships

-  Notes
(0007641)
ardit-endian (developer)
2012-01-20 16:07

root@main:~ # efw-update upgrade
lsof | grep /var/lib/rpm
rm -f /var/lib/rpm/__db*
rpm --rebuilddb
rm -f /var/lib/smart/cache
 as well is wrong, because rm cache should be before the rebuild.
(0007642)
ardit-endian (developer)
2012-01-20 16:13

when using smart it hangs on Updating cache... ############################################################################################## [100%]

Channels have no new packages.
Saving cache...

Loading cache...
Updating cache... ############################################################################################## [100%]

Computing transaction...
(0007761)
thomas-endian (developer)
2012-03-21 14:55

12 minutes for one update: efw-dnsmasq-2.6.1-0.endian14.armv5tel.rpm
when I start the manually update, also 10 minutes...
(0007800)
ardit-endian (developer)
2012-04-04 12:10

it seems like smart doesn't work at all on most arm's (for not saying all of them)
(0007820)
ardit-endian (developer)
2012-04-11 13:05

this happened to many times already, the only solution for now is to download manually the packages and install them with RPM, than run-parts /etc/upgrade/upgrade.d/ and sync with endian netork.
It's quite a big issue.
(0007835)
ardit-endian (developer)
2012-04-19 14:40

happened again.
it's becoming wide
(0007839)
davide-endian (developer)
2012-04-23 09:41

I've also seen it, especially on ARM, in cases where duplicated packages were present.

I use a script like this, to see if there are duplicated packages:


#!/bin/sh

PKG_LIST_FILE="/tmp/dup_pkg.$$"
UNIQUE_PKG_LIST_FILE="${PKG_LIST_FILE}.unique"

rpm -qa | sort > "$PKG_LIST_FILE"
cat "$PKG_LIST_FILE" | uniq > "$UNIQUE_PKG_LIST_FILE"

diff "$PKG_LIST_FILE" "$UNIQUE_PKG_LIST_FILE"

if [ $? -eq 0 ] ; then
        echo "no duplicated packages"
fi

rm -f "$PKG_LIST_FILE" "$UNIQUE_PKG_LIST_FILE"
(0008128)
luca-endian (developer)
2012-09-11 12:35
edited on: 2012-09-11 12:48

removed /var/lib/smart/* and worked?!? no duplicated packages found
Of curse channels are deleted so you need to run en-client -suv in order to re create them

(0008149)
luke-endian (developer)
2012-09-13 08:34

Hi Guys

same problem yesterday on a 2.4 ARM.
I notice that there were 2 efw-proxy packages and smart hanged.
I've removed the old efw-proxy and then smart works good.
P.S i've tested the Davide's script but does not works because,in this case,
the script thought that efw-proxy packages were different because they have different names
I.e :
efw-proxy-2.6.1-endianX.rpm
efw-proxy-2.8.0-endianX.rpm

- Issue History
Date Modified Username Field Change
2012-01-20 16:06 ardit-endian New Issue
2012-01-20 16:06 ardit-endian Tag Attached: purple
2012-01-20 16:07 ardit-endian Note Added: 0007641
2012-01-20 16:13 ardit-endian Note Added: 0007642
2012-01-23 08:58 christian-endian Status new => acknowledged
2012-03-21 14:55 thomas-endian Note Added: 0007761
2012-04-04 12:10 ardit-endian Note Added: 0007800
2012-04-06 13:42 ardit-endian Description Updated
2012-04-11 13:05 ardit-endian Note Added: 0007820
2012-04-19 14:39 ardit-endian Priority normal => urgent
2012-04-19 14:39 ardit-endian Reproducibility random => always
2012-04-19 14:40 ardit-endian Note Added: 0007835
2012-04-23 09:41 davide-endian Note Added: 0007839
2012-09-11 12:35 luca-endian Note Added: 0008128
2012-09-11 12:48 luca-endian Note Edited: 0008128
2012-09-13 08:34 luke-endian Note Added: 0008149

Copyright © 2005-2008 Endian, SRL. All rights reserved.


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker