gslapt package manager

You have a problem with Salix? Post here and we'll do what we can to help.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: gslapt package manager

Post by laprjns »

Well this is happening consistently on my newly installed 64 bit current (from bata iso). I found that I get the same freezes if i do a "gslapt --upgrade" in a terminal. Clicking on the "OK" button in the "Apply the following changes" dialog box result in the same frozen window. Eventually i get the following error in the terminal

Code: Select all

gslapt: Fatal IO error 0 (Success) on X server :0.0.
Rich
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: gslapt package manager

Post by gapan »

You mean you get it every time you launch gslapt --upgrade?

Do you have the same issue, if you launch gslapt, choose the "select all upgrades" option from the menu and then hit the apply button?
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: gslapt package manager

Post by laprjns »

gapan wrote:You mean you get it every time you launch gslapt --upgrade?
Well, It was, but it worked fine on the last two auto updates that I receive after posting my "consistently happening" post. I'll keep an eye on it and report back it the problem reoccurs.
Thanks
Rich
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: gslapt package manager

Post by laprjns »

Well, it happen again last night on my 64 13.1 alpha install, but I think may have narrowed it down. Last night I got the update notification and click on it. After gslapt came up I checked to see what was to be updated (claws-mail & salixtools) then upgraded. gslapt froze at this point and I had to close it down via the "window busy" message box.
gapan wrote:Do you only get this problem when launching from the tray icon, or also when you launch gslapt from the menu and then click the "mark all upgrades" button? Also, is that a 13.0 or current (13.1alpha) installation we're talking about?
I now can answer this. gslapt freezes no matter how I launch it, but only if I don't do a update before upgrading. Last night after getting the freeze, I tried launching gslap from the menu. After confirming that both claw-mail and salixtools were marked for upgrade, I click on "execute" and got the frozen window. I repeated this several time and got the same results, either launching from the command line or the menu. Finally I got it to work after updating first before upgrading.
So, my conclusion is that I'm getting bad downloads during the automatic salix updated.
I going to install 13.1 beta this weekend and will keep an eye on this.
Thanks
Rich
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: gslapt package manager

Post by gapan »

I still can't reproduce this.
laprjns wrote:Finally I got it to work after updating first before upgrading.
Is a slapt-get -u before running gslapt --upgrade enough? I could make the salix-update-notifier to force an update before upgrading. The whole process will take a bit longer, but if it means it always works, it would be preferable.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: gslapt package manager

Post by gapan »

New salix-update-notifier-0.4-noarch-1gv.txz package in the repos. It updates the package cache before running gslapt --upgrade so hopefully it fixes this problem.
Image
Image
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: gslapt package manager

Post by gapan »

If this happens again to anyone, please do the following:

Code: Select all

slapt-get --clean
tar cvzf var-log-packages.tar.gz /var/log/packages
tar cvzf var-slapt-get.tar.gz /var/slapt-get
and upload them somewhere.
also try to run gslapt with:

Code: Select all

gdb /usr/sbin/gslapt
and post any output.

Actually, try to reproduce this without the notifier, run gslapt --upgrade straight from terminal. Maybe downgrade a package to the version in 13.0 to have some packages that need upgrading.

Also, make a note about how many packages are to be upgraded each time this happens.
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: gslapt package manager

Post by laprjns »

Gapan, sorry I haven't got back to you on this. I crashed my system that was displaying this behavior the other day while trying to update the motherboard bios (big mistake). I have spent the last few days trying to recover from a bois checksum error. Although I managed to get a working bios into it,there still seems to be problems with booting Salix 32. Once (If) I get it working again, I'll try to get you some info on the problem
Last edited by laprjns on 25. May 2010, 00:09, edited 1 time in total.
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
gapan
Salix Wizard
Posts: 6361
Joined: 6. Jun 2009, 17:40

Re: gslapt package manager

Post by gapan »

Ouch. Good luck with that. I have bricked a laptop trying to upgrade its bios.
Image
Image
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: gslapt package manager

Post by laprjns »

Good news, I've got my system back up and running. Thank God for the Internet, Google and some guy named Miguel! I still have the slapt-get freeze problem. This problem has persisted through three installation of Salix now. I don't reformat my /home and i use the same user, but I don't think there any configuration files associated with slapt-get in my home directory. I get the problem without using the notifier tool. In fact the last freeze happen without the notifier being installed. Here's the information that you asked for: ftp://laprjns.com/bootchart/
There two sets of data. The packages to be update for both freezes where depfinder, gslapt, and gst-plugin-good
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Post Reply