Update Manager crashes or freezes

Post your bugs here.
User avatar
ane champenois
Posts: 1539
Joined: 24 Feb 2013 08:17
Location: Grands lacs Forêt d'Orient, France

Re: Update Manager crashes or freezes

Postby ane champenois » 11 Aug 2013 15:37

Schoelje wrote:Fix released:
Fix confirmed ;)
They did not know it was impossible so they did it.

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Re: Update Manager crashes or freezes

Postby stelios » 11 Aug 2013 15:54

Sorry, i have just returned home, so i could not test the new version until now. I just installed update manager 2.9 It still freezes when i hit the 'check mirrors speed' button, as before. However, i can choose a different mirror now without crashing, which i could not do before. I do not get any more messages other than the ones i have already posted.

If i am the only one with this particular problem, i wonder if it is something on my end. But i haven't installed anything outside the SolydK production repositories. This started as an unofficial LMDE KDE installation, using the last iso before SolydXK was born. Since then i simply followed every UP leading to the current one.

User avatar
Arjen Balfoort
Site Admin
Posts: 9394
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 11 Aug 2013 17:03

stelios wrote:Sorry, i have just returned home, so i could not test the new version until now. I just installed update manager 2.9 It still freezes when i hit the 'check mirrors speed' button, as before. However, i can choose a different mirror now without crashing, which i could not do before. I do not get any more messages other than the ones i have already posted.

If i am the only one with this particular problem, i wonder if it is something on my end. But i haven't installed anything outside the SolydK production repositories. This started as an unofficial LMDE KDE installation, using the last iso before SolydXK was born. Since then i simply followed every UP leading to the current one.
Tracking this bug is rather time consuming. If not more people are having this problem, I'll leave it at this for now.
If the new iso's are released, and you're able to download, you could try if it works on that iso (live).


SolydXK needs you!
Development | Testing | Translations

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Re: Update Manager crashes or freezes

Postby stelios » 11 Aug 2013 17:09

OK, i will try the new iso live when it comes out and see what happens.

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Re: Update Manager crashes or freezes

Postby stelios » 23 Aug 2013 13:16

I tried the new iso today. ( i post this using the live CD.) It takes anything from 5 to 20 minutes for the gui to appear after i launch updatemanager. When i try to hit the 'check mirrors speed' button, it crashes.

I attach the text file with all the information i get from the terminal.
Attachments
UpdateManager.txt
(17.34 KiB) Downloaded 82 times

User avatar
Arjen Balfoort
Site Admin
Posts: 9394
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 23 Aug 2013 17:10

Are you up for some Python coding?

Remember, this is an experiment!
I cannot reproduce your error, but I found this bug report, mentioning a workaround:
http://sourceforge.net/p/pycurl/bugs/23/

If you are bold enough, run this command to open the python script in Kate (SolydK):

Code: Select all

kdesudo kate /usr/lib/solydxk/updatemanager/mirror.py
or in Mousepad (SolydX):

Code: Select all

gksudo mousepad /usr/lib/solydxk/updatemanager/mirror.py
Search for:

Code: Select all

                    c.setopt(pycurl.WRITEFUNCTION, buff.write)
And add the following line

Code: Select all

                    c.setopt(pycurl.NOSIGNAL, 1)
The code should look like:

Code: Select all

                    c.setopt(pycurl.CONNECTTIMEOUT, 10)
                    c.setopt(pycurl.TIMEOUT, 10)
                    c.setopt(pycurl.FOLLOWLOCATION, 1)
                    c.setopt(pycurl.WRITEFUNCTION, buff.write)
                    c.setopt(pycurl.NOSIGNAL, 1)
Just exit UM (right-click the tray icon, and exit), and restart UM.


SolydXK needs you!
Development | Testing | Translations

User avatar
stelios
Posts: 128
Joined: 28 Feb 2013 21:31
Location: Athens

Re: Update Manager crashes or freezes

Postby stelios » 23 Aug 2013 17:40

It worked!

Image

:D

User avatar
Arjen Balfoort
Site Admin
Posts: 9394
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 23 Aug 2013 18:12

It did?
That's great!
I'll update UM as soon as everything quiets down.


SolydXK needs you!
Development | Testing | Translations

DebianBoston
Posts: 94
Joined: 20 Sep 2013 03:42

Re: Update Manager crashes or freezes

Postby DebianBoston » 21 Sep 2013 03:14

Hello.

