updating a raspberry boot partition
[this workaround](https://github.com/mirzak/meta-mender/commit/9d6211d585ecd7c73f11a10d503b9005516fc755), which i believe also requires [this recipe](https://github.com/mirzak/meta-mender/blob/rpi-boot-part-update/meta-mender-raspberrypi/recipes-bsp/bcm2835-bootfiles/bcm2835-bootfiles-target.bb) to work, was suggested as a way to update the fat boot partition on raspberry devices.

it looks like it updates the following files :

*.elf

bootcode.bin

*.dat

bcm2835-bootfiles-xxxxxx.stamp

*.dtb

*.dtbo

doesn’t this leave the following —…
for anyone stumbling upon this thread, check out how to use inherit += "rpi-update-firmware" to enable boot partition updates. official tutorial is available here: [updating raspberry pi boot firmware files using yocto project and mender](https://hub.mender.io/t/updating-raspberry-pi-boot-firmware-files-using-yocto-project-and-mender/1719)

this was merged in master a few day ago ([pr#953](https://github.com/mendersoftware/meta-mender/pull/953)), and should b…
hi mike, thanks for bringing this to our attention, i can confirm that i’m aware of this issue and a fix is in progress. i expect the latest version to be available the debian/rpm repositories in the coming days.

one short term work around would be to download the .deb or .rpm file directly from th… thanks guys for your advice.

the problem was the order which i was doing things in. it was much simpler than everything i posted before. i summarize it all for everybody wanting to remove swap partition after upgrading to fedora 33.

boot up your computer normally.

disable swap partition:

# swapo… what to do::

docker exec -it gitlab /bin/bash

then

apt install update-manager-core

then

do-release-upgrade you need to change the boot order so it checks the HDD before the floppy, cdrom etc...



btw a new pc means you will have to reinstall windows hello [@lig](/u/lig) and welcome to the community. please read the stuff in [#start-here](/c/start-here/96) category when you have the time.

well. i think you are fine with the fact that fedora 33 is still pre-beta, so it is difficult to find support here. in addition, bugs are expected.

as a rule of thumb, you should install … The best way to  

do it is to rename the file then force a replication from a known good server.


If it is not too  

corrupted you can do an updall -r and it will rebuild the indexes.


Try running  

nfixup.exe against it. If that doesn’t work, try ncompact -c against it.


Note: ncompact  

exists in all workstation installs. nfixup is not part of the client — you can  

copy it off a server that runs at a similar NBotes version.


Make sure to use  

the -c option with compact (ncompact -c whatever\your\file.nsf)


In case it didn’t assist you, then you may use professional recovery software <http://www.nsf.openfiletool.com/> NSF Open File Tool The download is an updated version. sometimes one or both of these patches help, especially if the system is showing high ram and/or cpu usage when checking updates:
https://support.microsoft.com/en-us/kb/3050265




https://support.microsoft.com/en-us/kb/3102810﻿﻿
﻿ Program installation methods differ depending on the type of program you are trying to install. Redhat uses the RPM utility to manage .rpm programs, but if you have a .tar, [tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F), .tgz, or similar install file, the steps for installing are entirely different.



From an old post of mine at the *cough!**shameless plug**cough!* [other forum](http://www.justlinux.com) I moderate:



> 
>  In general, RPM (Redhat Package Manager) files contain pre-compiled, ready-to-run programs and associated files such as instalation/usage documentation, etc.  
> 
> .[tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F) files, on the other hand, often contain the source code for a given program. This isn't always true; but it often is. If that's the case, you'll have to compile the progam yourself; instructions on how to do so are usually included. The .[tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F) extension comes from the following:
> 
> 
> 
> The .tar part indicates that the file actually consists of multiple files combined into one large archive file using the "tar" (Tape ARchive) program. The .gz part means that the resulting .tar archive has been compressed using the "gzip" program (similar to zip or Winzip). tar does not, by itself, compress; it only "wraps" multiple files into a single archive file, hence the subsequent use of gzip to actually compress that archive.
> 
> 
> 
> If your distro supports the use of RPMs (Redhat and Mandrake do),you have a couple of choices:
> 
> 
> 
> - Your distro will include one or more installation program which you can use from within the GUI. These can vary depending on the desktop environment you use, but GnoRPM, KPackage, Software Manager and Package Manager are a few.
> 
> 
> 
> - Any rpm package can be installed from the command line using the "rpm" command. If you're not at the command line, open a terminal window and type "rpm -ivh *filename*" (no quotes). This will install the package and give you some on-screen feedback as the intallation progresses. Read the rpm man pages for more info on usage.
> 
> 
> 
> For .[tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F) or .tgz files, you can accomplish both the decompression and the extraction of the tarball (a common term for a .tar, .[tar.gz](/posts/bad_link/36792?url=http%3A%2F%2Ftar.gz%2F), or .tgz file) using the GNU version of the "tar" command (which is probably the version included with your distro). For example, to uncompress and extract a file, type the following at a prompt:  
> 
> tar xzvf *filename*. The "z" option will run the file through gzip/gunzip first (assuming you've installed gzip), and then extract the files in the tar archive. Once you've done that, look for a README or some instruction file which should tell you how to proceed from there.
> 
> 
> 


Read the following link from RH's support site for more RH 9-specific info on the subject and repost if you have further questions:



<http://www.redhat.com/docs/manuals/linux/RHL-9-Manual/custom-guide/ch-graphical-rpm.html> The documentation for [`ConfigurationManager.RefreshSection`](https://docs.microsoft.com/en-us/dotnet/api/system.configuration.configurationmanager.refreshsection?f1url=https%3A%2F%2Fmsdn.microsoft.com%2Fquery%2Fdev15.query%3FappId%3DDev15IDEF1%26l%3DEN-US%26k%3Dk(System.Configuration.ConfigurationManager.RefreshSection);k(TargetFrameworkMoniker-.NETFramework,Version%3Dv4.6.2);k(DevLang-csharp)%26rd%3Dtrue&view=netframework-4.7.2) method does say (emphasis is mine):



> 
> Refreshes the named section **so the next time that it is retrieved** it will be re-read from disk.
> 
> 
> 


The problem is that EF6 caches the [`ConfigurationManager.ConnectionStrings`](https://docs.microsoft.com/en-us/dotnet/api/system.configuration.configurationmanager.connectionstrings?view=netframework-4.7.2) in an internal class static property, so it never gets refreshed.


Unfortunately there is no "official" way to refresh it. Following is a brute force hack using reflection, so use it on your own risk:



```
static readonly Type EF6AppConfigType = typeof(DbContext).Assembly.GetType("System.Data.Entity.Internal.AppConfig");

static readonly PropertyInfo EF6DefaultAppConfig = EF6AppConfigType.GetProperty("DefaultInstance", BindingFlags.Public | BindingFlags.Static);

static readonly FieldInfo EF6ConnectionStrings = EF6AppConfigType.GetField("_connectionStrings", BindingFlags.NonPublic | BindingFlags.Instance);

static void RefreshEF6ConnectionStrings()
{
    EF6ConnectionStrings.SetValue(
        EF6DefaultAppConfig.GetValue(null),
        ConfigurationManager.ConnectionStrings
    );
}

```

Just call it after saving the changes:



```
config.Save();
RefreshEF6ConnectionStrings();

```