‘make’ package installation problem

Package make is not available, but is referred to by another package. This may mean that the package is missing, has been obsoleted, or it is only available from another source E: Package 'make' has no installation candidate 

I have used ubuntu 18.04.3 where this package ‘make’ couldn’t be installed. what should i do? I’m new in Ubuntu. please help me to solve the problem.

Choosing between /dev/sda and /dev/sdb for boot loader installation

I am a Windows 10 user and I would like to try Ubuntu 18.04.3 LTS. I use Windows 10 to my 595 GB disk 0 (C:) and I wish to install Ubuntu on my empty 595 GB disk 1 (D:). My aim is to select which operating system to use on every startup. Therefore, I shrunk disk disk 1 (D:) and created an unallocated 200.20 GB partition in order to install there Ubuntu. I booted into Ubuntu using a USB Ubuntu bootable drive. In the partitions table, I clicked the 214 gb free space, and chose the following partitions for installation (I haven’t made any change yet or proceed to the installation).

/dev/sda   TYPE        SIZE    USED    SYSTEM /dev/sda1  ntfs       209 MB   42 MB  Windows 10 /dev/sda2  ntfs       424 GB  108 MB /dev/sda5  swap         9 GB /dev/sda6  ext4/       20 GB /dev/sda7  ext4/home  185 GB  /dev/sdb /dev/sdb1  ntfs       639 GB  581 GB  /dev/sdb2  ntfs       300 GB  448 MB 

You can see that I partitioned the free space to /dev/sda5, /dev/sda6 and /dev/sda7.


Questions

  1. How can I know which drives are /dev/sda and /deb/sdb? Since Windows 7 is installed on disk 0 (C:) and having used already 543 GB there, while disk 1 (D:) is empty, I suppose that /dev/sdb is disk 0 (C:) and that /dev/sda is disk disk 1 (D:). Is that correct? Furthermore, as the free space which was in disk 1 (D:) became /dev/sda5, /dev/sda6 and /dev/sda7, I assume again that disk 1 (D:) is /dev/sda. Are my thoughts correct?
  2. a) May someone explain to me what is the device for boot loader installation? Do I already have such a device? If so, how can I find which it is?

    b) I must choose to select either /dev/sda or /dev/sdb. The installer defaulted to dev/sda. Does it matter which I choose? Will a wrong choice affect my windows installation or files on disk 0 (C:)? Is it possible that I won’t be able to boot on Windows 10 if I choose wrong?

  3. In the worst case that something goes wrong with the boot loader installation, can I fix that problem booting from my USB bootable drive or I will have to reinstall Windows 10?

Note: There are similar questions here and here. The first link troubles me, the second link doesn’t give details for the boot loader installation, and both links don’t answer all my questions.

Thank you in advance for any help!

Make error 2 during installation of rtl8812au

So I’m installing the RTL8812AU driver (for the NetGear A6100 card) and am running into an issue. As soon as I run

make 

in the rtl directory, I get this error:

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/5.2.13-126.current/build M=/home/username/Desktop/rtl8812AU_8821AU_linux  modules make[1]: *** /lib/modules/5.2.13-126.current/build: No such file or directory.  Stop. make: *** [Makefile:1622: modules] Error 2 

Any clue as to how to fix this? Thanks.

Ubuntu installation skips a step

I’m trying to replace my current OS (Windows 10) with Ubuntu 18.04.

I followed this guide to create a bootable USB (I used Rufus 3.8).

After that, I followed this guide to install Ubuntu but installation skips the 6. Allocate drive space to a partition window without anything available.

The only solution I found to this problem was that the ISO might be corrupted, but I verified the sumchecks and they were OK.

What can I do?

Ubuntu 18.04.3-LTS installation alongside Windows 10 cannot detect Windows 10

While attempting Ubuntu installation from an USB image, I get stuck because Ubuntu cannot detect my Windows installation.

My system specs are as follows:

1) Desktop with Intel 64 bit Family Core(TM) i3-4150 CPU @3.50GHz   2) Two MBR partition of hard disk with 100 GB and 500 GB free space, besides a small system reserved partition.  

I have already done the following, mainly following from solutions in How do I install Ubuntu alongside a pre-installed Windows with UEFI?

1) Disabled Hibernate and fast boot. "powercfg /a" says only Standby (S3) available. Further I shutdown with -f -t 0 option 2) checked that Confirm-SecureBootUEFI gives cmdlet error, implying system does not support Secure Boot. 3) enabled legacy only as well as legacy first in the Boot options.  

Regards

Uncaught Error: Call to undefined function mysql_connect() – WordPress installation

Trying to install wordpress without xamp on my local machine. Version info:

WordPress: 5.2.3 PHP: 7.3.9 Apache: 2.4.41  

When accessing this url -http://localhost:8080/wordpress/wp-admin/install.php, I see the following in wordpress logs:

[16-Sep-2019 18:47:34 UTC] PHP Fatal error:  Uncaught Error: Call to  undefined function mysql_connect() in C:\apps\httpd-2.4.41-win64-  VS16\Apache24\htdocs\wordpress\wp-includes\wp-db.php:1643 

I tried the solutions available online but I still see the error.

Solutions I tried so far:

Add the following to my wp-config.php:

define( 'WP_USE_EXT_MYSQL', true); 

Added following to php.ini:

extension_dir = "ext" extension=php_mysqli.dll 

This is my phpinfo:

Server API  Apache 2.0 Handler Virtual Directory Support   enabled Configuration File (php.ini) Path   C:\windows Loaded Configuration File   C:\apps\php-7.3.9\php.ini Scan this dir for additional .ini files (none) Additional .ini files parsed    (none) PHP API 20180731 PHP Extension   20180731 Zend Extension  320180731 Zend Extension Build    API320180731,TS,VC15 PHP Extension Build API20180731,TS,VC15 Debug Build no Thread Safety   enabled Thread API  Windows Threads Zend Signal Handling    disabled Zend Memory Manager enabled Zend Multibyte Support  disabled IPv6 Support    enabled DTrace Support  disabled Registered PHP Streams  php, file, glob, data, http, ftp, zip, compress.zlib, phar Registered Stream Socket Transports tcp, udp Registered Stream Filters   convert.iconv.*, string.rot13, string.toupper, string.tolower, string.strip_tags, convert.*, consumed, dechunk, zlib.* 

Messed up my partitioning installation, now windows can’t boot. What do I do?

I have windows 7 installed. I guess I deleted a partition that didn’t have system written on to free up some space for root , /home and swap. But somehow I can’t revert back to its original state and the installation even failed. Now I can’t boot my windows and I guess all my files are gone too. I still have windows recovering system but it doesn’t want to do anything. Anyone knows how to recover the files?

libpng warning: Application jmp_buf size changed Segmentation fault when try to run xampp installation file

I trying to install XAMPP on my ubuntu 18.04 but I got this warning from libpng by running this command:

sudo ./xampp-linux-x64-7.3.9-0-installer.run 

The thing need to be considered is that I got this warning on all versions of XAMPP. Someone already asks the same question there libpng warning : Application jmp_buf size changed – while installing XAMPP but the answer is useless. Its a humble request please help.