Author Topic: Perplexing behavior from the new Synaptic  (Read 1486 times)

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 837
Perplexing behavior from the new Synaptic
« on: August 02, 2011, 09:21:05 AM »
I had upgraded Synaptic and apt by aptupgrade about a month ago and had not noticed any problems with it until using it on an older laptop to do a large update over several days. I had to do this because of a slow connection and daily quotas. I didn't do a reload each time I reopened it and restarted the download. A new behavior is that Synaptic appears to close or crash without any errors when canceling a download. Is this a new "feature"? In the old Synaptic the download box would disappear and Synaptic would remain loaded and resync the files. When the download finally completed I did a reload for a few packages that had failed because they had been updated in the past few days. I'd done this before with the old Synaptic, so I had confidence that the download would update correctly. However, after the reload all the previously cached files had been deleted and the entire download (now over 900 MB) would have to be done over. Is this also a new "feature"? If so, it's a regression of some kind. I don't see anything in the Settings that might control this behavior.
Using Linux for over 18 years and still counting.

Offline menotu

  • PCLinuxOS Tester
  • Super Villain
  • *******
  • Posts: 15506
  • ┌∩┐(◕_◕)┌∩┐
Re: Perplexing behavior from the new Synaptic
« Reply #1 on: August 02, 2011, 09:43:55 AM »
Wouldn't you of been better of installing the latest 2011.06 iso?

If download limits are a concern for downloading the iso you could always use something like FTP ( Filezilla ? ) to download the iso as it picks up where you left off.

When you were updating with Synaptic how were you doing it?

Marking a certain number of apps to be upgraded in one session and then the next day marking a new lot and so on?

I personally would of reloaded before restarting
PCLinuxOS 32bit KDE 4.10.4; kernel-3.4.11-pclos1.bfs & 64bit 3.4.38bfs; NVidia GeForce 8400GS 1GB 310.19 driver

Sony Vaio SVE1513A4ESI Laptop, Intel Core i5, 2.6GHz, 6GB RAM, 750GB, 15.6" Intel HD Graphics 4000

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 837
Re: Perplexing behavior from the new Synaptic
« Reply #2 on: August 02, 2011, 12:03:24 PM »
menotu, I know these suggestions well. I was updating yesterday when the cache was deleted. I had done this many times in the past with the old Synaptic without reloading, then reloading if some of the files failed to download and never had the cache been erased. It would get the rest of the files and install all of them. This does not address the behavior of the new version of Synaptic. What was functionally changed in the new version? Why should the cache of perfectly good files be erased? And no, I had not changed the repository. Maybe this is a problem with apt?
Using Linux for over 18 years and still counting.

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Perplexing behavior from the new Synaptic
« Reply #3 on: September 02, 2011, 08:45:15 PM »
cyrwyn
Was there ever a resolution here?  It was not the setting of cache behaviour under Synaptic preferences that had changed?  :)
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 837
Re: Perplexing behavior from the new Synaptic
« Reply #4 on: September 03, 2011, 08:57:12 AM »
No resolution, no change in cache behavior. I can't trust Synaptic anymore when I have to cancel a download and resume later. What have you experienced?
Using Linux for over 18 years and still counting.

Hootiegibbon

  • Guest
Re: Perplexing behavior from the new Synaptic
« Reply #5 on: September 03, 2011, 09:15:37 AM »
No resolution, no change in cache behavior. I can't trust Synaptic anymore when I have to cancel a download and resume later. What have you experienced?

Synaptic does close on canceling , although synaptic is not teh partrt that does the cacheing - its apt-get, tried it several times - synaptic will pick up the d/load from where it had got to , so long as the apt-cache has not been cleared in the meantime

Jase

Offline wedgetail

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 2469
  • Any Bugs in site?
Re: Perplexing behavior from the new Synaptic
« Reply #6 on: September 03, 2011, 06:44:08 PM »
cyrwyn
I am still trying to get my head around what you have mentioned. Have been inactive for about 3 months as far as playing with Linux, the KDE and MiniMe setups I have just worked.  I was aware of the upgrade to 2011 ISOs and have only just upgraded my MiniMe, when I wondered through a few posts and noticed this one.

From my System last upgraded/updated in May 2011:
I have an interesting situation, I use AARNET mirror and for some reason if I do a major update, in terms it takes say over 30 min download, Synaptic will unlikely complete successfully.  Always seems that 'peer' has terminated the connection.

I am left with having to decide to continue update anyway or not. My experience has been to look at what files, normally only a few did not come down, and how important they look and then decide to continue or not.  So far I have continued and as soon as the system is ready, immediately gone back and let the update repeat once more.  This works in 95% or more of cases.  Really only remember as it happened very recently when upgrading my MiniMe and I continued and all appeared ok, except it seems my kernel was too old.  I vaguely remembered something about problems with video card and help from Forum soon had that sorted out.

