[Q] Is my webtop broken? - Atrix 4G Q&A, Help & Troubleshooting

Recently I tried installing openoffice on my webtop through apt-get and it didnt install correctly. After that, whenever I would try to install or remove anything, either through apt-get or synaptic, I would get this error code:
Setting up tzdata (2010m~repack-0ubuntu0.9.04) . . .
Current default timezone: 'America/Los_Angeles'
date: invalid date 'Sat May 12 17:08:43 UTC 2012'
dpkg: error processing tzdata ( - - configure):
subprocces post-installation script returned error exit status 1
Errors were encountered while processing:
tzdata
E: Sub-process /usr/bin/dpkg returned an error code (1)
Am I going to have to reinstall webtop2sd and run webtopscripts again?
I already tried running webtopscripts to see if it would fix the problem, but it didn't work.
Thanks in advance :]

You should read this. http://forum.xda-developers.com/showthread.php?t=1397583

elbscorp said:
You should read this. http://forum.xda-developers.com/showthread.php?t=1397583
Click to expand...
Click to collapse
Thank you so much! I had already done that guide before but I guess it somehow reverted back.

Related

[Q] Theme Installation Problem: "mount: Operation not permitted" (Fixed)

I apologise is a similiar issue has been posted on several occasions. I did try the search and couldn't get a solution for my trouble.
As the title saids I am trying to install the Dark10 Series theme but in the CMD box on my laptop I get the error
"mount: Operation not permitted"
Also:
"cannot open for write: Read-only file system"
I am guessing the above error has somthing to do with root. Although I am clueless to be brutally honest.
If someone can give me a simple helping hand I would appreciate it.
Not very knowledgable on the whole adb thing and commands etc.
Thanks in advance for any help!
Edit:
Model number: X10i
Firmware version: 1.6 (Duh! )
Baseband version: 1.1.31
Kernal Version: 2.6.29-rel
[email protected] #2
Build number: R2BA026
Fixed the problem, was somthing to do with the shell being locked or somthing. Got it working though!
Steps I took:
1. Add the java thing to Enviroment Variables (Computer>System properties>advanced settings>enviroment variables)
Path: )\QuickTime\QTSystem\;C:\android\tools\;
Then got a file that unlocks adb script (search forum)
And that was it sorry cant be of more help I zone out when i have a problem and concentrate on fixing it without really knowing what i am doing
U should post the solution and put fixed in the title to help others.
Z3X said:
I apologise is a similiar issue has been posted on several occasions. I did try the search and couldn't get a solution for my trouble.
As the title saids I am trying to install the Dark10 Series theme but in the CMD box on my laptop I get the error
"mount: Operation not permitted"
Also:
"cannot open for write: Read-only file system"
I am guessing the above error has somthing to do with root. Although I am clueless to be brutally honest.
If someone can give me a simple helping hand I would appreciate it.
Not very knowledgable on the whole adb thing and commands etc.
Thanks in advance for any help!
Edit:
Model number: X10i
Firmware version: 1.6 (Duh! )
Baseband version: 1.1.31
Kernal Version: 2.6.29-rel
[email protected] #2
Build number: R2BA026
Fixed the problem, was somthing to do with the shell being locked or somthing. Got it working though!
Click to expand...
Click to collapse
post detailed steps of solution
i always face the same problem
thx in advance
I had the same problem. What you need to do is open darker 10 launcher and go to option 7 from the list. Read the instructions carefully and at the prompts on the screen type in the code supplied.
From what I understand it adds Additional script to your phone that allows you to mount the image.
Make sure phone is in developer mode.
Sent from my X10i using XDA App
thx a lot it workd
Thanks for posting this topic,
I would've spent the whole night on this and probably still wouldn't be able to figure out anything!
I have similar problem with one of the themes.
UNSECURING THE SHELL
Type each of these at the given prompt and press enter after each line.
Dont type the prompt <$ or #> itself!
$ su <NOW CHECK HANDSET FOR A SU REQUEST>
# mount -o remount,rw -t yaffs2 /dev/block/mtdblock2 /system
# chmod 4755 /system/bin/sh
# exit
$ exit
What should i type in $ su ? also if smb can, type all the lines correct,im not a programmer :/
026/rooted/x10i

