Please support VectorLinux!

Author Topic: Gslapt "Download packages only" option  (Read 4647 times)

Alb

  • Member
  • *
  • Posts: 74
Gslapt "Download packages only" option
« on: March 06, 2011, 12:53:35 pm »
Hello,
In order to update Firefox on my VL 6.0 Light, I made use of Gslapt, checking the "Download packages only" box, then I went to /home/ftp/pub/veclinux/packages/net/ and installed it by means of "installpkg". Everything is all right, but if I open Gslapt then I update it, I still see, in installed packages, the old version of Firefox (3.0.8 instead of the right one: 3.6.13). I wonder why.
Best Regards

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Gslapt "Download packages only" option
« Reply #1 on: March 06, 2011, 08:09:10 pm »
What do you see when you...
ls /var/log/packages/firefox*
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Alb

  • Member
  • *
  • Posts: 74
Re: Gslapt "Download packages only" option
« Reply #2 on: March 07, 2011, 02:58:05 am »
Here is the output of:
vector://var/log/packages
alberto:$ ls -l firefox*
-rw-r--r-- 1 root root 13264 2010-12-28 19:56 firefox-3.0.8-i586-1vl60
-rw-r--r-- 1 root root 13198 2011-03-05 17:33 firefox-3.6.13-i586-1vl60

So, there are both of them. Then I had to remove the previous one. Am I correct?

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Gslapt "Download packages only" option
« Reply #3 on: March 07, 2011, 08:06:25 am »
Odd that it is not showing up in gslapt.  I always thought gslapt read for installed packages at /var/log/packages/, but maybe not.  Or maybe, Gslapt just shows the first installed version it finds and assumes there will be no more, so stops looking after that.

Yes, you could uninstall the old one but after reinstall the new one, just in case the old one shares a folder name with the new and it's removal deletes that folder.

Do an update in gslapt and see if it shows up. 
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Alb

  • Member
  • *
  • Posts: 74
Re: Gslapt "Download packages only" option
« Reply #4 on: March 07, 2011, 10:09:28 am »
Here is what I did just some minutes ago:
I launched Gslapt > Update
Now I found the two versions of Firefox (ver. 3.0.8 and 3.6.13), then I right-clicked on 3.0.8 box and a dialog box appeared showing that I could remove it or upgrade it. So, first of all, I removed the newer one (ver. 3.6.13) then I upgraded the older one (ver. 3.0.8).
At last I launched Gslapt > Update again but firefox was not shown at all. However Firefox is present (ver. 3.6.15) and works all right.

Here is the gtkfind output for Firefox:

/home/ftp/pub/veclinux/packages/net/firefox-3.6.13-i586-1vl60.tlz
/home/ftp/pub/veclinux/packages/net/firefox-3.6.15-i586-1vl60.tlz
/home/alberto/.mozilla/firefox
/usr/bin/firefox
/usr/lib/firefox
/usr/lib/firefox-3.6.15
/usr/lib/firefox-3.6.15/firefox
/usr/lib/firefox-3.6.15/firefox-bin
/usr/lib/firefox-3.6.15/defaults/pref/firefox.js
/usr/lib/firefox-3.6.15/defaults/pref/firefox-branding.js
/usr/lib/firefox-3.6.15/defaults/pref/firefox-l10n.js
/usr/ports/contrib/firefox-djvu-plugin
/usr/ports/opt/firefox-acroread-plugin
/usr/ports/opt/firefox-flash-plugin
/usr/ports/opt/firefox-java-plugin
/usr/ports/opt/firefox
/usr/ports/opt/firefox/firefox-2.0-add-ldflags.patch
/usr/ports/opt/firefox/firefox-nopangoxft.patch
/usr/share/applications/mozilla-firefox.desktop
/usr/share/icons/ROX-noia/apps/firefox.png
/usr/share/icons/ROX-nuvola/apps/firefox.png
/usr/share/icons/Xquisite/scalable/apps/firefox-icon.png
/usr/share/icons/Xquisite/scalable/apps/firefox.png
/usr/share/icons/nuoveXT2/128x128/apps/firefox.png
........ lots of icons............... I removed from this list, just to shorten it
/usr/share/pixmaps/firefox.png
/var/log/packages/firefox-3.6.15-i586-1vl60
/var/log/scripts/firefox-3.6.15-i586-1vl60
/var/log/removed_packages/firefox-3.6.13-i586-1vl60
/var/log/removed_packages/firefox-3.0.8-i586-1vl60-upgraded-2011-03-07,18:18:27
/var/log/removed_scripts/firefox-3.6.13-i586-1vl60
/var/log/removed_scripts/firefox-3.0.8-i586-1vl60-upgraded-2011-03-07,18:18:27