I'm a new SolydK user (ex-Ubuntu guy) and had a question. I have a fresh x64 install of SolydK and immediately after launching the updatemanager for the first time, after modifying nothing - the manager freezes.

Just a blank GUI. No text/lists showing up, just a blank box - no error, only a freezing message "not responding".

Why is this after a fresh new install on a computer? How should I proceed? This is baffling me.

Thank you!

---

kyodev
Posts: 505
Joined: 06 Jul 2013 09:47
Location: Lyon, France

Re: Update Manager crashes or freezes

Postby kyodev » 21 Sep 2013 08:07

could you read this before:
http://solydxk.nl/repository-change/

after, are you sure that you are waiting enough? I experienced this, the first update may take some time

DebianBoston
Posts: 94
Joined: 20 Sep 2013 03:42

Re: Update Manager crashes or freezes

Postby DebianBoston » 21 Sep 2013 11:11

kyodev wrote:could you read this before:
http://solydxk.nl/repository-change/

after, are you sure that you are waiting enough? I experienced this, the first update may take some time
Oh, no - I didn't see that repo change link sorry. Reading now.

And yes, I waited 20+ mins, and I can assure you, it just froze - unresponsive, pop-up window, etc.

Thanks!

kyodev
Posts: 505
Joined: 06 Jul 2013 09:47
Location: Lyon, France

Re: Update Manager crashes or freezes

Postby kyodev » 21 Sep 2013 13:48

yes, it's a little long :(
can you return the result of:

Code: Select all

inxi -Srxxx
updatemanager

User avatar
Arjen Balfoort
Site Admin
Posts: 9394
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 21 Sep 2013 16:23

When the repositories throw an error, UM freezes.
UM bug #2 :cry:


SolydXK needs you!
Development | Testing | Translations

User avatar
Arjen Balfoort
Site Admin
Posts: 9394
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 21 Sep 2013 19:07

I adapted the UM for use with the new repository structure.
[link removed, obsolete]

Please, post back any findings.


SolydXK needs you!
Development | Testing | Translations

User avatar
davo
Posts: 62
Joined: 18 Aug 2013 10:37
Location: Malvern (UK)

Re: Update Manager crashes or freezes

Postby davo » 21 Sep 2013 21:46

Schoelje wrote:I adapted the UM for use with the new repository structure.
[link removed, obsolete]
Please, post back any findings.
Updated to Update Manager 1.4.4 on my test partition

Update Manager opened normally and refreshed fine, then checked Mirror speeds and all ran through giving speed output

Code: Select all

21-09-2013 22:41:56 UM.checkUpVersion             DEBUG     preFile = 2013.09.06.pre | lastUp = 2013.09.06
21-09-2013 22:41:56 UM.init                       DEBUG     self.newUp = False
21-09-2013 22:41:56 UM.init                       DEBUG     self.serverUpVersion = None
21-09-2013 22:41:56 UM.init                       DEBUG     self.localUpVersion = 2013.09.06
21-09-2013 22:41:56 UM.main                       INFO      Launching updatemanager in user...
21-09-2013 22:41:56 AutomaticRefreshThread.run    DEBUG     Auto-refresh timer is going to sleep for 0 days, 0 hours, 30 minutes
21-09-2013 22:41:56 RefreshThread.run             INFO      Starting refresh...
21-09-2013 22:41:56 RefreshThread.run             INFO      Finding the list of updates...
21-09-2013 22:42:06 RefreshThread.run             INFO      Your system is up to date
21-09-2013 22:42:06 RefreshThread.run             INFO      Refresh finished
21-09-2013 22:42:26 MirrorGetSpeed.run            DEBUG     Server http://debian.solydxk.com - 157Kbps
21-09-2013 22:42:27 MirrorGetSpeed.run            DEBUG     Server http://packages.solydxk.com - 164Kbps
21-09-2013 22:42:30 MirrorGetSpeed.run            DEBUG     Server http://mirror.internode.on.net/pub/solydxk/debian - 68Kbps
21-09-2013 22:42:33 MirrorGetSpeed.run            DEBUG     Server http://mirror.internode.on.net/pub/solydxk/packages - 65Kbps
21-09-2013 22:42:33 MirrorGetSpeed.run            DEBUG     Server http://ftp.nluug.nl/os/Linux/distr/solydxk/debian - 601Kbps
21-09-2013 22:42:34 MirrorGetSpeed.run            DEBUG     Server http://ftp.nluug.nl/os/Linux/distr/solydxk/packages - 397Kbps
21-09-2013 22:42:36 MirrorGetSpeed.run            DEBUG     Server http://www.tuxlinuxnews.com/solydxk - 123Kbps
21-09-2013 22:42:38 RefreshThread.run             INFO      Starting refresh...
21-09-2013 22:42:39 RefreshThread.run             INFO      Finding the list of updates...
21-09-2013 22:42:49 RefreshThread.run             INFO      Your system is up to date
21-09-2013 22:42:49 RefreshThread.run             INFO      Refresh finished
Sources List

Code: Select all

deb http://ftp.nluug.nl/os/Linux/distr/solydxk/packages/production/ solydxk main upstream import
deb http://community.solydxk.com/production/ solydxk main
deb http://ftp.nluug.nl/os/Linux/distr/solydxk/debian/production testing main contrib non-free
deb http://ftp.nluug.nl/os/Linux/distr/solydxk/debian/production/multimedia testing main non-free
deb http://ftp.nluug.nl/os/Linux/distr/solydxk/debian/security testing/updates main contrib non-free
"To touch the earth is to have harmony with nature." Oglala Sioux

User avatar
Arjen Balfoort
Site Admin
Posts: 9394
Joined: 26 Jan 2013 19:36
Location: Netherlands
Contact:

Re: Update Manager crashes or freezes

Postby Arjen Balfoort » 21 Sep 2013 22:14

Be careful with the mirrors:
Internode is still not done: the packages repository looks new, but the debian repository is still on the august UP. I hope they're still in the progress of synchronizing.
I just got a mail from the tuxlinuxnews mirror maintainer, and he's in the middle of synchronizing.


SolydXK needs you!
Development | Testing | Translations

User avatar
davo
Posts: 62
Joined: 18 Aug 2013 10:37
Location: Malvern (UK)

Re: Update Manager crashes or freezes

Postby davo » 21 Sep 2013 22:22

Schoelje wrote:Be careful with the mirrors:
Internode is still not done: the packages repository looks new, but the debian repository is still on the august UP. I hope they're still in the progress of synchronizing.
I just got a mail from the tuxlinuxnews mirror maintainer, and he's in the middle of synchronizing.
Yes i will be careful, i do not use internode at all and have reverted back to USA mirrors. The nluug was just whilst testing the mirror speeds and seeing if it updated apt sources okay.

Thanks Schoelje
"To touch the earth is to have harmony with nature." Oglala Sioux

TuxUser
Posts: 17
Joined: 08 Nov 2013 18:25

Re: Update Manager crashes or freezes

Postby TuxUser » 08 Nov 2013 18:56

