Pkgtools error after Firefox4 download

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Pkgtools error after Firefox4 download

Post by Dennola4 »

Hey guys,

As usual I saw the slapt-get tray icon letting me know updates were available, so I updated and suddenly I have a new Firefox(4). No problems there.

However, last night I saw the update icon again in my tray, clicked on it, and it said the package to be updated was Firefox4. ("Weird, I just updated that last night...must be a bug fix") So ok, I update it and at the end instead of saying success it said "pkgtools error".

This happened several times over the past 24 hrs. Then tried to come here and the Salix OS server was down. Anyway....

...is this something I should worry about? Everything seems to be working fine, just not used to error messages when I do package updates.

Thanks in advance.

Dennis in New Orleans
There are no stupid questions.
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Pkgtools error after Firefox4 download

Post by gapan »

Try:

Code: Select all

spkg -d mozilla-firefox
check if /usr/lib/firefox is still there. If it is, please check exactly what that is and report back

Code: Select all

file /usr/lib/firefox
remove it if it is there (rm, rmdir...)
and install the firefox package again

Code: Select all

slapt-get -i mozilla-firefox
You're not the only one having this problem, although I can't duplicate it no matter what I try.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Pkgtools error after Firefox4 download

Post by gapan »

Try:

Code: Select all

spkg -d mozilla-firefox
check if /usr/lib/firefox is still there. If it is, please check exactly what that is and report back

Code: Select all

file /usr/lib/firefox
remove it if it is there (rm, rmdir...)
and install the firefox package again

Code: Select all

slapt-get -i mozilla-firefox
You're not the only one having this problem, although I can't duplicate it no matter what I try.

What salix version are you running? 13.0, 13,1, 13.37beta?
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Pkgtools error after Firefox4 download

Post by gapan »

OK, just managed to duplicate this. To solve it, you have to remove /usr/lib/firefox which is a broken symlink, leftover by the previous 3.6.x packages. So...

Code: Select all

unlink /usr/lib/firefox
and then the firefox upgrade will work.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6362
Joined: 6. Jun 2009, 17:40

Re: Pkgtools error after Firefox4 download

Post by gapan »

Yet another firefox update is now in the i486 repository. Hopefully that will just work and you won't have to do any of that manual tweaking.
Image
Image
User avatar
Dennola4
Posts: 172
Joined: 7. Sep 2010, 18:25
Location: San Diego, CA, USA

Re: Pkgtools error after Firefox4 download

Post by Dennola4 »

Hi Gapan,

I issued the "unlink" command as root, then ran the update again and received a system message that all actions had completed successfully, so I think we are in the clear.

Thank you very much for your immediate series of effective responses, and as always for the work your team does to keep Salix OS alive.

Dennis in New Orleans
There are no stupid questions.
User avatar
Duncan_Idaho
Posts: 216
Joined: 19. Sep 2009, 01:43
Location: Sietch Tabr, Planet Arrakis

Re: Pkgtools error after Firefox4 download

Post by Duncan_Idaho »

I can confirm the existance of this problem in my 13.1 install

also I can confirm that the solution posted by gapan fixed the issue :D
Post Reply