[Q] TZDATA problem on WebTop

After some google action, I'm posting my problem here:
Scenary:
Gear: Motorola Atrix 4G AT&T - stock ROM (4.5.91, Android 2.3.4, WebTop version WT-1.2.0-110)
1. run webtop2sd (1.1.2) - OK
2. running web scripts - OK
Then when trying to install for example openoffice.org or trying to do:
# sudo dpkg-reconfigure tzdata
(setting to Europe/Ljubljana - or any other location for that matters)
Current default timezone: 'Europe/Ljubljana/
date: invalid date 'Wed Oct 5 07:06:25 UTC 2011'
This is the reason why packages that update or configure tzdata (tzdata-java) fail with apt-get or synaptic.
What I tried:
probably all locations with reconfiguring tzdata.. fail
manualy edited timezone.. fail
removing&reinstaling tzdata.. epic fail
Anybody else has this issue... solved ?
Same here! Any help would be greatly appreciated.
Not the right answer, but this works...
I was having the same problem, and after a few hours of struggling, here's what I eventually did.
Edit the file /var/lib/dpkg/info/tzdata.postinst and on the first blank line (3 rows down) just put exit 0 which makes the script stop and return a success. This isn't a good solution, but it does work.
Now i can go on my merry way installing things to my hearts content, but I'd love to hear if someone has a proper solution...
conundri said:
I was having the same problem, and after a few hours of struggling, here's what I eventually did.
Edit the file /var/lib/dpkg/info/tzdata.postinst and on the first blank line (3 rows down) just put exit 0 which makes the script stop and return a success. This isn't a good solution, but it does work.
Now i can go on my merry way installing things to my hearts content, but I'd love to hear if someone has a proper solution...
Click to expand...
Click to collapse
thanks a millon man,that totally fixed my problem I was having with my webtop
I took another look at this and has anyone tried adding exit 0 to just after the second to last fi close of the if then part at the bottom, I use dthe workaround posted above and went back looked over it more after having installed a few programs and added exit 0 to line 46 and it seems to be working fine. Can some one confirm this for me if they are looking at it for the first time on their version of webtop.
Hi there, I have a new install webtop2sd, and the script still failed after adding exit 0 at line 46. I have put exit 0 at line 3 afterwards to get past the problem.
I figured out the cause of the 'invalid date' problem. Actually the bug is on the end of the file in the following lines:
Code:
UTdate=$(LC_ALL=C TZ=UTC0 date -d "$TZBase")
TZdate=$(unset TZ ; LANG=C date -d "$TZBase")
The problem is that webtop uses Busybox instead of the 'original' tools. Busybox has an incomplete implementation of 'date -d'. Replacing it with an alternative like GNU Tools is the best solution for this problem. But this could be complicated and I have not much time. Adapting this script to Busybox is easier and still better than the 'exit' workaround.
All you have to do is replacing the line
Code:
TZBase=$(LC_ALL=C TZ=UTC0 date)
with
Code:
TZBase=$(LC_ALL=C TZ=UTC0 date +%m%d%H%M%Y.%S)

Error OAFIID:GNOME_FastUserSwitchApplet