By the way, is there anything I can delete?
Best Regards



Alb

  • Member
  • *
  • Posts: 74
Re: Gslapt "Download packages only" option
« Reply #5 on: March 07, 2011, 01:53:09 pm »
Last last: Gslapt keeps on in not showing my Firefox package  ???

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Gslapt "Download packages only" option
« Reply #6 on: March 07, 2011, 04:52:32 pm »
Try this as root.
cd /var/log/packages/
removepkg ./firefox-3.6.13-i586-1vl60.tlz

installpkg /home/ftp/pub/veclinux/packages/net/firefox-3.6.15-i586-1vl60.tlz

basically my hypothysis is this gslapt is  only showing the first firefox that it finds in /var/log/packages/ so the commands above remove the older firefox manually
 and the 'installpkg' command reinstalls the newer firefox just in case the removal of the older on deletes some shared folders.
Let me know what happens
Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee

Alb

  • Member
  • *
  • Posts: 74
Re: Gslapt "Download packages only" option
« Reply #7 on: March 08, 2011, 05:45:10 am »

vector://home/alberto
root:# cd /var/log/packages/
vector://var/log/packages
root:# removepkg ./firefox-3.6.13-i586-1vl60.tlz

No such package: /var/log/packages/firefox-3.6.13-i586-1vl60*. Can't remove.
vector://var/log/packages
root:# installpkg /home/ftp/pub/veclinux/packages/net/firefox-3.6.15-i586-1vl60.tlz
..........................................................................................
| 1/1 | Installing firefox-3.6.15-i586-1vl60.tlz                              |
'-----'---------------------------------------------------------------------

 Firefox (Mozilla Firefox Web Browser)                                     
etc. etc. ..................................................
..............................................................
...............................................................

Executing install script for firefox-3.6.15-i586-1vl60...

vector://var/log/packages
root:#

Alb

  • Member
  • *
  • Posts: 74
Re: Gslapt "Download packages only" option
« Reply #8 on: March 08, 2011, 06:17:27 am »
I forgot to add that not even the previous procedure succeeded in making Gslapt > Upate show up Firefox. Gslapt still does not see it.

Alb

  • Member
  • *
  • Posts: 74
Re: Gslapt "Download packages only" option
« Reply #9 on: March 09, 2011, 11:26:56 am »
Hello,
In the hope not to bother you too much, I have to add this: Gslapt shows Firefox 3.6.15 if the option "show all" is checked, but if you check the option "show installed" Gslapt does not show it.
Best Regards

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Gslapt "Download packages only" option
« Reply #10 on: March 09, 2011, 11:33:14 am »
just wondering why you did not let gslapt install the pkg?

you need to remove the old firefox pkgs.
to do this you should run "removepkg firefox" as root
you will have to do this a few times to get rid of all the cruft.
after you have removed all the firefox pkgs you can reinstall the latest one.

HTH,
Uelsk8s

stretchedthin

  • Administrator
  • Vectorian
  • *****
  • Posts: 3780
    • Opensourcebistro.com
Re: Gslapt "Download packages only" option
« Reply #11 on: March 09, 2011, 03:16:14 pm »
Hello,
In the hope not to bother you too much, I have to add this: Gslapt shows Firefox 3.6.15 if the option "show all" is checked, but if you check the option "show installed" Gslapt does not show it.
Best Regards

No bother.  I was just stumped.

Vectorlinux screencasts and  tutorials can be found at....
http://www.opensourcebistro.com/blog1
http://www.youtube.com/user/vid4ken?feature=mhee