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
Notes |
|
|
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. |
|
|
|
when using smart it hangs on Updating cache... ############################################################################################## [100%]
Channels have no new packages.
Saving cache...
Loading cache...
Updating cache... ############################################################################################## [100%]
Computing transaction... |
|
|
|
12 minutes for one update: efw-dnsmasq-2.6.1-0.endian14.armv5tel.rpm
when I start the manually update, also 10 minutes... |
|
|
|
it seems like smart doesn't work at all on most arm's (for not saying all of them) |
|
|
|
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. |
|
|
|
happened again.
it's becoming wide |
|
|
|
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
|
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
|
|
|
|
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 |
|