I installed full Ubunto as per the instructions in post http://forum.xda-developers.com/show...5#post15109355
and additional WebTopScripts-1.7
However I have 2 problems:
1- When I try to run gnome-panel I get 2 errors:
"The panel encountered a problem while loading "OAFIID:GNOME_FastUserSwitchApplet"
"The panel encountered a problem while loading "OAFIID:GNOME_IndicatorApplet"
And I see the ubunto buttons and menus, but also the old webtop icons
How can I solve the errors and get only the ubuntu GUI without the old webtop icons?
2- When I try to get any package (from the tested working on post http://forum.xda-developers.com/showthread.php?t=1012684)
I get an error :
E: tzdata : Subprocess post-installation script returned error exit status 1
And the package get not installed
How can I solve this error and get packages installed?
Thanks
Eli
Additional info
elijacob said:
I installed full Ubunto as per the instructions in post http://forum.xda-developers.com/show...5#post15109355
and additional WebTopScripts-1.7
However I have 2 problems:
1- When I try to run gnome-panel I get 2 errors:
"The panel encountered a problem while loading "OAFIID:GNOME_FastUserSwitchApplet"
"The panel encountered a problem while loading "OAFIID:GNOME_IndicatorApplet"
And I see the ubunto buttons and menus, but also the old webtop icons
How can I solve the errors and get only the ubuntu GUI without the old webtop icons?
2- When I try to get any package (from the tested working on post http://forum.xda-developers.com/showthread.php?t=1012684)
I get an error :
E: tzdata : Subprocess post-installation script returned error exit status 1
And the package get not installed
How can I solve this error and get packages installed?
Thanks
Eli
Click to expand...
Click to collapse
I see also :
date: invalid date 'Mon Jul 23 11:17:38 UTC 2012'
dpkg:error processing tzdata (--configure):
subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
tzdata

[Q] MySQL on Webtop

Hi
I tried to install AMP(apache, mysql, php5) since I was interested on using Atrix as a web server.
Apache was success, but MySQL was failure. No MySQL, No PHP5(of course)
I tried force installing Busybox using dpkg expecting to be updated(version stayed same), removing and making directories that makes the problem, No luck.
I think it's related to my outdated Busybox(readlink?) There's too many problems here.
Lot of people just say "it's impossible" but why not? At least I want to know why it fails.
I have terminal log below. Sorry for bad, bad english.
Thanks
[email protected]:/$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
obconf leafpad lxde-common linux-libc-dev lxrandr pcmanfm lxde-core lxappearance gpicview libc6-dev lxpanel
lxde-settings-daemon xarchiver
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 120 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up mysql-server-5.0 (5.1.30really5.0.75-0ubuntu10.5) ...
* Stopping MySQL database server mysqld [ OK ]
mkdir: cannot create directory `/var/log/mysql': No such file or directory
dpkg: error processing mysql-server-5.0 (--configure):
subprocess post-installation script returned error exit status 1
Setting up libapache2-mod-php5 (5.2.6.dfsg.1-3ubuntu4.6) ...
readlink: invalid option -- 'q'
BusyBox v1.10.2 (Ubuntu 1:1.10.2-2ubuntu7) multi-call binary
Usage: readlink [-f] FILE
Display the value of a symlink
Options:
-f Canonicalize by following all symlinks
ucf: Unable to determine The new file
dpkg: error processing libapache2-mod-php5 (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of php5-mysql:
php5-mysql depends on phpapi-20060613+lfs; however:
Package phpapi-20060613+lfs is not installed.
Package libapache2-mod-php5 which provides phpapi-20060613+lfs is not configured yet.
dpkg: error processing php5-mysql (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
mysql-server-5.0
libapache2-mod-php5
php5-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)
Click to expand...
Click to collapse
vctshim said:
Hi
I tried to install AMP(apache, mysql, php5) since I was interested on using Atrix as a web server.
Apache was success, but MySQL was failure. No MySQL, No PHP5(of course)
I tried force installing Busybox using dpkg expecting to be updated(version stayed same), removing and making directories that makes the problem, No luck.
I think it's related to my outdated Busybox(readlink?) There's too many problems here.
Lot of people just say "it's impossible" but why not? At least I want to know why it fails.
I have terminal log below. Sorry for bad, bad english.
Thanks
Click to expand...
Click to collapse
Hi, could you solve the issue? I wan to install it too, for my work.
Thanks!
douglasroos said:
Hi, could you solve the issue? I wan to install it too, for my work.
Thanks!
Click to expand...
Click to collapse
I found out it is impossible. Many repos are dead and crucially Ubuntu in this is outdated (without LTS)
I sold the Atrix and bought ARM-based Open PCs (e.g. Raspberry Pi, Cubieboard, Beaglebone Black, Udoo, etc..)
If you want low-power web server, this might be the way to go
(Ubuntu Phone might work but I'm not sure YET)

[Ruby] Installing gems on android.

Hello friends!
I am using Termux in order to run ruby.
I installed ruby successfully with "apt" command, and it functions fine.
Current ruby version:
Code:
$ ruby -v
ruby 2.3.3p222 (2016-11-21 revision 56859) [arm-linux-androideabi]
The problem is, I can't really install gems. I tried to install bettercap for the experiment, but it failed. This is what I get:
Code:
$ gem install bettercap
Fetching: colorize-0.8.1.gem (100%)
Successfully installed colorize-0.8.1
Fetching: network_interface-0.0.1.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing bettercap:
ERROR: Failed to build gem native extension.
current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/gems/network_interface-0.0.1/ext/network_interface_ext
/data/data/com.termux/files/usr/bin/ruby -r ./siteconf20161129-14856-1cclchu.rb extconf.rb
mkmf.rb can't find header files for ruby at /data/data/com.termux/files/usr/lib/ruby/include/ruby.h
extconf failed, exit code 1
Gem files will remain installed in /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/gems/network_interface-0.0.1 for inspection.
Results logged to /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/extensions/arm-linux/2.3.0/network_interface-0.0.1/gem_make.out
I found some instructions if I ran "gem help install" but I couldn't really understand what to do in order to fix that.
Can anyone help me to solve this? BTW I have a rooted device so I can use "su" and "sudo" and all that stuff...
Thanks for people who answer~
FurySh0ck said:
Code:
mkmf.rb can't find header files for ruby at /data/data/com.termux/files/usr/lib/ruby/include/ruby.h
Click to expand...
Click to collapse
You can install ruby.h with:
Code:
apt install ruby-dev
.
fornwall said:
You can install ruby.h with: .
Click to expand...
Click to collapse
I installed ruby-dev but it still won't work. It tells me it saved a log file which contains the explanation to the failure. I'll post the whole code, but please pay attention to the last part of it:
Code:
apt install bettercap
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package bettercap
$ gem install bettercap
Building native extensions. This could take a while...
ERROR: Error installing bettercap:
ERROR: Failed to build gem native extension.
current directory: /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/gems/network_interface-0.0.1/ext/network_interface_ext
/data/data/com.termux/files/usr/bin/ruby -r ./siteconf20161206-31345-1xerjr9.rb extconf.rb
[*] Running checks for netifaces code...
[*] Warning : this platform as not been tested
checking for getifaddrs()... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. Check the mkmf.log file for more details. You may
need configuration options.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/data/data/com.termux/files/usr/bin/$(RUBY_BASE_NAME)
/data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:456:in `try_do': The compiler failed to generate an executable file. (RuntimeError)
You have to install development tools first.
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:541:in `try_link0'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:556:in `try_link'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:765:in `try_func'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:1051:in `block in have_func'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:942:in `block in checking_for'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:350:in `block (2 levels) in postpone'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:350:in `block in postpone'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:320:in `open'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:346:in `postpone'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:941:in `checking_for'
from /data/data/com.termux/files/usr/lib/ruby/2.3.0/mkmf.rb:1050:in `have_func'
from extconf.rb:43:in `<main>'
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/extensions/arm-linux/2.3.0/network_interface-0.0.1/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/gems/network_interface-0.0.1 for inspection.
Results logged to /data/data/com.termux/files/usr/lib/ruby/gems/2.3.0/extensions/arm-linux/2.3.0/network_interface-0.0.1/gem_make.out
Any solutions in mind?
BTW Thanks for your time, I appreciate anyone who tries to help.

Categories

Resources