SparkyLinux Forums

Installation & Upgrade => System upgrading => Topic started by: Sandm on April 11, 2017, 08:53:41 PM

Title: [Solved] System upgrade loop after installation
Post by: Sandm on April 11, 2017, 08:53:41 PM
Hello, I installed Gameover edition x86_64/amd64 a day ago. Everythings works fine except system can not perform system upgrade. When I start 'System Upgrade' there opens dialog window saying that there are some quantity of updates to download and asking which action to take (i.e. upgrade, see changelog and exit). When I try to start upgrading some terminal windows being opened and closed and in the end the same dialog window shows up with same quantity of updates. Looks like error occurs while upgrading packages, but I can't see it because terminal windows close immediately. So, I need help with it, I don't know which logfiles to check.
Title: Re: System upgrade loop after installation
Post by: paxmark1 on April 11, 2017, 11:45:29 PM
There would be some logs somewhere, but a fast option to find out the problems would be to open a terminal, become root and do the update-upgrade process  (or you can in a perform in a terminal via sudo as well)

0.1  Reboot (or kill -9  processes still running involved with the update-upgrade) Reboot is easier.
0.2  If you are familiar with screen or tmux (terminal multiplexers) use your choice.  You can re-attach if a terminal should fail.   ## not necessary - but nice to know if running a Debian testing based distribution as Sparky is.


1.  "apt-get update"
2.  "apt-get dist-upgrade -d"        ## downloads the updatable packages and stops.
3.  "apt-get dist-upgrade"            ##   performs the full system upgrade

If there are hangups post the output (enclosed in tag markup via the # button above)

Or wait for others to post alternate ways to fix.  Testing-Stretch is frozen so hopefully there will not be multiple problems.   Peace out,
Title: Re: System upgrade loop after installation
Post by: Sandm on April 12, 2017, 12:04:25 AM
So, I upgraded via terminal without any problems. The app seems to be buggy.
Title: Re: System upgrade loop after installation
Post by: paxmark1 on April 12, 2017, 05:28:10 AM
Well, if you don't mind the command line, it is one less thing to go wrong.  The sparky apt is quite small and works for many.  If you continue to use cli (command line) you might as well install apt-listbugs for the sneaky bugs that get past the people using sid.  Using tmux  (or screen) inside a terminal is also quite helpful for the infrequent major bugs that hit testing.  The Debian wiki page for testing has many good hints also. 

If you feel like it , edit your subject line by adding Solved: Or not.  Welcome to Sparky.
Title: Re: [Solved] System upgrade loop after installation
Post by: pavroo on April 13, 2017, 12:07:21 AM
The upgrade app is fine.
A problem is with downgrading packages - I sent to repos one or two packs with higher number than old ones, but I changed "-" to "~".
For example: 4-20160412 upgraded to 4~20170409.
APT treats it as an older version and upgrade tool can't handle with.
Title: Re: [Solved] System upgrade loop after installation
Post by: pavroo on April 13, 2017, 02:10:57 PM
Just uploaded to repos sparky-aptus-upgrade 0.2.6 which fixes the problem.