This looks like a terribly simple question. I tried hard yesterday to find the answer ... and failed.
Yesterday I did a siduction reinstallation (that went well). And I went directly to doing a d-u.
It was huge: 684 gets.
The report flew past; but I was able to notice a number of alarming warnings before it finished. So I switched back to (what was) runlevel 5 to google for how to scroll back through the report. But I couldn't find keyboard strokes that worked (arrows, page-up/down, scroll-lock, shift.
The question: how do I scroll back, please ?
Alternatively: where does one find the dist-upgrade log ?
A note: I was so disturbed by what I thought was a lot of d-u unfinished business, that I immediately did a repeat d-u. This one found very little to correct. It DID put cups right (which the first had failed to do). And I finished with a nice, clean report.
grady
The answer is shift pgup/pgdown
greetz
devil
... and your logs are in:
/var/log/apt/history.log
/var/log/apt/term.log
/var/log/dpkg.log
Zitat von: devil in 2014/03/14, 22:02:58
The answer is shift pgup/pgdown
but this doesn't work if you are switching from tty to X and back to tty :(
@devil
Thank you very much. I did issue that command, but as KEYBOARD STROKES. Blunder #1.
@vindeliker:
And thank you also for both your posts. I DID go from tty > X > tty before trying to scroll. Blunder #2 :'(
grady
Ve gets too soon oldt, und too late schmardt (Heinrich Schnibbel, Saturday Evening Post)
Hi, I use always dist-upgrade -s in init 5, check everything, while when ok, going to init 3 and apt-get dist-upgrade. This gives also the possibility to not upgrade, when only minor changes/packages are announced and stay in init 5.
Zitat
dist-upgrade -s in init 5, check everything, while when ok, going to init 3
I like to give a light warning on this.
I had to find out that the -s option shows most, but not any error that might occur during a d-u.
I used it before a few weeks because of a warning in our "upgrade warnings" to see whether evrything might be ok in between. dist-upgrade -s showed no errors but after doing the real d-u I had a lot of fun after to get my system running again :)
Don't know anymore what exactly the error was, I think it was a misconfigured package that prevented other packages from being installed.
What I like to say: If unsure better wait for a confirmation that evrything is smooth again in such cases then to rely on -s.
Anyway it is a better check than not checking at all.
greets
ayla
apt-listbugs to the rescue
greetz
devil
Zitat von: ayla in 2014/03/15, 19:05:07
Zitat
dist-upgrade -s in init 5, check everything, while when ok, going to init 3
I like to give a light warning on this.
...
Hi ayla,
thanks for that. I never had a problem up today as you described. But it is good to know, that such a situation might occur.
It appears that I've forgotten to offer thanks for the several perfect solutions offered.
Thank you very much !
grady
Zitat von: vindeliker in 2014/03/14, 22:08:48
... and your logs are in:
/var/log/apt/history.log
/var/log/apt/term.log
/var/log/dpkg.log
+1
I also make a habit of making a backup of the history.log and term.log files after each d-u or after installing/purging packages. That way, if something goes wrong or a bug crops up, you can go back and review what occurred to see what might be causing an issue.
I've not used the dpkg.log. I'll have to take a look at that file to determine whether I should be keeping backups of that file as well.