My updates arent working and this is the error code in the terminal: Im new to ubuntu and don’t know how to fix this myself

E: The repository ‘cdrom://Ubuntu 18.04.3 LTS Bionic Beaver – Release amd64 (20190805) bionic Release’ does not have a Release file. N: Updating from such a repository can’t be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details. W: GPG error: http://www.deb-multimedia.org buster InRelease: The following signatures couldn’t be verified because the public key is not available: NO_PUBKEY 5C808C2B65558117 E: The repository ‘http://www.deb-multimedia.org buster InRelease’ is not signed. N: Updating from such a repository can’t be done securely, and is therefore disabled by default. N: See apt-secure(8) manpage for repository creation and user configuration details.

Can’t update Ubuntu. Tried (and failed) to install vulkan and crippled myself in the process

It turns out that my GTX geForce 570 doesn’t support vulkan… but I had been meddling with my drivers a lot before figuring that out.

As it stands, my computer’s screen resolution is set wrong, I can’t run openGL anymore, and my GPU isn’t listed under “Settings” > “About” > “Graphics”

Buuuut…

If I look at the active driver under “Software & Updates” > “Additional Drivers”, not only is 390 listed and selected, but it won’t let me choose any other driver (if I try choosing Nouveau or 340, when I “apply changes” it pauses and then 390 becomes active once again. Rebooting doesn’t help). This is still the case, even if I run

sudo apt-get purge nvidia* 

And finally, I can’t receive updates. The auto-updates have a number of items queued up, but if I try to update any of them, I get an error window which reads:

Check if you are using third party repositories. If so disable them, since they are a common source of problems. Furthermore run the following command in a Terminal: apt-get install -f Transaction failed: The package system is broken  The following packages have unmet dependencies:  libnvidia-ifr1-390: Depends: libnvidia-gl-390 but it is not installed libnvidia-ifr1-390:i386: Depends: libnvidia-gl-390 but it is not installed nvidia-driver-390: Depends: libnvidia-gl-390 (= 390.129-0ubuntu0~gpu18.04.1) but it is not installed                    Depends: nvidia-dkms-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: nvidia-kernel-source-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: libnvidia-compute-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: nvidia-compute-utils-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: libnvidia-decode-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: libnvidia-encode-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: nvidia-utils-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: xserver-xorg-video-nvidia-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: libnvidia-cfg1-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: libnvidia-ifr1-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed                    Depends: libnvidia-fbc1-390 (= 390.129-0ubuntu0~gpu18.04.1) but 390.129-0ubuntu0~gpu18.04.1 is installed 

I thought I had purged 390? Please help!

Creating the personality of a character different from myself

I am a newbie in playing role-playing games, and after several games, I’ve come to the conclusion that character personality creation poses a bit of a problem for me.

I mostly tend to create and describe somebody with whom I feel rather comfortable. This makes for the personality, the alignment, the world view, the race, and so on. As a result I always end up with almost the same character, which very much resembles me myself IRL, or at least me the way I’d like to see myself. The point is – it’s not some other character, some “mine” character, – it is precisely me put in the game world like in a dream.

I feel that despite some variations that I can bring in, with this approach my characters are pretty repetitive and actually reflect me very well. I don’t find it interesting to invent some “artificial” character, with no real connection with me, just for the sake of it. I can understand other possible configurations – why they are who they are, and what are their world views, their biases – but I am not interested in being them. Trying to do so quickly becomes boring as doing something I am not really interested to be doing.

Hence my question – is that normal among roleplayers? Do you create your characters to be like you (with some possible modifications, like, maybe, gender, race, some minor biases), or do you usually create a completely different person and inhabit it? If the latter is the case, then how do I do that, and how do I get into playing that role?

Steam Game, 19.04, AMD, HDMI Screen goes beserk – fixed myself

The problem was F1 2017, downloaded and played through the steam client on a Ryzen 2500U Vega Mobile 8 Envy . Played on the laptop’s main display ok, but as resolution was set as less than the HDMI TV disclay I got those pixels in the corner and gobbledegook all over the rest of the screen flickering.

that said, there are plenty of problems trying to play it. best/max frame rate in pre game post steam setting that FeralInteractive put in is 40 rather than the 60 the screen does with the Windows version and 60 fps set in Ubuntu display properties.

I use the default Amdgpu drivers which, as I understand it for 19.04, are the only option. Launching the game complains about bad graphics with unsupported drivers. It’s like playing without Direct X . https://support.feralinteractive.com/docs/en/f12017/1.0.6/linux/faqs/?access=sptpkxywbb&utm_source=game_linux&utm_medium=link&utm_campaign=game_linux_f12017_support#i_linux_graphics_drivers

Noting that the F1 2018 and 2019 do not have Linux versions, so I am not expected any developments to fix it.

FFB addressed here, I will start another thread for that if I make any progress. Udev did not work for me. though the rules were installed .http://support.feralinteractive.com/en/mac-linux-games/dirt4/faqs/steering_wheels_udev_rules/

Is there a way to grant myself MANAGE_USERS permission while inside the adb shell?

The thing is that I’m fed up of some stock adware apps on my Micromax phone and want to disable them for good. So, as per this answer, I used adb shell to disable the app, but I’m getting the following error:

shell@Q4260:/ $   pm hide com.micromax.trendingapps Error: java.lang.SecurityException: Neither user 2000 nor current process has android.permission.MANAGE_USERS. 1|shell@Q4260:/ $    

The error message indicates that I need android.permission.MANAGE_USERS to achieve that. So I even tried granting that permission to the shell app, but no use!

shell@Q4260:/ $   pm grant com.android.shell android.permission.MANAGE_USERS      Operation not allowed: java.lang.SecurityException: Package com.android.shell has not requested permission android.permission.MANAGE_USERS 1|shell@Q4260:/ $    

Is there any other way to get myself that permission?

Finally, the smart-phone is Micromax Q4260 running Marshmallow if that matters. This could probably be solved by rooting, but I don’t have any intention of rooting as it could be risky on this little known model.

Need help not repeating myself in my code

Is this the most efficient way to write this piece of code? Is there a better way of handling errors inside of a while/for loop, instead of calling back to the original function? I have tried using break or continue, but it breaks the functionality of my program. Any help would be awesome, thanks.

## calculate binary to decimal ##   def binaryToDecimal(binary):     ### reverse the number     decimal_num = 0     reverse_binary = binary[::-1]     for x in range(7,-1,-1):         if len(binary) <= x:             continue         if int(reverse_binary[x]) == 1:             decimal_num += 2**x     print(f"Your binary number converts to {str(decimal_num)}. ")     binaryToDecimal(checkUI())   def getUserInput():     return input("Please enter a binary number that you "                  "want to convert into a decimal.\n Type 'quit' to quit program.\n")   def checkUI():     userInput = getUserInput()     if userInput == "quit" or userInput == "q":         quit()     for character in userInput:         try:             if len(userInput) > 8:                 print("Binary numbers are a maximum of 8 digits. Please try again")                 binaryToDecimal(checkUI())             val = int(character)             if val != 1 or 0:                 print("Invalid binary number. Please enter a 1 or 0 (binary numbers: 11110000)")                 binaryToDecimal(checkUI())         except ValueError:             print("You did not enter a binary number. (11110000) Please try again.")             binaryToDecimal(checkUI())      return str(userInput)   binaryToDecimal(checkUI())