Schoelje wrote:I adapted the UM for use with the new repository structure.
The above link leads to a server 404 :-(

I too am having problems with the UM. Its window opens up and then it just sits there endlessly, trying to load/refresh the package list.

# inxi -Srxxx
System: Host: latitude-d600 Kernel: 3.9-1-486 i686 (32 bit, gcc: 4.7.3)
Desktop: Xfce 4.10.2 (Gtk 2.24.18) info: xfce4-panel dm: lightdm Distro: SolydXK 1 solydxk
Repos: Active apt sources in file: /etc/apt/sources.list
deb http://packages.solydxk.nl/ solydxk main upstream import community
deb http://debian.solydxk.nl/production testing main contrib non-free
deb http://debian.solydxk.nl/production/multimedia testing main non-free
deb http://debian.solydxk.nl/security testing/updates main contrib non-free

Following this thread I so far did:

Code: Select all

# apt-get update 
Hit http://debian.solydxk.com testing InRelease
Ign http://packages.solydxk.com solydxk InRelease
Ign http://debian.solydxk.com testing InRelease                        
Ign http://packages.solydxk.com solydxk Release.gpg                    
Ign http://packages.solydxk.com solydxk Release                        
Hit http://debian.solydxk.com testing/updates InRelease
Ign http://packages.solydxk.com solydxk/main i386 Packages/DiffIndex    
Hit http://debian.solydxk.com testing Release.gpg                       
Ign http://packages.solydxk.com solydxk/upstream i386 Packages/DiffIndex
Hit http://debian.solydxk.com testing/main i386 Packages/DiffIndex
Ign http://packages.solydxk.com solydxk/import i386 Packages/DiffIndex
Ign http://packages.solydxk.com solydxk.nlmunity i386 Packages/DiffIndex
Hit http://debian.solydxk.com testing/contrib i386 Packages/DiffIndex
Hit http://debian.solydxk.com testing/non-free i386 Packages/DiffIndex
Hit http://debian.solydxk.com testing/contrib Translation-en/DiffIndex
Hit http://debian.solydxk.com testing/main Translation-en/DiffIndex
Hit http://debian.solydxk.com testing/non-free Translation-en/DiffIndex
Hit http://debian.solydxk.com testing Release  
Hit http://debian.solydxk.com testing/updates/main i386 Packages      
Hit http://debian.solydxk.com testing/updates/contrib i386 Packages
Hit http://debian.solydxk.com testing/updates/non-free i386 Packages
Hit http://debian.solydxk.com testing/updates/contrib Translation-en
Hit http://debian.solydxk.com testing/updates/main Translation-en
Hit http://debian.solydxk.com testing/updates/non-free Translation-en
Hit http://debian.solydxk.com testing/main i386 Packages
Hit http://debian.solydxk.com testing/non-free i386 Packages
Ign http://debian.solydxk.com testing/main Translation-en_US
Ign http://debian.solydxk.com testing/main Translation-en
Ign http://debian.solydxk.com testing/non-free Translation-en_US
Ign http://debian.solydxk.com testing/non-free Translation-en
Ign http://packages.solydxk.com solydxk.nlmunity Translation-en_US
Ign http://packages.solydxk.com solydxk.nlmunity Translation-en
Ign http://packages.solydxk.com solydxk/import Translation-en_US
Ign http://packages.solydxk.com solydxk/import Translation-en
Ign http://packages.solydxk.com solydxk/main Translation-en_US
Ign http://packages.solydxk.com solydxk/main Translation-en
Ign http://packages.solydxk.com solydxk/upstream Translation-en_US
Ign http://packages.solydxk.com solydxk/upstream Translation-en
Err http://packages.solydxk.com solydxk/main i386 Packages  404  Not Found
Err http://packages.solydxk.com solydxk/upstream i386 Packages  404  Not Found
Err http://packages.solydxk.com solydxk/import i386 Packages  404  Not Found
Err http://packages.solydxk.com solydxk.nlmunity i386 Pacages  404  Not Found
W: Failed to fetch http://packages.solydxk.com/dists/solydxk/main/binary-i386/Packages  404  Not Found
W: Failed to fetch http://packages.solydxk.com/dists/solydxk/upstream/binary-i386/Packages  404  Not Found
W: Failed to fetch http://packages.solydxk.com/dists/solydxk/import/binary-i386/Packages  404  Not Found
W: Failed to fetch http://packages.solydxk.com/dists/solydxk.nlmunity/binary-i386/Packages  404  Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.

Code: Select all

# apt-get purge updatemanager 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  updatemanager*
0 upgraded, 0 newly installed, 1 to remove and 340 not upgraded.
2 not fully installed or removed.
After this operation, 1,913 kB disk space will be freed.
Do you want to continue [Y/n]? 
(Reading database ... 163633 files and directories currently installed.)
Removing updatemanager ...
Purging configuration files for updatemanager ...
dpkg: warning: while removing updatemanager, directory '/usr/lib/solydxk/updatemanager' not empty so not removed
Processing triggers for desktop-file-utils ...
Processing triggers for mime-support ...
Setting up linux-image-3.10-3-486 (3.10.11-1) ...
Running depmod.
vmlinuz(/boot/vmlinuz-3.10-3-486
) points to /boot/vmlinuz-3.10-3-486
 (/boot/vmlinuz-3.10-3-486) -- doing nothing at /var/lib/dpkg/info/linux-image-3.10-3-486.postinst line 268.
The link /initrd.img is a dangling linkto /boot/initrd.img-3.10-3-486
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.10-3-486 /boot/vmlinuz-3.10-3-486
run-parts: executing /etc/kernel/postinst.d/dkms 3.10-3-486 /boot/vmlinuz-3.10-3-486
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.10-3-486 /boot/vmlinuz-3.10-3-486
update-initramfs: Generating /boot/initrd.img-3.10-3-486

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.10-3-486 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.10-3-486.postinst line 696.
dpkg: error processing linux-image-3.10-3-486 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-486:
 linux-image-486 depends on linux-image-3.10-3-486; however:
  Package linux-image-3.10-3-486 is not configured yet.

dpkg: error processing linux-image-486 (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 linux-image-3.10-3-486
 linux-image-486
E: Sub-process /usr/bin/dpkg returned an error code (1)
Well, I don't really know, what exactly we are talking about here: "gzip: stdout: No space left on device"
Assuming that "device" is the root partition, which has around 1GB left, how do I redirect /tmp, which seems to be linked to /var/tmp, to some alternative tmp location on another partition with more space?

Code: Select all

$ df
Filesystem     1K-blocks    Used       Available Use% Mounted on
/dev/sda5        6061440     4709208   1037660  82%     /
udev               10240        0       10240   0%   /dev
tmpfs             155416      1388     154028   1%   /run
tmpfs               5120        0        5120   0%   /run/lock
tmpfs             310820       92      310728   1%   /run/shm
/dev/sda1          50437      31600     16021  67%   /boot
/dev/sda6       51300996     4257852  44430512   9%  /home
And in this context, if there is no dedicated /swap partition, is Linux smart enough to create a swap file instead on its own - if so, where? - or has it to be created manually? If the latter, how and how does the system then learn about its existence and starts using it?

Code: Select all

# apt-get install updatemanager 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  updatemanager
0 upgraded, 1 newly installed, 0 to remove and 340 not upgraded.
2 not fully installed or removed.
Need to get 213 kB of archives.
After this operation, 1,913 kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
  updatemanager
Install these packages without verification [y/N]? y
Err http://packages.solydxk.com/ solydxk/main updatemanager all 1.3.0  404  Not Found
Failed to fetch http://packages.solydxk.com/pool/main/u/updatemanager/updatemanager_1.3.0_all.deb  404  Not Found
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
And here we are again with yet another infamous 404 ;-)

User avatar
zerozero
Posts: 5373
Joined: 10 Feb 2013 23:37
Location: West Midlands, England
Contact:

Re: Update Manager crashes or freezes

Postby zerozero » 08 Nov 2013 19:11

hi TuxUser
welcome to the forum :)
first step is to correct the repos according to this topic http://forums.solydxk.nl/viewtopic.php?f=2&t=1529
then try to update normally and you don't need the UM linked above.
bliss of ignorance

TuxUser
Posts: 17
Joined: 08 Nov 2013 18:25

Re: Update Manager crashes or freezes

Postby TuxUser » 08 Nov 2013 20:17

Thanks for the kind welcome, zerozero and for pointing me to the current sources.list
I was following up on Schoelje's sticky thread "SolydXK Update Packs explained" http://forums.solydxk.nl/viewtopic.php?f=13&t=152, which still shows the now outdated list. Therefore I think, it would be a good idea, to either update the list there as well or add a link to the "Sources.list" thread http://forums.solydxk.nl/viewtopic.php?f=2&t=1529, since the UP thread most likely is one of the most frequented ones, especially for new users.

With the updated repos, "# apt-get update" and "# apt-get install updatemanager" I now got that one working again and currently updating, :-) but still have this bit left to deal with: :-(

Code: Select all

The link /initrd.img is a dangling linkto /boot/initrd.img-3.10-3-486
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/apt-auto-removal 3.10-3-486 /boot/vmlinuz-3.10-3-486
run-parts: executing /etc/kernel/postinst.d/dkms 3.10-3-486 /boot/vmlinuz-3.10-3-486
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.10-3-486 /boot/vmlinuz-3.10-3-486
update-initramfs: Generating /boot/initrd.img-3.10-3-486

gzip: stdout: No space left on device
E: mkinitramfs failure cpio 141 gzip 1
update-initramfs: failed for /boot/initrd.img-3.10-3-486 with 1.
run-parts: /etc/kernel/postinst.d/initramfs-tools exited with return code 1
Failed to process /etc/kernel/postinst.d at /var/lib/dpkg/info/linux-image-3.10-3-486.postinst line 696.
dpkg: error processing linux-image-3.10-3-486 (--configure):
 subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of linux-image-486:
 linux-image-486 depends on linux-image-3.10-3-486; however:
  Package linux-image-3.10-3-486 is not configured yet.

dpkg: error processing linux-image-486 (--configure):
 dependency problems - leaving unconfigured
Setting up updatemanager (1.5.1) ...
Errors were encountered while processing:
 linux-image-3.10-3-486
 linux-image-486
E: Sub-process /usr/bin/dpkg returned an error code (1)
Update 9.Nov: I think I figured that one out by now. Looks like ext4 on my /boot partition took up more space than anticipated, now leaving me short by some 3MB for the new kernel image to be created. So it's time to get gparted involved.


Return to “Bug Control”

Who is online

Users browsing this forum: No registered users and 1 guest