From my MiniMe system very recently fully updated: 
Having updgraded I decided to have a go at installing LibreOffice last night, ran in to a problem which mainly boiled down to attrocious for me internet connection speed I think.  The speed suddenly jumped right when I decided to follow the off line install procedure as the 150 MB downloaded at full speed. It was past 2 in the morning so I did not pursue if this was co-incidental, I assume it was.

During the exercise I was asked to do this "aptupgrade" so now I understand your first line, this is why I mention my 'old' system and 'new'.  I will have to try an update/download and then cancel towards the end and then see what happens.

In the last post Hootiegibbon mentions the state of apt-cache however this is getting above my head.
32 bit: KDE (older) & various KDE-mini, ASUSTek P5P41D Rev X.0x, BIOS AMI0207 07/21/2009, "Pentium(R) Dual-Core CPU E5300 @ 2.60GHz", nVidia GeForce 9600 GT, 2x1GB Seagate Technology 1000528AS HDD
TV CompuPro VideoMate Vista E700 (not working in Linux), Acer X243HD LCD Screen

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 837
Re: Perplexing behavior from the new Synaptic
« Reply #7 on: September 04, 2011, 09:32:54 AM »
I'll make clearer what I see are the two problems. First, if I cancel a download Synaptic now closes. It used to only close the download dialog box and reload all the files to display in the various section panes. Second, if not all files are downloadable from a repository and I choose not to continue to apply, but do a reload, mark all and apply, then ALL the downloaded files will be deleted from the cache. This never happened before the atpupgrade update. And I never had the keep downloaded files in cache checked. Can anyone else confirm this behavior?
Using Linux for over 18 years and still counting.

Hootiegibbon

  • Guest
Re: Perplexing behavior from the new Synaptic
« Reply #8 on: September 04, 2011, 09:46:26 AM »
I'll make clearer what I see are the two problems. First, if I cancel a download Synaptic now closes. It used to only close the download dialog box and reload all the files to display in the various section panes. Second, if not all files are downloadable from a repository and I choose not to continue to apply, but do a reload, mark all and apply, then ALL the downloaded files will be deleted from the cache. This never happened before the atpupgrade update. And I never had the keep downloaded files in cache checked. Can anyone else confirm this behavior?

Reload-MarkAll-Apply should not clear the cache, that is set in synaptic > settings > files
this should be marked that "only delete packages that are no longer available " 

I suspect that yours is marked differently.

Jase

AndrzejL

  • Guest
Re: Perplexing behavior from the new Synaptic
« Reply #9 on: September 04, 2011, 10:32:24 AM »
Sometimes when I was canceling the download synaptic crashed - not often but I can confirm this. It was a clean crash - I could restart it right away and it worked.

About the other part - reloading or choosing other repository and reloading should fix the issue.

Andy

Offline cyrwyn

  • Hero Member
  • *****
  • Posts: 837
Re: Perplexing behavior from the new Synaptic
« Reply #10 on: September 05, 2011, 09:35:32 AM »
The old Synaptic never would delete cached files with "delete files after installation" checked when I had to reload. I will try "only delete packages that are no longer available". Obviously, it works differently now. Just to be clear, I did not switch repositories when I reloaded.
Using Linux for over 18 years and still counting.

Online Linuzoid

  • PCLinuxOS Tester
  • Hero Member
  • *******
  • Posts: 1414
    • LinuzoidArt Studio
Re: Perplexing behavior from the new Synaptic
« Reply #11 on: November 12, 2011, 05:44:12 PM »
I just noticed this behavior on mine, I just canceled a download and synaptic just crashed, every time I cancel now, this is happening,  ???
Be very, very kind to your neighbors, but don't take the fence down!

AndrzejL

  • Guest
Re: Perplexing behavior from the new Synaptic
« Reply #12 on: November 12, 2011, 05:57:31 PM »
I just noticed this behavior on mine, I just canceled a download and synaptic just crashed, every time I cancel now, this is happening,  ???

Welcome in the club... It's been solved now. The solution was to NOT TO CANCEL DOWNLOADS! Bazinga!

Offline Texstar

  • Administrator
  • Super Villain
  • *****
  • Posts: 12655
Re: Perplexing behavior from the new Synaptic
« Reply #13 on: November 12, 2011, 06:06:44 PM »
I just noticed this behavior on mine, I just canceled a download and synaptic just crashed, every time I cancel now, this is happening,  ???

Welcome in the club... It's been solved now. The solution was to NOT TO CANCEL DOWNLOADS! Bazinga!

Tee hee! You cancel Synaptic, Synaptic cancels you!  ;D

Thanks to everyone who donates. You keep the servers running.
Follow me on Twitter for the latest development info.

AndrzejL

  • Guest
Re: Perplexing behavior from the new Synaptic
« Reply #14 on: November 12, 2011, 06:35:18 PM »
I just noticed this behavior on mine, I just canceled a download and synaptic just crashed, every time I cancel now, this is happening,  ???

Welcome in the club... It's been solved now. The solution was to NOT TO CANCEL DOWNLOADS! Bazinga!

Tee hee! You cancel Synaptic, Synaptic cancels you!  ;D

:P