Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] how to scroll back through a dist-upgrade report ?  (Read 3046 times)

grady

  • Guest
[EN] how to scroll back through a dist-upgrade report ?
« on: 2014/03/14, 21:32:06 »
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

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.844
Re: how to scroll back through a dist-upgrade report ?
« Reply #1 on: 2014/03/14, 22:02:58 »
The answer is
Code: [Select]
shift pgup/pgdown

greetz
devil

Offline vindeliker

  • User
  • Posts: 78
Re: how to scroll back through a dist-upgrade report ?
« Reply #2 on: 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


Offline vindeliker

  • User
  • Posts: 78
Re: how to scroll back through a dist-upgrade report ?
« Reply #3 on: 2014/03/14, 22:19:12 »
The answer is
Code: [Select]
shift pgup/pgdown


but this doesn't work if you are switching from tty to X and back to tty  :(

grady

  • Guest
Re: how to scroll back through a dist-upgrade report ?
« Reply #4 on: 2014/03/15, 03:33:38 »
@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)

mylo

  • Guest
Re: how to scroll back through a dist-upgrade report ?
« Reply #5 on: 2014/03/15, 18:11:08 »
Hi, I use always
Code: [Select]
dist-upgrade -s in init 5, check everything, while when ok, going to init 3 and
Code: [Select]
apt-get dist-upgrade. This gives also the possibility to not upgrade, when only minor changes/packages are announced and stay in init 5.

Offline ayla

  • User
  • Posts: 1.744
Re: how to scroll back through a dist-upgrade report ?
« Reply #6 on: 2014/03/15, 19:05:07 »
Quote
Code: [Select]
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

Offline devil

  • Administrator
  • User
  • *****
  • Posts: 4.844
Re: how to scroll back through a dist-upgrade report ?
« Reply #7 on: 2014/03/15, 22:03:26 »
apt-listbugs to the rescue


greetz
devil

mylo

  • Guest
Re: how to scroll back through a dist-upgrade report ?
« Reply #8 on: 2014/03/16, 09:04:33 »
Quote
Code: [Select]
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.

grady

  • Guest
Re: how to scroll back through a dist-upgrade report ?
« Reply #9 on: 2014/04/14, 19:32:05 »
It appears that I've forgotten to offer thanks for the several perfect solutions offered.
Thank you very much !

grady

UP2L8

  • Guest
Re: how to scroll back through a dist-upgrade report ?
« Reply #10 on: 2014/05/07, 08:42:03 »
... 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.