New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

apt-get upgrade - raspberrypi-bootloader breaks FBTFT #10

Closed
notro opened this Issue May 25, 2013 · 8 comments

Comments

Projects
None yet
3 participants
@notro
Owner

notro commented May 25, 2013

When doing apt-get upgrade the FBTFT drivers disappear

This is the package that breaks FBTFT, because it contains a kernel which overwrites the FBTFT kernel and modules

apt-cache show raspberrypi-bootloader

Description: Raspberry Pi bootloader
 This package contains the Raspberry Pi bootloader (plus, temporarily, a
 kernel).

Update packages except raspberrypi-bootloader

sudo apt-mark hold raspberrypi-bootloader
sudo apt-get update
sudo apt-get upgrade

Update bootloader, but not the kernel and modules

sudo apt-get install rpi-update
sudo SKIP_KERNEL=1 rpi-update
@cmol

This comment has been minimized.

cmol commented May 29, 2013

I had the same issue with the drivers missing after updating raspberrypi-bootloader.
It got solved by the method above.

Is this the right place to report this or should it be reported to the raspbian maintainers?

@notro

This comment has been minimized.

Owner

notro commented May 29, 2013

It's not a problem with raspbian per se. It becomes a problem for FBTFT, because raspberrypi-bootloader contains an updated kernel and modules. So the FBTFT enabled kernel gets overwritten and the drivers stop working.
This will always be an issue with the FBTFT image. When a new kernel is available, apt-get upgrade will break FBTFT. That is, if not the offending package is put on hold.

Well, when I'm writing this I realise that maybe I can mark the package when I'm making the image, and then it won't be an issue...
Can I do that on another installation than the one I'm running?

@cmol

This comment has been minimized.

cmol commented Jun 4, 2013

Good question.
I'm really wondering why I haven't read about anyone else having the issue.

@wolftec

This comment has been minimized.

wolftec commented Dec 8, 2014

hello,

i did like notro description above. i did not loos the fbtft during 2 or three repeats of all. but i can not update my fpc or lazarus to any newer version. why ?

thanks for good instructions

@notro

This comment has been minimized.

Owner

notro commented Dec 9, 2014

I don't know why. Looking at the dependecies for lazarus shows there is no dpependency on any raspberrypi- packages.

@notro

This comment has been minimized.

Owner

notro commented Dec 9, 2014

Currently in the FBTFT image, the raspberrypi-bootloader package is put on hold by default:

$ dpkg --get-selections | grep hold
raspberrypi-bootloader                          hold
@wolftec

This comment has been minimized.

wolftec commented Dec 9, 2014

thanks for the example, now, slowly but stable i get more and more know-how about dpkg and apt-get and so things. but how to install a lazarus Version > 1.0.xxx i dont know. if i do apt-get update and upgrade and after this apt-get install lazarus allways the thame answer like " 0 newer, nothing to do " (i'm not at home and so i can not look to the message)

but thats not a raspberry- or fbtft-problem, i will goto the lazarus forum to get info about this :-)

thanks a lot

@notro

This comment has been minimized.

Owner

notro commented Oct 18, 2015

This does not apply any more now that the official kernel is used.

@notro notro closed this Oct 18, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment