Booting issue "Error found when loading /etc/profile:"
Having an issue with this message when booting, checked the profile and found nothing in there also deleted the file and repasted it with this command "sudo cp /usr/share/base-files/profile /etc/profile"
Didnt help, tired checking .bashrc dont really know what to look for but there is nothing that mentiones b43 there. This error came up after installing firmware for the WiFi card, which now works but shows me this error. The computer works fine, its just very annoying to see everytime it boots. Here is a link to a photo of the error message... https://drive.google.com/file/d/0B8N...hLUpVQlA4/view I just installed linux, everything works fine, great OS just alot of trubleshooting when something goes wrong :P (which does not happen often) |
I don't have access to Google Drive - actually is that one of their services that is soon to be withdrawn?
You can include attachments on this forum. My distro doesn't have a file called bash.rc at all. However, it does have a /etc/bash.bashrc file. Depending on your distro, this might be relevant... Much of your bash configuration ought to be in your home directory as various dot files [depending on your distro]. |
Apologies, heres the link should be able to see it now, can't find anywhere to upload the image here.
https://drive.google.com/file/d/0B8N...hLUpVQlA4/view As for the file name its .bashrc (corrected above) lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 19.04 Release: 19.04 Codename: disco |
Perhaps it's one of the discrete files in /etc/profile.d/ that /etc/profile runs.
Try Code:
# grep "find.*/usr/lib" /etc/profile.d/* Code:
find ... 2>/dev/null Code:
find ... >&/dev/null |
Sorry for being a total noob here, but what exactly am I supposed to do here?
do i paste" grep "find.*/usr/lib" /etc/profile.d/* " in terminal or open the file and edit? Here are the entire contents of profile.d 01-locale-fix.sh apps-bin-path.sh bash_completion.sh cedilla-portuguese.sh input-method-config.sh vte-2.91.sh xdg_dirs_desktop_session.sh |
please open a terminal and enter the following:
Code:
. /etc/profile do you get the same error message? |
No no error message...
|
hmm.
Code:
journalctl -b | grep -F '/etc/profile' |
Quote:
(May i say, thanks for your patience with me my friend...) |
Switching to KDE Plasma solved this apparently. Not seeing the issue anymore at least, don't know if its just the desktop environment that's not showing it or if it's actually "fixed".
This was an "accidental" fix, as I was just installing KDE for preference. For future reference if anyone is looking for a fix, I don't actually know whether or not its fixed, it just does not pop up anymore. Installed KDE Plasma and removed GNOME following what people recommended here: https://askubuntu.com/questions/7675...y-de-ubuntu-16 KDE bugged up my bluetooth headset sound somehow tho, was unable to find a solution other than running this in console when it bugs up. Code:
sudo modprobe -r btusb; sudo modprobe btusb |
All times are GMT -5. The time now is 07:56 AM. |