Author Topic: Firefox 4 installation problem on Acer Aspire One - Linpus Lite  (Read 23053 times)

0 Members and 1 Guest are viewing this topic.

Offline oddu

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #30 on: May 13, 2011, 06:26:50 pm »
ok I will try.

BTW I think I just found a URL by accident: I tried again to install xfdesktop-acer-lp, but had no internet connection, so it couldn't load the package. in the error message it gives the mirror it was trying to use as

http://ftp.heanet.ie/pub/fedora-archive/fedora/linux/releases/8/Everything/i386/os/repodata/repomd.xml

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #31 on: May 13, 2011, 06:29:39 pm »
See this posting on how to get an active CABLED internet connection from the command line:

http://linuxforums.org.uk/netbooks/messed-up-firefox-4-installation-on-an-acer-aspire-one/msg48491/#msg48491

That could be why the original command failed... you need an active internet connection to use yum to install packages.

Your problem is probably going to be editing the /etc/resolv.conf file... it would be easier if you had a LiveUSB stick.

Though it *may* be handy for me to track down the file differences... thanks.

Further IMPORTANT info

Future readers... DO NOT run the:
Code: [Select]
sudo yum install firefox xfdesktop xfdesktop-acer ame smanager Thunar yelp thunar-volman
command... if the link in the above posting is the default repo for an AA1, it will install the WRONG packages... that repo seems to contain the standard Fedora core 8 packages, and NOT the modified versions that the AA1 requires.

It seems this is the root of the problem in the first place.
« Last Edit: May 13, 2011, 06:44:13 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline oddu

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #32 on: May 13, 2011, 06:38:36 pm »
Hi mark,

the internet thing is just because I took it to the office. it will connect automatically at home (it did before).

Anyway: pleasant surprise: when I plugged the USB key into AA1 the filemanager appeared! Don't ask me why (it didn't with the external harddrive I tried at home) but I'm very happy because it means I could backup my data easily (which I was most worried about losing before I try the RPM files). I will try the installation now and then edit this post to let you know what happened.

EDIT: Ok, I now did this:
I don't know if you want to try this... but remember, I have now way of testing this, so it has to be a "try at your own risk" kind of thing.

Download these 2 files

ftp://ftp.twaren.net/Linux/Linpus/Aspire_One_Linpus_Linux/Aspire_One_Srpms/xfdesktop-4.4.2-1lp.src.rpm
and
ftp://ftp.twaren.net/Linux/Linpus/Aspire_One_Linpus_Linux/Aspire_One_Srpms/xfdesktop-acer-lp-1526.no_spot.mcs_patched.src.rpm

copy them to the /home/user folder on the AA1

then run:
Code: [Select]
cd ~
sudo rpm -i xfdesktop-4.4.2-1lp.src.rpm
sudo rpm -i xfdesktop-acer-lp-1526.no_spot.mcs_patched.src.rpm

and letting me know what happens.

And restarted. Nothing at all happened. No error messages, desktop still empty.
« Last Edit: May 13, 2011, 06:46:26 pm by oddu »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #33 on: May 13, 2011, 06:46:44 pm »
Good news indeed... that will help... it also means that Thunar got reinstalled the first time.

But see the above post.

Just try what I said about copying those 2 files across and installing them.
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline oddu

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #34 on: May 13, 2011, 06:48:04 pm »
The two .rpm files I copied and installed but it made no difference. (Nothing at all happened.)

That could be why the original command failed... you need an active internet connection to use yum to install packages.

No, because I did that at home, where I was connected, and it did install some of the packages, just not all of them, because some of them it couldn't find.
« Last Edit: May 13, 2011, 06:51:04 pm by oddu »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #35 on: May 13, 2011, 06:51:36 pm »
Did those 2 files install without error ?

can you run:
Code: [Select]
ls -a /usr/bin | grep xfdesktop2

and see if -
xfdesktop2
is returned
« Last Edit: May 13, 2011, 06:54:01 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline oddu

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #36 on: May 13, 2011, 06:57:24 pm »
There was no error message, but I don't know much about linux (you can probably tell) so  :-[

That command you posted returns:

xfdesktop2.bak
xfdesktop2.joy


EDIT: I don't know if this is relevant, however, if I click on the Desktop-icon on the bar at the bottom of the screen which I still see, I get an error message saying "could not run command: xfdesktop2--gohome: Failed to execute child process "xfdesktop2" (No such file or directory).
« Last Edit: May 13, 2011, 07:01:23 pm by oddu »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #37 on: May 13, 2011, 07:06:43 pm »
Hmmm... looks as though the second installation command (at least) DIDN'T work... I had a feeling it wouldn't.

BUT

The good news is there appears to be a backup of the xfdesktop2 file.

Now we *could* rename the .bak file, and see what happens, but I'm more inclined to just unpack the xfdesktop-acer-lp-1526.no_spot.mcs_patched.src.rpm to the root directory.

Have you got off what you NEEDED (in case this makes things worse), and have you got a recovery USB stick prepared ?

[EDIT]

just as a matter of interest, what happens if you run:
Code: [Select]
/usr/bin/xfdesktop2.bak
« Last Edit: May 13, 2011, 07:15:50 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline oddu

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #38 on: May 13, 2011, 07:27:20 pm »
I have backed up all the files, so I don't have anything to lose.

/usr/bin/xfdesktop2.bak

gives the following:

[user@localhost ~]$ /usr/bin/xfdesktop2.bak
env: xfce-mcs-manager: No such file or directory
successfully parsed local xml configuration file.

(xfdesktop2.bak:4634): libxfce4util-WARNING **: Could not get contents of file /usr/share/desktop-directories/upperbutton.desktop

** (xfdesktop2.bak:4634): WARNING **: not valid directory data
can't open file /home/user/.config/xfce4/desktop/format.txt, :No such file or directory
can't open file /etc/xdg/xfce4/desktop/format.txt, :No such file or directory
set tag_format_border_x to default value 0
set tag_format_border_y to default value 0
set tag_format_style to default value italic
set tag_format_text_width_in_chars to default value 11
set tag_format_font_size to default value 20
set tag_format_font_type to default value Sans
set tag_format_icon_size to default value 120
set tag_format_orient to default value h
set tag_format_switch to default value icon_first
set tag_format_width_per_tag to default value 100
set tag_format_height_per_tag to default value 30
set iconview_format_rows to default value 3
set iconview_format_columns to default value 5
set iconview_format_font_size to default value 12
set iconview_format_icon_size to default value 96
set iconview_format_font_type to default value Sans
set iconview_format_margin_x to default value 100
set iconview_format_margin_y to default value 50
set iconview_format_column_spacing to default value 30
set iconview_format_row_spacing to default value 5
set iconview_format_spacing to default value 2
set iconview_format_arc_offset to default value 10
set iconview_format_background_x to default value -2
set iconview_format_background_y to default value 62
set iconview_format_background_layer_adjustment to default value 31
set iconview_format_cell_background_color_normal to default value #5f6d38
set iconview_format_cell_background_color_selected to default value #ffffff
set iconview_format_text_foreground_color_normal to default value #110000
set iconview_format_text_foreground_color_selected to default value #ff0000
set iconview_format_alpha_normal to default value 100
set iconview_format_alpha_selected to default value 150
set iconview_format_line_width to default value 1.5
set iconview_format_line_alpha_normal to default value 0
set iconview_format_line_alpha_selected to default value 200
set iconview_format_cell_background_line_color_normal to default value #667788
set iconview_format_cell_background_line_color_selected to default value #ffffff
set iconview_format_icon_enlarge_factor to default value 1.5
set iconview_format_single_click to default value 0

** ERROR **: file xfce-desktop.c: line 98 (GET_INT): assertion failed: (NULL != getenv(name))
aborting...
Aborted

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #39 on: May 13, 2011, 07:49:25 pm »
What does this return:
Code: [Select]
rpmbuild --rebuild xfdesktop-4.4.2-1lp.src.rpm

Also, can you answer a question for me... how are you getting to a command promt on the AA1 ?
« Last Edit: May 13, 2011, 07:59:18 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline oddu

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #40 on: May 13, 2011, 08:06:52 pm »
With the searchbar I can do a desktop search for Terminal, which returns many finds, from those I pick the executable and doubleclick.
Later I noticed I can also do it with the key which has a little picture on it, a table with an arrow - don't know what it's called. I'm not sure if that only started to work after I had reinstalled some of the things that had been erased or if it was working before too. Anyway, pressing it opens a small menu where you can select "open terminal here" or something like that.
Alt F2 does not work.
Now that the filemanager is working again I could also do it from there - I think it's in File (or somewhere else in the menu) -> open terminal

Thanks for all your help. I will try the new command line you posted when I'm back home.
« Last Edit: May 13, 2011, 08:08:32 pm by oddu »

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #41 on: May 13, 2011, 08:38:48 pm »
Thanks for that...

I'm hoping that last command will build the xfdesktop-4.4.2-1lp.src.rpm (that we copied to your home folder) into an installable .rpm

If it does, we can try it with the other file... then try installing them properly.

[EDIT]

Unless of course, you've had enough and are just planning on reinstalling... in which case I wish you good luck :)

I hate being beaten by these things, so I'd carry on till it killed me, but realise this isn't for everyone ;)
« Last Edit: May 13, 2011, 08:47:49 pm by Mark Greaves (PCNetSpec) »
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline oddu

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #42 on: May 13, 2011, 09:33:41 pm »
fine with me. : )

rpmbuild --rebuild xfdesktop-4.4.2-1lp.src.rpm

returns

bash: rpmbuild: command not found


???

Offline Mark Greaves (PCNetSpec)

  • Hero Member
  • *****
  • Posts: 18277
  • Karma: 477
  • Gender: Male
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #43 on: May 13, 2011, 09:38:25 pm »
Code: [Select]
sudo yum install rpm-build

then run it again:
Code: [Select]
rpmbuild --rebuild xfdesktop-4.4.2-1lp.src.rpm
WARNING: You are logged into reality as 'root'
logging in as 'insane' is the only safe option.
pcnetspec.co.uk

Offline oddu

  • Jr. Member
  • **
  • Posts: 18
  • Karma: 0
  • I've just joined!
    • View Profile
    • Awards
Re: Firefox 4 installation problem on Acer Aspire One - Linpus Lite
« Reply #44 on: May 13, 2011, 09:42:38 pm »
OK, now it returns:

Installing xfdesktop-4.4.2-1lp.src.rpm
error: cannot write to sourcedir /usr/src/redhat/SOURCES
error: xfdesktop-4.4.2-1lp.src.rpm cannot be installed

 


SimplePortal 2.3.3 © 2008-2010, SimplePortal